You don't say how you deploy your app, but if it is deployed in an ear, you need to
add the name of the ear to the jndi name:
<ear-name>/StockBean/remote
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3973514#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...