[jboss-user] [Datasource Configuration] - Re: How to configure connection pool for two databases??

hiren kesariya do-not-reply at jboss.com
Tue Sep 11 06:12:10 EDT 2012


hiren kesariya [https://community.jboss.org/people/jk.hiren] created the discussion

"Re: How to configure connection pool for two databases??"

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

--------------------------------------------------------------
I have seen the example mentioned by you, but have not been able to implement the same.
The same exception  *"org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (org.jboss.resource.JBossResourceException: No XADataSourceClass supplied!)"exception.* is thrown.

Can you please provide some sample code.

Also, which is the right approach?
1)creating two different -ds.xml files(one for oracle and one for sql server 2005 each)
2)creating one file and and having two <xa-datasource> tags in it.

Thanx for your time.
--------------------------------------------------------------

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

Start a new discussion in Datasource Configuration at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2077]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120911/32b60e40/attachment.html 


More information about the jboss-user mailing list