You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Habibak haAlbek <ha...@yahoo.com> on 2002/09/11 23:48:59 UTC

tomcat 4.0.4 apache ssl 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!

 



---------------------------------
Yahoo! - We Remember
9-11: A tribute to the more than 3,000 lives lost

Re: tomcat 4.0.4 apache ssl 1.3.26 and mod_jk

Posted by Glenn Nielsen <gl...@mail.more.net>.
It would help if you also set debug="10" or so for your Tomcat Connector in server.xml.
And captured the Connector debug output.

Regards,

Glenn

Habibak haAlbek wrote:
> 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!
> 
>  
> 
> 
> 
> ---------------------------------
> Yahoo! - We Remember
> 9-11: A tribute to the more than 3,000 lives lost




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


apache 1.3 and mod_jk2

Posted by Catalin <ca...@cyber.ro>.
did somebody succeded installing 
mod_jk2 on a apache 1.3 server ?

is there any HOWTO help available for this issue ?

10x

Catalin


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>