[jboss-user] [EJB/JBoss] - Re: java.lang.ClassCastException: org.jnp.interfaces.NamingC

mcayci do-not-reply at jboss.com
Mon Aug 27 11:35:09 EDT 2007


Hi,

I was able to fix the issue.  It turns out that I needed to access the SLSB as follows in the client:

            ReadCrimeReport readCrimeReport = (ReadCrimeReport)context.lookup("ReadCrimeReport/remote");


Please note ".../remote" in the lookup.

Thanks,

Mustafa

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078394#4078394

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078394



More information about the jboss-user mailing list