hi everyone, ok, here is what I did. I compiled mod_jk from the jakarta-tomcat connectors tarball. the build and configure didn't work right, I just rn axps with the right parameters (unfortunately, I didn't log the session). but I finally got it working. workers.properties was configured to use port 8009 for ajp13 and server.xml was configured for port 8109 for ajp13
now it works!!!! woohoo!!!! I tested it with the examples servlets and it works fine. just to sum up. I used the tomcat rpms and compiled my own mod_jk by hand with apxs. Sincerely, Jason Edgecombe Bernd Koecke wrote: > Hi, > > I use tc-4.0.3, mod_jk and apache 1.3.x on SuSE 7.3 successfully. I have > only a problem with loadbalancing (see my previous mail). But I don't > use the WarpConnector. I think that the protocols warp and ajp13 are > incompatible. It seems that your mod_jk tries to connect to the > WarpConnector with the ajp13 protocol. Have a look at your workers.conf > and the server.xml which ports are configured. > > Bernd > > Jason Edgecombe wrote: > >> 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. > > > [...] > > >> -------------------------------------------------------------------------------- >> >> >> 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) >> > > [...] > -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>
