You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Krzysztof Janiszewski <to...@fr.pl> on 2003/04/07 18:40:24 UTC

Mod_jk causes segfaults

Hi!

I've added mod_jk to my apache server in place of mod_webapp.
Apache connects to TomCat OK and servers JSP and servlets correctly, but
sometimes it causes apache segmentation faults (especially when calling
header() function from PHP). What is strange, mod_jk handles _every_
request that comes to apache, but I configured it to handle only some
subdirs. Here is part of my httpd.conf:

JkWorkersFile /etc/httpd/conf/workers.properties
JkLogFile /var/log/httpd/mod_jk.log
JkLogLevel error
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
JkRequestLogFormat "%w %V %T"

And then in about 15 virtual servers:

<VirtualHost 217.153.55.74:80>
	.
	. Some stuff
	.
    JkMount /webapp_name/* jsp

</VirtualHost>

My workers file:

worker.list= jsp
worker.jsp.type=ajp13

worker.jsp.host=foo.com
worker.jsp.port=8009
worker.jsp.socket_keepalive=1
worker.jsp.socket_timeout=120

I've built mod_jk from sources with the following parameters:

./configure -with-apxs=/usr/local/apache/bin/apxs --enable-EAPI
--with-java-platform=2

I'm running Apache 1.3.27, TomCat 4.0.2, JDK 1.4. My apache is on one
machine and TomCat is on other machine.

Can you help me with this?

Best regards
Krzysztof Janiszewski




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org