Petals ESB Container

Error not clear on container attachment when the given passphrase is invalid

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 5.0.0
  • Fix Version/s: 5.0.1
  • Component/s: Topology/network
  • Security Level: Public
  • Description:
    Hide

    When attaching a container to a target topology using an invalid passphrase for the container to use of the target topology, we get an error that is not very clear:

    initial-container-3 2015/11/19 15:38:43,496 GMT+0100 INFO [Petals.Communication.TopologyService] : TopologyServiceImpl.attachContainerTo() Attaching the current container to the domain 'Target-PEtALS' using the container 'initial-container-0'
    initial-container-3 2015/11/19 15:38:43,592 GMT+0100 WARNING [Petals.Communication.TopologyService] : An error occurs attaching the container to another domain
    org.ow2.petals.microkernel.api.implementation.exception.MissingPropertyException: The property 'org.ow2.petals.microkernel.registry.overlay.RegistryOverlayImpl.group-password' is missing
    	at org.ow2.petals.microkernel.registry.overlay.RegistryOverlayImpl.getTopologyPartConfiguration(RegistryOverlayImpl.java:990)
    	at org.ow2.petals.microkernel.communication.topology.TopologyServiceImpl.checkIfAttachmentIsPossible(TopologyServiceImpl.java:1027)
    	at org.ow2.petals.microkernel.communication.topology.TopologyServiceImpl.attachContainerTo(TopologyServiceImpl.java:716)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.lang.reflect.Method.invoke(Method.java:606)
    	at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:75)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.lang.reflect.Method.invoke(Method.java:606)
    	at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:279)
    	at javax.management.modelmbean.RequiredModelMBean$4.run(RequiredModelMBean.java:1249)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
    	at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1243)
    	at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:1081)
    	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:468)
    	at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1491)
    	at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:97)
    	at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1332)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1431)
    	at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:852)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.lang.reflect.Method.invoke(Method.java:606)
    	at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)
    	at sun.rmi.transport.Transport$2.run(Transport.java:202)
    	at sun.rmi.transport.Transport$2.run(Transport.java:199)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at sun.rmi.transport.Transport.serviceCall(Transport.java:198)
    	at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:567)
    	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:828)
    	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.access$400(TCPTransport.java:619)
    	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$1.run(TCPTransport.java:684)
    	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$1.run(TCPTransport.java:681)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:681)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    	at java.lang.Thread.run(Thread.java:745)

    Please returns something as: Invalid passphrase !!

    Show
    When attaching a container to a target topology using an invalid passphrase for the container to use of the target topology, we get an error that is not very clear:
    initial-container-3 2015/11/19 15:38:43,496 GMT+0100 INFO [Petals.Communication.TopologyService] : TopologyServiceImpl.attachContainerTo() Attaching the current container to the domain 'Target-PEtALS' using the container 'initial-container-0'
    initial-container-3 2015/11/19 15:38:43,592 GMT+0100 WARNING [Petals.Communication.TopologyService] : An error occurs attaching the container to another domain
    org.ow2.petals.microkernel.api.implementation.exception.MissingPropertyException: The property 'org.ow2.petals.microkernel.registry.overlay.RegistryOverlayImpl.group-password' is missing
    	at org.ow2.petals.microkernel.registry.overlay.RegistryOverlayImpl.getTopologyPartConfiguration(RegistryOverlayImpl.java:990)
    	at org.ow2.petals.microkernel.communication.topology.TopologyServiceImpl.checkIfAttachmentIsPossible(TopologyServiceImpl.java:1027)
    	at org.ow2.petals.microkernel.communication.topology.TopologyServiceImpl.attachContainerTo(TopologyServiceImpl.java:716)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.lang.reflect.Method.invoke(Method.java:606)
    	at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:75)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.lang.reflect.Method.invoke(Method.java:606)
    	at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:279)
    	at javax.management.modelmbean.RequiredModelMBean$4.run(RequiredModelMBean.java:1249)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
    	at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1243)
    	at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:1081)
    	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:468)
    	at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1491)
    	at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:97)
    	at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1332)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1431)
    	at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:852)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.lang.reflect.Method.invoke(Method.java:606)
    	at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)
    	at sun.rmi.transport.Transport$2.run(Transport.java:202)
    	at sun.rmi.transport.Transport$2.run(Transport.java:199)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at sun.rmi.transport.Transport.serviceCall(Transport.java:198)
    	at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:567)
    	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:828)
    	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.access$400(TCPTransport.java:619)
    	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$1.run(TCPTransport.java:684)
    	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$1.run(TCPTransport.java:681)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:681)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    	at java.lang.Thread.run(Thread.java:745)
    Please returns something as: Invalid passphrase !!
  • Environment:
    -

Activity

Hide
Christophe DENEUX added a comment - Fri, 27 Nov 2015 - 17:18:21 +0100

Fixed in trunk

Show
Christophe DENEUX added a comment - Fri, 27 Nov 2015 - 17:18:21 +0100 Fixed in trunk
Hide
Christophe DENEUX added a comment - Thu, 19 Nov 2015 - 15:57:29 +0100

Add a check about passphrase validity in TopologyServiceImpl.checkIfAttachmentIsPossible

Show
Christophe DENEUX added a comment - Thu, 19 Nov 2015 - 15:57:29 +0100 Add a check about passphrase validity in TopologyServiceImpl.checkIfAttachmentIsPossible

People

Dates

  • Created:
    Thu, 19 Nov 2015 - 15:56:50 +0100
    Updated:
    Fri, 27 Nov 2015 - 17:18:21 +0100
    Resolved:
    Fri, 27 Nov 2015 - 17:18:21 +0100