Bug 780161 (SOA-2537)

Summary: Deleting a VDB in the admin console is failing
Product: [JBoss] JBoss Enterprise SOA Platform 5 Reporter: Len DiMaggio <ldimaggi>
Component: Tooling, EDSAssignee: Van Halbert <vhalbert>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: urgent Docs Contact:
Priority: urgent    
Version: 5.1.0.ER3   
Target Milestone: ---   
Target Release: 5.1.0.ER4   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-2537
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-11-19 01:14:18 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Screenshot-delete-VDB.png
none
server,log_cannot_delete_VDB_in_console none

Description Len DiMaggio 2010-11-03 14:39:05 UTC
project_key: SOA

The exception raised is:

Failed to delete Virtual Database (VDB)s 'Interoperability.2' - java.lang.Exception: Failed to stop deployment 'Interoperability.2' - cause: java.lang.RuntimeException: org.jboss.profileservice.spi.NoSuchDeploymentException: Failed to find deployment in file: Interoperability.2 at org.teiid.rhq.plugin.Facet.deleteResource(Facet.java:409) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:525) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:636) 

See attached screen shot and server log.

Comment 1 Len DiMaggio 2010-11-03 14:45:18 UTC
Attachment: Added: Screenshot-delete-VDB.png
Attachment: Added: server,log_cannot_delete_VDB_in_console


Comment 2 Van Halbert 2010-11-03 14:46:49 UTC
Link: Added: This issue depends TEIID-1340


Comment 3 Van Halbert 2010-11-04 12:12:11 UTC
Teiid changes were checked into the 7.1.x product branch and should be in the ER4 release.

Comment 4 Len DiMaggio 2010-11-19 01:14:18 UTC
Verified in the ER4 build

2010-11-18 20:04:23,300 DEBUG [org.teiid.rhq.plugin.VDBComponent] (ResourceContainer.invoker.nonDaemon-3) Stopping deployment [vfsfile:/jboss/local/51_ER4/jboss-soa-p-5/jboss-as/server/production/deploy/weather-vdb.xml]...
2010-11-18 20:04:23,325 INFO  [org.jboss.profileservice.management.upload.remoting.DeployHandler] (ResourceContainer.invoker.nonDaemon-3) Stop, [vfsfile:/jboss/local/51_ER4/jboss-soa-p-5/jboss-as/server/production/deploy/weather-vdb.xml]
2010-11-18 20:04:23,345 INFO  [org.teiid.RUNTIME] (ResourceContainer.invoker.nonDaemon-3) VDB "weather.1[Weather[Weather/MessageWeather/java:WeatherDS]]" undeployed.
2010-11-18 20:04:23,357 INFO  [org.jboss.profileservice.management.upload.remoting.DeployHandler] (ResourceContainer.invoker.nonDaemon-3) End stop, [vfsfile:/jboss/local/51_ER4/jboss-soa-p-5/jboss-as/server/production/deploy/weather-vdb.xml]
2010-11-18 20:04:23,357 DEBUG [org.teiid.rhq.plugin.VDBComponent] (ResourceContainer.invoker.nonDaemon-3) Removing deployment [vfsfile:/jboss/local/51_ER4/jboss-soa-p-5/jboss-as/server/production/deploy/weather-vdb.xml]...
2010-11-18 20:04:23,358 INFO  [org.jboss.profileservice.management.upload.remoting.DeployHandler] (ResourceContainer.invoker.nonDaemon-3) Remove, [vfsfile:/jboss/local/51_ER4/jboss-soa-p-5/jboss-as/server/production/deploy/weather-vdb.xml]
2010-11-18 20:04:23,404 WARN  [org.jboss.on.embedded.ui.NavigationContent] (ResourceFactory.executor-1) Unable to find node for deleted resource [Resource[id=-87, type=Data Roles, key=DenyAllTestRole, name=DenyAllTestRole, parent=weather.1]].