• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JNDI Lookup for a Local EJB in JBoss

 
Sylvain Bouchard
Ranch Hand
Posts: 41
Java ME Objective C Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ranchers,

I try to make a working example of a local EJB.
Everything is deployed on the server with no errors.
But when I try to run the servlet, I got this error.
I use jboss-4.0.3SP1

I've searched on the JBOSS web site but didn't find any help.
Hope someone had this problem before...

15:35:31,375 INFO [EARDeployer] Started J2EE application: file:/D:/App/jboss-4.0.3SP1/server/default/deploy/HeadFirstEAR.ear
15:35:50,593 INFO [STDOUT] javax.naming.NameNotFoundException: ejb not bound
15:35:50,593 INFO [STDOUT] at org.jnp.server.NamingServer.getBinding(NamingServer.java:514)

-------------------------------------------------------------------------
Here's my files
-------------------------------------------------------------------------
EJB-JAR.XML


JBOSS-WEB.XML


WEB.XML


CLIENT


Thanks
Sylvain
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic