Ok, I am hot on a trail here, can anybody figure out what is going on based 
on these logs?
from mod_jk.log:
----------------
[Wed Jan 30 21:23:57 2002]  [jk_connect.c (143)]: jk_open_socket, connect() 
failed errno = 111
[Wed Jan 30 21:23:57 2002]  [jk_ajp13_worker.c (196)]: In 
jk_endpoint_t::connect_to_tomcat, failed errno = 111
[Wed Jan 30 21:23:57 2002]  [jk_ajp13_worker.c (635)]: Error connecting to 
the Tomcat process.
[Wed Jan 30 21:23:57 2002]  [jk_ajp13_worker.c (848)]: In 
jk_endpoint_t::service, send_request failed in send loop 2

---------------
from error_log:
[Wed Jan 30 21:53:20 2002] [notice] Apache-AdvancedExtranetServer/1.3.20 
(Mandrake Linux/3mdk) mod_jk/1.1.0 mod_ssl/2.8.4 OpenSSL/0.9.6b configured 
-- resuming normal operations
[Wed Jan 30 21:53:20 2002] [notice] suEXEC mechanism enabled (wrapper: 
/usr/sbin/suexec)
[Wed Jan 30 21:56:09 2002] [error] [client 192.168.0.1] File does not exist: 
/var/www/html/index.jsp
--------------

Ok, in the first log I admit total ignorance I haven't a clue what all that 
gobbledygook means, other than it can't seem to talk to tomcat.  The 2nd log 
on the otherhand, I can see what is happening, instead of looking in 
/var/tomcat4/webapps/ROOT, it's looking in the Document root as defined in 
commonhttpd.conf.  Which is /var/www/html.
I followed the instructions to the best of my abilities using the following 
sources,

http://jakarta.apache.org/tomcat/tomcat-3.3-doc/mod_jk-howto.html
I found some examples of workers.properties files there.

http://www.ubeans.com/tomcat/index.html
I attempted to adapt this setup to my own non load-balancing server.  I 
didn't want to setup two copies of tomcat on my system.
I am also using the default port of 8009 instead of changing it like in the 
example.
when I was done I made sure tomcat was started before apache.. Nothing 
errored out upon start that I could find.
I did have tomcat working fine on the standard :8080 port before doing all 
of this.
Thanks
I swear if I figure this out I will do everything in my power to help others 
with this mod_jk thing it's just so frustrating.



_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to