1 Reply Latest reply on Jan 9, 2005 12:11 PM by starksm64

    How to influence mod_jk load balancing from application?

      Using JBoss 3.2.5/mod_jk1.2.8 with sticky sessions. The basic mod_jk2 round robin load balancing and jvmRoute is working fine.

      Is there a way to further tune the load balancing by giving "hints" from application side? One thing I can think of is a particular HTTP response status generated by the tomcat node to tell mod_jk to try another worker(for example if a new session is due to be created and the application recognizes it is at its limits).

      Is it sufficient to just generate 503 responses, would this cause mod_jk to "failover"? Or is there a way to use another, application specific, status code?

      Thanks,
      Thomas