Uploaded image for project: 'Teiid Designer'
  1. Teiid Designer
  2. TEIIDDES-2346

Deployment and undepoyment of Dynamic VDBs is not yet supported

XMLWordPrintable

      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.

        1. deploy-dynamic-vdb-action.png
          36 kB
          Barry LaFond
        2. undeploy-dynamic-vdb-action.png
          34 kB
          Barry LaFond

              blafond Barry LaFond
              blafond Barry LaFond
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: