I made a mistake in the last code. The correct is: Object o = ctx.lookup("ejb/MyCGEBean"); | MyGPAHome home = (MyGPAHome) PortableRemoteObject.narrow( o, MyGPAHome.class );[\code] | | The ClassCastException occurs in the last code line.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3858247#3858247 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3858247 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user