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
JSP - A mailing list about Java Server Pages specification and reference
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
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
Subject: Servlet : Session invalidate
Oracle Connection Pooling in 3 2 2
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Subject: Running a Simple JMS Example
Tomcat and webapplication specific java library path
Mapping in workers2 properties
org apache jasper JasperException
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action
   MESSAGE
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
Value attribute of <html:checkbox
url string for connecting jboss to oracle
javax servlet ServletException: BeanUtils populate
5 0 18: Windows XP Pro vs Windows 2000
HTTP Status 404 The requested resource is not available
 
Tomcat 3.3.1a problem

Tomcat 3.3.1a problem

2007-11-05       - By Bill Barker

 Back
Reply:     1     2     3     4     5     6  

I don't recognize the problem, but AJP12 was deprecated even for 3.3.1a
(which, for Pid's benifit, was a single security issue bugfix release from
3.3.1).  In any case, it will be a bottleneck for any attempt to scale your
application.  You should try with the AJP13 connector, which works better on
3.3.1a then either the AJP12 connector or the HTTP/1.0 connector (the
HTTP/1.0 connector in particular is known to have issues on Windows).  If
you can set up a test environment, the other thing to try is 3.3.2 with the
CoyoteConnector (either AJP13 or HTTP/1.1).  Short-term it is probably less
painful than upgrading to TC 5.5.x or TC 6.0.x.

Additional information I'd like to see is the mod_jk version (AJP12, while
still shipping with the most recent mod_jk hasn't been supported in a very
long time.  It wouldn't surprise me at all if it is broken on recent
versions), and a thread dump if you can get one.  Also turning up your
JkLogLevel to debug on mod_jk might help.

As Mark noted, 3.3.x is still somewhat officially supported (although I have
trouble seeing what would trigger a 3.3.3 release, even if it does have some
goodies in it :).  If you can get the thread dump and/or the debug mod_jk
logs, it may be better if you open a BZ report and attect them there, so
they are easier for me to find.

"Marko Krejic" <marko.krejic@(protected)> wrote in message
news:4AED0E970814CF4DABF0DAB27D5C6736D4BB@(protected)
Hi,

We are running Tomcat 3.3.1a on a Windows Server 2003. A apache server is
also installed on the machine as a proxy and it is connected with the tomcat
through AJP12. Tomcat is running on JDK1.4.2_13.


Now to our problem. We have been running this setup for quite a while (a few
years). But until recently, the load has increased.
It seems like when there are quite many connections, then suddenly it is not
possible to read the requestbody anymore. We get the request and we are
seeing the request header, but when we want to read the body, it all seems
to hang... At this time it seems like the threads are just stacking up and
nothing is processed.

Other threads, such as timer-threads and file-listener threads, are running
normally. It seems like only the request comming through the connectors (the
AJP12 and HTTP) are hanging.

Does anybody recognise these problems? And does anybody have any suggestions
about how to fix this?

We have tried to run without Apache and AJP12, but we got the same problem.

I could mention that we know that we have mobile clients sending requests to
the server and if the server is not responding within a certain time, they
will "cut-off" the request. Could it be that tomcat is not "releasing" these
requests?

Please, any suggestions would be very apprieciated!

Thanks in advance!

Marko Krejic




-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
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.