Why are you all assuming thay all ClassCastExceptions are equal? Some of you are talking about remote access to EJBs and some of you are talking about accessing EJBs from web applications.
anonymous wrote : Can anybody explain *why* this is needed? This doesn't look like a standard thing to do You have not bothered to describe the architecture of your deployment, there are lots of reasons why people see ClassCastExceptions and they are dependant on what you are deploying. I would guess that you are deploying a war that contains the home and remote interfaces of your bean, if so this is the source of the problem. Remove the interfaces from the war and you should be able to access the bean without the problems. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3900151#3900151 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3900151 ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
