tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cederberg Per <pe...@wmdata.com>
Subject Problem with HTTP/1.0 Connection in Tomcat 4.0.1 & 4.0.3
Date Mon, 08 Apr 2002 15:48:42 GMT
Hi!

I'm having some problems running the HTTP 1.0 connector in
Tomcat 4.0.3 (and 4.0.1). I keep getting the following 
exceptions in catalina.<date>.log (repeated every 2 secs):

2002-04-08 17:10:19 HttpProcessor[3080][4] process.parse
javax.servlet.ServletException: Missing HTTP request line
        at org.apache.catalina.connector.http10.HttpProcessor.parseRequest(HttpProcessor.java(Compiled
Code))
        at org.apache.catalina.connector.http10.HttpProcessor.process(HttpProcessor.java(Compiled
Code))
        at org.apache.catalina.connector.http10.HttpProcessor.run(HttpProcessor.java(Compiled
Code))
        at java.lang.Thread.run(Thread.java:512)

2002-04-08 17:10:19 HttpProcessor[3080][4] process.invoke
java.lang.IllegalStateException
        at org.apache.catalina.connector.HttpResponseFacade.sendError(HttpResponseFacade.java:145)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:158)
        at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
        at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
        at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
        at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
        at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
        at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
        at org.apache.catalina.connector.http10.HttpProcessor.process(HttpProcessor.java(Compiled
Code))
        at org.apache.catalina.connector.http10.HttpProcessor.run(HttpProcessor.java(Compiled
Code))
        at java.lang.Thread.run(Thread.java:512)

The error message in Tomcat 4.0.1 is only slightly different. I'm
unable to get any connection through to Tomcat (obviously). My connection 
config is this:

    <Connector className="org.apache.catalina.connector.http10.HttpConnector"
               port="3080" minProcessors="5" maxProcessors="10"
               enableLookups="false" redirectPort="8443"
               scheme="https" proxyPort="443"
               acceptCount="10" debug="0"/>

Is this a known issue or am I doing something really odd here?

Kind regards,

/Per

PS. As an answer to the obvious question of why not use HTTP 1.1:

When performance testing our servlet with JMeter, we have run into
a threading problem. It appears that Tomcat requires about 4x the
number of threads used for launching requests in JMeter, or we get
loads of "No processor available, rejecting this connection" errors.
After a Google search I found an old post to this group
http://www.apachelabs.org/tomcat-user/200102.mbox/%3c3A998468.13CE7CF7@eng.sun.com%3e
explaining I'd be better off with HTTP 1.0. We cannot increase the
maxProcessors much beyond 30-40, as the IBM JDK for AIX (that we use)
have native threads only, causing random problems and core dumps when 
running with the default 75 threads...

+-------------------------------------------------------
| Per Cederberg, WM-data Cross Industry Solutions
| mailto: pecee(at)wmdata.com

--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message