[
https://issues.jboss.org/browse/TEIIDDES-1766?page=com.atlassian.jira.plu...
]
Paul Richardson edited comment on TEIIDDES-1766 at 7/2/13 8:24 AM:
-------------------------------------------------------------------
The preview manager does its upmost to synchronize and update preview vdbs and
datasources, including when closing a project the manager will undeploy previews from the
server. However, since the server is incapable of cleaning up the resource-adapters,
cached articles are being left behind (see
[
1767|https://issues.jboss.org/browse/TEIIDDES-1767]).
Thus, until this can be solved and the server is returned to a state prior to the
existence of any components of the preview vdb, it is impossible to debug / investigate /
fix any other remaining preview issues.
was (Author: phantomjinx):
The preview manager does its upmost to synchronize and update preview vdbs and
datasources, including when closing a project the manager will undeploy previews from the
server. However, since the server is incapable of cleaning up the resource-adapters,
cached articles are being left behind (see
[
1767|https://issues.jboss.org/browse/TEIIDDES-1767].
Thus, until this can be solved and the server is returned to a state prior to the
existence of any components of the preview vdb, it is impossible to debug / investigate /
fix any other remaining preview issues.
Cannot preview WSDL webservice
------------------------------
Key: TEIIDDES-1766
URL:
https://issues.jboss.org/browse/TEIIDDES-1766
Project: Teiid Designer
Issue Type: Bug
Components: Web Services Support
Affects Versions: 8.2
Reporter: Paul Richardson
Assignee: Ted Jones
Fix For: 8.2
When trying to preview a model that includes a WSDL webservice as a source, the process
fails due to the following error:
{code}
org.teiid.adminapi.AdminProcessingException: TEIID70003 Data source with name
PREVIEW_2dd455bc-3423-4866-a362-3e5cd83831cb_FinancialsDemo_VirtualBaseLayer_StockQuote_sources_StockQuote
already exists; choose a different deployment name
{code}
Stacktrace:
{code}
at org.teiid.adminapi.AdminFactory$AdminImpl.createDataSource(AdminFactory.java:407)
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.preview.PreviewManager.getOrCreateDataSource(PreviewManager.java:667)
at
org.teiid.designer.runtime.preview.PreviewManager.ensureConnectionInfoIsValid(PreviewManager.java:504)
{code}
The error is right that a PREVIEW already exists and the getOrCreateDataSource() method
is wrong is trying to create it. The webservice PREVIEWs are held in the:
{code}
<subsystem>
<resource-adapters>
<resource-adapter id="webservice">
...
</resource-adapter>
</resource-adapters>
</subsystem>
{code}
-rather than with the datasources and these are never checked or cached by Designer.-
Likewise these previews never appear in the server view under datasources since they are
never returned via ExecutionAdmin.refreshDataSourceNames().
Question is how to properly refactor ExecutionAdmin classes to correctly return these
data sources (that are not technically data sources) so that getOrCreate works as does
delete.
Note. the webservice data source does appear in the server view but the preview does not!
--
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