Bug 985576 - Connection Factory issue in AS7-4776 is still causing issues and requires a server restart to cleanup
Summary: Connection Factory issue in AS7-4776 is still causing issues and requires a s...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Web Services, ConfigAdmin
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
urgent
high
Target Milestone: ---
: ---
Assignee: Stefano Maestri
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 985578
TreeView+ depends on / blocked
 
Reported: 2013-07-17 19:21 UTC by Van Halbert
Modified: 2013-12-05 13:55 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-09-04 07:45:16 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker AS7-4776 0 Critical Resolved Error during (re) adding connection factory using CLI 2017-05-30 11:12:04 UTC
Red Hat Issue Tracker TEIID-2035 0 Major Closed DeleteDataSource method on Admin API does not completely delete the Connection Factory 2017-05-30 11:12:04 UTC

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


Note You need to log in before you can comment on or make changes to this bug.