Petals ESB Container

Unable to remove a server from the registry if the registry is inconsitent

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.6.2
  • Fix Version/s: 1.6.3
  • Component/s: Registry
  • Security Level: Public
  • Description:
    Hide

    If I use the JMX API "removeServer" to remove all information of a container from the registry, and if the registry is inconsistent, I get the following error and the registry can not be cleaned:

    [petals.PetalsAdminService]-SEVERE 2010-09-09 14:33:30,691 A ServiceEndpoint failed to be removed.
    org.objectweb.petals.jbi.messaging.registry.RegistryException: Failed to unregister internal endpoint petals:uid:1BE3916E88545CBBB01839952165659433611, its service {http://xc24.snv2sxml.
    bindings.esb.cirso.fr/1.0}XC24Service_CER14 is not registered
            at org.objectweb.petals.jbi.messaging.registry.JNDIRegistry.unregisterInternalEndpoint(JNDIRegistry.java:354)
            at org.objectweb.petals.jbi.messaging.registry.EndpointServiceImpl.deactivateEndpoint(EndpointServiceImpl.java:282)
            at org.objectweb.fractal.julia.generated.Cf4fcb317_0.deactivateEndpoint(INTERCEPTOR[EndpointService])
            at org.objectweb.fractal.julia.generated.C214bfe95_0.deactivateEndpoint(INTERCEPTOR[EndpointService])
            at org.objectweb.fractal.julia.generated.C64fd16ac_0.deactivateEndpoint(INTERFACE[EndpointService])
            at org.objectweb.petals.kernel.admin.PetalsAdminService.removeServerFromNetwork(PetalsAdminService.java:144)
            at org.objectweb.fractal.julia.generated.C3d3f6ddb_0.removeServerFromNetwork(INTERCEPTOR[PetalsAdminServiceInterface])
            at org.objectweb.fractal.julia.generated.C90dac9f0_0.removeServerFromNetwork(INTERFACE[PetalsAdminServiceInterface])
            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:36) 
            at sun.reflect.GeneratedMethodAccessor46.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:243)
            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 mx4j.tools.adaptor.http.InvokeOperationCommandProcessor.executeRequest(InvokeOperationCommandProcessor.java:164)
            at mx4j.tools.adaptor.http.HttpAdaptor$HttpClient.run(HttpAdaptor.java:979)
    Caused by: javax.naming.NameNotFoundException
            at fr.dyade.aaa.jndi2.client.NamingContextImpl.lookup(NamingContextImpl.java:107)
            at fr.dyade.aaa.jndi2.client.NamingContextImpl.lookup(NamingContextImpl.java:96)
            at org.objectweb.petals.jbi.messaging.registry.JNDIRegistry.unregisterInternalEndpoint(JNDIRegistry.java:343)
            ... 27 more
    Show
    If I use the JMX API "removeServer" to remove all information of a container from the registry, and if the registry is inconsistent, I get the following error and the registry can not be cleaned:
    [petals.PetalsAdminService]-SEVERE 2010-09-09 14:33:30,691 A ServiceEndpoint failed to be removed.
    org.objectweb.petals.jbi.messaging.registry.RegistryException: Failed to unregister internal endpoint petals:uid:1BE3916E88545CBBB01839952165659433611, its service {http://xc24.snv2sxml.
    bindings.esb.cirso.fr/1.0}XC24Service_CER14 is not registered
            at org.objectweb.petals.jbi.messaging.registry.JNDIRegistry.unregisterInternalEndpoint(JNDIRegistry.java:354)
            at org.objectweb.petals.jbi.messaging.registry.EndpointServiceImpl.deactivateEndpoint(EndpointServiceImpl.java:282)
            at org.objectweb.fractal.julia.generated.Cf4fcb317_0.deactivateEndpoint(INTERCEPTOR[EndpointService])
            at org.objectweb.fractal.julia.generated.C214bfe95_0.deactivateEndpoint(INTERCEPTOR[EndpointService])
            at org.objectweb.fractal.julia.generated.C64fd16ac_0.deactivateEndpoint(INTERFACE[EndpointService])
            at org.objectweb.petals.kernel.admin.PetalsAdminService.removeServerFromNetwork(PetalsAdminService.java:144)
            at org.objectweb.fractal.julia.generated.C3d3f6ddb_0.removeServerFromNetwork(INTERCEPTOR[PetalsAdminServiceInterface])
            at org.objectweb.fractal.julia.generated.C90dac9f0_0.removeServerFromNetwork(INTERFACE[PetalsAdminServiceInterface])
            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:36) 
            at sun.reflect.GeneratedMethodAccessor46.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:243)
            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 mx4j.tools.adaptor.http.InvokeOperationCommandProcessor.executeRequest(InvokeOperationCommandProcessor.java:164)
            at mx4j.tools.adaptor.http.HttpAdaptor$HttpClient.run(HttpAdaptor.java:979)
    Caused by: javax.naming.NameNotFoundException
            at fr.dyade.aaa.jndi2.client.NamingContextImpl.lookup(NamingContextImpl.java:107)
            at fr.dyade.aaa.jndi2.client.NamingContextImpl.lookup(NamingContextImpl.java:96)
            at org.objectweb.petals.jbi.messaging.registry.JNDIRegistry.unregisterInternalEndpoint(JNDIRegistry.java:343)
            ... 27 more
  • Environment:
    -

Activity

Hide
Christophe DENEUX added a comment - Thu, 9 Sep 2010 - 16:59:52 +0200

No more JMX API exists to interact with the registry in Petals ESB 3.x. So this fix has not to be merged.

Show
Christophe DENEUX added a comment - Thu, 9 Sep 2010 - 16:59:52 +0200 No more JMX API exists to interact with the registry in Petals ESB 3.x. So this fix has not to be merged.

People

Dates

  • Created:
    Thu, 9 Sep 2010 - 16:47:09 +0200
    Updated:
    Thu, 9 Sep 2010 - 16:59:52 +0200
    Resolved:
    Thu, 9 Sep 2010 - 16:58:18 +0200