JBoss Community

Re: javax.naming.NameNotFoundException in remote client

created by Antoine Brun in EJB3 - View the full discussion

Hi,

 

can you see the EJB being deployed and binded in the jboss server traces?

 

when I deploy my EJB StagingConsoleBean I get:

 

14/Mar/2011 09:06:42 INFO  [SessionSpecContainer:296] Starting jboss.j2ee:ear=ubi-api.ear,jar=ubi-api-ejb.jar,name=StagingConsoleBean,service=EJB3

14/Mar/2011 09:06:42 INFO  [EJBContainer:296] STARTED EJB: com.ubiqube.api.ejb.stagingConsole.StagingConsoleBean ejbName: StagingConsoleBean

14/Mar/2011 09:06:42 INFO  [JndiSessionRegistrarBase:296] Binding the following Entries in Global JNDI:

 

    StagingConsoleBean/remote - EJB3.x Default Remote Business Interface

    ubi-api/StagingConsoleBean/remote-com.ubiqube.api.interfaces.stagingConsole.StagingConsoleService - EJB3.x Remote Business Interface

 

 

StagingConsoleBean/remote being the JNDI name I explicitely set with the annotation:

 

@RemoteBinding(jndiBinding = "StagingConsoleBean/remote") on the bean class

 

 

Then I use "StagingConsoleBean/remote" for the JNDI lookup

 

Antoine

Reply to this message by going to Community

Start a new discussion in EJB3 at Community