[jboss-user] [JBoss Portal Users] - EJB3 access issue between portal 2.7.2 and AS 5.1.0GA

belcar do-not-reply at jboss.com
Thu Sep 24 04:41:15 EDT 2009


I've deployed an EJB3 service on JBoss AS 5.1.0.GA.  I now want to interact with this service from portlets deployed on JBoss Portal 2.7.2 (on JBoss AS 4.2.3).  For some reason the remoting fails with a NullPointerException.

 Caused by: java.lang.NullPointerException
  | 	at org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessContainer.java:379)
  | 	at org.jboss.ejb3.session.InvokableContextClassProxyHack._dynamicInvoke(InvokableContextClassProxyHack.java:53)
  | 	at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:91)
  | 	at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82)
  | 	at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:891)
  | 	at org.jboss.remoting.transport.socket.ServerThread.completeInvocation(ServerThread.java:744)
  | 	at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:697)
  | 	at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:524)
  | 	at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:232)
  | 	at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:163)
  | 	at org.jboss.remoting.Client.invoke(Client.java:1634)
  | 	at org.jboss.remoting.Client.invoke(Client.java:548)
  | 	at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:62)
  | 	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | 	at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:67)
  | 	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | 	at org.jboss.ejb3.security.client.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:65)
  | 	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | 	at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:74)
  | 	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | 	at org.jboss.aspects.remoting.PojiProxy.invoke(PojiProxy.java:61)
  | 	at $Proxy295.invoke(Unknown Source)
  | 	at org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandlerBase.invoke(SessionProxyInvocationHandlerBase.java:207)
  | 	at org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandlerBase.invoke(SessionProxyInvocationHandlerBase.java:164)
  | 

Is this a bug or is there an incompatibility between version 4.2.3 and 5.1.0.GA?  Should I instead be running both servers on level 4.2.3?  Maybe this is a classloading issue, since I can access the service from a CLI environment without a problem.

Thank you

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256812#4256812

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256812



More information about the jboss-user mailing list