[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Multiple database configuration

PeterJ do-not-reply at jboss.com
Tue Jul 17 10:18:15 EDT 2007


For 5 different databases, the most you could to is place all 5 datasource declarations within the same *-ds.xml file (because the connection-url requires the database name).  Like this:

<datasources>
  |   <local-tx-datasource>
  |     ...declaration for 1st database...
  |   </local-tx-datasource>
  |   <local-tx-datasource>
  |     ...declaration for 2nd database...
  |   </local-tx-datasource>
  |    ... etc ...
  | </datasources>


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4065019#4065019

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4065019



More information about the jboss-user mailing list