-
1. Re: Load Balancing using Apache2.x, mod_jk1.2.x
jerrygauth Dec 8, 2005 12:29 PM (in response to markbres8)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
-
2. Re: Load Balancing using Apache2.x, mod_jk1.2.x
markbres8 Dec 8, 2005 2:37 PM (in response to markbres8)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? -
3. Re: Load Balancing using Apache2.x, mod_jk1.2.x
markbres8 Dec 8, 2005 2:39 PM (in response to markbres8)Sorry the line I cut and pasted didn't come through apparently. Its the
true
line. -
4. Re: Load Balancing using Apache2.x, mod_jk1.2.x
markbres8 Dec 8, 2005 2:40 PM (in response to markbres8)Damn it still didn't come through. I guess its illegal to put XML in these entries! Here goes again:
attribute="UseJK" true -
5. Re: Load Balancing using Apache2.x, mod_jk1.2.x
jerrygauth Dec 8, 2005 3:18 PM (in response to markbres8)Do you have a reference to the reported problem or fix (e.g., a JBoss JIRA issue)?
-
6. Re: Load Balancing using Apache2.x, mod_jk1.2.x
markbres8 Dec 8, 2005 4:06 PM (in response to markbres8)Yes:
Yes on the Sourceforge site:
[ 1037726 ] JvmRouteFilter crashes in init() method for clustered webapp
Bug details:
During JBoss startup JvmRouteFilter.init() method
throws an exception
"JvmRouteFilter.init(): No AbstractJBossManager found
for clustering support."
this happens because the code
...
manager_ = (AbstractJBossManager)
filterConfig.getServletContext().getAttribute(AbstractJBossManager.class.getName());
...
returns null, there is no object registered with the key
"org.jboss.web.tomcat.tc5.session.AbstractJBossManager"
the manager is registered under key
"org.jboss.web.tomcat.tc5.session.JBossManager" -
7. Re: Load Balancing using Apache2.x, mod_jk1.2.x
jerrygauth Dec 8, 2005 4:37 PM (in response to markbres8)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. -
8. Re: Load Balancing using Apache2.x, mod_jk1.2.x
markbres8 Dec 9, 2005 12:00 PM (in response to markbres8)Thanks Jerry:
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!