4 Replies Latest reply on Mar 9, 2015 7:09 PM by J. B.

    mod_cluster 1.1.3 integration on jboss-as 7.0.2

    J. B. Newbie

      Dear all,

       

      I'm new to dealing with jboss esp. mod_cluster itself and apache, too..So pls. be patient with me

      I'm currently facing the problem even getting the demo to run as documented in the mod_cluster http://docs.jboss.org/mod_cluster/1.0.0/html/Quick_Start_Guide.html

       

      - section 2.5.1. Integrate mod_cluster with JBoss AS's embedded JBossWeb because there is no server or server.xml locateable in the jboss dir

      Edit the $JBOSS_HOME/server/all/deploy/jbossweb.sar/server.xml file, adding the following next to the other Listener elements:

       

            <Listener

            className="org.jboss.web.tomcat.service.deployers.MicrocontainerIntegrationLifecycleListener"

                       delegateBeanName="ModClusterService"/>

       

      Edit the $JBOSS_HOME/server/all/deploy/jbossweb.sar/META-INF/jboss-beans.xml file, adding the following next to the other depends elements:

       

            <depends>ModClusterService</depends>

       

      additional Info:

      vm-its:/mount/AppServer/jboss # ls -1

      LICENSE.txt

      README.txt

      bin

      bundles

      copyright.txt

      domain

      httpd

      jboss-modules.jar

      licenses

      modules

      standalone

      welcome-content

       

      OS: openSUSE 11.1  Kernel: 2.6.27.56-0.1-default x86_64

      jboss 7.0.2

      mod_cluster 1.1.3

      apache2-2.2.10-2.9.1

      apache2-prefork-2.2.10-2.9.1

      apache2-utils-2.2.10-2.9.1

       

      Backgroundinfo: testing ha on a single vm with 2 jboss deployments started from 1 jboss directory as described here https://www.youtube.com/watch?v=rw4GpBepceY (doc: https://www.jboss.org/dms/AS7/as7webinar/AS7-clustering-webinar.pdf)

       

      Any help or recomendations to get ontrack very much appriciated!

       

      thanks,

      J.