Wow-- I thought I was the only one!
I never found out what the problem was myself I was using rpms for both the connector and tomcat. I got rid of them both and went to source for both. Prior to the connector build I uninstalled the rpm version of apache I had (I'm on mandrake 8.1) and rebuilt apache (the latest 1.3x version) from source, with mod_so included. This gives you the proper headers for the c build. I used ant for the java portion of the connector, and apxs for the c portion, I never got "ant native" to work. For tomcat I used ant with source and blackdown 1.3.1 jvm, If I used sun 1.3.1_01, I got segmentation faults for tomcat. I followed the building instructions in a dated tar ball EXACTLY. That's the one that has you download fifteen jar files, such as mail, activitvation, etc. Good luck on this, an altavista search for "Error connecting to the Tomcat process" pulls up one reference, on this mailing list, posted 12 months ago (no replies of course) ----- Original Message ----- From: "Jason Edgecombe" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Thursday, March 14, 2002 3:25 PM Subject: Trouble setting up mod_jk > hi everyone, > > I'm still having trouble with mod_jk. I compiled and installed it > using the build-unix.sh from the tomcat-connectors tarball. > > Any help would be appreciated. > output from mod_jk.log and tomcat's apache_log-date.txt follow. > > here is what I get in my mod_jk.log file: > -------------------------------------------------------------------------- ------ > [Thu Mar 14 16:02:06 2002] [jk_connect.c (151)]: jk_open_socket, > connect() failed errno = 111 > [Thu Mar 14 16:02:06 2002] [jk_ajp_common.c (598)]: In > jk_endpoint_t::ajp_connect_to_endpoint, failed errno = 111 > [Thu Mar 14 16:02:06 2002] [jk_ajp_common.c (843)]: Error connecting to > the Tomcat process. > [Thu Mar 14 16:02:06 2002] [jk_ajp_common.c (1149)]: In > jk_endpoint_t::service, ajp_send_request failed in send loop 0 > [Thu Mar 14 16:02:06 2002] [jk_connect.c (151)]: jk_open_socket, > connect() failed errno = 111 > [Thu Mar 14 16:02:06 2002] [jk_ajp_common.c (598)]: In > jk_endpoint_t::ajp_connect_to_endpoint, failed errno = 111 > [Thu Mar 14 16:02:06 2002] [jk_ajp_common.c (843)]: Error connecting to > the Tomcat process. > [Thu Mar 14 16:02:06 2002] [jk_ajp_common.c (1149)]: In > jk_endpoint_t::service, ajp_send_request failed in send loop 1 > [Thu Mar 14 16:02:06 2002] [jk_connect.c (151)]: jk_open_socket, > connect() failed errno = 111 > [Thu Mar 14 16:02:06 2002] [jk_ajp_common.c (598)]: In > jk_endpoint_t::ajp_connect_to_endpoint, failed errno = 111 > [Thu Mar 14 16:02:06 2002] [jk_ajp_common.c (843)]: Error connecting to > the Tomcat process. > [Thu Mar 14 16:02:06 2002] [jk_ajp_common.c (1149)]: In > jk_endpoint_t::service, ajp_send_request failed in send loop 2 > -------------------------------------------------------------------------- ------ > > I get the following in /var/tomcat4/logs/apache_log.2002-03-14.txt > -------------------------------------------------------------------------- ------ > 2002-03-14 15:57:34 [org.apache.catalina.connector.warp.WarpConnector] > Error accepting requests > java.net.SocketException: Socket closed > at java.net.PlainSocketImpl.socketAccept(Native Method) > at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:343) > at java.net.ServerSocket.implAccept(ServerSocket.java:438) > at java.net.ServerSocket.accept(ServerSocket.java:409) > at > org.apache.catalina.connector.warp.WarpConnector.run(WarpConnector.java:590) > at java.lang.Thread.run(Thread.java:536) > > 2002-03-14 16:01:44 [org.apache.catalina.connector.warp.WarpConnector] > Error accepting requests > java.net.SocketException: Socket closed > at java.net.PlainSocketImpl.socketAccept(Native Method) > at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:343) > at java.net.ServerSocket.implAccept(ServerSocket.java:438) > at java.net.ServerSocket.accept(ServerSocket.java:409) > at > org.apache.catalina.connector.warp.WarpConnector.run(WarpConnector.java:590) > at java.lang.Thread.run(Thread.java:536) > > > > -- > To unsubscribe: <mailto:[EMAIL PROTECTED]> > For additional commands: <mailto:[EMAIL PROTECTED]> > Troubles with the list: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>
