tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kaleb Pederson <kpeder...@mail.ewu.edu>
Subject Re: Tomcat becoming almost completely non-responsive
Date Mon, 04 Oct 2004 20:40:45 GMT
On Monday 04 October 2004 1:08 pm, Phillip Qin wrote:
> Can you add the stuff from my email?

I added them to the file and will restart the server when it will cause the 
least trouble (or next time it goes down).

What extra information do you believe this provide that I should be looking 
for?

Thanks again.

--Kaleb

> -----Original Message-----
> From: Kaleb Pederson [mailto:kpederson@mail.ewu.edu]
> Sent: October 4, 2004 12:40 PM
> To: Tomcat Users List
> Subject: Re: Tomcat becoming almost completely non-responsive
>
>
> My datasource definition is pretty basic and is as follows:
>
>    <!-- the db object for the mapping database -->
>    <Resource name="jdbc/MappingDB" auth="Container"
> type="javax.sql.DataSource" />
>    <ResourceParams name="jdbc/MappingDB">
>     <parameter>
>       <name>removeAbandoned</name>
>       <value>true</value>
>     </parameter>
>     <parameter>
>       <name>removeAbandonedTimeout</name>
>       <value>60</value>
>     </parameter>
>     <parameter>
>       <name>logAbandoned</name>
>       <value>true</value>
>     </parameter>
>     <parameter>
>       <name>factory</name>
>       <value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
>     </parameter>
>     <parameter>
>       <name>username</name>
>       <value>redirect_user</value>
>     </parameter>
>     <parameter>
>       <name>password</name>
>       <value>redirect_pass</value>
>     </parameter>
>     <parameter>
>       <name>driverClassName</name>
>       <value>com.mysql.jdbc.jdbc2.optional.MysqlDataSource</value>
>     </parameter>
>     <parameter>
>       <name>url</name>
>       <value>jdbc:mysql://myhost/redirects</value>
>     </parameter>
>     <parameter>
>       <name>maxActive</name>
>       <value>50</value>
>     </parameter>
>     <parameter>
>       <name>maxIdle</name>
>       <value>4</value>
>     </parameter>
>     <parameter>
>       <name>validationQuery</name>
>       <value>show tables</value>
>     </parameter>
>    </ResourceParams>
>
> Thanks for the help.
>
> --Kaleb
>

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