1 Reply Latest reply on Nov 21, 2008 3:50 PM by Abhijit Rai

    Getting error while connecting with Apache

    Abhijit Rai Newbie

      We have separate Apache and Jboss boxes. I keep getting the error below:

      [Fri Nov 21 13:04:40 2008][11877:5472] [debug] ajp_get_endpoint::jk_ajp_common.c (2343): acquired connection pool slot=0
      [Fri Nov 21 13:04:40 2008][11877:5472] [debug] ajp_marshal_into_msgb::jk_ajp_common.c (548): ajp marshaling done
      [Fri Nov 21 13:04:40 2008][11877:5472] [debug] ajp_service::jk_ajp_common.c (1796): processing worker1 with 2 retries
      [Fri Nov 21 13:04:40 2008][11877:5472] [debug] jk_open_socket::jk_connect.c (335): socket TCP_NODELAY set to On
      [Fri Nov 21 13:04:40 2008][11877:5472] [debug] jk_open_socket::jk_connect.c (433): trying to connect socket 11 to 10.x.x.x.x:38009
      [Fri Nov 21 13:04:40 2008][11877:5472] [info] jk_open_socket::jk_connect.c (451): connect to 10.x.x.x.x:38009 failed (errno=13)
      [Fri Nov 21 13:04:40 2008][11877:5472] [info] ajp_connect_to_endpoint::jk_ajp_common.c (876): Failed opening socket to (10.x.x.x.x:38009) (errno=13)
      [Fri Nov 21 13:04:40 2008][11877:5472] [info] ajp_send_request::jk_ajp_common.c (1273): (worker1) error connecting to the backend server (errno=13)


      ____________-

      My worker.properties file is :

      # Define list of workers that will be used

      # for mapping requests
      #worker.list=loadbalancer,status
      worker.list=worker1
      # Define Node1

      # modify the host as your host IP or DNS name.
      worker.worker1.port=38009
      worker.worker1.host=10.x.x.x
      worker.worker1.type=ajp13
      #worker.node1.lbfactor=1
      #worker.node1.cachesize=10


      I have checked the port 38009 of jboss and it is running. I can even telnet from the apache server to the jboss server on port 38009
      telnet 10.x.x.x 38009
      Trying 10.x.x.x...
      Connected to XXX.company.com (10.x.x.x).
      Escape character is '^]'.



      Please help