[jboss-user] [JBoss Remoting] - Need help invoking EJB 2.0 on JBoss 4.3.0 from JBoss 4.0.5 client

Ron Sigal do-not-reply at jboss.com
Mon Jul 5 16:06:27 EDT 2010

Ron Sigal [http://community.jboss.org/people/ron.sigal%40jboss.com] replied to the discussion

"Need help invoking EJB 2.0 on JBoss 4.3.0 from JBoss 4.0.5 client"

To view the discussion, visit: http://community.jboss.org/message/551079#551079

Hi Clive,

Yeah, that's a problem.  Setting the -Djboss.remoting.pre_2_0_compatible=true flag affects Remoting throughout the JVM, so you can't satisfy both EJB and JBossMessaging.  I don't think there's a way around that in AS 4, which uses Remoting version 2.2.x.

On the other hand, AS 5 uses Remoting 2.4/2.5, which has an option for setting the "remotingVersion" parameter on each Remoting Connector.  So, in $JBOSS_HOME/server/$CONFIG/deploy/remotng-jboss-beans.xml, you could update the "UnifiedInvokerConfiguration" bean with

<!-- Parameters visible to both client and server -->
      <property name="invokerLocatorParameters">
         <map keyClass="java.lang.String" valueClass="java.lang.String">

That would configure EJB2 to use the old wire format, and JBossMessaging would default to the new wire format.



Reply to this message by going to Community

Start a new discussion in JBoss Remoting at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100705/d9b47485/attachment.html 

More information about the jboss-user mailing list