"mvpc" wrote : java.lang.ClassCastException: javax.naming.Reference cannot be
cast to br.com.original.negocio.email.interfaces.IEmailLocal
This is a common symptom that you don't have the proxy object factories on your client
CP. Typically this is fixed by ensuring you've got
$JBOSS_HOME/client/jbossall-client.jar defined. But I see some other issues.
* Your Unit Test is set up in a different JVM from the container? If so you'll need
to lookup a business remote reference (ie. @Remote).
* Don't push local component or local business proxies through
PortableRemoteObject.narrow...this is for the EJB 2.x remote home view only.
S,
ALR
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4221054#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...