0 Replies Latest reply on Jan 27, 2004 7:34 AM by jgarzon

    apache 2.0.48 & Jboss 3.2.3

    jgarzon

      Hello all,

      I've configured Apache 2.0.48 + jboss 3.2.3 on a Linux Red Hat 9 machine.

      Apache redirects successfully connections with Tomcat but fails when the objective is a jboss context (like jmx-console).
      That is, this works:
      http://localhost/examples/
      http://localhost:8080/jmx-console/

      and this doesn't work:
      http://localhost/jmx-console


      This is my workers2.properties file:
      ...

      [channel.socket:localhost:8009]
      info=Ajp13 forwarding over socket
      debug=0
      tomcatId=localhost:8009

      [channel.socket:localhost:8809]
      info=Ajp13 forwarding over socket to JBoss/Jetty
      debug=0
      tomcatId=localhost:8809

      ...

      [uri:/jkstatus]
      info=Display status information and checks the config file for changes.
      group=status:

      [uri:/examples]
      info=Example webapp in the default context.
      context=/examples
      debug=0

      [uri:/examples/servlet/*]
      info=Prefix mapping

      [uri:/examples/*.jsp]
      info=Extension mapping

      [uri:/examples/*]
      info=Map the whole webapp


      [uri:/jmx-console/*]
      info=JBoss JMX console
      worker=ajp13:localhost:8809

      --end --

      This is the output I get in Apache's error_log file:

      [Tue Jan 27 14:09:16 2004] [error] mod_jk.handler() Error connecting to tomcat 1
      20000
      [Tue Jan 27 14:09:16 2004] [error] channelSocket.open() connect failed localhost
      :8809 111 Connection refused
      [Tue Jan 27 14:09:16 2004] [error] ajp13.connect() failed ajp13:localhost:8809
      [Tue Jan 27 14:09:16 2004] [error] ajp13.service() failed to connect endpoint er
      rno=111 Connection refused
      [Tue Jan 27 14:09:16 2004] [error] ajp13.service() Error forwarding ajp13:local
      host:8809 1 1
      [Tue Jan 27 14:09:16 2004] [notice] ajp13.done() close endpoint ajp13:localhost:
      8809 error_state 1
      [Tue Jan 27 14:09:16 2004] [error] mod_jk.handler() Error connecting to tomcat 1
      20000

      Does anybody know what happens?

      Thank you very much.

      Javi