Hide Forgot
Date of First Response: 2009-12-15 15:45:55 project_key: SOA I have deleted an esb archive using the admin console. It gets undeployed properly and disappears in the admin console. In JON it shows up as DOWN, so far so good. Now I try to remove this resource also in JON and end up with following failure: =================================== java.lang.Exception: Failed to stop deployment 'null' - cause: java.lang.RuntimeException: java.lang.NullPointerException at org.jbosson.plugins.jbossesb.ESB5DeploymentComponent.deleteResource(ESB5DeploymentComponent.java:82) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:525) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) =================================== SOA-P server log: 11:54:56,458 INFO [DeployHandler] Stop, [null] 11:54:56,459 INFO [DeployHandler] Failed to complete command: [stop] for deployment: names=[null] java.lang.NullPointerException at java.util.concurrent.ConcurrentHashMap.containsKey(ConcurrentHashMap.java:782) at org.jboss.profileservice.management.upload.remoting.DeployHandler.resolveDeploymentName(DeployHandler.java:215) at org.jboss.profileservice.management.upload.remoting.DeployHandler.scheduleStop(DeployHandler.java:145) at org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.stop(AbstractDeployHandler.java:338) at org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.stop(AbstractDeployHandler.java:327) at org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.invoke(AbstractDeployHandler.java:211) at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:897) at org.jboss.remoting.transport.socket.ServerThread.completeInvocation(ServerThread.java:768) at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:721) at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:548) at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:234)
Link: Added: This issue depends JBESB-3054
Tried to reproduce this and I'm having a hard time. Uploaded a "Quickstart_helloworld.esb" into JON and then tried to delete it in JON - the delete was successful and the ESB file is no longer displayed. Am I missing steps here?
Attachment: Added: delete.jpg
Yep :) So here's a more detailed list how to reproduce: 1. deploy some QS, make sure it gets discovered in JON 2. go to the *admin-console* (jopr) and delete this QS 3. make sure it gets undeployed 4. go to the JON console and verify that the resource is DOWN and now: 5. try to remove this resource in JON - no way, this command tries to stop a resource that is no longer available, I guess.
Can you attach a log file so that we can see what is going on? From the initial report it looks like this may actually be an issue in JON but the logs can probably show us for definite. Kev
JON is now uninventorying the ESB deployment in this instance. Fix should go into ER6.
Verified in ER6 - works with zipped and exploded archives.
Link: Added: This issue related SOA-1768