Error while start in all profile with a mod_cluster
bunphot.chup Jun 22, 2011 6:22 AMfirst of all I need to create a cluster of 5 instance in a same physical machine and do the mod_cluster to load balance.
My enviroment are SLSE 11.1, Apache 2.2.10, Jboss AS 6 final with a mod_cluster that attached in the jboss 6.
by the way, when I was start the node1 it's error happened. here is the command that I was use to start the node1
./run.sh -c node1 -g EWIcluster -Djboss.messaging.ServerPeerID=1 -Djboss.service.binding.set=ports-default -Djboss.server.log.dir=/var/log/JBoss/node1/ -Djboss.jvmRoute="node1" -Djboss.modcluster.balancer="cluster1" -b 0.0.0.0
here is the configured of server.xml
<!-- <Listener className="org.jboss.web.tomcat.service.deployers.MicrocontainerIntegrationLifecycleListener" delegateBeanName="ModClusterService"/> --><!-- Non-clustered mode --> <Listener className="org.jboss.web.tomcat.service.deployers.MicrocontainerIntegrationLifecycleListener" delegateBeanName="HAModClusterService"/--><!-- Clustered mode --> <Engine name="jboss.web" defaultHost="localhost" jvmRoute="${jboss.jvmRoute}">
here is the configured of jbossweb.sar/META-INF/jboss-beans.xml
<!-- <depends>ModClusterService</depends> --><!-- Non-clustered mode --> <depends>HAModClusterService</depends><!-- Clustered mode -->
here is the configured of mod_cluster-jboss-beans.xml
<!-- Configure this node's communication with the load balancer --> <bean name="HAModClusterConfig" class="org.jboss.modcluster.config.ha.HAModClusterConfig" mode="On Demand"> <!-- Comma separated list of address:port listing the httpd servers where mod_cluster is running. --> <property name="proxyList">${jboss.modcluster.proxyList:localhost:80}</property> <property name="domain">${jboss.Domain:DefaultDomain}</property> ... <!-- Configuration values for the load balancer itself (must be the same on all nodes in the cluster). These will be passed to the load balancer. --> <property name="stickySession">true</property> <property name="stickySessionForce">true</property> <property name="stickySessionRemove">false</property> <property name="maxAttempts">1</property> <property name="workerTimeout">-1</property> <property name="balancer">${jboss.modcluster.balancer}</property> </bean>
And I was attach the error files of server and boot , Could anyone suggest which path of configured that I was missed
Thank you
-
boot.log.zip 8.0 KB
-
server.log.zip 1.4 KB