[jboss-user] [Remoting] - Re: call a remote EJB

ron.sigal@jboss.com do-not-reply at jboss.com
Tue May 15 02:59:50 EDT 2007


The exception

anonymous wrote : 
  | java.lang.Exception: Can not make remoting client invocation due to not being connected to server
  | 

is thrown when org.jboss.remoting.Client.invoke() is called before Client.connect() is called.  This restriction exists in Remoting versions 2.0.0 and above, but not before.  The current version of org.jboss.aspects.remoting.InvokeRemoteInterceptor, which comes with JBossAS 4.2, calls Client.connect(), but the version that comes with JBossAS 4.0.5 does not.  

InvokeRemoteInterceptor is found in jboss-4.2.0.GA/server/default/deploy/jboss-aop-jdk50.deployer/jboss-aspect-library-jdk50.jar and jboss-4.2.0.GA/client/jboss-aspect-jdk50-client.jar.  Make sure you're using the correct versions of these jars.

-Ron

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

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



More information about the jboss-user mailing list