Bug 36245 - Cannot make Socket Connection after extended usage
Summary: Cannot make Socket Connection after extended usage
Status: RESOLVED INVALID
Alias: None
Product: Tomcat 5
Classification: Unclassified
Component: Connector:HTTP (show other bugs)
Version: 5.5.9
Hardware: PC Windows XP
: P2 critical (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-18 15:18 UTC by Mouli
Modified: 2005-10-12 21:44 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mouli 2005-08-18 15:18:55 UTC
I use tomcat 5.5.9 with J2SE 5.0 Update 4. My web application involves opening 
a tcp socket connection with an external server and closing it at logout. I 
find that when using tomcat as a service using tomcat5.exe, after 2000 uses 
(login followed by logout which is open the socket connection followed by close 
the socket connection), I cannot make a socket connection anymore with the 
external server. But if I start tomcat using startup.bat, there seems to be no 
problem even after 5000 uses. Why am I observing such a behavior?
Comment 1 Yoav Shapira 2005-10-13 05:44:48 UTC
I don't know, but the fact you get it only as a Windows service points to that
mechanism, rather than Tomcat itself, being the culprit.  Try to the user
mailing list, maybe someone there could help more.