httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Preetam Palwe" <preet...@aftek.com>
Subject RE: [users@httpd] Antwort: [users@httpd] apache httpd + jboss + mod_jk : Failed opening socket to (172.16.2.229:8009) (errno=13)
Date Wed, 07 Mar 2007 16:15:06 GMT
Thanks Dietmar
	Yes Jboss (tomcat) is on same machine. And is running fine. JK is
configured. 
I can see it by
$ netstat -a 
tcp        0      0 *:8009                      *:*
LISTEN

Java process is listening on 8009.
Even I can connect to 172.16.2.229:8009 using a simple java program and can
write data on this socket. I have done this and seen this in Jboss log. This
means there is nothing like firewall. My iptables are not running.

Any clue?


-----Original Message-----
From: Dietmar.Mueller@eurotours.at [mailto:Dietmar.Mueller@eurotours.at] 
Sent: Wednesday, March 07, 2007 8:23 PM
To: users@httpd.apache.org
Subject: [users@httpd] Antwort: [users@httpd] apache httpd + jboss + mod_jk
: Failed opening socket to (172.16.2.229:8009) (errno=13)

Is tomcat on this this server / port running and apj configured?

regards Dietmar




"Preetam Palwe" <preetamp@aftek.com>
07.03.2007 14:35
Bitte antworten an
users@httpd.apache.org


An
<users@httpd.apache.org>
Kopie

Thema
[users@httpd] apache httpd + jboss + mod_jk : Failed opening socket to 
(172.16.2.229:8009) (errno=13)





Hello  All
    I  am trying to configure apache and jboss using mod_jk connector. 
I am using  httpd-2.2.3-5, jboss-4.0.3SP1 and jk tomcat-connectors-1.2.21. 
After the proper  configuration when I try to access my webapp at 
http://172.16.2.229/rcs I get  "Service Temporarily Unavailable"  error. 
In  mod_jk.log log I found this:  
....
Attaching  shm:/etc/httpd/logs/jk-runtime-status errno=13 
.... 
Failed opening  socket to (172.16.2.229:8009) (errno=13)
....
 
