users@glassfish.java.net

Re: How to set jvmRoute for AJP/mod_jk load balancing

From: <glassfish_at_javadesktop.org>
Date: Fri, 09 Nov 2007 12:02:50 PST

Hi Orlando, thanks for confirming that the patch finally worked for you! The reason it did not work for you when you added the patch.jar to GLASSFISHOME\lib is that the class files in patch.jar are also present in appserv-rt.jar, but with an older ("unpatched") version. In this case, the unpatched class files in appserv-rt.jar took precedence over those in patch.jar.

By explicitly placing patch.jar on your classpath-prefix, you ensure that the class files in patch.jar take precedence over any class files with the same name in any of the JAR files under GLASSFISHOME\lib.
[Message sent by forum member 'jluehe' (jluehe)]

http://forums.java.net/jive/thread.jspa?messageID=244817