You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by hentond <he...@charter.net> on 2002/03/06 03:31:00 UTC

Error connecting to the Tomcat process.

Hi --

I have set up tomcat4 standalone no problem,works like charm. I've complied 
the ajp13 connector from source via the ant build/install, and I've 
configured apache to read a conf file that maps /*.jsp and /servlet. Apache 
was built from source on Mandrake 8, and is the latest of the 1.3 series.

I built the native connectors using the make files for apache 1.3
I checked via apachectl configtest to see if I had any EAPI/API problems, but 
didn't --the test passed okay.

Tomcat is functioning on 8109, because if I run tomcat4 via run rather
than start, I can see the output when a browser connects to that port. Apache
doesn't seem to make the connection via the ajp13 connector.

Have I got some wierd Mandrake thing going on with UNIX/TCP sockets? Could
it be permissions?

Here is an excerpt from the mod_jk.log file for my apache connector.  I get
similar messages when reaching jsp pages.


Any help would be greatly appreciated!!!!!!


[Tue Mar 05 21:04:45 2002]  [jk_uri_worker_map.c (447)]: Into 
jk_uri_worker_map_t::map_uri_to_worker
[Tue Mar 05 21:04:45 2002]  [jk_uri_worker_map.c (464)]: Attempting to map 
URI '/examples/servlet/HelloWorldExample'
[Tue Mar 05 21:04:45 2002]  [jk_uri_worker_map.c (489)]: 
jk_uri_worker_map_t::map_uri_to_worker, Found a context match ajp13 -> 
/examples/servlet/
[Tue Mar 05 21:04:45 2002]  [jk_worker.c (132)]: Into wc_get_worker_for_name 
ajp13
[Tue Mar 05 21:04:45 2002]  [jk_worker.c (136)]: wc_get_worker_for_name, done 
 found a worker
[Tue Mar 05 21:04:45 2002]  [jk_ajp_common.c (1352)]: Into 
jk_worker_t::get_endpoint
[Tue Mar 05 21:04:45 2002]  [jk_ajp_common.c (1075)]: Into 
jk_endpoint_t::service
[Tue Mar 05 21:04:45 2002]  [jk_ajp_common.c (280)]: Into 
ajp_marshal_into_msgb
[Tue Mar 05 21:04:45 2002]  [jk_ajp_common.c (413)]: ajp_marshal_into_msgb - 
Done
[Tue Mar 05 21:04:45 2002]  [jk_connect.c (116)]: Into jk_open_socket
[Tue Mar 05 21:04:45 2002]  [jk_connect.c (123)]: jk_open_socket, try to 
connect socket = 9
[Tue Mar 05 21:04:45 2002]  [jk_connect.c (132)]: jk_open_socket, after 
connect ret = -1
[Tue Mar 05 21:04:45 2002]  [jk_connect.c (151)]: jk_open_socket, connect() 
failed errno = 111
[Tue Mar 05 21:04:45 2002]  [jk_ajp_common.c (598)]: In 
jk_endpoint_t::ajp_connect_to_endpoint, failed errno = 111
[Tue Mar 05 21:04:45 2002]  [jk_ajp_common.c (843)]: Error connecting to the 
Tomcat process.
[

--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>