Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Struts - A MVC web framework
Tomcat - JSP/Servlet container
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
JSP - A mailing list about Java Server Pages specification and reference
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
Problem with Tomcat SSL Port

Problem with Tomcat SSL Port

2003-10-14       - By Manty, George

 Back
Reply:     1     2  

I am having a problem with embedded Tomcat 4.1.18.  The problem is that
after some unspecified period of time Tomcat is continually opening http
processor threads that are then stuck in the CLOSE_WAIT state.  I am
seeing this intermittently in Windows, HP-UX and Linux.  I am using the
coyoteconnector to create both an http connector and ssl connector.  The
http connector continues to work, but the SSL connector stops working.
This bug is supposed to be fixed in 4.1.24, but I question that based on
the following bugs described in these links:

http://www.mail-archive.com/tomcat-user@(protected)/msg103402.htm
l

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


Here are links to the related bug that was fixed:

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

>From looking at the stack trace it appears that the problem may be in
the code "org.apache.tomcat.util.threads.threadpool".  When I looked at
the source for that code, there are two methods that use notify instead
of notifyall(), which is a very dangerous practice and can easily cause
the behavior I am seeing.  It appears as though changing these two lines
to use notifyall() instead of notify() could fix the problem, however I
have not tested this out.

I wanted to verify that this code was changed in the latest version of
threadpool in the tomcat-util.jar file, but in the latest releases of
Tomcat I can't find the tomcat-util.jar file or the source for
ThreadPool.  However, you need that file to build http11processor.java,
so it must be somewhere.  Does anyone know where to find the latest
versions of tomcat-util.jar for tomcat 4.1.27?  Also if anyone knows if
this code has definitely been fixed that would be helpful as well.

Thank you,
George

©2008 junlu.com - Jax Systems, LLC, U.S.A.