commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dirk Verbeeck <dirk.verbe...@pandora.be>
Subject Re: [DBCP]: Tomcat+MySQL. Intermitent DbcpException: Server configuration
Date Wed, 27 Aug 2003 15:07:40 GMT
You can download it here:
http://cvs.apache.org/~dirkv/builds/dbcp.jsp

Dirk

Monica Ferrero wrote:

>Hello Dirk!
>
>  
>
>>Hi Monica
>>
>>The stacktrace you attached looks like a log4j one. I was looking for
>>the one from the abandoned code.
>>On linux you should look at $CATALINA_BASE/logs/catalina.out
>>    
>>
>
>The catalina.out log looks the same. I'm not getting the logging of the
>abandoned database connections anywhere I can see it...
>
>  
>
>>With only 15 web pages queries the problem should be reproducable on a
>>test system.
>>
>>I have make a build with all the recent changes included, you can
>>download the new jars here:
>>http://cvs.apache.org/~dirkv/builds/
>>Just replace the ones in common/lib
>>
>>I have tested the abandoned funtion using the configuration below and
>>the attached jsp.
>>    
>>
>
>The attached jsp hasn't made it through. I think attached files usually
>don't in themailing list...
>
>  
>
>>The testcase fails for 1.0, don't know why.
>>You will have to use the new version to look for the leak
>>Try the jsp first to see if you get the abandon stacktraces
>>    
>>
>
>Thanks alot. I'll give it a go as soon as I can!
>
>  
>
>>Cheers
>>Dirk
>>    
>>
>
>Monica
>
>  
>
>>==================================================
>>         <Resource name="jdbc/EmployeeAppDb" auth="SERVLET"
>>                   type="javax.sql.DataSource"/>
>>         <ResourceParams name="jdbc/EmployeeAppDb">
>>           <parameter><name>username</name><value>sa</value></parameter>
>>           <parameter><name>password</name><value></value></parameter>
>>           <parameter><name>driverClassName</name>
>>             <value>org.hsqldb.jdbcDriver</value></parameter>
>>           <parameter><name>url</name>
>>             <value>jdbc:hsqldb:database</value></parameter>
>>
>>
>><parameter><name>removeAbandoned</name><value>true</value></parameter>
>>
>><parameter><name>removeAbandonedTimeout</name><value>0</value></parameter>
>>
>><parameter><name>logAbandoned</name><value>true</value></parameter>
>>
>>           <parameter><name>maxActive</name><value>1</value></parameter>
>>
>>         </ResourceParams>
>>    
>>
>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: commons-user-help@jakarta.apache.org
>
>
>
>
>  
>




Mime
View raw message