Petals ESB Container

When the master is stopped, the slave displays an incomprehensible error when synchronizing

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Won't Fix
  • Affects Version/s: 3.1.3
  • Fix Version/s: 5.0.0
  • Security Level: Public
  • Description:
    Hide

    The error returned and displayed by our JMX client is :

    GRAVE: Impossible d'invoquer la méthode JMX 'synchronizeData' sur le MBean Petals:name=PetalsAdmin,type=service du serveur localhost/localhost (Exception thrown in RequiredModelMBean while trying to invoke operation synchronizeData)
    javax.management.MBeanException: Exception thrown in RequiredModelMBean while trying to invoke operation synchronizeData
            at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1101)
            at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:955)
            at mx4j.server.interceptor.InvokerMBeanServerInterceptor.invoke(InvokerMBeanServerInterceptor.java:221)
            at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:120)
            at mx4j.server.interceptor.SecurityMBeanServerInterceptor.invoke(SecurityMBeanServerInterceptor.java:84)
            at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:120)
            at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:120)
            at mx4j.server.interceptor.ContextClassLoaderMBeanServerInterceptor.invoke(ContextClassLoaderMBeanServerInterceptor.java:203)
            at mx4j.server.MX4JMBeanServer.invoke(MX4JMBeanServer.java:1043)
            at com.sun.jmx.remote.security.MBeanServerAccessController.invoke(MBeanServerAccessController.java:447)
            at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1426)
            at javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:72)
            at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1264)
            at java.security.AccessController.doPrivileged(Native Method)
            at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1366)
            at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:788)
            at sun.reflect.GeneratedMethodAccessor32.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
            at sun.rmi.transport.Transport$1.run(Transport.java:159)
            at java.security.AccessController.doPrivileged(Native Method)
            at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
            at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
            at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
            at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
            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)
            at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)
            at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)
            at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
            at com.sun.jmx.remote.internal.PRef.invoke(Unknown Source)
            at javax.management.remote.rmi.RMIConnectionImpl_Stub.invoke(Unknown Source)
            at javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.invoke(RMIConnector.java:993)
            at fr.acoss.esb.tools.manager.server.Server$2.call(Server.java:184)
            at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
            at java.util.concurrent.FutureTask.run(FutureTask.java:138)
            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)
    Caused by: org.ow2.petals.jbi.messaging.registry.RegistryException: org.ow2.petals.registry.api.exception.RegistryException: Could not send Message.
            at org.ow2.petals.jbi.messaging.registry.DistributedEndpointRegistryImpl.synchronizeData(DistributedEndpointRegistryImpl.java:450)
            at org.objectweb.fractal.julia.generated.C2304ecde_0.synchronizeData(INTERCEPTOR[EndpointRegistry])
            at org.objectweb.fractal.julia.generated.C2eb804c9_0.synchronizeData(INTERFACE[EndpointRegistry])
            at org.ow2.petals.kernel.admin.PetalsAdminServiceImpl.synchronizeData(PetalsAdminServiceImpl.java:485)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            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 sun.reflect.misc.Trampoline.invoke(MethodUtil.java:37)
            at sun.reflect.GeneratedMethodAccessor33.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:244)
            at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1074)
            at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:955)
            at mx4j.server.interceptor.InvokerMBeanServerInterceptor.invoke(InvokerMBeanServerInterceptor.java:221)
            at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:120)
            at mx4j.server.interceptor.SecurityMBeanServerInterceptor.invoke(SecurityMBeanServerInterceptor.java:84)
            at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:120)
            at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:120)
            at mx4j.server.interceptor.ContextClassLoaderMBeanServerInterceptor.invoke(ContextClassLoaderMBeanServerInterceptor.java:203)
            at mx4j.server.MX4JMBeanServer.invoke(MX4JMBeanServer.java:1043)
            at com.sun.jmx.remote.security.MBeanServerAccessController.invoke(MBeanServerAccessController.java:447)
            at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1426)
            at javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:72)
            at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1264)
            at java.security.AccessController.doPrivileged(Native Method)
            at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1366)
            at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:788)
            at sun.reflect.GeneratedMethodAccessor32.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
            at sun.rmi.transport.Transport$1.run(Transport.java:159)
            at java.security.AccessController.doPrivileged(Native Method)
            at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
            at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
            at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
            at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
            ... 3 more
    Caused by: org.ow2.petals.registry.api.exception.RegistryException: Could not send Message.
            at org.ow2.petals.registry.core.transport.cxf.CXFMessageSender.getAll(CXFMessageSender.java:148)
            at org.ow2.petals.registry.core.RemoteRegistryImpl.getAll(RemoteRegistryImpl.java:102)
            at org.ow2.petals.registry.core.manager.GenericOutgoingManagerImpl.doGetAll(GenericOutgoingManagerImpl.java:477)
            at org.ow2.petals.registry.core.manager.GenericOutgoingManagerImpl.getAll(GenericOutgoingManagerImpl.java:445)
            at org.ow2.petals.registry.core.AbstractLocalRegistry.retrieveExternalResources(AbstractLocalRegistry.java:323)
            at org.ow2.petals.registry.core.AbstractLocalRegistry.synchronizeData(AbstractLocalRegistry.java:242)
            at org.ow2.petals.jbi.messaging.registry.DistributedEndpointRegistryImpl.synchronizeData(DistributedEndpointRegistryImpl.java:448)
            ... 41 more
    Show
    The error returned and displayed by our JMX client is :
    GRAVE: Impossible d'invoquer la méthode JMX 'synchronizeData' sur le MBean Petals:name=PetalsAdmin,type=service du serveur localhost/localhost (Exception thrown in RequiredModelMBean while trying to invoke operation synchronizeData)
    javax.management.MBeanException: Exception thrown in RequiredModelMBean while trying to invoke operation synchronizeData
            at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1101)
            at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:955)
            at mx4j.server.interceptor.InvokerMBeanServerInterceptor.invoke(InvokerMBeanServerInterceptor.java:221)
            at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:120)
            at mx4j.server.interceptor.SecurityMBeanServerInterceptor.invoke(SecurityMBeanServerInterceptor.java:84)
            at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:120)
            at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:120)
            at mx4j.server.interceptor.ContextClassLoaderMBeanServerInterceptor.invoke(ContextClassLoaderMBeanServerInterceptor.java:203)
            at mx4j.server.MX4JMBeanServer.invoke(MX4JMBeanServer.java:1043)
            at com.sun.jmx.remote.security.MBeanServerAccessController.invoke(MBeanServerAccessController.java:447)
            at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1426)
            at javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:72)
            at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1264)
            at java.security.AccessController.doPrivileged(Native Method)
            at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1366)
            at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:788)
            at sun.reflect.GeneratedMethodAccessor32.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
            at sun.rmi.transport.Transport$1.run(Transport.java:159)
            at java.security.AccessController.doPrivileged(Native Method)
            at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
            at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
            at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
            at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
            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)
            at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)
            at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)
            at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
            at com.sun.jmx.remote.internal.PRef.invoke(Unknown Source)
            at javax.management.remote.rmi.RMIConnectionImpl_Stub.invoke(Unknown Source)
            at javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.invoke(RMIConnector.java:993)
            at fr.acoss.esb.tools.manager.server.Server$2.call(Server.java:184)
            at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
            at java.util.concurrent.FutureTask.run(FutureTask.java:138)
            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)
    Caused by: org.ow2.petals.jbi.messaging.registry.RegistryException: org.ow2.petals.registry.api.exception.RegistryException: Could not send Message.
            at org.ow2.petals.jbi.messaging.registry.DistributedEndpointRegistryImpl.synchronizeData(DistributedEndpointRegistryImpl.java:450)
            at org.objectweb.fractal.julia.generated.C2304ecde_0.synchronizeData(INTERCEPTOR[EndpointRegistry])
            at org.objectweb.fractal.julia.generated.C2eb804c9_0.synchronizeData(INTERFACE[EndpointRegistry])
            at org.ow2.petals.kernel.admin.PetalsAdminServiceImpl.synchronizeData(PetalsAdminServiceImpl.java:485)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            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 sun.reflect.misc.Trampoline.invoke(MethodUtil.java:37)
            at sun.reflect.GeneratedMethodAccessor33.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:244)
            at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1074)
            at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:955)
            at mx4j.server.interceptor.InvokerMBeanServerInterceptor.invoke(InvokerMBeanServerInterceptor.java:221)
            at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:120)
            at mx4j.server.interceptor.SecurityMBeanServerInterceptor.invoke(SecurityMBeanServerInterceptor.java:84)
            at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:120)
            at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:120)
            at mx4j.server.interceptor.ContextClassLoaderMBeanServerInterceptor.invoke(ContextClassLoaderMBeanServerInterceptor.java:203)
            at mx4j.server.MX4JMBeanServer.invoke(MX4JMBeanServer.java:1043)
            at com.sun.jmx.remote.security.MBeanServerAccessController.invoke(MBeanServerAccessController.java:447)
            at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1426)
            at javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:72)
            at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1264)
            at java.security.AccessController.doPrivileged(Native Method)
            at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1366)
            at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:788)
            at sun.reflect.GeneratedMethodAccessor32.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
            at sun.rmi.transport.Transport$1.run(Transport.java:159)
            at java.security.AccessController.doPrivileged(Native Method)
            at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
            at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
            at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
            at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
            ... 3 more
    Caused by: org.ow2.petals.registry.api.exception.RegistryException: Could not send Message.
            at org.ow2.petals.registry.core.transport.cxf.CXFMessageSender.getAll(CXFMessageSender.java:148)
            at org.ow2.petals.registry.core.RemoteRegistryImpl.getAll(RemoteRegistryImpl.java:102)
            at org.ow2.petals.registry.core.manager.GenericOutgoingManagerImpl.doGetAll(GenericOutgoingManagerImpl.java:477)
            at org.ow2.petals.registry.core.manager.GenericOutgoingManagerImpl.getAll(GenericOutgoingManagerImpl.java:445)
            at org.ow2.petals.registry.core.AbstractLocalRegistry.retrieveExternalResources(AbstractLocalRegistry.java:323)
            at org.ow2.petals.registry.core.AbstractLocalRegistry.synchronizeData(AbstractLocalRegistry.java:242)
            at org.ow2.petals.jbi.messaging.registry.DistributedEndpointRegistryImpl.synchronizeData(DistributedEndpointRegistryImpl.java:448)
            ... 41 more
  • Environment:
    Linux 2.6.18-128.7.1.el5

Issue Links

Activity

Hide
Christophe DENEUX added a comment - Fri, 13 Dec 2013 - 12:09:18 +0100 - edited

As the Petals initial registry has been replaced by a registry based on Hazelcast, it is not planned to updated the initial registry to fix this problem. Moreover, the synchronization is dedicated to this registry implementation. So this problem won't be fixed

Show
Christophe DENEUX added a comment - Fri, 13 Dec 2013 - 12:09:18 +0100 - edited As the Petals initial registry has been replaced by a registry based on Hazelcast, it is not planned to updated the initial registry to fix this problem. Moreover, the synchronization is dedicated to this registry implementation. So this problem won't be fixed

People

Dates

  • Created:
    Tue, 3 Jan 2012 - 14:56:12 +0100
    Updated:
    Fri, 13 Dec 2013 - 12:11:22 +0100
    Resolved:
    Fri, 13 Dec 2013 - 12:09:18 +0100