Marcin Polak [
http://community.jboss.org/people/polok] created the discussion
"HASingletonDeployer is not registered"
To view the discussion, visit:
http://community.jboss.org/message/632924#632924
--------------------------------------------------------------
Hi All,
I have four jbosses working in one cluster. Sometimes when I stop or restart one of them I
get following error:
ERROR [ ]
[org.springframework.scheduling.support.MethodInvokingRunnable] Invocation of
method 'myMethod' on target class [class
MyClass] failed
org.springframework.jmx.access.InvalidInvocationException:
jboss.ha:service=HASingletonDeployer is not registered.
at
org.springframework.jmx.access.MBeanClientInterceptor.doInvoke(MBeanClientInterceptor.java:445)
at
org.springframework.jmx.access.MBeanClientInterceptor.invoke(MBeanClientInterceptor.java:353)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at $Proxy323.isMasterNode(Unknown Source)
at
...
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.springframework.util.MethodInvoker.invoke(MethodInvoker.java:273)
at
org.springframework.scheduling.support.MethodInvokingRunnable.run(MethodInvokingRunnable.java:65)
at
org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:51)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at
java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
"myMethod" is a method which is activated every 10 seconds and I check thereif
my jboss is a maaster node (I am using HA-Singleton).
I check this using something like isMasterNode() on HASingletonMBean.
I will be grateful for any help.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/632924#632924]
Start a new discussion in Clustering Development at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]