[jboss-user] [EJB 3.0] - Re: problem looking up my session ejb

jaikiran do-not-reply at jboss.com
Sun Jun 17 20:43:45 EDT 2007


anonymous wrote :  +- MediasBean (class: org.jnp.interfaces.NamingContext)
  | | +- remote (proxy: $Proxy73 implements interface org.jboss.projectland.Medias,interface org.jboss.ejb3.JBossProxy,interface javax.ejb.EJBObject) 

anonymous wrote : Medias medias = (Medias) ctx.lookup(MediasBean.class.getName()+"/remote");
  | 

Change your lookup code to:

Medias medias = (Medias) ctx.lookup("MediasBean/remote");



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

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



More information about the jboss-user mailing list