JBoss Community

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

created by hiren kesariya in Datasource Configuration - View the full discussion

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

Start a new discussion in Datasource Configuration at Community