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

Christophe DENEUX made changes - Thu, 9 Sep 2010 - 16:49:20 +0200
Field Original Value New Value
Status New [ 10000 ] Open [ 10002 ]
Priority Major [ 3 ]
Assignee Roland Naudin [ rnaudin ] Christophe DENEUX [ cdeneux ]
Christophe DENEUX made changes - Thu, 9 Sep 2010 - 16:49:28 +0200
Status Open [ 10002 ] In Progress [ 10003 ]
Christophe DENEUX made changes - Thu, 9 Sep 2010 - 16:51:37 +0200
Status In Progress [ 10003 ] Open [ 10002 ]
Christophe DENEUX made changes - Thu, 9 Sep 2010 - 16:53:57 +0200
Status Open [ 10002 ] In Progress [ 10003 ]
Christophe DENEUX made changes - Thu, 9 Sep 2010 - 16:58:18 +0200
Status In Progress [ 10003 ] Resolved [ 10004 ]
Fix Version/s 1.6.3 [ 10111 ]
Resolution Fixed [ 1 ]
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.
Transition Status Change Time Execution Times Last Executer Last Execution Date
New New Open Open
2m 11s
1
Christophe DENEUX
Thu, 9 Sep 2010 - 16:49:20 +0200
Open Open In Progress In Progress
8s
1
Christophe DENEUX
Thu, 9 Sep 2010 - 16:49:28 +0200
In Progress In Progress Open Open
2m 9s
1
Christophe DENEUX
Thu, 9 Sep 2010 - 16:51:37 +0200
Open Open In Progress In Progress
2m 20s
1
Christophe DENEUX
Thu, 9 Sep 2010 - 16:53:57 +0200
In Progress In Progress Resolved Resolved
4m 21s
1
Christophe DENEUX
Thu, 9 Sep 2010 - 16:58:18 +0200

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