If you're running this client from main, it'll be in its own instance of the JVM,
so your client (even if running on the same machine as the EJB) is *not* local. Local
refers to "within same JVM" only, and will take advantage of certain in-JVM
benefits, like being able to pass objects by reference, etc...
So in other words, your error isn't actually an error. Use the remote proxy for
remote clients. If you want to call your EJB from within another process (perhaps another
EJB in the container), then you can use the local interface.
S,
ALR
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3972485#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...