DeploymentManager.start/stop() fail with NoSuchDeploymentException when called on a
Deployment that is a child of another Deployment
------------------------------------------------------------------------------------------------------------------------------------
Key: JBAS-6824
URL:
https://jira.jboss.org/jira/browse/JBAS-6824
Project: JBoss Application Server
Issue Type: Sub-task
Security Level: Public (Everyone can see)
Components: ProfileService
Reporter: Ian Springer
Assignee: Scott M Stark
For example:
16:29:47,528 INFO [DeployHandler] Stop,
[vfsfile:/C:/opt/jboss-5.1.0.CR1-SNAPSHOT/server/default/deploy/jbossws.sar/jbossws-management.war/]
16:29:47,528 INFO [DeployHandler] Failed to complete command: [stop] for deployment:
names=[vfsfile:/C:/opt/jboss-5.1.0.CR1-SNAPSHOT/server/default/deploy/jbos
sws.sar/jbossws-management.war/], copyContent=true
org.jboss.profileservice.spi.NoSuchDeploymentException: Failed to find deployment in file:
vfsfile:/C:/opt/jboss-5.1.0.CR1-SNAPSHOT/server/default/deploy/jbossw
s.sar/jbossws-management.war/
at
org.jboss.system.server.profileservice.repository.AbstractDeploymentRepository.getDeployment(AbstractDeploymentRepository.java:134)
at
org.jboss.profileservice.management.upload.remoting.DeployHandler.scheduleStop(DeployHandler.java:156)
at
org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.stop(AbstractDeployHandler.java:307)
at
org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.stop(AbstractDeployHandler.java:296)
at
org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.invoke(AbstractDeployHandler.java:181)
at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:891)
at
org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:106)
at org.jboss.remoting.Client.invoke(Client.java:1724)
at org.jboss.remoting.Client.invoke(Client.java:629)
at
org.jboss.profileservice.management.upload.remoting.StreamingDeploymentTarget.invoke(StreamingDeploymentTarget.java:305)
at
org.jboss.profileservice.management.upload.remoting.StreamingDeploymentTarget.stop(StreamingDeploymentTarget.java:208)
at
org.jboss.profileservice.management.upload.DeploymentProgressImpl.stop(DeploymentProgressImpl.java:276)
at
org.jboss.profileservice.management.upload.DeploymentProgressImpl.run(DeploymentProgressImpl.java:91)
at org.rhq.plugins.jbossas5.util.DeploymentUtils.run(DeploymentUtils.java:97)
at
org.rhq.plugins.jbossas5.ManagedDeploymentComponent.invokeOperation(ManagedDeploymentComponent.java:129)
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:484)
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)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira