Uploaded image for project: 'Jopr (CLOSED)'
  1. Jopr (CLOSED)
  2. JOPR-225

Unable to remove a "stale" war from repository

    Details

      Description

      When a WAR is undeployed from the AS outwith Jopr, the WAR is shown as unavailable in the Jopr repository. This is expected behaviour.
      It should then be possible to manually remove the WAR resource from the AS's inventory by deleting the appropriate child resource.

      An attempt to do so fails with following error:

      java.lang.Exception: Failed to stop deployment 'vfszip:/home/metlos/Projects/java/jbossas-5-EAP/build/output/jboss-5.0.0.Beta/server/default/deploy/jboss-seam-hibernate.war/' - cause: java.lang.RuntimeException: org.jboss.profileservice.spi.NoSuchDeploymentException: Failed to find deployment in file: vfszip:/home/metlos/Projects/java/jbossas-5-EAP/build/output/jboss-5.0.0.Beta/server/default/deploy/jboss-seam-hibernate.war/
      at org.rhq.plugins.jbossas5.StandaloneManagedDeploymentComponent.deleteResource(StandaloneManagedDeploymentComponent.java:283)
      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:526)
      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)

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                lkrejci Lukas Krejci
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: