Tomcat 4.1.29 connectors on Linux problem ?

  • Thread starter Jan Kopinec \(IPS AG CH\)
  • Start date
J

Jan Kopinec \(IPS AG CH\)

Hallo,

I have very strange problem with apache/mod-jk/tomcat installation
on Linux. I have installed very simple test servlet HelloWorld.class.
Well when I try to do some easy stability test and I call this
servlet from the same IE browser session more times I bring whole
tomcat to the state when it is not responding any more, even other
servlets from other sessions are not served. I have allready tried to
change acceptCount= and connectionTimeout= (even 0,-1) in server.xml
but without any satisfactionary results. Only the complete restart of
tomcat helps afterwards (!).

Thanks
Jan Kopinec


<Server port="8005" shutdown="SHUTDOWN" debug="0">
<Listener className="org.apache.catalina.mbeans.ServerLifecycleListener"
debug="0"/>
<Listener
className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"
debug="0"/>
<Service name="Tomcat-Apache">
<Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
port="8009" minProcessors="5" maxProcessors="75"
enableLookups="true" redirectPort="8443"
acceptCount="300" debug="0" connectionTimeout="5000"
useURIValidationHack="false"
protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>
<!--
<Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
port="8080" minProcessors="5" maxProcessors="75"
enableLookups="true" redirectPort="8443"
acceptCount="300" debug="0" connectionTimeout="5000"
useURIValidationHack="false" disableUploadTimeout="true" />
-->
<Engine name="Standalone" debug="0" defaultHost="localhost">
<Logger className="org.apache.catalina.logger.FileLogger"
directory="/var/log/jakarta/" prefix="apache_log." suffix=".txt"
timestamp="true"/>
<Host name="localhost" debug="0" appBase="/home/tomcat"
unpackWARs="true" autoDeploy="true">
<Context path="/test" docBase="test" debug="0"
reloadable="false" crossContext="true">
<Logger className="org.apache.catalina.logger.FileLogger"
directory="/var/log/jakarta/" prefix="localhost_test_log."
suffix=".txt"
timestamp="true"/>
<ResourceLink name="linkToGlobalResource"
global="simpleValue"
type="java.lang.Integer"/>
</Context>
</Host>
</Engine>
</Service>
</Server>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,787
Messages
2,569,631
Members
45,338
Latest member
41Pearline46

Latest Threads

Top