[jboss-user] [JNDI/Naming/Network] - Re: JBoss 4.05 GA Stateless Session Bean JNDI lookup ClassCa

tomatkist do-not-reply at jboss.com
Fri Feb 2 05:24:28 EST 2007


Ok, 

I've solved the problem somehow. The solution was to use the session bean's interface instead of the implementing class:


  | sdb = (SicherheitsDaten) CTX.lookup("JSF-REACH/SicherheitsDatenBean/local");
  | 

sdb is now of type SicherheitsDaten. SicherheitsDaten is the interface implemented by SicherheitsDatenBean, which I was using before. Now the cast from $ProxyXY works.

Cheers, 
  TS

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

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



More information about the jboss-user mailing list