Yes, you need to use the remoting jar that comes with 5.1.
However, the best way to try is use AS 5.1.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4248171#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...