[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">
...
<entry>
<key>remotingVersion</key>
<value>1</value>
</entry>
...
</map>
</property>
That would configure EJB2 to use the old wire format, and JBossMessaging would default to the new wire format.
-Ron
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/551079#551079]
Start a new discussion in JBoss Remoting at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2050]
-------------- 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