You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by unabble <su...@yahoo.com> on 2009/10/27 11:34:45 UTC
Multiple driver load in tomcat
I'm using tomcat5.5
I want to use multiple drivers in server.xml
How can i use?
Here is the resource entry i'm using
<Resource
name="testdb"
type="javax.sql.DataSource"
password="sunnyd_stage"
driverClassName="com.microsoft.sqlserver.jdbc.SQLServerDriver:x.y.jdbc.xyzdriver"
maxIdle="2"
maxWait="5000"
username="uid"
url="x.y.z://1.2.3.4:5566"
maxActive="4"/>
Can any body help?
Thanks In advance
--
View this message in context: http://www.nabble.com/Multiple-driver-load-in-tomcat-tp26075413p26075413.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: Multiple driver load in tomcat
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: unabble [mailto:sushi_v2@yahoo.com]
> Subject: Multiple driver load in tomcat
>
> I want to use multiple drivers in server.xml
> How can i use?
Just declare whatever you need; you can have as many <Resource> elements as you want as long as the name attributes are unique.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org