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...
- is blocked by
-
TEIID-2035 DeleteDataSource method on Admin API does not completely delete the Connection Factory
- Closed
- is duplicated by
-
TEIIDDES-1760 Teiid Server Cache Does not Update After Adding Preview Source
- Closed
-
TEIIDDES-1766 Cannot preview WSDL webservice
- Closed
- relates to
-
TEIIDDES-1742 Creation of multiple non-JDBC sources in Designer requires JBossAS restarts
- Closed