-
1. mod_cluster 1.1.x on JBoss EAP 5.1.0/JBoss AS 5.x
pferraro Mar 4, 2011 3:18 PM (in response to joaocunhalopes)To deploy mod_cluster 1.1.x in EAP 5.1.0, just copy the mod_cluster.sar to your $JBOSS_HOME/server/production/deploy directory - that's it.
If you want to use mod_cluster in a profile that does not include JBoss clustering (specifically, one that deploys the HAPartition bean), then edit the mod_cluster.sar/META-INF/mod_cluster-jboss-beans.xml file, and modify the ModClusterListener bean, and replace "HAModClusterService" with "ModClusterService".
What kinds of problems are you having?
-
2. mod_cluster 1.1.x on JBoss EAP 5.1.0/JBoss AS 5.x
joaocunhalopes Mar 4, 2011 5:41 PM (in response to pferraro)We are using a JBoss EAP 5.1.0 profile, based on the out of the box "production" profile. It as been slimmed so quite a few services were removed.
That said, mod_cluster 1.0.8 GA runs withouterrors, and yes, we are using the HAModClusterService.
As for 1.1.1 Final, after deployment, the exception that I have is:
2011-03-04 22:33:17,732 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (main) Error installing to Start: name=WebServer state=Create
java.lang.ClassCastException: org.jboss.modcluster.ha.HAModClusterService cannot be cast to org.apache.catalina.LifecycleListener
I'm sure that this a configuration problem so I'll check everything and post here if I can't solve it.
Thank you.
-
3. mod_cluster 1.1.x on JBoss EAP 5.1.0/JBoss AS 5.x
pferraro Mar 4, 2011 5:56 PM (in response to joaocunhalopes)It looks like your production profile still contains modifications to the jbossweb service for use with mod_cluster 1.0.x. mod_cluster 1.1.x is meant to work with the default jbossweb server.xml and jboss-beans.xml files. So, revert any changes you made within jbossweb.sar when you initially setup mod_cluster 1.0.x. Then, everything should work.
-
4. mod_cluster 1.1.x on JBoss EAP 5.1.0/JBoss AS 5.x
joaocunhalopes Mar 4, 2011 6:16 PM (in response to joaocunhalopes)That's correct!
Replaced
server\<profile>\deploy\jbossweb.sar\server.xml
and
server\<profile>\deploy\jbossweb.sar\META-INF\jboss-beans.xml
with the original, unmodded files, and it works.
Also checked the manual, and it does say:
>2.5. Configuring the server-side
>2.5.1. Configuring mod_cluster with JBoss AS 5.x+
>No post-installation configuration necessary!
This is quite different from 1.0.x (and just great)!
A final question: for a production envirnoment would you recommned 1.0,8 GA or 1.1.1 Final?
Not sure if the question is logical, I don't know the product road map, and I'm assuming 1.0.x and 1.1.x are different branches.
Thank you.
-
5. mod_cluster 1.1.x on JBoss EAP 5.1.0/JBoss AS 5.x
pferraro Mar 6, 2011 10:52 PM (in response to joaocunhalopes)Great. One of the goals of 1.1.x was to improve the server-side integration.
I'd using recommend 1.1.x, unless you need RH support - in which case, you'll need to stick with 1.0.x for now.
-
6. mod_cluster 1.1.x on JBoss EAP 5.1.0/JBoss AS 5.x
bmathus Apr 5, 2011 5:05 AM (in response to pferraro)I'd using recommend 1.1.x, unless you need RH support - in which case, you'll need to stick with 1.0.x for now.
Sorry for stepping in, but as it's the very same subject I thought I could ask the question here to keep the information in one place.
I'm also using EAP 5.1 and was wondering about the mod_cluster 1.1.x integration into JBoss EAP (as a supported.
Any roadmap about it (or even a JBPAPP-xyz patch?)?
Thanks a lot for your answer.