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