0 Replies Latest reply on Jan 12, 2005 12:41 PM by James Adams

    Apache/mod_jk: HTTP request query string being lost

    James Adams Novice

      I have set up Apache/mod_jk/Tomcat/JBoss in order to route requests to servlets running on JBoss/Tomcat. It appears that the setup is OK, in that it all works fine for a VB client (the client's HTTP requests are properly routed to the servlets with their query strings intact), and it properly routes the requests of a web client to my servlets, except that the query strings are being lost. The web client sends the HTTP request query with no problems when calling Perl modules served by Apache (which the servlets are to replace), so it really is sending the request with a query included, and therefore I'm thinking at this point that the trouble is with the Apache/mod_jk setup.

      Has anyone else ever seen this behavior ? Where should I look for the problem ? Is this a problem with my Apache/mod_jk/Tomcat/JBoss setup, or should I concentrate my debugging efforts on my web client codes (HTML and JavaScript) ?

      System Details:
      JBoss 3.2.6, server = all
      mod_jk v1.2.6
      Apache v1.3.32

      workers.properties:

      # Define Node1 worker
      worker.node1.port=18009
      worker.node1.host=brooklyn.mydomain.local
      worker.node1.type=ajp13
      worker.node1.lbfactor=1
      
      # Define Node2 worker
      worker.node2.port=18009
      worker.node2.host=canal.mydomain.local
      worker.node2.type=ajp13
      worker.node2.lbfactor=1
      
      # Load-balancing behaviour
      worker.loadbalancer.type=lb
      worker.loadbalancer.balanced_workers=node1, node2
      worker.loadbalancer.sticky_session=1
      worker.loadbalancer.local_worker_only=1
      worker.list=loadbalancer
      




      Thanks in advance for any suggestions.


      --James