Failed to retrieve RMIServer stub
garethahealy Jan 31, 2013 1:39 PMI have just installed FMC and are playing around trying to learn how to setup stuff and how everything all works.
I have installed a container (esb-full) which has worked. But when i click on the details button i get the following. I presume i've missed a setup step/theres something i need to do on the server which FMC has installed the container to.
2013-01-31 18:17:40,030 | INFO | sid:0 cport:-1): | PrepRequestProcessor | eper.server.PrepRequestProcessor 617 | 49 - org.fusesource.fabric.fabric-linkedin-zookeeper - 7.1.0.fuse-047 | Got user-level KeeperException when processing sessionid:0x13c91d3361c0028 type:create cxid:0x17 zxid:0x2f3 txntype:-1 reqpath:n/a Error Path:null Error:KeeperErrorCode = NoAuth
2013-01-31 18:17:55,622 | WARN | qtp857141990-122 | Errors | com.sun.jersey.spi.inject.Errors 173 | 137 - org.fusesource.fabric.fabric-rest - 7.1.0.fuse-047 | The following warnings have been detected with
resource and/or provider classes:
WARNING: Return type org.fusesource.fabric.api.CreateContainerMetadata<?> of method public org.fusesource.fabric.api.CreateContainerMetadata<?> org.fusesource.fabric.webui.agents.AgentResource.metadata() is not resolvable to a concrete type
2013-01-31 18:08:55,137 | ERROR | qtp407080279-120 | ContainerResponse | .spi.container.ContainerResponse 402 | 137 - org.fusesource.fabric.fabric-rest - 7.1.0.fuse-047 | The RuntimeException could not be mapped to a response, re-throwing to the HTTP container
org.fusesource.fabric.api.FabricException: java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.NameNotFoundException: karaf-test-esb
at org.fusesource.fabric.service.ContainerTemplate.createConnector(ContainerTemplate.java:169)[54:org.fusesource.fabric.fabric-core:7.1.0.fuse-047]
at org.fusesource.fabric.service.ContainerCachingJmxTemplate.createConnector(ContainerCachingJmxTemplate.java:47)[54:org.fusesource.fabric.fabric-core:7.1.0.fuse-047]
at org.fusesource.fabric.service.JmxTemplate.getConnector(JmxTemplate.java:74)[54:org.fusesource.fabric.fabric-core:7.1.0.fuse-047]
at org.fusesource.fabric.service.JmxTemplate.execute(JmxTemplate.java:41)[54:org.fusesource.fabric.fabric-core:7.1.0.fuse-047]
at org.fusesource.fabric.service.ContainerTemplate.execute(ContainerTemplate.java:86)[54:org.fusesource.fabric.fabric-core:7.1.0.fuse-047]
at org.fusesource.fabric.webui.agents.jvm.JVMAgentResource.metrics(JVMResource.scala:53)[137:org.fusesource.fabric.fabric-rest:7.1.0.fuse-047]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.6.0_29]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[:1.6.0_29]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[:1.6.0_29]
at java.lang.reflect.Method.invoke(Method.java:597)[:1.6.0_29]
at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)[137:org.fusesource.fabric.fabric-rest:7.1.0.fuse-047]
at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:185)[137:org.fusesource.fabric.fabric-rest:7.1.0.fuse-047]
at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)[137:org.fusesource.fabric.fabric-rest:7.1.0.fuse-047]
at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288)[137:org.fusesource.fabric.fabric-rest:7.1.0.fuse-047]
at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)[137:org.fusesource.fabric.fabric-rest:7.1.0.fuse-047]
at com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:134)[137:org.fusesource.fabric.fabric-rest:7.1.0.fuse-047]
at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)[137:org.fusesource.fabric.fabric-rest:7.1.0.fuse-047]
at com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:134)[137:org.fusesource.fabric.fabric-rest:7.1.0.fuse-047]
at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)[137:org.fusesource.fabric.fabric-rest:7.1.0.fuse-047]
at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)[137:org.fusesource.fabric.fabric-rest:7.1.0.fuse-047]
at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)[137:org.fusesource.fabric.fabric-rest:7.1.0.fuse-047]
at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)[137:org.fusesource.fabric.fabric-rest:7.1.0.fuse-047]
at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1483)[137:org.fusesource.fabric.fabric-rest:7.1.0.fuse-047]
at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1414)[137:org.fusesource.fabric.fabric-rest:7.1.0.fuse-047]
at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1363)[137:org.fusesource.fabric.fabric-rest:7.1.0.fuse-047]
at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1353)[137:org.fusesource.fabric.fabric-rest:7.1.0.fuse-047]
at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:414)[137:org.fusesource.fabric.fabric-rest:7.1.0.fuse-047]
at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537)[137:org.fusesource.fabric.fabric-rest:7.1.0.fuse-047]
at com.sun.jersey.spi.container.servlet.ServletContainer.doFilter(ServletContainer.java:895)[137:org.fusesource.fabric.fabric-rest:7.1.0.fuse-047]
at com.sun.jersey.spi.container.servlet.ServletContainer.doFilter(ServletContainer.java:843)[137:org.fusesource.fabric.fabric-rest:7.1.0.fuse-047]
at com.sun.jersey.spi.container.servlet.ServletContainer.doFilter(ServletContainer.java:804)[137:org.fusesource.fabric.fabric-rest:7.1.0.fuse-047]
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1300)[79:org.eclipse.jetty.servlet:7.6.7.v20120910]
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:445)[79:org.eclipse.jetty.servlet:7.6.7.v20120910]
at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:70)[89:org.ops4j.pax.web.pax-web-jetty:1.1.9]
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)[77:org.eclipse.jetty.server:7.6.7.v20120910]
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:559)[78:org.eclipse.jetty.security:7.6.7.v20120910]
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227)[77:org.eclipse.jetty.server:7.6.7.v20120910]
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1038)[77:org.eclipse.jetty.server:7.6.7.v20120910]
at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:117)[89:org.ops4j.pax.web.pax-web-jetty:1.1.9]
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:374)[79:org.eclipse.jetty.servlet:7.6.7.v20120910]
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:189)[77:org.eclipse.jetty.server:7.6.7.v20120910]
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:972)[77:org.eclipse.jetty.server:7.6.7.v20120910]
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)[77:org.eclipse.jetty.server:7.6.7.v20120910]
at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:75)[89:org.ops4j.pax.web.pax-web-jetty:1.1.9]
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)[77:org.eclipse.jetty.server:7.6.7.v20120910]
at org.eclipse.jetty.server.Server.handle(Server.java:363)[77:org.eclipse.jetty.server:7.6.7.v20120910]
at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:483)[77:org.eclipse.jetty.server:7.6.7.v20120910]
at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:920)[77:org.eclipse.jetty.server:7.6.7.v20120910]
at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:982)[77:org.eclipse.jetty.server:7.6.7.v20120910]
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:635)[73:org.eclipse.jetty.http:7.6.7.v20120910]
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)[73:org.eclipse.jetty.http:7.6.7.v20120910]
at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)[77:org.eclipse.jetty.server:7.6.7.v20120910]
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:627)[72:org.eclipse.jetty.io:7.6.7.v20120910]
at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:51)[72:org.eclipse.jetty.io:7.6.7.v20120910]
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)[71:org.eclipse.jetty.util:7.6.7.v20120910]
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)[71:org.eclipse.jetty.util:7.6.7.v20120910]
at java.lang.Thread.run(Thread.java:662)[:1.6.0_29]
Caused by: java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.NameNotFoundException: karaf-test-esb
at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:338)
at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)[:1.6.0_29]
at org.fusesource.fabric.service.ContainerTemplate.createConnector(ContainerTemplate.java:165)[54:org.fusesource.fabric.fabric-core:7.1.0.fuse-047]
... 56 more
Caused by: javax.naming.NameNotFoundException: karaf-test-esb
at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:99)[:1.6.0_29]
at com.sun.jndi.toolkit.url.GenericURLContext.lookup(GenericURLContext.java:185)[:1.6.0_29]
at javax.naming.InitialContext.lookup(InitialContext.java:392)[:1.6.0_29]
at javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(RMIConnector.java:1886)
at javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1856)
at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:255)
... 58 more