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

Cannot redeploy a vdb with webservice datasource

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 8.2, 8.3
    • None
    • None
    • None

    Description

      When redeploying a vdb that contains a WSDL webservice, the following behaviour is observed.

      1. Delete all vdb's data sources, including the WSDL webservice data source;
      2. Deploy the vdb
      3. Observe the following error

      !ENTRY org.teiid.designer.dqp.ui 4 0 2013-06-27 10:18:06.314
      !MESSAGE TEIID70006 JBAS014749: Operation handler failed: Service jboss.resourceadapters.ra.webservice.StockQuote is already registered
      !STACK 0
      org.teiid.adminapi.AdminProcessingException: TEIID70006 JBAS014749: Operation handler failed: Service jboss.resourceadapters.ra.webservice.StockQuote is already registered
      	at org.teiid.adminapi.AdminFactory$ResultCallback.onFailure(AdminFactory.java:195)
      	at org.teiid.adminapi.AdminFactory$AdminImpl.cliCall(AdminFactory.java:1409)
      	at org.teiid.adminapi.AdminFactory$AdminImpl.createConnectionFactory(AdminFactory.java:277)
      	at org.teiid.adminapi.AdminFactory$AdminImpl.createDataSource(AdminFactory.java:412)
      	at org.teiid84.runtime.ExecutionAdmin.getOrCreateDataSource(ExecutionAdmin.java:324)
      	at org.teiid.designer.runtime.TeiidServer.getOrCreateDataSource(TeiidServer.java:551)
      	at org.teiid.designer.runtime.TeiidDataSourceFactory.createDataSource(TeiidDataSourceFactory.java:107)
      	at org.teiid.designer.runtime.ui.vdb.VdbDeployer.deploy(VdbDeployer.java:239)
      	at org.teiid.designer.runtime.ui.actions.DeployVdbAction$1.run(DeployVdbAction.java:286)
      	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
      

      Despite 'StockQuote' being deleted in step 1, the JBoss server still has it cached in a map so throws back this error. The client does not show it and connecting to the server via the cli also fails to show it. Restarting the server flushes the cache and the vdb can be successfully redeployed.

      Whether this should be passed to Teiid (are they responsible for flushing the cache?) or WireFly (not properly flushing the cache or data source deletion) is the question...

      Attachments

        Issue Links

          Activity

            People

              mdrillin1@redhat.com Mark Drilling (Inactive)
              parichar@redhat.com Paul Richardson
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: