I'm trying to get Apache 2.0.48, Tomcat 4.1.29, and jk-1.2.5 up, running, and talking to each other on Mac OS 10.3.1 (Panther). I have Apache and Tomcat configured and running, but when I try to access the Tomcat examples page from Apache, I get an "Internal Server Error". The mod_jk.log file contains the following lines:

[Wed Nov 19 21:54:20 2003] [jk_connect.c (188)]: Into jk_open_socket
[Wed Nov 19 21:54:20 2003] [jk_connect.c (195)]: jk_open_socket, try to connect socket = 15
[Wed Nov 19 21:54:20 2003] [jk_connect.c (204)]: jk_open_socket, after connect ret = -1
[Wed Nov 19 21:54:20 2003] [jk_connect.c (233)]: jk_open_socket, connect() failed errno = 13
[Wed Nov 19 21:54:20 2003] [jk_ajp_common.c (676)]: Error connecting to tomcat. Tomcat is probably not started or is listenning on the wrong port. Failed errno = 13


Upon examining jk_connect.c, it appears that jk fails trying to connect to the open socket because it doesn't have permission (errno = 13). I'm running Apache as root, Tomcat not as root. I saw mention of this problem in the archives, but no solution. Does anyone know the fix?

-----------------------------------------------------------
Mike Valentiner, Minneapolis, Minnesota


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to