0 Replies Latest reply on Feb 14, 2004 9:31 AM by jeff323

    Trouble with JK Connector / Apache 2.0.48 - JBoss 323 on sep

    jeff323

      Hi all,
      my configuration is the following :
      - A LinuxBox with Apache and mod_jk2
      - A Win machine with JBoss 3.2.3 (IP 192.168.1.61)

      AJP13 connector is listening on 8009 port (I made a netstat), JKConnector is working, and JBoss/Tomcat server is working.
      If I ask for http://192.168.1.61:8080/csdq, it works
      If I ask for http://192.168.1.1/ it works, but jk mapping doesn't work (http://192.168.1.61/tour/csdq)

      Here are my configuration files

      -----workers2.properties file :

      [channel.socket:192.168.1.61:8009]
      port=8009
      host=192.168.1.61

      [ajp13:192.168.1.61:8009]
      channel=channel.socket:tour:8009

      [uri:/tour/*]
      worker=ajp13:192.168.1.61:8009

      # Define the status worker
      [status:status]
      # and uri mapping
      [uri:/jkstatus/*]
      worker=status:status

      [shm]
      file=/usr/local/logs/shm.file
      size=1048576

      ----- in the httpd error log file, I get :

      [Sun Feb 15 15:35:28 2004] [notice] Apache/2.0.48 (Unix) DAV/2 mod_jk2/2.0.0 configured -- resuming normal operations
      [Sun Feb 15 15:35:37 2004] [error] channelSocket.open() connect failed 192.168.1.61:8009 111 Connection refused
      [Sun Feb 15 15:35:37 2004] [error] ajp13.connect() failed ajp13:192.168.1.61:8009
      [Sun Feb 15 15:35:37 2004] [error] ajp13.service() failed to connect endpoint errno=111 Connection refused
      [Sun Feb 15 15:35:37 2004] [error] ajp13.service() Error forwarding ajp13:192.168.1.61:8009 1 1
      [Sun Feb 15 15:35:37 2004] [error] mod_jk.handler() Error connecting to tomcat 120000
      [Sun Feb 15 15:35:41 2004] [error] channelSocket.open() connect failed 192.168.1.61:8009 111 Connection refused
      [Sun Feb 15 15:35:41 2004] [error] ajp13.connect() failed ajp13:192.168.1.61:8009
      [Sun Feb 15 15:35:41 2004] [error] ajp13.service() failed to connect endpoint errno=111 Connection refused
      [Sun Feb 15 15:35:41 2004] [error] ajp13.service() Error forwarding ajp13:192.168.1.61:8009 1 1
      [Sun Feb 15 15:35:41 2004] [error] mod_jk.handler() Error connecting to tomcat 120000
      [Sun Feb 15 15:35:57 2004] [error] channelSocket.open() connect failed 192.168.1.61:8009 111 Connection refused
      [Sun Feb 15 15:35:57 2004] [error] ajp13.connect() failed ajp13:192.168.1.61:8009
      [Sun Feb 15 15:35:57 2004] [error] ajp13.service() failed to connect endpoint errno=111 Connection refused
      [Sun Feb 15 15:35:57 2004] [error] ajp13.service() Error forwarding ajp13:192.168.1.61:8009 1 1
      [Sun Feb 15 15:35:57 2004] [error] mod_jk.handler() Error connecting to tomcat 120000

      Any help would be appreciated. Thanks