I am attempting to create a client that uses the EJB remote interface. When I call the narrow() method I get this exception: java.lang.ClassCastException: Cannot narrow remote object to {package.class}. Any idea why?
Here are some most probable reasons:: (1) The version of the remote interface you are trying to expose and the version on the server dont match (2) You are using a wrong jndi name to do the lookup Also we could help you more, if you give your environment Regards Meka Toka