tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <>
Subject Re: DBCP and Firewall timeouts
Date Sat, 11 Jul 2009 01:14:05 GMT
Hash: SHA1


On 7/7/2009 11:47 AM, AD wrote:
> unfortunately still not working.  One thing that i noticed, when i
> clear my browser cookies, everything works fine again.  One of the
> things we do is use cookie persistence to send a user to the same
> tomcat server (we need this for file uploads,etc).

Can your firewall use /part/ of a cookie (or URL) to map the request to
a server? If so, you can set the "route" of your <Connector> to annotate
your session id with a unique moniker for the physical server: no need
to do your own cookie management.

> Is there anything
> in the session cookie that would cause this issue?

Doubtful. Are you doing anything strange like sticking DB connections
into sessions or (intentionally) keeping connections open across requests?

If you enable the debugging options on your <Resource>, do you see any
error messages in your stdout log?

I see from a later post that you are using Rails which has its own
connection pool. You should look into the Rails DBCP setup and see if it
has similar debugging options.

Also, read my recent blog post on proper JDBC programming:

Hope that helps,
- -chris
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla -


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

View raw message