Bug 985576

Summary: Connection Factory issue in AS7-4776 is still causing issues and requires a server restart to cleanup
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Van Halbert <vhalbert>
Component: Web Services, ConfigAdminAssignee: Stefano Maestri <smaestri>
Status: CLOSED NOTABUG QA Contact:
Severity: high Docs Contact:
Priority: urgent    
Version: 6.1.0CC: atangrin, jawilson, jdoyle, kejohnso, lfabriko, myarboro, pslavice, rsvoboda, smaestri, vhalbert
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-04 07:45:16 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:    
Bug Blocks: 985578    

Comment 2 Alessio Soldano 2013-07-18 08:31:15 UTC
Not sure why this has been assigned to me...

Comment 10 JBoss JIRA Server 2013-08-12 12:55:17 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 12 JBoss JIRA Server 2013-08-14 22:02:02 UTC
Ramesh Reddy <rareddy> updated the status of jira TEIID-2035 to Resolved

Comment 13 JBoss JIRA Server 2013-08-14 22:02:02 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 15 Rostislav Svoboda 2013-08-26 10:32:25 UTC
Stefano, will you work on this BZ or will you close this BZ based on Comment 13 and Comment 14 ?

Comment 16 Stefano Maestri 2013-09-04 07:45:16 UTC
Closing based on comment 13 and 14

Comment 17 Rostislav Svoboda 2013-09-10 08:24:43 UTC
Removing jboss-eap-6.2.0 flag not to show this one in ACK_VIEW stats

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