tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anthony Milbourne <anthony.milbou...@becta.org.uk>
Subject RE: Tomcat 4.0.4 and Apache 1.3.26 and mod_jk issues
Date Thu, 12 Sep 2002 08:56:43 GMT
Hi

I had a problem which looked a bit like that...

It was caused by the fact that the default workers.properties file that
comes with mod_jk 4.0.4 doesn't seem to work with tomcat 4.0.4.  Check the
workers.properties file to see if it mentions ajp14.  If it does then that
is probably your problem...
To fix it take a look at the example workers.properties in the (very good)
HowTo by John Turner:

http://www.johnturner.com/howto/apache-tomcat-howto.html

I hope that helps...

		Anthony.

> -----Original Message-----
> From:	charbel.achkar@teradyne.com [SMTP:charbel.achkar@teradyne.com]
> Sent:	11 September 2002 22:34
> To:	tomcat-user@jakarta.apache.org
> Subject:	Tomcat 4.0.4 and Apache 1.3.26 and mod_jk issues
> 
> 
> ---------------------- Forwarded by Charbel Achkar/Bos/Teradyne on
> 09/11/2002 05:34 PM ---------------------------
> 
> 
> Charbel Achkar
> 09/11/2002 05:20 PM
> 
> To:   tomcat-user-info@jakarta.apache.org
> cc:
> 
> Subject:  Tomcat 4.0.4 and Apache 1.3.26 and mod_jk
> 
> 
> Hello,
> 
> I have installed and configured Apache 1.3.26 with modssl and openssl  +
> tomcat 4.0.4 with the corresponding Apache mod_jk. I started tomcat then
> apache and when I attempted to access the index.jsp under ROOT, the
> browser
> hangs and goes no where. the following error can be observed when info
> mode
> is set in httpd.conf
> 
> INFO
> 
> [Mon Sep 09 18:18:39 2002]  [jk_ajp_common.c (652)]:
> ajp_connection_tcp_get_message: Error - jk_tcp_socket_recvfull failed
> [Mon Sep 09 18:18:39 2002]  [jk_ajp_common.c (1013)]: Error reading reply
> [Mon Sep 09 18:18:39 2002]  [jk_ajp_common.c (1150)]: In
> jk_endpoint_t::service, ajp_get_reply failed in send loop 0
> [Mon Sep 09 18:18:39 2002]  [jk_connect.c (151)]: jk_open_socket,
> connect() failed errno = 146
> [Mon Sep 09 18:18:39 2002]  [jk_ajp_common.c (599)]: In
> jk_endpoint_t::ajp_connect_to_endpoint, failed errno = 146
> [Mon Sep 09 18:18:39 2002]  [jk_ajp_common.c (844)]: Error connecting to
> the Tomcat process.
> [Mon Sep 09 18:18:39 2002]  [jk_ajp_common.c (1153)]: In
> jk_endpoint_t::service, ajp_send_request failed in send loop 1
> [Mon Sep 09 18:18:39 2002]  [jk_connect.c (151)]: jk_open_socket,
> connect() failed errno = 146
> [Mon Sep 09 18:18:39 2002]  [jk_ajp_common.c (599)]: In
> jk_endpoint_t::ajp_connect_to_endpoint, failed errno = 146
> [Mon Sep 09 18:18:39 2002]  [jk_ajp_common.c (844)]: Error connecting to
> the Tomcat process.
> [Mon Sep 09 18:18:39 2002]  [jk_ajp_common.c (1153)]: In
> jk_endpoint_t::service, ajp_send_request failed in send loop 2
> 
> 
> And the followin is observed under DEBUG mode
> 
> 
> [Wed Sep 11 16:53:04 2002]  [jk_uri_worker_map.c (460)]: Into
> jk_uri_worker_map_t::map_uri_to_worker
> [Wed Sep 11 16:53:04 2002]  [jk_uri_worker_map.c (477)]: Attempting to map
> URI '/test.jsp'
> [Wed Sep 11 16:53:04 2002]  [jk_uri_worker_map.c (558)]:
> jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match
> jakarta-tomcat-4.0.4 -> *.jsp
> [Wed Sep 11 16:53:04 2002]  [jk_worker.c (132)]: Into
> wc_get_worker_for_name jakarta-tomcat-4.0.4
> [Wed Sep 11 16:53:04 2002]  [jk_worker.c (136)]: wc_get_worker_for_name,
> done  found a worker
> [Wed Sep 11 16:53:04 2002]  [jk_ajp_common.c (1355)]: Into
> jk_worker_t::get_endpoint
> [Wed Sep 11 16:53:04 2002]  [jk_ajp_common.c (1079)]: Into
> jk_endpoint_t::service
> [Wed Sep 11 16:53:04 2002]  [jk_ajp_common.c (280)]: Into
> ajp_marshal_into_msgb
> [Wed Sep 11 16:53:04 2002]  [jk_ajp_common.c (413)]: ajp_marshal_into_msgb
> - Done
> [Wed Sep 11 16:53:04 2002]  [jk_connect.c (116)]: Into jk_open_socket
> [Wed Sep 11 16:53:04 2002]  [jk_connect.c (123)]: jk_open_socket, try to
> connect socket = 9
> [Wed Sep 11 16:53:04 2002]  [jk_connect.c (132)]: jk_open_socket, after
> connect ret = 0
> [Wed Sep 11 16:53:04 2002]  [jk_connect.c (140)]: jk_open_socket, set
> TCP_NODELAY to on
> [Wed Sep 11 16:53:04 2002]  [jk_connect.c (148)]: jk_open_socket, return,
> sd = 9
> [Wed Sep 11 16:53:04 2002]  [jk_ajp_common.c (589)]: In
> jk_endpoint_t::ajp_connect_to_endpoint, connected sd = 9
> [Wed Sep 11 16:53:04 2002]  [jk_ajp_common.c (613)]: sending to ajp13 #379
> [Wed Sep 11 16:53:04 2002]  [jk_ajp_common.c (854)]: ajp_send_request 2:
> request body to send 0 - request body to resend 0
> 
> Why is the browser locking and what is happening?
> 
> Thanks!
> 
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:
> <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:tomcat-user-help@jakarta.apache.org>


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
www.mimesweeper.com
**********************************************************************


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message