Skip to Content
Author's profile photo Søren Hansen

SMP 3.0: Custom development of SAP Work Manager 6.1 on Agentry Server

I have been spending a couple of days on setting up an environment for doing custom development on SAP Work Manager 6.1 on SMP 3.0.

I have been missing a guide to instruct me step by step how to do this. As I have been unable to find this I will now provide it to others.

This guide will NOT show you how to do development on the Agentry platform, but how to prepare and setup an environment to do this.

Due to the limitations of SMP 3.0 SP3, where you can only deploy one Agentry instance to the mobile platform, you will want to install a production Agentry server instance on your central SMP 3.0 Development server. This will be used for unit test by you and your end users. For development purposes you will install a local SMP 3.0 server on your personal PC, and install an Agentry development instance on this.

Documentation:

Various documentation exists on these topics, but to pinpoint exactly what you need is hard. Here is a few links to some relevant docs:

SMP 3.0

http://help.sap.com/smp303svr/

http://infocenter.sybase.com/help/topic/com.sybase.infocenter.pubs.docset-SMP-SDK-3.0.2/doc/html/title.html


SAP Work Manager 6.1

http://service.sap.com/instguides

Go to: SAP Components -> SAP Work Manager -> SAP Work Manager 6.1

From here you may download a number of PDF documents.

Especially document “SAP Work Manager 6.1 Installation Guide” is of interest.

Prerequisites:

You will need to download a few files before starting the installation and setup process. You will need an S-user with proper authorizations for most of the downloads. I am using a 64-bit PC, and hence is downloading 64-bit installables.

P1. SMP 3.0 installer.

Go to http://service.sap.com/swdc

Go to: Installations and Upgrades -> A-Z Index -> M -> SAP MOBILE PLATFORM -> SAP MOBILE PLATFORM 3.0 -> Installation

Download the object 51048153 (for Windows).

It is a zip archive, which must be extracted.

The installer is: .\SMP30SP03SVR\setupAMD64.exe

P2. JDK – version 1.7

You will need a JDK version 1.7 to build Java classes for the interaction between the Agentry Server and the SAP Backend.

Go to: http://www.oracle.com/technetwork/java/javase/downloads/index.html

Choose JDK download for latest release.

P3. Eclipse – Juno, version 4.2.2

From this link you can download Eclipse (classic) in the proper version:

http://www.eclipse.org/downloads/download.php?file=/eclipse/downloads/drops4/R-4.2.2-201302041200/eclipse-SDK-4.2.2-win32-x86_64.zip

P4. Agentry plugin for Eclipse

You need an Eclipse plugin for modifying Agentry definitions.

Go to http://service.sap.com/swdc

Go to: Installations and Upgrades -> A-Z Index -> M -> SAP MOBILE PLATFORM SDK -> SAP MOBILE PLATFORM 3.0 SDK -> Installation

Download the object 51047862 (for Windows).

It is a zip archive, which must be extracted.

The plugins are located in folder: .\modules\AgentryEditors

The 64-bit plugin archive is named “Agentry_7.0.0.537_EditorPlugin_x86_64.zip”.

P5. SAP Work Manager 6.1 Application and Agentry utilities

The SAP Work Manager 6.1 Agentry application and the necessary dll’s, jar’s and config files are provided by an executable that needs to be run. Here you will provide details for the JavaBE.ini file (backend hostname, client, username, password etc). This will generate the needed files for you.

Go to http://service.sap.com/swdc

Go to: Installations and Upgrades -> A-Z Index -> W -> SAP WORK MANAGER -> SAP WORK MANAGER 6.1.0 -> Installation

Download the object 51048537_6 (SAP Work Manager 6.1.0 Deployment).

It is a zip archive, which must be extracted.

The executable is located in folder: .\SAP_WORK_MANAGER_6.1.0_\Work_Manager_Deployment

The executable is named “SAPWorkMgr610Deployment.exe”.

P6. Java Source code for SAP Work Manager 6.1

In the Java folder in you Agentry root directory a number of .jar files are located. They include the Java class files which do the interaction between the Agentry server and the SAP backend. If you need to make modifications to extend the data that is being passed, you will need to be able to change the source code. By default the source code is NOT available, when you download the Work Manager. You will need to sign a contract with SAP to get access to the source code. Once this is in place, you can find the source code in the SAP Software Download Center.

Go to http://service.sap.com/swdc

