You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Yansheng Lin <ya...@isogis.com> on 2003/11/06 23:30:44 UTC

Multiple DataSource in one application

I need to access to different dabab sources dynamically based on user's account
information.
Is it possible to do this through default configuration of JNDI Resources in
$tomcat_home/conf/server.xml?

How?

Thanks!



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


RE: Multiple DataSource in one application

Posted by Yansheng Lin <ya...@isogis.com>.
Sorry, horrible spelling...

Anyway, I think I found out how:

          <ResourceParams name="jdbc/oracledb1">
		...
          </ResourceParams>
          <ResourceParams name="jdbc/oracledb1">
		...
          </ResourceParams>	

Always forgot the true power of xml.

-----Original Message-----
From: Yansheng Lin [mailto:yansheng.lin@isogis.com] 
Sent: November 6, 2003 3:31 PM
To: 'Tomcat Users List'
Subject: Multiple DataSource in one application



I need to access to different dabab sources dynamically based on user's account
information.
Is it possible to do this through default configuration of JNDI Resources in
$tomcat_home/conf/server.xml?

How?

Thanks!



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org