Bug 4793

Summary: mod_webapp connector doesn
Product: Tomcat 4 Reporter: juergen weber <juergen>
Component: Connector:WebappAssignee: Tomcat Developers Mailing List <dev>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 4.0.1 Final   
Target Milestone: ---   
Hardware: HP   
OS: All   

Description juergen weber 2001-11-11 01:48:30 UTC
Apache 1.3.22 (running as an NT service)
Tomcat 4.01   (running as an NT service)
OS     W2k SP2, 512MByte RAM, PIII/450
JDK    Sun JDK 1.3.1

The mod_webapp connector (http://jakarta.apache.org/builds/jakarta-tomcat-
4.0/release/v4.0.1/bin/win32/webapp-modules-1.0-tc40-windows.zip from 14-Oct-
2001 15:51) doesn´t work properly. If pointing the browser to the jsp or the 
servlet programs underneath ../examples/, Apache stops redirecting the 
requests to Tomcat. If I wait a couple of seconds before starting another 
servlet (by clicking to the url) it seems to be more stable. But eventually I 
stops redirecting too. Tomcat still responds on port 8080 when these erros 
occur. I added the ../webapp/tomcat-doc to the webdeploy area 
(WebAppDeploy     tomcat-docs warpConnection   /tomcat-docs) and got the same 
problem.
If I restart the Apache service the redirection works again for a while.

Please find here the apache_log:
2001-11-11 10:20:40 [org.apache.catalina.connector.warp.WarpConnector] 
Connection from 127.0.0.1/127.0.0.1:1068 to 127.0.0.1/127.0.0.1:8008
2001-11-11 10:20:40 WarpHost[localhost]: Installing web application at context 
path /tomcat-docs from URL file:C:\Program Files\Apache Tomcat 4.0
\webapps\tomcat-docs
2001-11-11 10:20:40 WebappLoader[/tomcat-docs]: Deploying class repositories 
to work directory C:\Program Files\Apache Tomcat 4.0\work\localhost\tomcat-docs
2001-11-11 10:20:40 StandardManager[/tomcat-docs]: Seeding random number 
generator class java.security.SecureRandom
2001-11-11 10:20:40 StandardManager[/tomcat-docs]: Seeding of random number 
generator has been completed
2001-11-11 10:20:40 StandardWrapper[/tomcat-docs:default]: Loading container 
servlet default
2001-11-11 10:20:40 default: init
2001-11-11 10:20:40 StandardWrapper[/tomcat-docs:invoker]: Loading container 
servlet invoker
2001-11-11 10:20:40 invoker: init
2001-11-11 10:20:40 jsp: init
2001-11-11 10:20:40 
[org.apache.catalina.connector.warp.WarpConfigurationHandler] Filter mappings 
(0)
2001-11-11 10:20:40 WarpHost[localhost]: Installing web application at context 
path /examples from URL file:C:\Program Files\Apache Tomcat 4.0
\webapps\examples
2001-11-11 10:20:40 WebappLoader[/examples]: Deploying class repositories to 
work directory C:\Program Files\Apache Tomcat 4.0\work\localhost\examples
2001-11-11 10:20:40 StandardManager[/examples]: Seeding random number 
generator class java.security.SecureRandom
2001-11-11 10:20:40 StandardManager[/examples]: Seeding of random number 
generator has been completed
2001-11-11 10:20:41 ContextConfig[/examples]: Configured an authenticator for 
method FORM
2001-11-11 10:20:41 ContextListener: contextInitialized()
2001-11-11 10:20:41 SessionListener: contextInitialized()
2001-11-11 10:20:41 ContextListener: attributeReplaced
('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@d9850')
2001-11-11 10:20:41 StandardWrapper[/examples:default]: Loading container 
servlet default
2001-11-11 10:20:41 default: init
2001-11-11 10:20:41 StandardWrapper[/examples:invoker]: Loading container 
servlet invoker
2001-11-11 10:20:41 invoker: init
2001-11-11 10:20:41 jsp: init
2001-11-11 10:20:41 
[org.apache.catalina.connector.warp.WarpConfigurationHandler] Filter mappings 
(2)
2001-11-11 10:21:02 WarpEngine[Apache]: Mapping request
2001-11-11 10:21:02 WarpHost[localhost]: Mapping request for Host
2001-11-11 10:21:06 WarpEngine[Apache]: Mapping request
2001-11-11 10:21:06 WarpHost[localhost]: Mapping request for Host
2001-11-11 10:21:06 WarpEngine[Apache]: Mapping request
2001-11-11 10:21:06 WarpHost[localhost]: Mapping request for Host
2001-11-11 10:21:06 WarpEngine[Apache]: Mapping request
2001-11-11 10:21:06 WarpHost[localhost]: Mapping request for Host
2001-11-11 10:21:06 WarpEngine[Apache]: Mapping request
2001-11-11 10:21:06 WarpHost[localhost]: Mapping request for Host
2001-11-11 10:21:06 [org.apache.catalina.connector.warp.WarpConnection] 
Exception on socket
java.net.SocketException: Connection reset by peer: JVM_recv in socket input 
stream read
	at java.net.SocketInputStream.socketRead(Native Method)
	at java.net.SocketInputStream.read(Unknown Source)
	at java.net.SocketInputStream.read(Unknown Source)
	at org.apache.catalina.connector.warp.WarpConnection.recv
(WarpConnection.java:233)
	at org.apache.catalina.connector.warp.WarpRequestHandler.handle
(WarpRequestHandler.java:112)
	at org.apache.catalina.connector.warp.WarpConnection.run
(WarpConnection.java:194)
	at java.lang.Thread.run(Unknown Source)
Comment 1 Pier Fumagalli 2002-04-29 12:21:14 UTC

*** This bug has been marked as a duplicate of 3509 ***