cancel
Showing results for 
Search instead for 
Did you mean: 

Agentry Application is getting deleted after Server Restart in SMP 3.0

Former Member
0 Kudos

Hi Experts,

I am facing a serious problem with production in SMP 3.0

I am publishing a version of Agentry Application in SMP 3.0 and after server restart it is getting deleted from the management cockpit.

As per the business requirement I am maintaining 4 versions of application in the server.

Currently I am working on Workmanager 6.2 application and SMP server is SMP 3.0 SP9.

The process which I am following for deploying application is as follows:

  1. Publishing the application from eclipse into a folder where it creates the ZIP file of the application.
  2. Browsing the ZIP file from the management cockpit to publish it.

Please help me out with the issue.

Thanks and Regards,

Shubham Taksali

Accepted Solutions (0)

Answers (1)

Answers (1)

mark_pe
Active Contributor
0 Kudos

Shubham,

Hi. I will gladly answer your question here.

Let me try to answer your questions in two folds:

1) First let me share the best practice or limitation on multiple apps in SMP 3.0.

Please reference # http://service.sap.com/sap/support/notes/2306453.

2) Each time you do changes into the SMP 3.0 cockpit, it is assumed you have published it accordingly.

For example:

(Following 2306453 document above) I have Work Manager 6.3 and Inventory Manager 4.2 in my SAP Cockpit.

Setup or Given:

Let:  Cockpit have two "DIFFERENT" applications (See reference link above for best practice).

SAP Cockpit:

|__SAPWM
         |__SAPWM-v1-0-0.agpz (Version 1) - inside the application.zip file (application\Production).
|__SAPIM
         |__SAPIM-v2-0-2.agpz (Version 2 minor 2)

If I want to do a modification to SAPWM version 1 but all I did was modify the Java files in my application.zip (Java/newJava.jar) then I do a load to SMP 3.0 again.  I may get what was originally loaded in the shared database (which I do not want because I want the modified one).

Why is this the case?  Because there was no identified changes to the key name of the publish.

If you want to see changes then you need an official delta change on the actual name of the version of the product.

In my example above, your published application should now be SAPWM-v2-0-0 or SAPWM-v1-0-1 or SAPWM-v1-1-0.agpz or the system (SAP Cockpit) will not detect a delta change.  The incremental number is what is key to trigger that the system will need to replace or load your newly change application into the database.  If this step is not done, you may end up loading a prior version from the database back into memory upon restart of the application (what if your prior version is blank?) or you will notice a no change when you restart the SMP 3.0 server.

So my theory is your steps above may have violated the SAP KBA link above (not sure as I have not seen your SMP 3.0 cockpit) + you probably didn't know the trick about the incremental number requirement.

We do proactive upskilling for a lot of our customers in SAP Support and this technique is normally discussed in the onsite or web session (try to ask about SAP Customer Outreach from your SAP AE or local support personnel like me - need customer ID # to qualify - technically you need proof you pay for your support maintenance as this is covered in it - topics - SMP 3.0 Agentry administration). It may or may not be available to all regions of SAP yet (If your support staff does not know what it is - ask them to ask their SAP GFM for details about Customer Outreach for their corresponding SAP products).

3.  You may also try newer version of SMP 3.0 like SMP 3.0 SP10 PL06.

4.  Also multiple apps in the SAP Mobile Platform 3.0 cockpit can contribute to degraded performance:

Example:

SAP Mobile Platform 3.0 Cockpit.

Application:

|_SAPWM
|_SAPIM
|_SAPWM3
|_SAPWM4
|_SAPWM5
|_SAPWM6
|_.. and others

Each time you restart it will try to load and connect to the entire applications + your corresponding cluster nodes.  This may influence run time on restart.

Hope this helps.

Best Regards,

Mark Pe
SAP Platinum Support Engineer

Former Member
0 Kudos

Hi,

I'm having the exact same issue as Shubham.

We're on SMP 3.0 SP10 with WM 6.2.1. On the production server, we've already published 2 versions of the app and it worked until there. The versions are 1-0-0 and 1-0-1.

Now whenever I try to publish a new version, and it doesn't matter whether it's a minor or major change, everything seems fine in the SMP cockpit, but as soon as I restart the server, the new version is deleted and the version which is loaded is the 1-0-1.

Shubham, have you managed to fix this?

I've read this article Publishing Error for Agentry Application - Administrator - SAP Library and it says it could be because of the cache defined in the ASE DB. On which DB your SMP is running?

Thx in advance,

Rdgs,

Quan

Former Member
0 Kudos

Hi Quan,

I am still facing the same problem in two different production environment.

In our case the DB is running on SQL Server 2014.

Please let me know if you are able to fix this problem or if you have any workaround for this.

Thanks and Regards,

Shubham Taksali

mark_pe
Active Contributor
0 Kudos

All,

Additional documentation on this items, please read the following:

  1. http://service.sap.com/sap/support/notes/2308279  - User Gets Error 13 after unused app is deleted or publishing new Agentry Changes (See Special Note).

Hope this helps out.

Mark Pe
SAP Platinum Support Engineer