• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

problem with tomcat connector

 
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

i connected tomcat connector with apache in redhat linux.after restarting of jboss server wont take's jboss request.here is my stack trace

help me how to solve this issue.

[Mon Sep 15 01:42:38 2014] [5411:140090475009792] [info] ajp_service::jk_ajp_common.c (2673): (worker1) sending request to tomcat failed (recoverable), because of error during request sending (attempt=1)
[Mon Sep 15 01:42:38 2014] [5411:140090475009792] [info] jk_open_socket::jk_connect.c (758): connect to ::1:8009 failed (errno=111)
[Mon Sep 15 01:42:38 2014] [5411:140090475009792] [info] ajp_connect_to_endpoint::jk_ajp_common.c (1019): Failed opening socket to (::1:8009) (errno=111)
[Mon Sep 15 01:42:38 2014] [5411:140090475009792] [error] ajp_send_request::jk_ajp_common.c (1663): (worker1) connecting to backend failed. Tomcat is probably not started or is listening on the wrong port (errno=111)
[Mon Sep 15 01:42:38 2014] [5411:140090475009792] [info] ajp_service::jk_ajp_common.c (2673): (worker1) sending request to tomcat failed (recoverable), because of error during request sending (attempt=2)
[Mon Sep 15 01:42:38 2014] [5411:140090475009792] [error] ajp_service::jk_ajp_common.c (2693): (worker1) connecting to tomcat failed.
[Mon Sep 15 01:42:38 2014] [5411:140090475009792] [info] jk_handler::mod_jk.c (2806): Service error=-3 for worker=worker1
[Mon Sep 15 01:42:40 2014] [5622:140090483402496] [info] jk_open_socket::jk_connect.c (758): connect to ::1:8009 failed (errno=111)
[Mon Sep 15 01:42:40 2014] [5622:140090483402496] [info] ajp_connect_to_endpoint::jk_ajp_common.c (1019): Failed opening socket to (::1:8009) (errno=111)
[Mon Sep 15 01:42:40 2014] [5622:140090483402496] [error] ajp_send_request::jk_ajp_common.c (1663): (worker1) connecting to backend failed. Tomcat is probably not started or is listening on the wrong port (errno=111)
 
Saloon Keeper
Posts: 27762
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am confused. There seem to be 3 separate products involved here: Tomcat, JBoss, and Apache httpd server.

Apache httpd can be linked to a stand-alone Tomcat using mod_proxy or mod_jk, and I'm presuming that it can likewise be linked to JBoss that way, since JBoss has an embedded Tomcat within it.

But the embedded Tomcat in JBoss isn't the same thing as stand-alone Tomcat. I've heard rumors that some code changes may be involved these days, and in any event, configuring the embedded Tomcat has always been done in a completely different manner, since JBoss configures Tomcat from the JBoss configuration information, not from the stand-alone Tomcat config files.

As far as I can guess, you have attempted to link Apache to JBoss Tomcat, but it appears that JBoss isn't listening on the Connector port (8009). You need to check your JBoss configuration. And maybe ask in the JBoss forum, since there are more people there that could help with this sort of thing.
 
Not looking good. I think this might be the end. Wait! Is that a tiny ad?
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic