0 Replies Latest reply on Jan 20, 2006 3:52 PM by Vivek Srivastav

    There is really no way in 4.0.3SP1

    Vivek Srivastav Newbie

      I tried to access a stateless session bean from a service. I can't typecast the object I obtain by lookup to the Session Bean's remote interface. I get ClassCastException: $187Proxy (or something like that), when typecasting. So I assume it's a Class Loader issue. When I remove the remote interface class from the SAR archive, I get NoClassDefFound Exception. Essentially a Stateless Session Bean can't be referenced from MBean Service.