-
1. Re: JBoss cluster node has -1 load
jfclere May 25, 2011 6:46 AM (in response to dmoses)1.1.0. is a old version. Could you upgrade to 1.1.2 and retry?
-
2. Re: JBoss cluster node has -1 load
rhusar May 25, 2011 7:31 AM (in response to jfclere)BTW doesn't load equal to -1 mean the node is in error state? Really, -1 cant be the value advertized by the server (unless there would be an exception).
-
3. Re: JBoss cluster node has -1 load
jfclere May 25, 2011 7:47 AM (in response to rhusar)-1 means the cping/cpong failed.
-
4. Re: JBoss cluster node has -1 load
dmoses May 25, 2011 8:19 AM (in response to jfclere)I see cping/cpong error messages only when I restart the server but then they go away.
[Wed May 25 07:18:35 2011] [error] ajp_cping_cpong: apr_socket_recv failed
[Wed May 25 07:18:40 2011] [error] ajp_cping_cpong: apr_socket_recv failed
[Wed May 25 07:18:45 2011] [error] ajp_cping_cpong: apr_socket_recv failed
[Wed May 25 07:18:50 2011] [error] ajp_cping_cpong: apr_socket_recv failed
[Wed May 25 07:18:55 2011] [error] ajp_cping_cpong: apr_socket_recv failed
[Wed May 25 07:19:00 2011] [error] ajp_cping_cpong: apr_socket_recv failed
-
5. Re: JBoss cluster node has -1 load
pferraro May 25, 2011 12:06 PM (in response to dmoses)Those cping/cpong failures suggest that the JBoss Web connectors are getting shutdown prior to the AS mod_cluster service issuing the appopriate STOP-APP/REMOVE-APP messages. At the moment, I can't think of any circumstances that would cause this to happen (mod_cluster shutdown is triggered by a JMX notification prior to stopping the JBoss Web connectors) - unless you're also seeing errors in your server log that indicate these messages were never sent.
-
6. Re: JBoss cluster node has -1 load
dmoses May 26, 2011 7:40 AM (in response to dmoses)I figured out what the issue was. In the apache config someone made a change and set CreateBalancers=0. Once this was changed to 1 and apache restarted the second node started receiving requests again.
-
7. Re: JBoss cluster node has -1 load
rhusar May 26, 2011 1:15 PM (in response to dmoses)Thanks for sharing Derric.
(here is a quick link to docs for anyone else popping to this thread http://docs.jboss.org/mod_cluster/1.1.0/html/native.config.html#d0e490 )
-
8. Re: JBoss cluster node has -1 load
okelet Jun 3, 2011 7:27 AM (in response to dmoses)Hi
I have the same issue. With CreateBalancers 1, and defined "ProxyPass / balancer://mycluster/ stickysession=JSESSIONID|jsessionid" inside a VirtualHost, when I restart Apache, all nodes get load -1 and applications are inaccesible for new sessions (no matter how much time I wait, load -1 al always shown, previous sessions works fine). I have to restart JBoss and then the load shows fine and applications work and new sessions works again.
Any solution or workaround?
Regards.