0 Replies Latest reply on Aug 25, 2007 8:00 AM by giliredbaron

    Deploying Moving from mod_jk2 to mod_jk problems...

    giliredbaron

      Hi All,

      I have apache2 on one machine and I'm trying to upgrade it to apache2.2.
      In apache2.2 mod_jk2 is not available so I need to use mod_jk or mod_proxy, Or any other idea...

      This is my original workers2.properties

      
      timing=0
      debug=0
      
      [lb:text2pic]
      info=text2pic load balancer.
      sticky=1
      debug=0
      
      [lb:cs]
      info=cs load balancer.
      sticky=1
      debug=0
      
      [channel.socket:server1]
      info=Ajp13 forwarding over socket
      debug=0
      host=127.0.0.1
      port=8009
      tomcatId=server1
      group=text2pic
      group=cs
      level=1
      
      [channel.socket:server2]
      info=Ajp13 forwarding over socket
      debug=0
      host=X.X.X.X
      port=8009
      tomcatId=server1
      group=cs
      level=0
      
      


      and apart of my http.conf
       <LocationMatch "/cs">
       JkUriSet group lb:cs
       JkUriSet info "Map the whole CustomerService webapp"
       Order allow,deny
       Allow from all
       </LocationMatch>
      


      I'm trying to use jkmount but I can't get it to work...
       JkMount /cs/* ajp13
      

      or to use ProxyPass

      ProxyPass /cs ajp://127.0.0.1:8009
      ProxyPassReverse /cs ajp://127.0.0.1:8009
      

      In the ProxyPass I can get an reply from tomcat (the default page not my application) and in JkMount nothing...

      What I'm missing ???

      Thanks,
      Gili