I got it working. It was really dumb actually. In conf/Catalina/localhost I had 
the file named as context.xml. I renamed it to match the name of the app and it 
worked.

Thanks for your input Doug.

Karl

-----Original Message-----
From: Parsons Technical Services [mailto:[EMAIL PROTECTED]
Sent: Friday, February 18, 2005 4:24 PM
To: Tomcat Users List
Subject: Re: Can't get DB Pooling to Work


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" <[EMAIL PROTECTED]>
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:[EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to