You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2003/05/14 09:35:53 UTC

DO NOT REPLY [Bug 14663] - Tomcat5 server hangs when trying to get the database connection

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14663>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14663

Tomcat5 server hangs when trying to get the database connection





------- Additional Comments From charlotte.millard@baesystems.com  2003-05-14 07:35 -------
I am also experiencing this problem.
I am using Tomcat 4.1.24 on Windows 2000 server, connecting to a MS SQL Server 
2000 database. (I've also used Tomcat 4.1.18 with the same problem.)
I do not have this problem when using the Tomcat in Sun's JWSDP.

Most of the time it works - I get the connection immediately. The problem 
occurs when I try to get a second connection while the first one is open.
In SQL Server, while tomcat is hanging, I can see that the second (new) 
connection/process is being blocked by the first. If I kill the first process, 
Tomcat returns with a "connection reset by peer: socket write error" (as you'd 
expect).

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org