[embjopr-issues] [JBoss JIRA] Created: (EMBJOPR-115) WARs cannot be Deleted

Shelly McGowan (JIRA) jira-events at lists.jboss.org
Mon Mar 23 16:44:25 EDT 2009


WARs cannot be Deleted
----------------------

                 Key: EMBJOPR-115
                 URL: https://jira.jboss.org/jira/browse/EMBJOPR-115
             Project: Embedded Jopr
          Issue Type: Bug
          Components: Web App/Integration
         Environment: JBoss AS r 86207, EMBJOPR r251
            Reporter: Shelly McGowan
             Fix For: 1.2


Navigation:
>From Applications ==> Web Applications
Add New Resource
Enter Resource name, CONTINUE

Wait till the web archive status shows it is 'UP'.

Delete the WAR archive.  
Confirmation Message: Successfully deleted Web Application (WAR) 'hellothere.war'. 

Server side:

2009-03-23 16:06:08,276 DEBUG [org.jboss.on.embedded.ui.SingleResourceAction] (http-127.0.0.1-8080-1) Removing Resource Resource[id=-39, type=Web Application (WAR), key=vfszip:/TEST/Branch_5_x/build/output/jboss-5.1.0.CR1/server/default/tmp/embjopr/hellothere.war/, name=hellothere.war, parent=JBAS (default), version=?]...
2009-03-23 16:06:08,281 INFO  [org.rhq.core.pc.inventory.DeleteResourceRunner] (ResourceFactory.executor-1) Deleting resource from request: 1
2009-03-23 16:06:08,282 DEBUG [org.rhq.plugins.jbossas5.ManagedDeploymentComponent] (ResourceContainer.invoker.nonDaemon-1) Undeploying deployment [vfszip:/TEST/Branch_5_x/build/output/jboss-5.1.0.CR1/server/default/tmp/embjopr/hellothere.war/]...

The console shows the WAR status as UNKNOWN.  Refreshing the page, then shows the WAR application status as 'UP'.  

Attempting to Delete the same resource again, results in the same message to the client.  The server, however, returns:

16:33:28,549 INFO  [DeleteResourceRunner] Deleting resource from request: 1
16:33:28,553 INFO  [DeployHandler] Remove, [vfszip:/TEST/Branch_5_x/build/output/jboss-5.1.0.CR1/server/default/tmp/embjopr/hellothere.war/]
16:33:28,553 INFO  [DeployHandler] Failed to complete command: [remove] for deployment: names=[vfszip:/TEST/Branch_5_x/build/output/jboss-5.1.0.CR1/server/default/tmp/embjopr/hellothere.war/], copyContent=true
org.jboss.profileservice.spi.NoSuchDeploymentException: Failed to find deployment in file: vfszip:/TEST/Branch_5_x/build/output/jboss-5.1.0.CR1/server/default/tmp/embjopr/hellothere.war/
        at org.jboss.system.server.profileservice.repository.AbstractDeploymentRepository.getDeployment(AbstractDeploymentRepository.java:134)
        at org.jboss.system.server.profileservice.repository.BasicDeploymentRepository.removeDeployment(BasicDeploymentRepository.java:208)
        at org.jboss.profileservice.management.upload.remoting.DeployHandler.removeDeployment(DeployHandler.java:171)
        at org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.remove(AbstractDeployHandler.java:322)
        at org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.invoke(AbstractDeployHandler.java:185)




-- 
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

        



More information about the embjopr-issues mailing list