Go to: Installations and Upgrades -> -> A-Z Index -> M -> SAP Mobile Solutions -> SAP Mobile Source Code -> SAP WORK MANAGER SRC -> SAP WORK MANAGER SRC 6.1.0 -> WORK MGR JAVA SRC 6.1.0 -> # OS independent

Download the object WORKMGJAVASRC_01_0-80000157.ZIP

The object is a zip archive, which should NOT be extracted (it will be imported directly to Eclipse).

P7. ABAP Backend AddOn

For the SAP Work Manager 6.1 to work you need to install the following ABAP AddOn’s on the SAP Backend.

SMFND, 610_700, SP 0003 (Download object: SAPK-61003INSMFND)

SMERP, 610_700, SP 0003 (Download object: SAPK-61003INSMERP)

Go to http://service.sap.com/swdc

Go to: Support Packages and Patches -> Search for Support Packages and Patches.

From here type in the above download objects, and search for them.

These should be installed by a SAP Basis person.

After the installation of the AddOn’s there are some steps that needs to be carried out on the backend. Refer to the documentation of SAP Work Manager 6.1 for details.

Installation overview

Now all necessary files have been downloaded.

An overview of the installation process is described below.

Note: You need local admin rights on your PC to perform most of the following steps, so please make sure this is in place.

In the Installation overview I assume that the ABAP AddOns have been installed and the (standard) Mobile Application has been prepared properly on the SAP backend.

Step 1. Install JDK 1.7 on your PC

Run the JDK 1.7 installer. Installation will take a few minutes.

Step 2.a Install SMP 3.0on your PC

Run the installer setupAMD64.exe.

Install the SMP 3.0 as a Development Server using a local (Derby) DB.

The installation is very simple.

A few icons will be placed on your desktop, to start and stop the SMP server, as well as a shortcut to the Administration Cockpit. You will need local admin rights to start and stop the server.

Step 2.b Install server certificate to avoid warnings when accessing Management Cockpit

After installation of the SMP 3.0 Server, double-click the certificate SMP_HOME\Server\configuration\smp_crt.cer. Install the certificate to your “Trusted Root Certification Authorities”. This way you will not get warnings that the server certificate is not trusted when you access the Management Cockpit.

(Check also comment by Stephen Kringas below).

Step 3. Setup Eclipse

Extract the downloaded .zip archive.

Copy the folder “eclipse” to a suitable location. No installation is required.

Start Eclipse from the Eclipse.exe executable.

Assign an empty folder as the workspace of the Eclipse installation.

Step 3.a. Install the Agentry Plugin to your Eclipse installation

From Eclipse go to Help->Install new software…

In the Install window click the Add button in the top right corner.

In the Add Repository Window click the Archive button.

Navigate to the downloaded Agentry Plugin described in prerequisite P4.

(Plugin archive: Agentry_7.0.0.537_EditorPlugin_x86_64.zip)

Mark the “Agentry 32-bit Editor” node and install the plugin via the wizard.

Step 4. Install (extract) SAP Work Manager 6.1 application to your PC

You will now run the executable “SAPWorkMgr610Deployment.exe” described in prerequisite P5.

While running the executable you should provide various connection details for connecting to your SAP backend. This is the stuff written to the JavaBE.ini file. The service user password is now encoded into the ini file, which is a nice change compared to previous versions of Agentry.

At the end of the process you must provide a target where the generated files are stored. This can be any directory on your PC, and does not have to be related to the SMP server.

The files extracted are placed in the folder:

<root> \configuration\com.sap.mobile.platform.server.agentry.application

Step 5. Import the extracted Agentry (SAP WorkMgr 6.1) application to Eclipse

In the above folder a .zip archive called “SAPWM-6.1.0.0.zip” is placed.

In here you will find the Agentry.ini file as well as an Application folder where a productive version of the Agentry application is stored.

Extract the .zip archive to a new destination (do not place it in the same folder as the zip archive).

Remove the zip archive from the folder.

From Eclipse choose File->Import…

Choose Agentry Project-> Agentry Server application into workspace (Agentry.ini)

In the Wizard, click on the Browse button for the field Agentry Server.

Navigate to the Agentry.ini file of the extracted archive described above.

The fields Application Version, Project Name and Application Name will be filled automatically.

For the Development Server, browse to the same Agentry.ini file.

Click Finish.

