Unable to delete vdb using JOPR, throws exception
-------------------------------------------------
Key: TEIID-1340
URL:
https://jira.jboss.org/browse/TEIID-1340
Project: Teiid
Issue Type: Bug
Components: Jopr Plugin
Reporter: Van Halbert
Assignee: Ted Jones
Fix For: 7.1.1
Tried to delete a vdb from JOPR and an exception is shown in the console.
To reproduce:
- copy the examples portfolio-vdb.xml to the deploy directory
- i restarted the server (for kicks and grins)
- went to admin-console and viewed the vdbs, the portfolio says it is down (because I
didn't setup all the data sources)
- selected the portfolio vdb, and press the delete action button.
This exception is seen:
Failed to delete Virtual Database (VDB)s 'DynamicPortfolio.1' -
java.lang.Exception: Failed to stop deployment 'DynamicPortfolio.1' - cause:
java.lang.RuntimeException: org.jboss.profileservice.spi.NoSuchDeploymentException: Failed
to find deployment in file: DynamicPortfolio.1 at
org.teiid.rhq.plugin.Facet.deleteResource(Facet.java:409) 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:637)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira