• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JNDI Lookup for a Local EJB in JBoss

 
Ranch Hand
Posts: 41
Java ME Spring Objective C
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
This guy is skipping without a rope. At least, that's what this tiny ad said:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic