-
1. Re: Jboss cluster cannot start in win 2003
wdfink Jul 13, 2013 9:44 AM (in response to sam.gu)Do you start the same configuration in win2008 and win2003?
Maybe you use the JGroups tests to check whether the multicast will work. There is a wiki how to setup such tests.
-
2. Re: Jboss cluster cannot start in win 2003
sam.gu Jul 14, 2013 8:52 PM (in response to wdfink)Yes,the both of configuration is same complete.
Coudle you gieve me some advice? or how to get ride of the JGroups tests?
-
3. Re: Jboss cluster cannot start in win 2003
sam.gu Jul 14, 2013 11:45 PM (in response to sam.gu)I have tested JGroups using jgroups.jar ,the everything is ok.
Now , we have found the reason.the major reason is the modcluster.like blew: the valid config is only the first .other config canot worked.
1 This config is ok,the server of jboss cluster can be started sucessfully.
</subsystem>
<subsystem xmlns="urn:jboss:domain:modcluster:1.0">
<mod-cluster-config proxy-list="127.0.0.1:6666">
<dynamic-load-provider>
<load-metric type="busyness"/>
</dynamic-load-provider>
</mod-cluster-config>
</subsystem>
2 This config cannot work,the server of jboss cluster cannot be started sucessfully.
</subsystem>
<subsystem xmlns="urn:jboss:domain:modcluster:1.0">
<mod-cluster-config advertise-socket="modcluster" proxy-list="127.0.0.1:6666">
<dynamic-load-provider>
<load-metric type="busyness"/>
</dynamic-load-provider>
</mod-cluster-config>
</subsystem>
3 This config also cannot work,the server of jboss cluster cannot be started sucessfully.
</subsystem>
<subsystem xmlns="urn:jboss:domain:modcluster:1.0">
<mod-cluster-config >
<dynamic-load-provider>
<load-metric type="busyness"/>
</dynamic-load-provider>
</mod-cluster-config>
</subsystem>
-
4. Re: Jboss cluster cannot start in win 2003
rhusar Jul 15, 2013 3:18 AM (in response to sam.gu)That config will not use advertizing, but will directly register with load-balancer at address 127.0.0.1:6666.
The 2nd config might fail if you do not have the "modcluster" socket binding defined.
The 3rd config will be default use advertizing over UDP multicast but does not have socket binding defined, IIRC will pick the default address/port.
If you are still having problems, can you paste the stack traces?
-
5. Re: Jboss cluster cannot start in win 2003
sam.gu Jul 15, 2013 11:01 PM (in response to rhusar)I have uploaded the debug server.log(the first floor),there is no any related error.
At the same time,the jconsole and jvisuim cannot connect the java pid when the server cannot start,so i cannot do threaddump.
i don't know you said what's stack straces?
-
6. Re: Jboss cluster cannot start in win 2003
sam.gu Jul 15, 2013 11:53 PM (in response to rhusar)That config will not use advertizing, but will directly register with load-balancer at address 127.0.0.1:6666.
if not use advertizing,how to communicate the between httpd and jboss modcluster?
-
7. Re: Jboss cluster cannot start in win 2003
rhusar Jul 16, 2013 8:21 AM (in response to sam.gu)if not use advertizing,how to communicate the between httpd and jboss modcluster?
Advertizing is a way for the LB and AS to automatically discover each other using UDP multicast. If you do not want to use that feature, you can setup the LB address from the AS configuration using proxy-list attribute. AS uses HTTP-based mod_cluster management protocol to register with the LB and regularly update load-balancing factor, web application lifecycle information, etc.
You may read on some basic documents or pages, such as http://www.jboss.org/mod_cluster or https://community.jboss.org/wiki/ModClusterDesign