I am unable to get the tomcat connectors to work after spending hours
reading docs and scouring google in search of answers.
I have seen the problem I am having posted all over the web but there
are no solutions to it that I have seen.
Here is the summary of the problem:
Component information:
- MS Windows XP
- Tomcat-5.5.17
- Apache 2.0.58
- mod_jk-1.2.18
I define the workers.properties file as specified per the
documentation which resides in:
"C:/Program Files/Apache Group/Apache2/conf/workers.properties"
worker.list = worker1
worker.worker1.type = ajp13
(according to the docs "type" is the only mandatory element)
And the VirtualHost portion of httpd.conf looks like this:
<VirtualHost 172.27.224.236:80>
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /www/sandbox
ServerName dummy-host.example.com
ErrorLog logs/172.27.224.236.error.log
CustomLog logs/172.27.224.236.access.log common
LoadModule jk_module "C:/Program Files/Apache
Group/Apache2/modules/mod_jk.so"
JkWorkersFile "C:/Program Files/Apache Group/Apache2/conf/workers.properties"
JkLogFile "C:/Program Files/Apache
Group/apache-tomcat-5.5.17/logs/mod_jk.log"
JkLogLevel debug
JkMount /axis ajp13
JkMount /axis/* ajp13
JkMount /servlets-examples ajp13
JkMount /servlets-examples/* ajp13
JkMount /jsp-examples ajp13
JkMount /jsp-examples/* ajp13
JkMount /MGGWebApp worker1
JkMount /MGGWebApp/* worker1
</VirtualHost>
When I attempt to access http://172.27.224.236/MGGWebApp/ I get an
"Internal Server Error" page and the error info is dumped to the log. The
regular ajp13 references work perfect.
Alas, Here is the log entry:
[Tue Aug 08 12:47:16 2006] [1988:0324] [debug] jk_uri_worker_map.c
(508): Attempting to map URI '/MGGWebApp/index.jsp' from 8 maps
[Tue Aug 08 12:47:16 2006] [1988:0324] [debug] jk_uri_worker_map.c
(520): Attempting to map context URI '/servlets-examples/*'
[Tue Aug 08 12:47:16 2006] [1988:0324] [debug] jk_uri_worker_map.c
(520): Attempting to map context URI '/jsp-examples/*'
[Tue Aug 08 12:47:16 2006] [1988:0324] [debug] jk_uri_worker_map.c
(520): Attempting to map context URI '/MGGWebApp/*'
[Tue Aug 08 12:47:16 2006] [1988:0324] [debug] jk_uri_worker_map.c
(534): Found a wildchar match worker1 -> /MGGWebApp/*
[Tue Aug 08 12:47:16 2006] [1988:0324] [debug] mod_jk.c (1832): Into
handler jakarta-servlet worker=worker1 r->proxyreq=0
[Tue Aug 08 12:47:16 2006] [1988:0324] [debug] jk_worker.c (111): did
not find a worker worker1
[Tue Aug 08 12:47:16 2006] [1988:0324] [info] mod_jk.c (1986): Could
not find a worker for worker name=worker1
It seems to me, from the log file information, that it simply cannot
find the workers.properties file. Also, it looks as though the mod_jk
is loading due to Apaches lack of complaining.
Any help / direction or chastisment on this would be welcomed.
Many thanks!
M Goodell
---------------------------------
Stay in the know. Pulse on the new Yahoo.com. Check it out.
---------------------------------
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+
countries) for 2ยข/min or less.