[jboss-user] [EJB3] - Re: javax.naming.NameNotFoundException in remote client

Antoine Brun do-not-reply at jboss.com
Mon Mar 14 04:15:44 EDT 2011


Antoine Brun [http://community.jboss.org/people/abr] created the discussion

"Re: javax.naming.NameNotFoundException in remote client"

To view the discussion, visit: http://community.jboss.org/message/592960#592960

--------------------------------------------------------------
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
[http://community.jboss.org/message/592960#592960]

Start a new discussion in EJB3 at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2029]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110314/51457599/attachment.html 


More information about the jboss-user mailing list