Load balancing and failover should normally work if configured properly. Have you reviewed the instructions provided on the wiki page at http://wiki.jboss.org/wiki/Wiki.jsp?page=UsingMod_jk1.2WithJBoss
Yes, I believe the issue is around the true
line in the XML file.
This produces an exception. I believe there is a fix but I do not know how to access the fix (something about the JVMRouteFilter class failing because its referring to an Abstract class rather than a "regular" class, but I don't know how to obtain the Java class and rebuild it with the fixes.
Does anyone know how to do this?
Sorry the line I cut and pasted didn't come through apparently. Its the
Damn it still didn't come through. I guess its illegal to put XML in these entries! Here goes again:
Do you have a reference to the reported problem or fix (e.g., a JBoss JIRA issue)?
Yes on the Sourceforge site:
[ 1037726 ] JvmRouteFilter crashes in init() method for clustered webapp
During JBoss startup JvmRouteFilter.init() method
throws an exception
"JvmRouteFilter.init(): No AbstractJBossManager found
for clustering support."
this happens because the code
manager_ = (AbstractJBossManager)
returns null, there is no object registered with the key
the manager is registered under key
What version of JBoss are you using? Sourceforge issue 1037726 corresponds to JBoss JIRA issue JBAS-1103. According to the JIRA issue, this problem was fixed in JBoss 4.0.1.
A similar issue is reported and open per JBCLUSTER-73. It's possible that the thisis a duplicate and the issue has been fixed.
Both JIRA issues indicate that the problem was observed in 4.0.0.
I have resolved the issue. Our problem was that we couldn't use anything but version 4.0.0 so I obtained the patch for the JvmRouteFilter class, plugged it into the JAR file and it worked!