-
Bug
-
Resolution: Done
-
Major
-
8.6
Attempted to undeploy a dynamic VDB on my server and Designer threw an exception. (see below)
We should detect dynamic VDBs in our local VDB cache and maybe display differently (decoration) as well as dissallow Undeploy VDB on selection, or call the approprieate method undeployDynamicVdb() instead.
org.teiid.adminapi.AdminProcessingException: {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-1" => "JBAS014807: Management resource '[(\"deployment\" => \"DynamicProducts.vdb\")]' not found"}} at org.teiid.runtime.client.admin.v8.Admin8Factory$AdminImpl.execute(Admin8Factory.java:548) at org.teiid.runtime.client.admin.v8.Admin8Factory$AdminImpl.undeploy(Admin8Factory.java:782) at org.teiid.runtime.client.admin.v8.Admin8Spec.undeploy(Admin8Spec.java:73) at org.teiid.runtime.client.admin.ExecutionAdmin.undeployVdb(ExecutionAdmin.java:773) at org.teiid.designer.runtime.TeiidServer.undeployVdb(TeiidServer.java:669) at org.teiid.designer.runtime.ui.views.TeiidServerActionProvider$4.run(TeiidServerActionProvider.java:236)
1) ExecutionAdmin.undeployVdb() calls: adminSpec.undeploy(admin, appendVdbExtension(vdbName), vdb.getVersion()), so this call is assuming a .vdb extension, which fails for dynamic VDBs.
- relates to
-
TEIIDDES-2401 Add support exporting the Designer VDB as Dynamic VDB
- Closed