You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Donald Tang <dt...@andrew.cmu.edu> on 2002/05/02 05:52:36 UTC

Apache and Tomcat and mod_webapp issues.

I am having trouble getting Tomcat and Apache to work together.  Apache
is segfaulting like crazy, and I am assuming this has something to do
with the problem.  When I try to load any page that is designated as an
webapp (/examples/ for example), nothing is returned by the request.


With Tomcat 4.0.3 and the corresponding mod_webapp, I get the following
in Apache error logs:

[Wed May  1 16:13:34 2002] [notice] child pid 29791 exit signal
Segmentation fault (11)
[Wed May  1 16:13:34 2002] [notice] child pid 29790 exit signal
Segmentation fault (11)
[Wed May 01 16:13:34 2002] 29799 (pr_info.c:72) INFO provider started
[Wed May 01 16:13:34 2002] 29799 (pr_warp.c:73) Opening connection
"conn"
[Wed May 01 16:13:34 2002] 29799 (pr_warp.c:75) connection "conn" opened

etc...


I assume that after seg faulting, warp reopens the connection with
Tomcat..?




In the Tomcat apache logs (apache_log.2002-xx-xx.txt):

<pre>
2002-05-01 17:51:54 [org.apache.catalina.connector.warp.WarpConnection]
Exception on socket
java.io.IOException: Premature packet header end
        at
org.apache.catalina.connector.warp.WarpConnection.recv(WarpConnection
.java:237)
        at
org.apache.catalina.connector.warp.WarpRequestHandler.handle(WarpRequ
estHandler.java:112)
        at
org.apache.catalina.connector.warp.WarpConnection.run(WarpConnection.
java:194)
        at java.lang.Thread.run(Thread.java:536)




I believe the sigfault is causing the premature packet header end..?

This problem was there with the following configurations:
1) 	Sun JDK 1.3.1_02
	Tomcat 4.0.1
	Apache 1.3.22
	mod_webapp (whatever version went along with Tomcat 4.0.1. tc40
or something)
2)	Sun JDK 1.4
	Tomcat 4.0.1
	Apache 1.3.22
	mod_webapp (same)
3)	Sun JDK 1.4
	Tomcat 4.0.3
	Apache 1.3.22
	mod_webapp (whatever version goes with Tomcat 4.0.3)
4)	same as above, but
	Apache 1.3.23

Something weird is going on...help? 

I'd like to know two things:
1) 	How do I resolve the sigifault, or at least what could be
causing it.
2)	Is this the reason why I can't load any webapps..?  Or is there
another configuration issue (conf files prob..?) behind that?  I have
read that some people see this issue in their logs, but have no problems
otherwise...it doesn't affect their apps.

Thanks.


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>