on 08-11-2015 3:44 PM
Hello,
With SAP Control Center 2.3 and work manager applications, we have trouble deploying/deleting/stopping applicatios after a couple sucessful deployment.
a) When trying to delete through the SCC we have the following error in server log (also see delete_error.png):
2015-08-11 10:12:25.982 ERROR MMS Thread-266 [com.sybase.sup.admin.server.ServerAdminImpl] ServerAdminImpl.logException
com.sybase.sup.admin.common.ServerException
at com.sybase.sup.admin.server.ServerAdminImpl.removeAgentryApplication(ServerAdminImpl.java:5937)
at com.sybase.sup.admin.server.ServerAdminImpl.removeApplications(ServerAdminImpl.java:4544)
at com.sybase.sup.admin.server.DOECServerAdminImpl_DJC.access$1201(DOECServerAdminImpl_DJC.java:4)
at com.sybase.sup.admin.server.DOECServerAdminImpl_DJC$13.invoke(DOECServerAdminImpl_DJC.java:5502)
at com.sybase.djc.transaction.TransactionManager.invokeRequiresNew(TransactionManager.java:857)
at com.sybase.djc.transaction.TransactionManager.invokeRequiresNew(TransactionManager.java:759)
at com.sybase.sup.admin.server.DOECServerAdminImpl_DJC.removeApplications(DOECServerAdminImpl_DJC.java:5513)
at com.sybase.sup.admin.server.DOECServerAdminImpl_DJC.$invoke_7(DOECServerAdminImpl_DJC.java:3948)
at com.sybase.sup.admin.server.DOECServerAdminImpl_DJC.$invoke(DOECServerAdminImpl_DJC.java:346)
at com.sybase.djc.rmi.iiop.server.MessageHandler.processRequest(MessageHandler.java:794)
at com.sybase.djc.rmi.iiop.server.MessageHandler.run(MessageHandler.java:306)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:789)
b) When trying to stop the application through the SCC we have the following error in server log:
2015-08-11 10:30:08.416 WARN MMS Thread-272 [com.sybase.djc.rmi.iiop.server.MessageHandler] System exception: client host = 127.0.0.1: java.lang.RuntimeException: The Agentry Application [hq.mq.dev.exploitation] is not running, and can not exeucte the action.
Yet even though it states that the agentry app is not running, I can connect with a client device to the application.
c) When trying to deploy new application through the SCC we have the following error in server log (also see stop_error.png):
2015-08-11 10:33:52.730 ERROR MMS Thread-272 [com.sybase.sup.admin.server.ServerAdminImpl] ServerAdminImpl.logException
java.lang.RuntimeException: java.lang.RuntimeException: Failed to copy files [librfc32.dll,sapjcorfc.dll] to application direcotry for [hq.mq.dev.exploitation].
at com.sybase.sup.agentry.service.AgentryServerService.deployApplicationZip(AgentryServerService.java:414)
at com.sybase.sup.admin.server.ServerAdminImpl.deployAgentryApplication(ServerAdminImpl.java:5886)
at com.sybase.sup.admin.server.DOECServerAdminImpl_DJC.$invoke_1(DOECServerAdminImpl_DJC.java:991)
at com.sybase.sup.admin.server.DOECServerAdminImpl_DJC.$invoke(DOECServerAdminImpl_DJC.java:316)
at com.sybase.djc.rmi.iiop.server.MessageHandler.processRequest(MessageHandler.java:794)
at com.sybase.djc.rmi.iiop.server.MessageHandler.run(MessageHandler.java:306)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:789)
Caused by: java.lang.RuntimeException: Failed to copy files [librfc32.dll,sapjcorfc.dll] to application direcotry for [hq.mq.dev.exploitation].
at com.sybase.sup.agentry.service.AgentryApplicationFileUtil.importApplicationZip(AgentryApplicationFileUtil.java:466)
at com.sybase.sup.agentry.service.AgentryApplicationFileUtil_DJC.importApplicationZip(AgentryApplicationFileUtil_DJC.java:388)
at com.sybase.sup.agentry.service.AgentryServerService.deployApplicationZip(AgentryServerService.java:410)
... 8 more
2015-08-11 10:33:52.401 WARN MMS Thread-272 [com.sybase.sup.agentry.service.AgentryApplicationFileUtil] Fail to copy file [D:\Applprod\SAP\MobilePlatform\Servers\UnwiredServer\temp\wdsmp11.dev.hydro.qc.ca\147\sapjcorfc.dll] to [D:\Applprod\SAP\MobilePlatform\Servers\UnwiredServer\Repository\Agentry\default\hq.mq.dev.exploitation\sapjcorfc.dll] for "D:\Applprod\SAP\MobilePlatform\Servers\UnwiredServer\Repository\Agentry\default\hq.mq.dev.exploitation\sapjcorfc.dll (The process cannot access the file because it is being used by another process)".
2015-08-11 10:33:52.396 WARN MMS Thread-272 [com.sybase.sup.agentry.service.AgentryApplicationFileUtil] Fail to copy file [D:\Applprod\SAP\MobilePlatform\Servers\UnwiredServer\temp\wdsmp11.dev.hydro.qc.ca\147\librfc32.dll] to [D:\Applprod\SAP\MobilePlatform\Servers\UnwiredServer\Repository\Agentry\default\hq.mq.dev.exploitation\librfc32.dll] for "D:\Applprod\SAP\MobilePlatform\Servers\UnwiredServer\Repository\Agentry\default\hq.mq.dev.exploitation\librfc32.dll (The process cannot access the file because it is being used by another process)".
All three actions (stop/delete/deploy) were done on the same agentry application.
Sometimes, if we kill the "AgentryServer.exe" process associated with the problematic agentry application, we can then delete the application with SCC. But there are some applications where even killing the AgentryServer.exe does not solve the problem.
Do you know of any way to correct these problems?
Kind Regards,
Silver Xaphakdy
Hi ,
You should be able to kill the process from task manager . Also please take a look at the following guide for your installation
Work Manager 6.0 - Guide | SCN
Thanks
Subash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
"An unknown error has occurred"- this is a known issue with earlier version of SMP 2.3 SP04, this shall be resolved with SP05 and later versions.
Thanks
Resmi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Resmi,
Thank you for the information about SP05. But before we get SP05, is it correct to assume that we should just kill "AgentryServer.exe" associated with the agentry applicationwe cannot delete with SCC? Do you know if killing that process frees up all allocated ressources on server and db?
Thank you
I have seen issues with the SCC failing to 'talk' to the Agentry Server because of the certification updated that where needed.
When you created the certificate for the server, did you add this cert into the Agentry.ini [Server Administration] section?
The [Server Administration] needs to use the default AgentryServer.pfx certificate for the SCC to connect to it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.