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:17:56 GMT
Factory?  What is a factory?  What does it look like?

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

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

Can you please help?


Thanks in advance.

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

I don't see a factory defined in your server.xml, so you're not really
using connection pooling (I think).  You're getting a new conn each

Verify this by logging connection.toString() every time you get one and
watching the memory addresses.

Yoav Shapira
Millennium ChemInformatics

>-----Original Message-----
>From: Andoni []
>Sent: Wednesday, August 06, 2003 11:38 AM
>To: Tomcat Users List
>Subject: Tomcat Conn Pooling in 4.0.4 - Very Slow?
>I have changed my server's connection pooling from the connection
>software which was shipped with the application to using the JNDI
>connection pooling in Tomcat 4.0.4.
>The applications database access has slowed down considerably now that
>is implemented.  The parts of the application that don't do database
>work fine (or even faster than the old app.) but those that need to do
>access are very slow comparatively.
>Is there something I am missing?  Is this what others have found?
>My server.xml looks like below:
>    <Context path="" docBase="../myfile.war" debug="0"
>     <Resource name="jdbc/myname" auth="Container"
>     <ResourceParams name="jdbc/myname">
>      <parameter>
>       <name>driverClassName</name>
>       <value>oracle.jdbc.driver.OracleDriver</value>
>      </parameter>
>      <parameter>
>       <name>user</name>
>       <value>myusername</value>
>      </parameter>
>      <parameter>
>       <name>password</name>
>       <value>***</value>
>      </parameter>
>      <parameter>
>       <name>driverName</name>
>       <value></value>
>      </parameter>
>     </ResourceParams>
>    </Context>

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