[jboss-dev-forums] [JBoss AS 7 Development] - Re: Error during (re) adding connection factory using CLI

Ramesh Reddy do-not-reply at jboss.com
Fri May 11 09:06:51 EDT 2012


Ramesh Reddy [https://community.jboss.org/people/rareddy] created the discussion

"Re: Error during (re) adding connection factory using CLI"

To view the discussion, visit: https://community.jboss.org/message/735056#735056

--------------------------------------------------------------
Stefano,

This is under Teiid tooling api, as user adds/removes the data models to virtual database these actions are performed. So, we really do not have total control over it. The issue surfaced when we tried to add (using CLI) 
* two different connection factories under one resource-adapter
* two spearate resource-adapters using the same RAR file but with individual connection factory inside it

it behaves exactly the same way with same exception. The above is prime usecase in Teiid as it can have multiple connections of same resource-adapter but to different sources. For example, different salesforce accounts or different web-services. May be you can also test above scenarios after your fix.

Also, I really do wish the "activate/enable" and corresponding "deactivate/disable" at the connection factory level rather than the resource-adpater level. This would match to the "data sources" behavior. You can keep the add/remove at the resource-adpater level. Currently IMO, configuration aspects are mixed with the runtime aspects with "activate/remove" calls, they should be separate.

Thank you very much for looking into it.

Ramesh..
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/735056#735056]

Start a new discussion in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120511/4240bf58/attachment.html 


More information about the jboss-dev-forums mailing list