java.lang.RuntimeException: org.jboss.jms.exception.MessagingJMSException: Failed to invoke

jboss.org | 5 months ago
  1. 0

    Race condition in ConnectionValidator | JBoss Developer

    jboss.org | 5 months ago
    java.lang.RuntimeException: org.jboss.jms.exception.MessagingJMSException: Failed to invoke
  2. 0

    Race condition in ConnectionValidator | JBoss Developer

    jboss.org | 2 months ago
    java.lang.RuntimeException: org.jboss.jms.exception.MessagingJMSException: Failed to invoke
  3. 0

    MessageSucker failure | JBoss Developer

    jboss.org | 11 months ago
    org.jboss.jms.exception.MessagingJMSException: Failed to invoke
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    db:: 3.02::java.lang.IllegalStateException: Cannot find queue messages zc

    hivmr.com | 4 months ago
    org.jboss.jms.exception.MessagingJMSException: Failed to invoke
  6. 0

    I'm testing the jetty/easybeans integration. When I start jetty with the easybeans web-app, if I call the entitybean sample client from a plain java, everything is OK. Now when I want to call the same EJB client from a second web-app in jetty (from a rest web-service servlet ) : 1/ with the session bean remote interface call I have this exception : javax.ejb.EJBException: Error while sending a request at org.ow2.easybeans.proxy.client.ClientRPCInvocationHandler.invoke(ClientRPCInvocationHandler.java:147) at $Proxy29.findEmployee(Unknown Source) at com.sun.jersey.samples.helloworld.resources.HelloWorldResource.getClichedMessage(HelloWorldResource.java:111) 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:585) at com.sun.jersey.impl.model.method.dispatch.EntityParamDispatchProvider$TypeOutInvoker._dispatch(EntityParamDispatchProvider.java:131) at com.sun.jersey.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:81) at com.sun.jersey.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:133) at com.sun.jersey.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:71) at com.sun.jersey.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:111) at com.sun.jersey.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:64) at com.sun.jersey.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:669) at com.sun.jersey.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:631) at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:291) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) at org.mortbay.jetty.Server.handle(Server.java:324) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:828) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450) Caused by: java.lang.IllegalStateException: javax.naming.NamingException: Cannot get a remote ClassLoader [Root exception is java.lang.IllegalStateException: Empty buffer received] at org.ow2.easybeans.rpc.rmi.client.RMIClientRPC.sendEJBRequest(RMIClientRPC.java:87) at org.ow2.easybeans.proxy.client.ClientRPCInvocationHandler.invoke(ClientRPCInvocationHandler.java:144) ... 33 more Caused by: javax.naming.NamingException: Cannot get a remote ClassLoader [Root exception is java.lang.IllegalStateException: Empty buffer received] at org.ow2.easybeans.component.smartclient.spi.SmartContextFactory.checkInit(SmartContextFactory.java:231) at org.ow2.easybeans.component.smartclient.spi.SmartContextFactory.getInitialContext(SmartContextFactory.java:125) at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667) at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247) at javax.naming.InitialContext.init(InitialContext.java:223) at javax.naming.InitialContext.(InitialContext.java:197) at org.ow2.easybeans.rpc.rmi.client.RMIClientRPC.sendEJBRequest(RMIClientRPC.java:85) ... 34 more Caused by: java.lang.IllegalStateException: Empty buffer received at org.ow2.easybeans.component.smartclient.client.AskingClassLoader.getOpCode(AskingClassLoader.java:338) at org.ow2.easybeans.component.smartclient.client.AskingClassLoader.getProviderURL(AskingClassLoader.java:309) at org.ow2.easybeans.component.smartclient.spi.SmartContextFactory.checkInit(SmartContextFactory.java:215) ... 40 more Caused by: java.lang.IllegalStateException: javax.naming.NamingException: Cannot get a remote ClassLoader [Root exception is java.lang.IllegalStateException: Empty buffer received] at org.ow2.easybeans.rpc.rmi.client.RMIClientRPC.sendEJBRequest(RMIClientRPC.java:87) at org.ow2.easybeans.proxy.client.ClientRPCInvocationHandler.invoke(ClientRPCInvocationHandler.java:144) at $Proxy29.findEmployee(Unknown Source) at com.sun.jersey.samples.helloworld.resources.HelloWorldResource.getClichedMessage(HelloWorldResource.java:111) 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:585) at com.sun.jersey.impl.model.method.dispatch.EntityParamDispatchProvider$TypeOutInvoker._dispatch(EntityParamDispatchProvider.java:131) at com.sun.jersey.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:81) at com.sun.jersey.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:133) at com.sun.jersey.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:71) at com.sun.jersey.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:111) at com.sun.jersey.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:64) at com.sun.jersey.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:669) at com.sun.jersey.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:631) at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:291) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) at org.mortbay.jetty.Server.handle(Server.java:324) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:828) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450) Caused by: javax.naming.NamingException: Cannot get a remote ClassLoader [Root exception is java.lang.IllegalStateException: Empty buffer received] at org.ow2.easybeans.component.smartclient.spi.SmartContextFactory.checkInit(SmartContextFactory.java:231) at org.ow2.easybeans.component.smartclient.spi.SmartContextFactory.getInitialContext(SmartContextFactory.java:125) at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667) at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247) at javax.naming.InitialContext.init(InitialContext.java:223) at javax.naming.InitialContext.(InitialContext.java:197) at org.ow2.easybeans.rpc.rmi.client.RMIClientRPC.sendEJBRequest(RMIClientRPC.java:85) ... 34 more Caused by: java.lang.IllegalStateException: Empty buffer received at org.ow2.easybeans.component.smartclient.client.AskingClassLoader.getOpCode(AskingClassLoader.java:338) at org.ow2.easybeans.component.smartclient.client.AskingClassLoader.getProviderURL(AskingClassLoader.java:309) at org.ow2.easybeans.component.smartclient.spi.SmartContextFactory.checkInit(SmartContextFactory.java:215) ... 40 more Caused by: javax.naming.NamingException: Cannot get a remote ClassLoader [Root exception is java.lang.IllegalStateException: Empty buffer received] at org.ow2.easybeans.component.smartclient.spi.SmartContextFactory.checkInit(SmartContextFactory.java:231) at org.ow2.easybeans.component.smartclient.spi.SmartContextFactory.getInitialContext(SmartContextFactory.java:125) at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667) at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247) at javax.naming.InitialContext.init(InitialContext.java:223) at javax.naming.InitialContext.(InitialContext.java:197) at org.ow2.easybeans.rpc.rmi.client.RMIClientRPC.sendEJBRequest(RMIClientRPC.java:85) at org.ow2.easybeans.proxy.client.ClientRPCInvocationHandler.invoke(ClientRPCInvocationHandler.java:144) at $Proxy29.findEmployee(Unknown Source) at com.sun.jersey.samples.helloworld.resources.HelloWorldResource.getClichedMessage(HelloWorldResource.java:111) 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:585) at com.sun.jersey.impl.model.method.dispatch.EntityParamDispatchProvider$TypeOutInvoker._dispatch(EntityParamDispatchProvider.java:131) at com.sun.jersey.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:81) at com.sun.jersey.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:133) at com.sun.jersey.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:71) at com.sun.jersey.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:111) at com.sun.jersey.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:64) at com.sun.jersey.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:669) at com.sun.jersey.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:631) at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:291) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) at org.mortbay.jetty.Server.handle(Server.java:324) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:828) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450) Caused by: java.lang.IllegalStateException: Empty buffer received at org.ow2.easybeans.component.smartclient.client.AskingClassLoader.getOpCode(AskingClassLoader.java:338) at org.ow2.easybeans.component.smartclient.client.AskingClassLoader.getProviderURL(AskingClassLoader.java:309) at org.ow2.easybeans.component.smartclient.spi.SmartContextFactory.checkInit(SmartContextFactory.java:215) ... 40 more Caused by: java.lang.IllegalStateException: Empty buffer received at org.ow2.easybeans.component.smartclient.client.AskingClassLoader.getOpCode(AskingClassLoader.java:338) at org.ow2.easybeans.component.smartclient.client.AskingClassLoader.getProviderURL(AskingClassLoader.java:309) at org.ow2.easybeans.component.smartclient.spi.SmartContextFactory.checkInit(SmartContextFactory.java:215) at org.ow2.easybeans.component.smartclient.spi.SmartContextFactory.getInitialContext(SmartContextFactory.java:125) at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667) at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247) at javax.naming.InitialContext.init(InitialContext.java:223) at javax.naming.InitialContext.(InitialContext.java:197) at org.ow2.easybeans.rpc.rmi.client.RMIClientRPC.sendEJBRequest(RMIClientRPC.java:85) at org.ow2.easybeans.proxy.client.ClientRPCInvocationHandler.invoke(ClientRPCInvocationHandler.java:144) at $Proxy29.findEmployee(Unknown Source) at com.sun.jersey.samples.helloworld.resources.HelloWorldResource.getClichedMessage(HelloWorldResource.java:111) 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:585) at com.sun.jersey.impl.model.method.dispatch.EntityParamDispatchProvider$TypeOutInvoker._dispatch(EntityParamDispatchProvider.java:131) at com.sun.jersey.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:81) at com.sun.jersey.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:133) at com.sun.jersey.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:71) at com.sun.jersey.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:111) at com.sun.jersey.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:64) at com.sun.jersey.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:669) at com.sun.jersey.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:631) at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:291) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) at org.mortbay.jetty.Server.handle(Server.java:324) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:828) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450) 2/ with the local session bean interface call I have this exception : com.sun.jersey.api.container.ContainerCheckedException: javax.naming.NamingException: Cannot unwrap object 'UnicastJNDIReferenceWrapper_Stub[UnicastRef [liveRef: [endpoint:[155.132.232.215:54732](remote),objID:[15]]]]' with name 'EmployeeSession' :Cannot find the server with id '0'. [Root exception is java.lang.IllegalStateException: Cannot find the server with id '0'.] at com.sun.jersey.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:89) at com.sun.jersey.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:133) at com.sun.jersey.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:71) at com.sun.jersey.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:111) at com.sun.jersey.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:64) at com.sun.jersey.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:669) at com.sun.jersey.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:631) at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:291) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) at org.mortbay.jetty.Server.handle(Server.java:324) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:828) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450) Caused by: javax.naming.NamingException: Cannot unwrap object 'UnicastJNDIReferenceWrapper_Stub[UnicastRef [liveRef: [endpoint:[155.132.232.215:54732](remote),objID:[15]]]]' with name 'EmployeeSession' :Cannot find the server with id '0'. [Root exception is java.lang.IllegalStateException: Cannot find the server with id '0'.] at org.ow2.carol.rmi.exception.NamingExceptionHelper.create(NamingExceptionHelper.java:50) at org.ow2.carol.jndi.spi.AbsContext.defaultUnwrapObject(AbsContext.java:118) at org.ow2.carol.jndi.spi.JRMPContext.unwrapObject(JRMPContext.java:86) at org.ow2.carol.jndi.spi.AbsContext.lookup(AbsContext.java:142) at org.ow2.carol.jndi.spi.AbsContext.lookup(AbsContext.java:152) at javax.naming.InitialContext.lookup(InitialContext.java:351) at org.ow2.carol.jndi.spi.MultiContext.lookup(MultiContext.java:117) at javax.naming.InitialContext.lookup(InitialContext.java:351) at com.sun.jersey.samples.helloworld.resources.HelloWorldResource.getClichedMessage(HelloWorldResource.java:104) 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:585) at com.sun.jersey.impl.model.method.dispatch.EntityParamDispatchProvider$TypeOutInvoker._dispatch(EntityParamDispatchProvider.java:131) at com.sun.jersey.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:81) ... 25 more Caused by: java.lang.IllegalStateException: Cannot find the server with id '0'. at org.ow2.easybeans.proxy.client.LocalCallInvocationHandler.initFactory(LocalCallInvocationHandler.java:108) at org.ow2.easybeans.proxy.client.LocalCallInvocationHandler.(LocalCallInvocationHandler.java:91) at org.ow2.easybeans.proxy.factory.LocalCallFactory.buildLocalHandler(LocalCallFactory.java:111) at org.ow2.easybeans.proxy.factory.LocalCallFactory.getObjectInstance(LocalCallFactory.java:77) at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304) at org.ow2.carol.jndi.spi.AbsContext.defaultUnwrapObject(AbsContext.java:111) ... 38 more Caused by: javax.naming.NamingException: Cannot unwrap object 'UnicastJNDIReferenceWrapper_Stub[UnicastRef [liveRef: [endpoint:[155.132.232.215:54732](remote),objID:[15]]]]' with name 'EmployeeSession' :Cannot find the server with id '0'. [Root exception is java.lang.IllegalStateException: Cannot find the server with id '0'.] at org.ow2.carol.rmi.exception.NamingExceptionHelper.create(NamingExceptionHelper.java:50) at org.ow2.carol.jndi.spi.AbsContext.defaultUnwrapObject(AbsContext.java:118) at org.ow2.carol.jndi.spi.JRMPContext.unwrapObject(JRMPContext.java:86) at org.ow2.carol.jndi.spi.AbsContext.lookup(AbsContext.java:142) at org.ow2.carol.jndi.spi.AbsContext.lookup(AbsContext.java:152) at javax.naming.InitialContext.lookup(InitialContext.java:351) at org.ow2.carol.jndi.spi.MultiContext.lookup(MultiContext.java:117) at javax.naming.InitialContext.lookup(InitialContext.java:351) at com.sun.jersey.samples.helloworld.resources.HelloWorldResource.getClichedMessage(HelloWorldResource.java:104) 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:585) at com.sun.jersey.impl.model.method.dispatch.EntityParamDispatchProvider$TypeOutInvoker._dispatch(EntityParamDispatchProvider.java:131) at com.sun.jersey.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:81) at com.sun.jersey.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:133) at com.sun.jersey.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:71) at com.sun.jersey.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:111) at com.sun.jersey.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:64) at com.sun.jersey.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:669) at com.sun.jersey.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:631) at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:291) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) at org.mortbay.jetty.Server.handle(Server.java:324) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:828) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450) Caused by: java.lang.IllegalStateException: Cannot find the server with id '0'. at org.ow2.easybeans.proxy.client.LocalCallInvocationHandler.initFactory(LocalCallInvocationHandler.java:108) at org.ow2.easybeans.proxy.client.LocalCallInvocationHandler.(LocalCallInvocationHandler.java:91) at org.ow2.easybeans.proxy.factory.LocalCallFactory.buildLocalHandler(LocalCallFactory.java:111) at org.ow2.easybeans.proxy.factory.LocalCallFactory.getObjectInstance(LocalCallFactory.java:77) at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304) at org.ow2.carol.jndi.spi.AbsContext.defaultUnwrapObject(AbsContext.java:111) ... 38 more Any idea will be a great help for me. Didier

    JIRA | 8 years ago | Didier Boudigue
    javax.naming.NamingException: Cannot unwrap object 'UnicastJNDIReferenceWrapper_Stub[UnicastRef [liveRef: [endpoint:[155.132.232.215:54732](remote),objID:[15]]]]' with name 'EmployeeSession' :Cannot find the server with id '0'. [Root exception is java.lang.IllegalStateException: Cannot find the server with id '0'.]

    2 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Cannot find object in dispatcher with id k22-baz340tf-1-fbh040tf-5h3vog-k1o4c5

      at org.jboss.jms.wireformat.ConnectionCreateSessionDelegateRequest.serverInvoke()
    2. org.jboss.jms
      JMSServerInvocationHandler.invoke
      1. org.jboss.jms.wireformat.ConnectionCreateSessionDelegateRequest.serverInvoke(ConnectionCreateSessionDelegateRequest.java:84)
      2. org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:143)
      2 frames
    3. org.jboss.remoting
      Client.invoke
      1. org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:866)
      2. org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:608)
      3. org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:420)
      4. org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:173)
      5. org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:174)
      6. org.jboss.remoting.Client.invoke(Client.java:1645)
      7. org.jboss.remoting.Client.invoke(Client.java:559)
      8. org.jboss.remoting.Client.invoke(Client.java:547)
      8 frames
    4. org.jboss.jms
      StateCreationAspect.handleCreateSessionDelegate
      1. org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:189)
      2. org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:160)
      3. org.jboss.jms.client.delegate.ClientConnectionDelegate.org$jboss$jms$client$delegate$ClientConnectionDelegate$createSessionDelegate$aop(ClientConnectionDelegate.java:186)
      4. org.jboss.jms.client.delegate.ClientConnectionDelegate$createSessionDelegate_6052335267724906805.invokeNext(ClientConnectionDelegate$createSessionDelegate_6052335267724906805.java)
      5. org.jboss.jms.client.container.StateCreationAspect.handleCreateSessionDelegate(StateCreationAspect.java:122)
      5 frames
    5. org.jboss.aop
      StateCreationAspect2.invoke
      1. org.jboss.aop.advice.org.jboss.jms.client.container.StateCreationAspect2.invoke(StateCreationAspect2.java)
      1 frame
    6. org.jboss.jms
      ConnectionAspect.handleCreateSessionDelegate
      1. org.jboss.jms.client.delegate.ClientConnectionDelegate$createSessionDelegate_6052335267724906805.invokeNext(ClientConnectionDelegate$createSessionDelegate_6052335267724906805.java)
      2. org.jboss.jms.client.container.ConnectionAspect.handleCreateSessionDelegate(ConnectionAspect.java:164)
      2 frames
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    8. org.jboss.aop
      PerInstanceAdvice.invoke
      1. org.jboss.aop.advice.PerInstanceAdvice.invoke(PerInstanceAdvice.java:121)
      1 frame
    9. org.jboss.jms
      FailoverValveInterceptor.invoke
      1. org.jboss.jms.client.delegate.ClientConnectionDelegate$createSessionDelegate_6052335267724906805.invokeNext(ClientConnectionDelegate$createSessionDelegate_6052335267724906805.java)
      2. org.jboss.jms.client.container.FailoverValveInterceptor.invoke(FailoverValveInterceptor.java:92)
      2 frames
    10. org.jboss.aop
      PerInstanceInterceptor.invoke
      1. org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:105)
      1 frame
    11. org.jboss.jms
      ClosedInterceptor.invoke
      1. org.jboss.jms.client.delegate.ClientConnectionDelegate$createSessionDelegate_6052335267724906805.invokeNext(ClientConnectionDelegate$createSessionDelegate_6052335267724906805.java)
      2. org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:170)
      2 frames
    12. org.jboss.aop
      PerInstanceInterceptor.invoke
      1. org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:105)
      1 frame
    13. org.jboss.jms
      JBossConnection.createSession
      1. org.jboss.jms.client.delegate.ClientConnectionDelegate$createSessionDelegate_6052335267724906805.invokeNext(ClientConnectionDelegate$createSessionDelegate_6052335267724906805.java)
      2. org.jboss.jms.client.delegate.ClientConnectionDelegate.createSessionDelegate(ClientConnectionDelegate.java)
      3. org.jboss.jms.client.JBossConnection.createSessionInternal(JBossConnection.java:269)
      4. org.jboss.jms.client.JBossConnection.createSession(JBossConnection.java:91)
      4 frames
    14. com.enfusion.feed
      FeedSession.createJMSFeedSession
      1. com.enfusion.feed.client.transport.jms.JMSFeedSessionTransport.<init>(JMSFeedSessionTransport.java:100)
      2. com.enfusion.feed.client.FeedSession.createJMSFeedSession(FeedSession.java:35)
      2 frames
    15. com.enfusion.fas
      RemoteDocument.<init>
      1. com.enfusion.fas.feeds.report.RemoteDocument.<init>(RemoteDocument.java:60)
      1 frame
    16. com.enfusion.mazzika
      ReportComponent$DynamicReportWorker.doInBackground
      1. com.enfusion.mazzika.report.service.ReportComponent$DynamicReportWorker.doInBackground(ReportComponent.java:560)
      1 frame
    17. Java RT
      Thread.run
      1. javax.swing.SwingWorker$1.call(SwingWorker.java:278)
      2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      3. java.util.concurrent.FutureTask.run(FutureTask.java:138)
      4. javax.swing.SwingWorker.run(SwingWorker.java:317)
      5. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      6. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      7. java.lang.Thread.run(Thread.java:619)
      7 frames