tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Namasivayam, Sudhakar (Cognizant)" <NSudha...@chn.cognizant.com>
Subject HttpProcessor Problem - Starting background thread
Date Fri, 16 Apr 2004 09:14:45 GMT
Hi,
   My webapp was running fine for 2 days when suddenly, a static thread had stopped... this
thread should be always alive 
I searched the logs but find only this entry....

2004-04-16 13:43:41 HttpProcessor[8080][6] Starting background thread

What does this mean? Please can any  tell me the scenarios it could happen ?? 
Can i do some thing before or after  this event is called, like pesisting the objects???

I m using Tomcat standalone running on port 8080. 

Linux  +  tomcat 4.0.4 + JDK 1.4


Thanks in advance,
sudhakar



Log & server.xml below.....



NOTE:
usually when i start/stop the thread i find these 
2004-04-15 14:11:07 jsp: init
2004-04-15 14:11:07 StandardWrapper[/sfpsr:ssi]: Loading container servlet ssi
2004-04-15 14:11:07 ssi: init
2004-04-15 14:11:07 action: init
2004-04-15 14:11:08 Ajp13Connector[8007] Opening server socket on host IP address 127.0.0.1
2004-04-15 14:11:08 Ajp13Connector[8007] Starting background thread
2004-04-15 14:11:08 Ajp13Processor[8007][0] Starting background thread
2004-04-15 14:11:08 Ajp13Processor[8007][1] Starting background thread
2004-04-15 14:11:08 Ajp13Processor[8007][2] Starting background thread
2004-04-15 14:11:08 Ajp13Processor[8007][3] Starting background thread
2004-04-15 14:11:08 Ajp13Processor[8007][4] Starting background thread
2004-04-15 14:11:08 HttpConnector[8080] Starting background thread
2004-04-15 14:11:08 HttpProcessor[8080][0] Starting background thread
2004-04-15 14:11:08 HttpProcessor[8080][1] Starting background thread
2004-04-15 14:11:08 HttpProcessor[8080][2] Starting background thread
2004-04-15 14:11:08 HttpProcessor[8080][3] Starting background thread
2004-04-15 14:11:08 HttpProcessor[8080][4] Starting background thread
2004-04-15 14:11:10 jsp: init

server.xml


<Server port="8005" shutdown="SHUTDOWN" debug="0">

  <Service name="Agent8005">

    <Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
               port="8007" minProcessors="5" maxProcessors="100"
               acceptCount="10" debug="0" address="127.0.0.1" />

    <Connector className="org.apache.catalina.connector.http.HttpConnector"
               port="8080" minProcessors="5" maxProcessors="200"
               enableLookups="false" redirectPort="8443"
               acceptCount="10" debug="0" connectionTimeout="60000"/>

    <Engine jvmRoute="a8050" name="Agent8050" defaultHost="localhost" debug="0">

        <Manager className="org.apache.catalina.session.PersistentManager"
	              debug="0"
	              saveOnRestart="true"
	              maxActiveSessions="-1"
	              minIdleSwap="-1"
	              maxIdleSwap="-1"
	              maxIdleBackup="-1">
	                <Store className="org.apache.catalina.session.FileStore"/>
          </Manager>

      <Logger className="org.apache.catalina.logger.FileLogger"
              prefix="JVM8050." suffix=".txt"
              timestamp="true"/>
      <Realm className="org.apache.catalina.realm.MemoryRealm" />

      <Host name="localhost" debug="0" appBase="webapps" unpackWARs="true">

        <Context path="/TMAgent" docBase="TMAgent" 
         	debug="0" privileged="true">
		 <Valve className="org.apache.catalina.valves.RemoteAddrValve"
         		allow="127.0.0.1"/>
	</Context>
	<Context path="/manager" docBase="manager"
	                  debug="0" privileged="true">
	</Context>

	

	

      </Host>

    </Engine>

  </Service>

</Server>

Mime
View raw message