hi,
i didn't get any useful response in the tomcat-user-mailinglist.
many users have messages in their catalina.out, saying that a socket times out, or a connection had been closed.
these messages look like this:
25.02.2003 20:22:48 org.apache.jk.common.ChannelSocket processConnection
INFO: connection timeout reached
25.02.2003 20:22:50 org.apache.jk.common.ChannelSocket processConnection
INFO: server has been restarted or reset this connection
Could you give us more information :
- jk version you're using (jk or jk2) - Apache webserver (1.3/2.0) - Operating system hosting tomcat and apache
This message appears in tomcat in wait for ajp message, since Operating system return Read timed out instead of Read error.
Are you using Windows OS ?
===>
void processConnection(MsgContext ep) {
try {
MsgAjp recv=new MsgAjp();
while( running ) {
int status= this.receive( recv, ep );
if( status <= 0 ) {
if( status==-3)
log.debug( "server has been restarted or reset this connection" );
else
log.warn("Closing ajp connection " + status );
break;
}
ep.setLong( MsgContext.TIMER_RECEIVED, System.currentTimeMillis());
ep.setType( 0 );
// Will call next
status= this.invoke( recv, ep );
if( status!= JkHandler.OK ) {
log.warn("processCallbacks status " + status );
break;
}
}
} catch( Exception ex ) {
if( ex.getMessage().indexOf( "Connection reset" ) >= 0)
log.debug( "Server has been restarted or reset this connection");
else if (ex.getMessage().indexOf( "Read timed out" ) >=0 )
log.info( "connection timeout reached");
else
log.error( "Error, processing connection", ex);
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]