Uploaded image for project: 'Fabric8'
  1. Fabric8
  2. FABRIC-391

Unable to create child container on remote root container using oracle JDK 7 on linux

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: Critical
    • Resolution: Done
    • Affects Version/s: 7.2.0.redhat-60
    • Component/s: None
    • Labels:
      None

      Description

      Have created a fabric currently consisting of 4 containers across 4 hosts via SSH. I added 2 additional containers to the fabric ensemble. If I try and create child containers on any of the servers in the ensemble either via FMC or container-create-child I get the following exception. However I can create child containers on the one remote root container that I hadn't added to the ensemble.

      10:47:45,371 | ERROR | tp1554351001-409 | ContainerResponse | 255 - org.fusesource.fabric.fabric-rest - 7.2.0.redhat-012 | The RuntimeException could not be mapped to a response, re-throwing to the HTTP container
      org.fusesource.fabric.api.FabricException: java.rmi.NoSuchObjectException: no such object in table
      at org.fusesource.fabric.service.ContainerTemplate.createConnector(ContainerTemplate.java:169)
      at org.fusesource.fabric.service.ContainerTemplate$1.createConnector(ContainerTemplate.java:56)
      at org.fusesource.fabric.service.NonCachingJmxTemplate.execute(NonCachingJmxTemplate.java:34)
      at org.fusesource.fabric.service.ContainerTemplate.execute(ContainerTemplate.java:97)
      at org.fusesource.fabric.service.ChildContainerProvider.create(ChildContainerProvider.java:72)
      at org.fusesource.fabric.service.ChildContainerProvider.create(ChildContainerProvider.java:45)
      at org.fusesource.fabric.service.FabricServiceImpl.createContainers(FabricServiceImpl.java:329)
      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:601)
      at org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.java:54)
      at org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.java:119)
      at sun.proxy.$Proxy45.createContainers(Unknown Source)
      at org.fusesource.fabric.webui.agents.AgentsResource.create(AgentsResource.scala:91)
      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:601)
      at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
      at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:185)
      at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
      at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288)
      at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
      at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
      at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
      at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1483)
      at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1414)
      at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1363)
      at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1353)
      at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:414)
      at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537)
      at com.sun.jersey.spi.container.servlet.ServletContainer.doFilter(ServletContainer.java:895)
      at com.sun.jersey.spi.container.servlet.ServletContainer.doFilter(ServletContainer.java:843)
      at com.sun.jersey.spi.container.servlet.ServletContainer.doFilter(ServletContainer.java:804)
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1300)
      at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:445)
      at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:70)
      at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
      at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:559)
      at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227)
      at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1038)
      at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:117)
      at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:374)
      at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:189)
      at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:972)
      at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
      at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:75)
      at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
      at org.eclipse.jetty.server.Server.handle(Server.java:363)
      at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:483)
      at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:931)
      at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:992)
      at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:856)
      at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240)
      at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
      at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:627)
      at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:51)
      at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
      at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
      at java.lang.Thread.run(Thread.java:722)
      Caused by: java.rmi.NoSuchObjectException: no such object in table
      at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:273)
      at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:251)
      at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:160)
      at javax.management.remote.rmi.RMIServerImpl_Stub.newClient(Unknown Source)
      at javax.management.remote.rmi.RMIConnector.getConnection(RMIConnector.java:2370)
      at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:296)
      at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:267)
      at org.fusesource.fabric.service.ContainerTemplate.createConnector(ContainerTemplate.java:165)
      ... 60 more

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                iocanel Ioannis Canellos
                Reporter:
                stlewis Stan Lewis
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: