Skip to Content
0
Former Member
Aug 11, 2015 at 02:44 PM

SCC workmanager Cannot delete/stop/deploy applications

27 Views

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

Attachments

stop_error.png (116.7 kB)
delete_error.png (165.2 kB)