Stefano Maestri [
https://community.jboss.org/people/maeste] created the discussion
"Re: Error during (re) adding connection factory using CLI"
To view the discussion, visit:
https://community.jboss.org/message/735062#735062
--------------------------------------------------------------
Ramesh Reddy wrote:
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.
I'llinvestigate. But it's quite strange, it's the primary use case we
was covering w/ resource-adapters. I belive we have also test cases about that, but
I'll be back to you when verified.
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.
We will see if we can do something in next release. We CAN'T change API at
this stage of course.
regards
S.
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/735062#735062]
Start a new discussion in JBoss AS 7 Development at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]