Full log is given  below. I would really appreciate if someone help me 
in this regards  !
BTW I am using  Fedora core 6. and I compiled tomcat-connectors-1.2.21 on 
it. And sorry for the  long mail. ( I have done this on Windows 
successfully in past but not able to do  this time :( )
 
Thanks & Best  Regards 
~Preetam
 
LOG  :
 
[Wed Mar 07 18:48:35  2007] [22159:18128] [debug] 
uri_worker_map_open::jk_uri_worker_map.c (423): rule  map size is 2
[Wed Mar 07 18:48:35 2007] [22159:18128] [debug] 
uri_worker_map_add::jk_uri_worker_map.c (372): exact rule '/rcs=worker1' 
source  'JkMount' was added
[Wed Mar 07 18:48:35 2007] [22159:18128] [debug] 
uri_worker_map_add::jk_uri_worker_map.c (364): wildchar rule 
'/rcs/*=worker1'  source 'JkMount' was added
[Wed Mar 07 18:48:35 2007] [22159:18128] [debug] 
uri_worker_map_open::jk_uri_worker_map.c (423): rule map size is 2
[Wed Mar  07 18:48:35 2007] [22159:18128] [debug] 
uri_worker_map_add::jk_uri_worker_map.c  (372): exact rule '/rcs=worker1' 
source 'JkMount' was added
[Wed Mar 07  18:48:35 2007] [22159:18128] [debug] 
uri_worker_map_add::jk_uri_worker_map.c  (364): wildchar rule 
'/rcs/*=worker1' source 'JkMount' was  added
[Wed Mar 07 18:48:35 2007] [22159:18128] [debug] 
uri_worker_map_add::jk_uri_worker_map.c (364): wildchar rule 
'/rcs/*=worker1'  source 'JkMount' was added
[Wed Mar 07 18:48:35 2007] [22159:18128] [error]  init_jk::mod_jk.c 
(2638): Initializing shm:/etc/httpd/logs/jk-runtime-status  errno=13
[Wed Mar 07 18:48:35 2007] [22159:18128] [debug] 
jk_map_resolve_references::jk_map.c (644): Checking for references with 
prefix  worker. with wildcard (recursion 1)
[Wed Mar 07 18:48:35 2007] [22159:18128]  [debug] 
build_worker_map::jk_worker.c (239): creating worker worker1
[Wed Mar  07 18:48:35 2007] [22159:18128] [debug] 
wc_create_worker::jk_worker.c (144):  about to create instance worker1 of 
ajp13
[Wed Mar 07 18:48:35 2007]  [22159:18128] [debug] 
wc_create_worker::jk_worker.c (157): about to validate and  init worker1
[Wed Mar 07 18:48:35 2007] [22159:18128] [debug] 
ajp_validate::jk_ajp_common.c (1985): worker worker1 contact is 
'dhgweb:8009'
[Wed Mar 07 18:48:35 2007] [22159:18128] [debug] ajp_init::jk_ajp_common.c 
(2112): setting endpoint options:
[Wed Mar 07  18:48:35 2007] [22159:18128] [debug] 
ajp_init::jk_ajp_common.c (2115):  keepalive:        0
[Wed Mar 07 18:48:35  2007] [22159:18128] [debug] 
ajp_init::jk_ajp_common.c (2119):  timeout:          0
[Wed Mar 07  18:48:35 2007] [22159:18128] [debug] 
ajp_init::jk_ajp_common.c (2123): buffer  size:      0
[Wed Mar 07 18:48:35 2007]  [22159:18128] [debug] 
ajp_init::jk_ajp_common.c (2127): pool  timeout:     0
[Wed Mar 07 18:48:35 2007] [22159:18128]  [debug] 
ajp_init::jk_ajp_common.c (2131): connect timeout:  0
[Wed Mar  07 18:48:35 2007] [22159:18128] [debug] 
ajp_init::jk_ajp_common.c (2135): reply  timeout:    0
[Wed Mar 07 18:48:35 2007] [22159:18128] [debug] ajp_init::jk_ajp_common.c 
(2139): prepost timeout:  0
[Wed Mar 07  18:48:35 2007] [22159:18128] [debug] 
ajp_init::jk_ajp_common.c (2143): recovery  options: 0
[Wed Mar 07 18:48:35 2007] [22159:18128] [debug] ajp_init::jk_ajp_common.c 
(2147):  retries:          2
[Wed Mar 07  18:48:35 2007] [22159:18128] [debug] 
ajp_init::jk_ajp_common.c (2151): max  packet size:  8192
[Wed Mar 07 18:48:35 2007] [22159:18128] [debug] 
ajp_create_endpoint_cache::jk_ajp_common.c (2022): setting connection pool 
size  to 1 with min 1
[Wed Mar 07 18:48:36 2007] [22160:18128] [debug] 
uri_worker_map_open::jk_uri_worker_map.c (423): rule map size is 2
[Wed Mar  07 18:48:36 2007] [22160:18128] [debug] 
uri_worker_map_add::jk_uri_worker_map.c  (372): exact rule '/rcs=worker1' 
source 'JkMount' was added
[Wed Mar 07  18:48:36 2007] [22160:18128] [debug] 
uri_worker_map_add::jk_uri_worker_map.c  (364): wildchar rule 
'/rcs/*=worker1' source 'JkMount' was added
[Wed Mar 07  18:48:36 2007] [22160:18128] [debug] 
uri_worker_map_open::jk_uri_worker_map.c  (423): rule map size is 2
[Wed Mar 07 18:48:36 2007] [22160:18128] [debug] 
uri_worker_map_add::jk_uri_worker_map.c (372): exact rule '/rcs=worker1' 
source  'JkMount' was added
[Wed Mar 07 18:48:36 2007] [22160:18128] [debug] 
uri_worker_map_add::jk_uri_worker_map.c (364): wildchar rule 
'/rcs/*=worker1'  source 'JkMount' was added
[Wed Mar 07 18:48:36 2007] [22160:18128] [error]  init_jk::mod_jk.c 
(2638): Initializing shm:/etc/httpd/logs/jk-runtime-status  errno=13
[Wed Mar 07 18:48:36 2007] [22160:18128] [debug] 
jk_map_resolve_references::jk_map.c (644): Checking for references with 
prefix  worker. with wildcard (recursion 1)
[Wed Mar 07 18:48:36 2007] [22160:18128]  [debug] 
build_worker_map::jk_worker.c (239): creating worker worker1
[Wed Mar  07 18:48:36 2007] [22160:18128] [debug] 
wc_create_worker::jk_worker.c (144):  about to create instance worker1 of 
ajp13
[Wed Mar 07 18:48:36 2007]  [22160:18128] [debug] 
wc_create_worker::jk_worker.c (157): about to validate and  init worker1
[Wed Mar 07 18:48:36 2007] [22160:18128] [debug] 
ajp_validate::jk_ajp_common.c (1985): worker worker1 contact is 
'dhgweb:8009'
[Wed Mar 07 18:48:36 2007] [22160:18128] [debug] ajp_init::jk_ajp_common.c 
(2112): setting endpoint options:
[Wed Mar 07  18:48:36 2007] [22160:18128] [debug] 
ajp_init::jk_ajp_common.c (2115):  keepalive:        0
[Wed Mar 07 18:48:36  2007] [22160:18128] [debug] 
ajp_init::jk_ajp_common.c (2119):  timeout:          0
[Wed Mar 07  18:48:36 2007] [22160:18128] [debug] 
ajp_init::jk_ajp_common.c (2123): buffer  size:      0
[Wed Mar 07 18:48:36 2007]  [22160:18128] [debug] 
ajp_init::jk_ajp_common.c (2127): pool  timeout:     0
[Wed Mar 07 18:48:36 2007] [22160:18128]  [debug] 
ajp_init::jk_ajp_common.c (2131): connect timeout:  0
[Wed Mar  07 18:48:36 2007] [22160:18128] [debug] 
ajp_init::jk_ajp_common.c (2135): reply  timeout:    0
[Wed Mar 07 18:48:36 2007] [22160:18128] [debug] ajp_init::jk_ajp_common.c 
(2139): prepost timeout:  0
[Wed Mar 07  18:48:36 2007] [22160:18128] [debug] 
ajp_init::jk_ajp_common.c (2143): recovery  options: 0
[Wed Mar 07 18:48:36 2007] [22160:18128] [debug] ajp_init::jk_ajp_common.c 
(2147):  retries:          2
[Wed Mar 07  18:48:36 2007] [22160:18128] [debug] 
ajp_init::jk_ajp_common.c (2151): max  packet size:  8192
[Wed Mar 07 18:48:36 2007] [22160:18128] [debug] 
ajp_create_endpoint_cache::jk_ajp_common.c (2022): setting connection pool 
size  to 1 with min 1
[Wed Mar 07 18:48:36 2007] [22162:18128] [error]  jk_child_init::mod_jk.c 
(2594): Attaching shm:/etc/httpd/logs/jk-runtime-status  errno=13
[Wed Mar 07 18:48:36 2007] [22162:18128] [debug]  jk_child_init::mod_jk.c 
(2598): Initialized mod_jk/1.2.21
[Wed Mar 07  18:48:36 2007] [22163:18128] [error] jk_child_init::mod_jk.c 
(2594): Attaching  shm:/etc/httpd/logs/jk-runtime-status errno=13
[Wed Mar 07 18:48:36 2007]  [22163:18128] [debug] jk_child_init::mod_jk.c 
(2598): Initialized  mod_jk/1.2.21
[Wed Mar 07 18:48:36 2007] [22164:18128] [error]  jk_child_init::mod_jk.c 
(2594): Attaching shm:/etc/httpd/logs/jk-runtime-status  errno=13
[Wed Mar 07 18:48:36 2007] [22164:18128] [debug]  jk_child_init::mod_jk.c 
(2598): Initialized mod_jk/1.2.21
[Wed Mar 07  18:48:36 2007] [22165:18128] [error] jk_child_init::mod_jk.c 
(2594): Attaching  shm:/etc/httpd/logs/jk-runtime-status errno=13
[Wed Mar 07 18:48:36 2007]  [22165:18128] [debug] jk_child_init::mod_jk.c 
(2598): Initialized  mod_jk/1.2.21
[Wed Mar 07 18:48:36 2007] [22166:18128] [error]  jk_child_init::mod_jk.c 
(2594): Attaching shm:/etc/httpd/logs/jk-runtime-status  errno=13
[Wed Mar 07 18:48:36 2007] [22166:18128] [debug]  jk_child_init::mod_jk.c 
(2598): Initialized mod_jk/1.2.21
[Wed Mar 07  18:48:36 2007] [22167:18128] [error] jk_child_init::mod_jk.c 
(2594): Attaching  shm:/etc/httpd/logs/jk-runtime-status errno=13
[Wed Mar 07 18:48:36 2007]  [22167:18128] [debug] jk_child_init::mod_jk.c 
(2598): Initialized  mod_jk/1.2.21
[Wed Mar 07 18:48:36 2007] [22168:18128] [error]  jk_child_init::mod_jk.c 
(2594): Attaching shm:/etc/httpd/logs/jk-runtime-status  errno=13
[Wed Mar 07 18:48:36 2007] [22168:18128] [debug]  jk_child_init::mod_jk.c 
(2598): Initialized mod_jk/1.2.21
[Wed Mar 07  18:48:36 2007] [22169:18128] [error] jk_child_init::mod_jk.c 
(2594): Attaching  shm:/etc/httpd/logs/jk-runtime-status errno=13
[Wed Mar 07 18:48:36 2007]  [22169:18128] [debug] jk_child_init::mod_jk.c 
(2598): Initialized  mod_jk/1.2.21
[Wed Mar 07 18:51:27 2007] [22162:18128] [debug] 
map_uri_to_worker::jk_uri_worker_map.c (589): Attempting to map URI '/rcs' 
from  2 maps
[Wed Mar 07 18:51:27 2007] [22162:18128] [debug] 
map_uri_to_worker::jk_uri_worker_map.c (601): Attempting to map context 
URI  '/rcs/*=worker1' source 'JkMount'
[Wed Mar 07 18:51:27 2007] [22162:18128]  [debug] 
map_uri_to_worker::jk_uri_worker_map.c (601): Attempting to map context 
URI '/rcs=worker1' source 'JkMount'
[Wed Mar 07 18:51:27 2007] [22162:18128]  [debug] 
map_uri_to_worker::jk_uri_worker_map.c (627): Found an exact match 
'/rcs=worker1'
[Wed Mar 07 18:51:27 2007] [22162:18128] [debug]  jk_handler::mod_jk.c 
(2054): Into handler jakarta-servlet worker=worker1  r->proxyreq=0
[Wed Mar 07 18:51:27 2007] [22162:18128] [debug] 
wc_get_worker_for_name::jk_worker.c (114): found a worker worker1
[Wed Mar 07  18:51:27 2007] [22162:18128] [debug] wc_maintain::jk_worker.c 
(321): Maintaining  worker worker1
[Wed Mar 07 18:51:27 2007] [22162:18128] [debug] 
wc_get_name_for_type::jk_worker.c (290): Found worker type 'ajp13'
[Wed Mar  07 18:51:27 2007] [22162:18128] [debug] 
init_ws_service::mod_jk.c (604): Service  protocol=HTTP/1.1 method=GET 
host=(null) addr=172.16.2.32 name=172.16.2.229  port=443 auth=(null) 
user=(null) laddr=172.16.2.229 raddr=172.16.2.32
[Wed  Mar 07 18:51:27 2007] [22162:18128] [debug] 
ajp_get_endpoint::jk_ajp_common.c  (2329): acquired connection pool slot=0
[Wed Mar 07 18:51:27 2007]  [22162:18128] [debug] 
ajp_marshal_into_msgb::jk_ajp_common.c (548): ajp  marshaling done
[Wed Mar 07 18:51:27 2007] [22162:18128] [debug] 
ajp_service::jk_ajp_common.c (1785): processing worker1 with 2  retries
[[Wed Mar 07 18:51:27 2007] [22162:18128] [debug] 
jk_open_socket::jk_connect.c (335): socket TCP_NODELAY set to On
[Wed Mar 07  18:51:27 2007] [22162:18128] [debug] 
jk_open_socket::jk_connect.c (433): trying  to connect socket 19 to 
172.16.2.229:8009
[Wed Mar 07 18:51:27 2007]  [22162:18128] [info]  
jk_open_socket::jk_connect.c (451): connect to  172.16.2.229:8009 failed 
(errno=13)
[Wed Mar 07 18:51:27 2007] [22162:18128]  [info]  
ajp_connect_to_endpoint::jk_ajp_common.c (876): Failed opening  socket to 
(172.16.2.229:8009) (errno=13)
[Wed Mar 07 18:51:27 2007]  [22162:18128] [info]  
ajp_send_request::jk_ajp_common.c (1273): (worker1)  error connecting to 
the backend server (errno=13)
[Wed Mar 07 18:51:27 2007]  [22162:18128] [info]  
ajp_service::jk_ajp_common.c (1930): (worker1)  sending request to tomcat 
failed,  recoverable operation attempt=1
[Wed  Mar 07 18:51:27 2007] [22162:18128] [debug] 
jk_open_socket::jk_connect.c (335):  socket TCP_NODELAY set to On
[Wed Mar 07 18:51:27 2007] [22162:18128] [debug] 
jk_open_socket::jk_connect.c (433): trying to connect socket 19 to 
172.16.2.229:8009
[Wed Mar 07 18:51:27 2007] [22162:18128] [info]  
jk_open_socket::jk_connect.c (451): connect to 172.16.2.229:8009 failed 
(errno=13)
[Wed Mar 07 18:51:27 2007] [22162:18128] [info]  
ajp_connect_to_endpoint::jk_ajp_common.c (876): Failed opening socket to 
(172.16.2.229:8009) (errno=13)
[Wed Mar 07 18:51:27 2007] [22162:18128]  [info]  
ajp_send_request::jk_ajp_common.c (1273): (worker1) error  connecting to 
the backend server (errno=13)
[Wed Mar 07 18:51:27 2007]  [22162:18128] [info]  
ajp_service::jk_ajp_common.c (1930): (worker1)  sending request to tomcat 
failed,  recoverable operation attempt=2
[Wed  Mar 07 18:51:27 2007] [22162:18128] [error] 
ajp_service::jk_ajp_common.c (1942):  (worker1) Connecting to tomcat 
failed. Tomcat is probably not started or is  listening on the wrong port
[Wed Mar 07 18:51:27 2007] [22162:18128] [debug] ajp_done::jk_ajp_common.c 
(2272): recycling connection pool slot=0 for worker  worker1
[Wed Mar 07 18:51:27 2007] worker1 172.16.2.229 0.000643
[Wed Mar  07 18:51:27 2007] [22162:18128] [info]  jk_handler::mod_jk.c 
(2197):  Service error=0 for worker=worker1
[Wed Mar 07 18:51:27 2007] [22163:18128]  [debug] 
map_uri_to_worker::jk_uri_worker_map.c (589): Attempting to map URI 
'/favicon.ico' from 2 maps
[Wed Mar 07 18:51:27 2007] [22163:18128] [debug] 
map_uri_to_worker::jk_uri_worker_map.c (601): Attempting to map context 
URI  '/rcs/*=worker1' source 'JkMount'
[Wed Mar 07 18:51:27 2007] [22163:18128]  [debug] 
map_uri_to_worker::jk_uri_worker_map.c (601): Attempting to map context 
URI '/rcs=worker1' source 'JkMount'
[Wed Mar 07 18:51:27 2007] [22163:18128]  [debug] 
map_uri_to_worker::jk_uri_worker_map.c (589): Attempting to map URI 
'/favicon.ico' from 2 maps
[Wed Mar 07 18:51:27 2007] [22163:18128] [debug] 
map_uri_to_worker::jk_uri_worker_map.c (601): Attempting to map context 
URI  '/rcs/*=worker1' source 'JkMount'
[Wed Mar 07 18:51:27 2007] [22163:18128]  [debug] 
map_uri_to_worker::jk_uri_worker_map.c (601): Attempting to map context 
URI '/rcs=worker1' source 'JkMount'





---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message