The Agentry application will now be imported as an Agentry project to the Eclipse installation.

Step 6. Export/publish the Agentry application as Development version to local folder

After the Agentry application has been imported to Eclipse, it can by published as a Development version application to your local folder.

In the Eclipse toolbar there will be an Agentry Publish button – click this.

You will be warned that there are warnings in the application – just accept this.

In the next popup you will keep the default settings, which is to publish as Development version, To Server should be pointing to your local folder with the Agentry.ini file and the Application folder.

Click Next.

The Wizard will now export the Agentry Application in a Development version to your local folder.

Important Note: Keep in mind that at this point we don’t even have an Agentry Server defined, so for steps 5 and 6, we are only interacting with the file system.

Step 7. Prepare the development version of the Agentry application for SMP

You will now go to the folder <root> \configuration\com.sap.mobile.platform.server.agentry.application

from step 4 (folder A).

Make sure the zip archive “SAPWM-6.1.0.0.zip” has been removed as described in step 4 (the folder where the zip archive was extracted to is called folder B)

Now copy the Agentry.ini file from the folder B to folder A.

Create a folder called “Application” in folder A.

Copy the entire folder “Development” of B\Application to A\Application.

Now Zip the contents of folder A. Make sure to NOT zip the folder itself but rather all its components.

Step 8. Define Agentry application on the SMP 3.0 and import the Development Version Application

Now logon to your newly installed SMP 3.0 system on your PC.

Go to Applications and choose New.

Create an application of type Agentry, and provide it with a security profile of type “No Authentication Challenge”. This is chosen as the user will be authenticated against the SAP backend system and not the SMP.

On the tab “App Specific Settings” Browse to the archive created in step 7, for the Publish Agentry App field.

Save your Application.

Restart the SMP.

Your Development version Application should now be ready for use.

Go to: https://<FQDN-SMP-host>:8081/SAPWM

You should be presented with a screen saying: “I am here!”

Step 9. Modify the Java Source code of SAP WM 6.1 to Eclipse (optional)

If you need to make extend the data structures being passed between the Agentry Server and the SAP Backend, or need to implement advanced functionality, then you will need to modify the Java source code supporting the Agentry application.

Step 9.a. Import the source code to Eclipse

In Eclipse choose File->Import…

Choose General->Existing projects into workspace

In the Import window click the Browse button of the “select archive field”.

Navigate to the zip archive “WORKMGJAVASRC_01_0-80000157.zip” described in prerequisite P6.

Make sure all projects are marked for import and the tick for “Copy projects into workspace” is set.

Click Finish.

The source code is now loaded into Eclipse.

There are some invalid references to some files in folder C:\ProductDev\sap\jars.

The easiest fix is to create these folders, and copy the files in question from folder A in step 7.

Then all projects should be validated.

Step 9.b. Modify the Java source code

You can now do your changes to the Java Source code directly from Eclipse.

Step 9.c. Export the Java source code

When you have all your changes, you need to export the Java classes to a .jar file (Java Archive).

Select all the source code projects from the Project Explorer in Eclipse.

Choose File->Export…

Choose Java -> JAR file

In the JAR export wizard, tick the 2nd and 3rd option (“Export all output folders… ” and “Export Java Source…”).

Choose a destination for your .jar file.

Click Finish

Step 9.d. Import the new Java source code to SMP

You will now need to upload the .jar file to the Java folder of your Agentry server.

The easiest method, is to do a simple file move directly to the file system of the SMP server.

The Java folder of the SMP server is:

SMP_HOME\Server\configuration\com.sap.mobile.platform.server.agentry.application\Java

EDIT:

Simple file moves is not the proper way of performing changes to the Agentry Server.

You should put your .jar file in a folder called ‘Java’.

Next to the ‘Java’ folder you should create a folder called ‘Application’, in which you will

have a new version of your Agentry application.

Zip the two folders in one .zip archive and publish via the Management Cockpit.

Step 9.e. Configure the Agentry server on SMP 3.0 to use new .jar file

You now need the Agentry Server to use this new .jar file.

Go to the Administration Cockpit and administer the Agentry Application.

Go to the tab Backend in the JAVA-1 section.

The field Class Path needs to be changed to include your new .jar file.

By standard the Java Project “SAP-Common” has its own .jar file, and hence 2 .jar files are used.

But if you exported everything to a single .jar file, then the reference to the 2 SAP jars should be replaced with a reference to your new jar file.

