[jboss-user] org.jboss.remoting.InvokerLocator exception on runtime?
Edwin
panic_n_peace at yahoo.com
Tue Apr 24 13:39:44 EDT 2007
Hi all,
I am using Tapestry(4.1.1) based web client to access my Remote HelloWorld EJB. I deploy my jar and war file on JBoss 4.0.5 which goes fine and my Bean works from the main method of a simple client. But the same code does not work from my web client. I am new to EJB3 and JBoss so I might be missing something simple but I think my classpaths are fine since standalone client works.
The exception on runtime is:
org.jboss.remoting.InvokerLocator cannot be cast to org.jboss.remoting.InvokerLocator
The stack trace goes:
org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:47)
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:61)
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:53)
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:77)
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRemoteProxy.java:102)
$Proxy88.hello(Unknown Source)
com.abc.pro.client.general.ManualHello.login(ManualHello.java:33)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown Source)
org.apache.tapestry.listener.ListenerMethodInvokerImpl.invokeTargetMethod(ListenerMethodInvokerImpl.java:203)
org.apache.tapestry.listener.ListenerMethodInvokerImpl.invokeListenerMethod(ListenerMethodInvokerImpl.java:146)
org.apache.tapestry.listener.ListenerMethodInvokerImpl.searchAndInvoke(ListenerMethodInvokerImpl.java:129)
org.apache.tapestry.listener.ListenerMethodInvokerImpl.invokeListenerMethod(ListenerMethodInvokerImpl.java:70)
org.apache.tapestry.listener.SyntheticListener.actionTriggered(SyntheticListener.java:53)
org.apache.tapestry.listener.ListenerInvokerTerminator.invokeListener(ListenerInvokerTerminator.java:49)
$ListenerInvoker_1122498ce40.invokeListener($ListenerInvoker_1122498ce40.java)
$ListenerInvoker_1122498ce3f.invokeListener($ListenerInvoker_1122498ce3f.java)
org.apache.tapestry.form.Form.renderComponent(Form.java:209)
org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:710)
org.apache.tapestry.services.impl.DefaultResponseBuilder.render(DefaultResponseBuilder.java:174)
org.apache.tapestry.form.Form.rewind(Form.java:278)
org.apache.tapestry.engine.RequestCycle.rewindForm(RequestCycle.java:460)
org.apache.tapestry.form.Form.trigger(Form.java:289)
org.apache.tapestry.engine.DirectService.triggerComponent(DirectService.java:170)
org.apache.tapestry.engine.DirectService.service(DirectService.java:146)
$IEngineService_1122498cebc.service($IEngineService_1122498cebc.java)
org.apache.tapestry.services.impl.EngineServiceOuterProxy.service(EngineServiceOuterProxy.java:72)
org.apache.tapestry.engine.AbstractEngine.service(AbstractEngine.java:246)
org.apache.tapestry.services.impl.InvokeEngineTerminator.service(InvokeEngineTerminator.java:54)
$WebRequestServicer_1122498ce93.service($WebRequestServicer_1122498ce93.java)
$WebRequestServicer_1122498ce8f.service($WebRequestServicer_1122498ce8f.java)
org.apache.tapestry.services.impl.WebRequestServicerPipelineBridge.service(WebRequestServicerPipelineBridge.java:61)
$ServletRequestServicer_1122498ce75.service($ServletRequestServicer_1122498ce75.java)
org.apache.tapestry.request.DecodedRequestInjector.service(DecodedRequestInjector.java:55)
$ServletRequestServicerFilter_1122498ce71.service($ServletRequestServicerFilter_1122498ce71.java)
$ServletRequestServicer_1122498ce77.service($ServletRequestServicer_1122498ce77.java)
org.apache.tapestry.multipart.MultipartDecoderFilter.service(MultipartDecoderFilter.java:52)
$ServletRequestServicerFilter_1122498ce6f.service($ServletRequestServicerFilter_1122498ce6f.java)
$ServletRequestServicer_1122498ce77.service($ServletRequestServicer_1122498ce77.java)
org.apache.tapestry.services.impl.SetupRequestEncoding.service(SetupRequestEncoding.java:53)
$ServletRequestServicerFilter_1122498ce73.service($ServletRequestServicerFilter_1122498ce73.java)
$ServletRequestServicer_1122498ce77.service($ServletRequestServicer_1122498ce77.java)
$ServletRequestServicer_1122498ce69.service($ServletRequestServicer_1122498ce69.java)
org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java:123)
org.apache.tapestry.ApplicationServlet.doPost(ApplicationServlet.java:168)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
java.lang.Thread.run(Unknown Source)
Can someone please comment on this. I have no clue to this. Any help will be much appreciated.
Best,
Ed
---------------------------------
Ahhh...imagining that irresistible "new car" smell?
Check outnew cars at Yahoo! Autos.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20070424/e605601d/attachment.html
More information about the jboss-user
mailing list