tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Parsons Technical Services" <parsonstechni...@earthlink.net>
Subject Re: Can't get DB Pooling to Work
Date Fri, 18 Feb 2005 21:24:12 GMT
Add the driver to you app war. This will allow you to make changes to the 
driver without a restarting Tomcat.

Place nothing in server.xml.

Add it the context.xml.

What version is the driver and how big is it?

Doug

----- Original Message ----- 
From: "Karl Coleman" <kcoleman@commercebenefitsgroup.com>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
Sent: Friday, February 18, 2005 4:06 PM
Subject: RE: Can't get DB Pooling to Work


XP Pro.

I want a context resource if that means I want it applied to just this 
application, not all of them.

Which JAR? Both the JConnector JAR and naming-factory-dbcp.jar are in 
common/lib.

Thanks,
Karl

-----Original Message-----
From: Parsons Technical Services [mailto:parsonstechnical@earthlink.net]
Sent: Friday, February 18, 2005 4:00 PM
To: Tomcat Users List
Subject: Re: Can't get DB Pooling to Work


Making a guess that you are on Linux, who owns the jar file?
Where did you put it?
Are you wanting global or context resource?

Doug

From: "Karl Coleman"
I've tried word for word what the documentation says to do to use DBCP with
Tomcat but I can't get it to work. Here's the exception I am getting:

javax.servlet.ServletException: Unable to get connection, DataSource
invalid: "java.sql.SQLException: No suitable driver"
root cause
javax.servlet.jsp.JspException: Unable to get connection, DataSource
invalid: "java.sql.SQLException: No suitable driver"



---------------------------------------------------------------------
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





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


Mime
View raw message