0 Replies Latest reply on Jul 5, 2004 2:21 PM by rnsi

    jboss and apache web server integration

    rnsi

      Hello everyone,

      I'm new to jboss world. I need to integrate jboss with apache webserver.
      My question here is - does jboss (mod_jk2) work well with Apache 1.3.17.
      Because, after configuring apache and jboss when I access the application thru internet explorer- I'm getting internal server.
      The apache and jbosss (3.2.5) are running on two different red hat linux boxes.
      My jboss is ssl enabled - I can access my application like (https://65.192.185.86:8443/amexpcr). It runs fine. But how to make the apache works for me. I didn't make any changes to the jboss configuration except ssl setup. Even after port-redirection, I assumed tomcat would look for requests on 8009 port. I'm kinda stuck here.

      Here's my workers2.properties

      #g file, replace APACHE_HOME by your Apache installation directory
      [shm]
      file=$APACHE_HOME/logs/mod_jk2.log
      size=1048576

      # Example socket channel, override port and host.
      [channel.socket:uschiaxdw01:8009]
      info=Ajp13 forwarding over socket
      debug=5
      tomcatId=172.31.152.86:8009
      port=8009
      host=172.31.152.86
      disabled=0


      # define the worker
      [ajp13:172.31.152.86:8009]
      channel=channel.socket:172.31.152.86:8009

      # Uri mapping
      # The JBoss JMX Console
      [uri:/jmx-console/*]

      #g file, replace APACHE_HOME by your Apache installation directory
      [shm]


      #AMEXPCR application
      [uri:/amexpcr/*]
      worker=ajp13:uschiaxdw01:8009

      and I added an entry to httpd.conf

      LoadModule jk2_module modules/mod_jk2.so
      AddModule mod_jk2.c

      JkSet config:file /etc/httpd/conf/workers2.properties


      Thank you for your help.
      Ram.