The default value is: ./ini4j.jar;./sapjco3.jar;./Java/Agentry-v5.jar;./Java;./Java/SAPWM-6.1.0.0.jar;./Java;./Java/SAPCommon-133461.jar;

Your new value should be:

./ini4j.jar;./sapjco3.jar;./Java/Agentry-v5.jar;./Java;./Java/<YourNewJar>.jar;

Restart the SMP.

Check the startup.log file of the Agentry server, and ensure that you don’t have any errors on your server.

If this is the case, your are all set.

Step 9.f. Debug your Java Code.

Refer to this Wiki written by Jason Latko.

Debug SMP 3.0 Agentry Java in Eclipse – SAP Mobility – SCN Wiki

Step 10. Test the application.

Use the ATE or (as we did) install the Android SDK and test via your Android Emulator.

The connection process from the new 7.0 client are a little different from previous versions. You no longer provide a server name and port, but rather an https endpoint (URL).

The default URL endpoint for SAP Work Manager 6.1 is:

https://<FQDN-SMP-host>:8081/SAPWM

The application ID (“SAPWM”) can be found in the startup.log of the Agentry Server.

That’s it – I hope that this will be useful to others.

Søren Hansen

Assigned Tags

      35 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Stephen Kringas
      Stephen Kringas

      Hi Soren,

      Your blog has been very useful in helping get Work Manager 6.1 deployed on SMP 3.0 in our development environment.

      A small suggestion for Installation Step 2 -

      Install/import the SMP certificate - smp_crt.cer  from the folder <root>\configuration into your "Trusted Root Certification Authorities"

      CertImport.png

      Also ensure that the certificate matches the FQDN of your SMP Server.

      Thanks again for the blog.

      Cheers,

      Stephen

      Author's profile photo Søren Hansen
      Søren Hansen
      Blog Post Author

      Hi Stephen.

      Thanks for your comment. I have now extended step 2 into substeps 2a and 2b.

      FYI: Step 9.f has also been added which describes how to do debugging on Agentry on SMP 3.0, which is different from before.

      I just found that Wiki yesterday, and have successfully tested it.

      Best regards,

      Søren Hansen

      Author's profile photo Stephen Kringas
      Stephen Kringas

      Nice Soren.

      For Step 5 after extracting the Zip file, I updated the Agentry.ini with

      [Configuration]

      developmentServer=True

      so when importing into Eclipse I could define the Development Server. Otherwise I got an errror saying it was a "Production Version...etc etc"

      Cheers,

      Stephen

      Author's profile photo Sarika Kulkarni
      Sarika Kulkarni

      Hi Soren,


      I am facing this issue while publishing the Agentry app in SMP. I am not getting the successful message after browsing the Zip file as mentioned in the Step 8. Please suggest.

      SMP.PNG

      Thanks

      Sarika

      Author's profile photo Søren Hansen
      Søren Hansen
      Blog Post Author

      Hi Sarika,

      Please post this as a separate question, and not as  a comment on this thread.

      Soren.

      Author's profile photo Former Member
      Former Member

      Hi Sarika,

      I'm getting the same error as yours. Kindly can you let me know if you were able to get rid of this and if yes how?

      Thanks in advance.

      Regards,

      Gourav

      Author's profile photo Stephen Kringas
      Stephen Kringas

      Hi Gourav,

      Please refer to Sarika's post which has been resolved ->

      http://scn.sap.com/thread/3585906

      Cheers,

      Stephen

      Author's profile photo Former Member
      Former Member

      Hi Stephen,

      Thanks for your reply.

      Saw the same message as above in the log files but got the application updated successfully message on the UI. But after importing the zip file, the issue that I'm having is the Agentry application type is not showing anymore in the management cockpit. Not able to figure out the cause. I've posted a thread for this issue. Please suggest on that.

      Application type Agentry is missing from Management cockpit in SMP 3.0

      Regards,

      Gourav

      Author's profile photo Jochen Rundholz
      Jochen Rundholz

      The deploy process has changed since SMP SP02. In the blog post is mentioned to use SP00 of the plug-in. This will lead to some confusion and thus issues. Please use at least SP03 of the plug in.

      Secondly the files produced in the WM installer should be copied into the right server directory after an app has been created in the admin UI. For the deployment you need to differentiate between a development server (Agentry.ini available) and a production server (no Agentry.ini available).

      Author's profile photo Sarika Kulkarni
      Sarika Kulkarni

      Hello Jochen,

      Yes, I did observe the changes in SMP 3.0 SP03 on the deployment process. I am currently held up with Communication Error 14 on the Device and ATE. Looking for SSL configurations details. Have you been able to successfully working with it?

      I have new question posted on this link http://scn.sap.com/thread/3590480

      Regards,

      Sarika

      Author's profile photo Former Member
      Former Member

      Thanks for writing this detailed document. It is also very helpful with Inventory manager 4.0 installation under SMP 3.0.

      Author's profile photo Former Member
      Former Member

      Hi Soren , I don't found this archive in marketplace = WORKMGJAVASRC_01_0-80000157.ZIP

      Could you tell me if this is the correct path .

      Author's profile photo Former Member
      Former Member

      As per the document says:
      By default the source code is NOT available, when you download the Work Manager. You will need to sign a contract with SAP to get access to the source code. Once this is in place, you can find the source code in the SAP Software Download Center.

      Author's profile photo Former Member
      Former Member

      Hi stephen the company I work for is partner.

      I have enabled download manager sap work but can not find the

      P6 Prerequisites:

      if you would like to know if they have it enabled. Might you send me a picture.

      /wp-content/uploads/2014/07/1_502543.png

      or could give me the steps to request that option.

      Author's profile photo Former Member
      Former Member

      The agreement is not the one you already you signed.  You need to talk to your AE to get permission.

      If you think you should already have permission then talk to your AE to access to download it.

      Author's profile photo Former Member
      Former Member

      In addition to deploying the application from Eclipse to the server (Agentry.ini) do you also need to do the "zipping up and upload of files" step if you are deploying a standard version of WM or IM?

      You need the patience of a zen master when dealing with Agentry! Thanks for the article!

      Author's profile photo Jochen Rundholz
      Jochen Rundholz

      I am not too sure to what you refer. But if you have a development Server and do the publish from Eclipse then you don't have to upload the app anymore via the Admin UI. After you did the publish just check the application folder and you will see your application on file System Level.

      Author's profile photo Jacob Wesenberg
      Jacob Wesenberg

      Hi Søren

      We have patched our SMP30 server to SP04 and now we want to find the suburl of the application. Previously this was to be found in the startup log, but this is not visible anymore. In the log the name of the application created on SMP (eg. WM61) is visible, but as we see it we still have to call the app using SAP WM.

      Where to find information about the app name for SP04?

      thanks

      Br.

      Jacob

      Author's profile photo Jochen Rundholz
      Jochen Rundholz

      If you have only one app you should still see it in the normal startup log, having multiple apps running each should write a log on its own for the startup, e.g.

      2014/09/24 14:04:21.473: Opening log file

      2014/09/24 14:04:21.473: + Thread=4300

      2014/09/24 14:04:21.473:   + Server=Agentry

      2014/09/24 14:04:21.473:     + Front End=com.sap.se.customerservice

      2014/09/24 14:04:21.473:       Starting front end com.sap.se.customerservice

      2014/09/24 14:04:21.474:       Looking up Java AgentryManagedSpringBeanFactory class

      2014/09/24 14:04:21.474:       Retrieving Java AgentryManagedSpringBeanFactory instance

      2014/09/24 14:04:21.474:       Retrieving Java com/sap/mobile/platform/server/agentry/impl/AgentryCommunicationManager instance from the Spring context

      2014/09/24 14:04:21.533:       + Front End=com.sap.se.customerservice

      2014/09/24 14:04:21.533:         + URL=/SAPWM

      2014/09/24 14:04:21.533:           Opening WebSockets servlet for sub-URL /SAPWM

      2014/09/24 14:04:21.549: Closing log file

      The of course you can import the application into Eclipse to look it up there and finally if you have configured a new name in the Admin UI you can look it up in the Admin UI (urlpath parameter in app specific settings).

      Author's profile photo Jacob Wesenberg
      Jacob Wesenberg

      Hi Jochen

      Thanks, we have only one app running but this is not how our log looks like. It looks like this

      14:09:34 09/24/2014: Starting Agentry (64-bit Windows)

      14:09:34 09/24/2014: Reading system ini file.

      14:09:34 09/24/2014: Starting log file.

      14:09:34 09/24/2014: Loading message groups.

      14:09:34 09/24/2014: Starting threads.

      14:09:34 09/24/2014: 1 initial threads. Threads will auto-scale.

      14:09:34 09/24/2014: Event: 0, 2, Loading the Agentry Runtime's public/private key for password exchanges.

      14:09:34 09/24/2014: Event: 0, 2, Key pair loaded successfully.

      14:09:34 09/24/2014: Starting Agentry: Agentry Server Agent v7.0.4.8

      14:09:34 09/24/2014: Event: 0, 2, Agentry Startup

      14:09:34 09/24/2014: Loading 0 front ends

      14:09:34 09/24/2014: Starting Agentry Server Agent

      14:09:34 09/24/2014: Agentry Server Agent: Starting threads.

      14:09:34 09/24/2014: 1 initial threads. Threads will auto-scale.

      14:09:34 09/24/2014: Agentry Server Agent: Adding messages.

      14:09:34 09/24/2014: Event: 1, 4, Agentry Server Agent v7.0.4.8

      14:09:34 09/24/2014: Loading agent from ag3.dll

      14:09:34 09/24/2014: Starting WM61

      14:09:34 09/24/2014: Event: 20, 4, WM61 v7.0.4.8

      14:09:34 09/24/2014: Event: 0, 0, Old log files moved into C:\SAPSMP3\MobilePlatform3\Server\log\agentry\rolled\2014-09-24-140934

      14:09:34 09/24/2014: Event: 0, 23, Agentry startup is complete.

      And that all there is in the log.

      As you can see, the WM61 is showing, and this is the name give by us when creating the application on the SMP server.

      In SP03 we were able to identify the suburl.

      br

      Jacob

      Author's profile photo Jochen Rundholz
      Jochen Rundholz

      maybe it only shows in a higher log level. We have a higher log level. Try to change that in the Admin UI.

      Author's profile photo Former Member
      Former Member

      I do not see any application being loaded.  the SubURL will only show after an application has been loaded.

      Try publishing a new version of the application to the server

      Author's profile photo Jacob Wesenberg
      Jacob Wesenberg

      The WM6.1 is the application. It is running and we are able to use it on an ipad.

      Author's profile photo Søren Hansen
      Søren Hansen
      Blog Post Author

      Hi Jacob.

      I have had the exact same problem, which I published in this thread SMP 3.0 SP04: Agentry Application endpoints - Multiple instances of same type

      This problem was referenced in Question 1. However I got convinced that maybe something was wrong in my upgrade process of my SMP server, so I did a fresh install, and still have the same problem. In my case I have two Agentry instances and can only see one of the endpoints in the startup log.

      I believe this to be a bug. But anyways I think that SAP needs to redesign the endpoint URL determination.

      If you have absolutely no clue as to what the endpoint suffix should be, you can open the Agentry application from Eclipse. The suffix is equal to the Agentry Application Name.

      Søren.

      Author's profile photo Jochen Rundholz
      Jochen Rundholz

      As I said try increasing the log level, one other thing which came to my mind when reading this: you write SMP 3 SP04, we have SMP 3 SP04 PL01. If you haven't installed PL01 yet then this might be another idea.

      Author's profile photo Søren Hansen
      Søren Hansen
      Blog Post Author

      Hi Jochen.

      I am on SP04 PL01. Increasing log level does not explain why I see one of my Agentry servers and not the other !

      It must be a bug.

      Søren.

      Author's profile photo Bill Froelich
      Bill Froelich

      The URL endpoint has not changed from SP03 to SP04.  It is still the Agentry Application Name.  If you have multiple Agentry applications loading you will see the sub-url messages in the startup log for all Agentry applications.

      23:32:32 09/18/2014: Starting front ends

      23:32:32 09/18/2014: Starting front end nhl

      23:32:32 09/18/2014: nhl: Opening WebSockets servlet for sub-URL /NHL_SQLite

      23:32:32 09/18/2014: Event: 17, 10, nhl v7.0.4.8

      23:32:32 09/18/2014: Starting front end northwind

      23:32:32 09/18/2014: northwind: Opening WebSockets servlet for sub-URL /MobileNorthwind

      23:32:32 09/18/2014: Event: 17, 10, northwind v7.0.4.8

      23:32:32 09/18/2014: Event: 0, 0, Old log files moved into C:\SAP\MobilePlatform3\Server\log\agentry\rolled\2014-09-18-233229

      23:32:32 09/18/2014: Event: 0, 23, Agentry startup is complete.

      Note the two lines referencing sub-URL for the two applications I have running on my SP04 server.  If you are not seeing the sub-URL messages in your startup log then there is a problem loading the application and you will need to troubleshoot accordingly.

      --Bill

      Author's profile photo Søren Hansen
      Søren Hansen
      Blog Post Author

      I understand that it has not changed. But as long as you can only have one (in SP03) it doesn't matter much how the naming conventions are.

      But when you can have the same application installed 5 times to support 5 different backends, then it matters.

      And it is annoying that you need to modify the application just to support another backend.

      Try installing 2 Agentry applications for SAP backend (e.g. SAP WOrk Manager and SAP Inventory Manager) and see if you still can see both endpoints.

      Søren.

      Author's profile photo Bill Froelich
      Bill Froelich

      Soren,

      I installed Work Manager 6.1.1 and Inventory Manager 4.0.0 on the same SP04/PL01 server (in addition to my other two Agentry applications) and all load and are accessible at the same time.

      From my startup.log I see all four sub-URL entries and all are accessible concurrently.  Note I am running all of these as Agentry development servers, not sure if that matters or not.

      11:38:51 09/24/2014: Loading front end from angelvine

      11:38:51 09/24/2014: sapwm_6.1.1: loading configuration

      11:38:51 09/24/2014: Event: 17, 14, sapwm_6.1.1 v7.0.4.8

      11:38:51 09/24/2014: Event: 23, 4, sapwm_6.1.1 v7.0.4.8

      11:38:51 09/24/2014: Starting front ends

      11:38:51 09/24/2014: Starting front end nhl

      11:38:51 09/24/2014: nhl: Opening WebSockets servlet for sub-URL /NHL_SQLite

      11:38:51 09/24/2014: Event: 23, 150, Loading Development application definitions

      11:38:51 09/24/2014: Event: 17, 10, nhl v7.0.4.8

      11:38:51 09/24/2014: Starting front end northwind

      11:38:51 09/24/2014: northwind: Opening WebSockets servlet for sub-URL /MobileNorthwind

      11:38:51 09/24/2014: Event: 17, 10, northwind v7.0.4.8

      11:38:51 09/24/2014: Starting front end sapim_4.0.0

      11:38:51 09/24/2014: sapim_4.0.0: Opening WebSockets servlet for sub-URL /SAPIM

      11:38:51 09/24/2014: Event: 17, 10, sapim_4.0.0 v7.0.4.8

      11:38:51 09/24/2014: Starting front end sapwm_6.1.1

      11:38:51 09/24/2014: sapwm_6.1.1: Opening WebSockets servlet for sub-URL /SAPWM

      11:38:51 09/24/2014: Event: 17, 10, sapwm_6.1.1 v7.0.4.8

      11:38:51 09/24/2014: Event: 0, 0, Old log files moved into C:\SAP\MobilePlatform3\Server\log\agentry\rolled\2014-09-24-113803

      11:38:51 09/24/2014: Event: 0, 23, Agentry startup is complete.

      --Bill

      Author's profile photo Jacob Wesenberg
      Jacob Wesenberg

      Hi Søren

      Thanks. We will try to check for updates.

      The reason for asking is to provide customers with information of where to look. Installing eclipse and agentry project is quite a lot just for a name 🙂

      thank you for a great blog.

      br. Jacob

      To Jochen - I forgot that we are on PL01. Thanks

      Author's profile photo Søren Hansen
      Søren Hansen
      Blog Post Author

      I agree, that it is too much to setup Eclipse to handle the URL suffix, which is why SAP must change the mechanism 🙂

      Søren

      Author's profile photo Former Member
      Former Member

      What are the recommended PC requirements for this?

      I expect that 4GB RAM, 2.7GHz might not be enough?  

      Author's profile photo Former Member
      Former Member

      The SMP 3 Server itself requires 4 GB of ram.  I would recommend going higher.

      Stephen

      Author's profile photo Søren Hansen
      Søren Hansen
      Blog Post Author

      I agree with Stephen.

      In our team we require a minimum of 8GB to host the SMP on our local PC's.

      The same would go for a server.

      Søren Hansen

      Author's profile photo Ranjith Lingala
      Ranjith Lingala

      Hi All,

      I have Cluster environment in Production with two instance, shall i need to execute those steps in both instance1 and instance2. Please clarify me.