BugRat Report # 148

Project: Tomcat Release: 32b4
Category: Bug Report SubCategory: New Bug Report
Class: swbug State: received
Priority: high Severity: serious
Confidence: public

Submitter: Mikael Andersson ( mikael.andersson@front.se )
Date Submitted: Sep 21 2000, 08:43:43 CDT
Responsible: Z_Tomcat Alias ( tomcat-bugs@cortexity.com )

No workers found when trying to access jsp or servlet through mod_jk and apache
Environment: (jvm, os, osrel, platform)
Solaris_JDK_1.1.8_10, SunOS, 5.7 Generic_106541-02 sun4u sparc SUNW,Ultra-5_10, Solaris

Additional Environment Description:
mod_jk is running with apache 1.3.12 compiled with DSO support. Standard modules + mod_ssl mod_jk was compiled with /usr/local/apache/bin/apxs -c -o mod_jk.so -DSOLARIS -lrt -I. -I${JAVA_HOME}/include -I${JAVA_HOME}/include/solaris jk_ajp12_worker.c jk_connect.c jk_msg_buff.c jk_util.c jk_ajp13.c jk_jni_worker.c jk_pool.c jk_worker.c jk_ajp13_worker.c jk_lb_worker.c jk_sockbuf.c jk_map.c jk_uri_worker_map.c ../apache1.3/mod_jk.c gcc -DSOLARIS2=270 -DMOD_SSL=206106 -DEAPI -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE -I/usr/local/apache/include -I. -I/usr/java/include -I/usr/java/include/solaris -DSOLARIS -c jk_ajp12_worker.c starting from bash shell

Report Description:
This seems to be a serious problem, atleast on my platform as no jsp/servlet pages can be served through apache while expiriencing this condition. When accessing a jsp page through apache i get the following error in jk.log [jk_worker.c (123)]: Into wc_get_worker_for_name ajp12 [jk_worker.c (127)]: wc_get_worker_for_name, done did not found a worker I can access the same .jsp through tomcat when accessing it directly. When apache is started "jk_post_config NULL" is written st stdout. i checked the source and i assume that WAS_BORN_BY_APACHE is not accessible to mod_jk. This leads to mod_jk being started without any workers initialized.

How To Reproduce:


View this report online...