tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andoni" <>
Subject Re: Tomcat Conn Pooling in 4.0.4 - Very Slow?
Date Wed, 06 Aug 2003 17:51:16 GMT
I am afraid Tomcat 4.0.4 does not have DBCP.

It uses Tyrex instead.
I have found from: that I should
be using:

But my .jar file for Tyrex only seems to have:
so I am using this instead.

I also have a class in my oracle driver's .jar archive called:
and another called:

So I might try these also.

I think I have a pdf manual for that Oracle JDBC driver somewhere I'll look
that up.

Have you any thoughts?  Should I install commons DBCP?


----- Original Message -----
From: "Shapira, Yoav" <>
To: "Tomcat Users List" <>
Sent: Wednesday, August 06, 2003 6:27 PM
Subject: RE: Tomcat Conn Pooling in 4.0.4 - Very Slow?


>Factory?  What is a factory?  What does it look like?

It's a class implementing the GoF Factory pattern.

>I thought what I had below WAS a factory?  is having DataSource there
>good enough?


>What's below is exactly what my Tomcat book has!!

Your book could be out of date or incorrect.

>Can you please help?

Add this parameter to your server.xml:


And read the JNDI DataSource HOW-TO in the tomcat docs.

Yoav Shapira

This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message