[
https://issues.jboss.org/browse/TEIIDDES-1767?page=com.atlassian.jira.plu...
]
Barry LaFond commented on TEIIDDES-1767:
----------------------------------------
Ok, opening an issue with AS folks (prod team) seems to be only
resolution to this. I tried what they are mentioning on the
"workaround", and that does not work, it also requires a restart.
On the Designer/Client side, two workarounds exist
1) Restart the server. Note, you do not need to go to server management
window for this, you can execute a admin method "restart" for this. I
explicitly provided this for this workaround before.
2)Every time you create a data source have a unique name, do not reuse
the same name, even if you are creating just correcting a single
property say a password.
The long term fix MUST come from AS folks, so there is not much Teiid
can do here.
Ramesh..
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
Fix For: 8.2
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