[
https://issues.jboss.org/browse/TEIIDDES-1767?page=com.atlassian.jira.plu...
]
Ramesh Reddy commented on TEIIDDES-1767:
----------------------------------------
see
https://issues.jboss.org/browse/TEIID-2035 for a long standing issue with connection
factories in AS 7
Cannot redeploy a vdb with webservice datasource
------------------------------------------------
Key: TEIIDDES-1767
URL:
https://issues.jboss.org/browse/TEIIDDES-1767
Project: Teiid Designer
Issue Type: Bug
Reporter: Paul Richardson
Assignee: Ted Jones
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
{code}
!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)
{code}
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...
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira