tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brent.john...@homepoint.com
Subject Internal Server Error
Date Thu, 07 Dec 2000 21:23:19 GMT
I'm running Tomcat 3.2 using mod_jk and apache.  It appears that sometimes
when Apache forwards a request to Tomcat either TC wasnt ready for the
connection or something strange because I get an immediate "Internal Server
Error" issued by Apache.

It's so immediate I can tell that Apache isn't passing the connection over
to Tomcat or something... here is what my mod_jk.conf and
workers.properties files look like.  Any help would be appreciated...

##### mod_jk.conf #####

LoadModule jk_module libexec/mod_jk.so

JkWorkersFile
/raid/home/intadmin/integration/tomcat/conf/workers.properties
JkLogFile /raid/home/intadmin/integration/tomcat/logs/mod_jk.log
JkLogLevel error

JkMount /*.jsp ajp13
JkMount /servlet/* ajp13

Alias /admin "/raid/home/intadmin/integration/tomcat/webapps/admin"
<Directory "/raid/home/intadmin/integration/tomcat/webapps/admin">
    Options Indexes FollowSymLinks
</Directory>

JkMount /admin/servlet/* ajp13
JkMount /admin/*.jsp ajp13

<Location "/admin/WEB-INF/">
    AllowOverride None
    deny from all
</Location>

<Location "/admin/META-INF/">
    AllowOverride None
    deny from all
</Location>

##### workers.properties #####

workers.tomcat_home=/raid/home/intadmin/integration/tomcat
workers.java_home=/usr/java
ps=/

worker.list=ajp12, ajp13

worker.ajp12.port=8007
worker.ajp12.host=localhost
worker.ajp12.type=ajp12
worker.ajp12.lbfactor=1

worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
worker.ajp13.lbfactor=1

worker.loadbalancer.type=lb
worker.loadbalancer.balanced_workers=ajp12, ajp13

worker.inprocess.type=jni

worker.inprocess.class_path=$(workers.tomcat_home)$(ps)classes
worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)jaxp.jar
worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)parser.jar
worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)jasper.jar
worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)servlet.jar
worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib
$(ps)webserver.jar
worker.inprocess.class_path=$(workers.java_home)$(ps)lib$(ps)tools.jar

worker.inprocess.cmd_line=-config
worker.inprocess.cmd_line=$(workers.tomcat_home)/conf/jni_server.xml
worker.inprocess.cmd_line=-home
worker.inprocess.cmd_line=$(workers.tomcat_home)

worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)bin$(ps)classic
$(ps)jvm.dll
worker.inprocess.stdout=$(workers.tomcat_home)$(ps)inprocess.stdout
worker.inprocess.stderr=$(workers.tomcat_home)$(ps)inprocess.stderr
worker.inprocess.sysprops=tomcat.home=$(workers.tomcat_home)


Mime
View raw message