Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Tomcat - JSP/Servlet container
Struts - A MVC web framework
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
JSP - A mailing list about Java Server Pages specification and reference
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
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
 
AW: Tomcat hangs

AW: Tomcat hangs

2006-11-15       - By Edao, Aliye

 Back
Reply:     1     2     3  

Hi Philipp,

try the following:

Increase maxThreads in server.xml. A good value to start with is maxProcessors=
"100".
Set connectionTimeout to a minute -> connectionTimeout="60000". Restart Tomcat.
Hope this will help.

************************************
Mit freundlichem Gru? / kind regards

Dr. Aliye Edao    



-- --Urspr?ngliche Nachricht-- --
Von: Philipp Lehner [mailto:lehner_philipp@(protected)]
Gesendet: Mittwoch, 15. November 2006 07:44
An: users@(protected)
Betreff: Tomcat hangs

Hello,

Since a few days Tomcat hangs on our production server every 20 - 24 hours. In
the stderr.log I'm getting the following entry:

15.11.2006 00:54:08 org.apache.tomcat.util.threads.ThreadPool Source code of org.apache.tomcat.util.threads.ThreadPool logFull
SCHWERWIEGEND: All threads (75) are currently busy, waiting. Increase
maxThreads (75) or check the servlet status

15.11.2006 01:05:13 org.apache.jk.server.JkCoyoteHandler Source code of org.apache.jk.server.JkCoyoteHandler action
SCHWERWIEGEND: Error in action code
java.net.SocketException Source code of java.net.SocketException: Connection reset by peer: socket write error
           at java.net.SocketOutputStream.socketWrite0(Native Method)
           at java.net.SocketOutputStream.socketWrite(Unknown Source)
           at java.net.SocketOutputStream.write(Unknown Source)
           at org.apache.jk.common.ChannelSocket Source code of org.apache.jk.common.ChannelSocket(ChannelSocket.java:457)
           at org.apache.jk.common.ChannelSocket Source code of org.apache.jk.common.ChannelSocket(ChannelSocket.java:654)
           at org.apache.jk.server.JkCoyoteHandler Source code of org.apache.jk.server.JkCoyoteHandler(JkCoyoteHandler.java
:472)
           at org.apache.coyote.Response Source code of org.apache.coyote.Response(Response.java:226)
           at org.apache.coyote.Response Source code of org.apache.coyote.Response(Response.java:348)
           at org.apache.jk.server.JkCoyoteHandler Source code of org.apache.jk.server.JkCoyoteHandler(JkCoyoteHandler.java
:329)
           at org.apache.jk.common.HandlerRequest Source code of org.apache.jk.common.HandlerRequest(HandlerRequest.java
:395)
           at org.apache.jk.common.ChannelSocket Source code of org.apache.jk.common.ChannelSocket(ChannelSocket.java:673)
           at org.apache.jk.common.ChannelSocket Source code of org.apache.jk.common.ChannelSocket
(ChannelSocket.java:615)
           at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java
:786)
           at org.apache.tomcat.util.threads.ThreadPool Source code of org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run
(ThreadPool.java:683)
           at java.lang.Thread Source code of java.lang.Thread(Unknown Source)

I'm using the following configuration:

Windows 2003 Server
Tomcat 4.1

Can anyone help me please?

Best Regards,

Philipp


   
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ______
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de

-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)


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