On Mon, 23 Dec 2002, Denise Mangano wrote: > Thanks to all your help, I've gotten over some bumps. As it stands > I can access any static pages in the Tomcat directory without having > to type port 8080 ( i.e. I can access > http://localhost/examples/servlets/index.html. However, whenever I > try to execute a servlet or JSP it hangs indefinitely. The only > errors appear in my mod_jk.log file: > [ ... ] > [Mon Dec 23 09:52:47 2002] [jk_connect.c (203)]: jk_open_socket, connect() > failed errno = 110 > [Mon Dec 23 09:52:47 2002] [jk_ajp_common.c (626)]: Error connecting to > tomcat. Tomcat is probably not started or is listenning on the wrong port. > Failed errno = 110 [ ... ]
This seems to be the telling message. So is Tomcat started and running? And what port is it listening on? More completely, what port is Apache expecting it to listen on and what port is it set to listen on? The former is set in workers.properties. The latter is set in server.xml, particularly in the Connector tag for the Ajp connector (because it may be listening on different ports for different things, here we only care about Ajp). The default for that is 8009. It's probably best you post both of those files (i.e. workers.properties and server.xml) so we can see for sure what you have there. You say that Tomcat is listening on port 8080, but that is the default port for Tomcat's Http Connector (i.e. Tomcat standalone). So I suspect that is not the relevant info here. Milt Epstein Research Programmer Integration and Software Engineering (ISE) Campus Information Technologies and Educational Services (CITES) University of Illinois at Urbana-Champaign (UIUC) [EMAIL PROTECTED] -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
