Bug 985578

Summary: Teiid Designer is unable to perform web services data preview multiple times without restarting server
Product: [JBoss] JBoss Data Virtualization 6 Reporter: Van Halbert <vhalbert>
Component: IntegrationAssignee: Van Halbert <vhalbert>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: fnguyen, lfabriko, vhalbert
Target Milestone: ER2   
Target Release: 6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-06 15:37:10 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 985576    
Bug Blocks:    

Comment 2 JBoss JIRA Server 2013-08-12 12:55:20 UTC
Ramesh Reddy <rareddy> made a comment on jira TEIID-2035

Here is another variation of the script that is without the remove per the workaround suggested in the original JIRA. Note we are looking for a solution that does not require a restart.

{code} 
/subsystem=resource-adapters/resource-adapter=ws/connection-definitions=wsDS:add(jndi-name=java:/wsDS, class-name=org.teiid.resource.adapter.ws.WSManagedConnectionFactory, enabled=true, use-java-context=true)
/subsystem=resource-adapters/resource-adapter=ws/connection-definitions=wsDS/config-properties=EndPoint:add(value=http://foo.com)
/subsystem=resource-adapters/resource-adapter=ws:activate

/subsystem=resource-adapters/resource-adapter=ws/connection-definitions=wsDS/config-properties=EndPoint:remove
/subsystem=resource-adapters/resource-adapter=ws/connection-definitions=wsDS/config-properties=EndPoint:add(value=http://foo1.com)
{code}

I even tried the undefine-attribute instead of "remove" and "add" in last two lines of the script.

Comment 3 JBoss JIRA Server 2013-08-14 22:02:05 UTC
Ramesh Reddy <rareddy> updated the status of jira TEIID-2035 to Resolved

Comment 4 JBoss JIRA Server 2013-08-14 22:02:05 UTC
Ramesh Reddy <rareddy> made a comment on jira TEIID-2035

Implemented the workaround defined in the thread https://community.jboss.org/message/832363

This solution requires creating a resource-adapter for each connection factory, also when the connection factory is deleted then the resource-adapter also deleted.

Once side effect is user uses Admin API it completely will be consistent in creation/deletion of sources, if they mix in editing XML file directly and Admin API some in-consistency is expected the way they are handled.

Comment 9 belong 2013-11-19 23:25:20 UTC
Fixed before GA - setting to requires_doc_text- accordingly

Comment 10 JBoss JIRA Server 2013-12-05 13:55:47 UTC
Steven Hawkins <shawkins> updated the status of jira TEIID-2035 to Closed

Comment 11 Lucie Fabrikova 2014-02-04 18:06:52 UTC
Verified in JBDSIS-7.0.0.GA-GA + DV 6.0.0.GA.