Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Problem with getting mod_jk to work with apache 2

Randy

2004-04-23


Hello,

I have just built a new box

I can not seem to talk to tomcat via the connector. And what is really
frustrating I can not find anything in any of the error log files.

Thanks for any help

Here is the info

Rh 9
Apache 2.0.40
Tomcat 4.1.30

I am using the mod_jk connector (jk-1.2.5)

It built successfully on the box.

If I go to http://www.domain.com:8080/jsp/test.jsp it works But if I try to
go from the connector I get

Server error!
The server encountered an internal error and was unable to complete your
request. Either the server is overloaded or there was an error in a CGI
script.

This error is from apache not tomcat.

I have these in the httpd.conf per doc

LoadModule jk_module modules/mod_jk.so

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

My worker.properties
# Define 1 real worker using ajp13
worker.list=worker1

# Set properties for worker1 (ajp13)
worker.worker1.type=ajp13
worker.worker1.host=localhost
worker.worker1.port=8009
worker.worker1.lbfactor=50
worker.worker1.cachesize=10
worker.worker1.cache_timeout=600
worker.worker1.socket_keepalive=1
worker.worker1.socket_timeout=300



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.