Are you trying to access the EJB from a stand-alone client or is your client running as an
app deployed to JBoss? Since removing the provider URL makes things suddenly work, I
suspect your client is deployed to JBoss. In which case the probable cause for the class
cast exception has to do with class loaders.
But your goal is to call a remote EJB, what problems do you encounter when you try that?
Also, how is your application packaged? Is it a war or an ear, and have you included the
EJB client jar?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985578#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...