• 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 problem in OC4J Application Server

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Techies,

I have a small application based on ejb3. I have these files--
Entity Bean
Stateless Session Bean
Local interface

I have given the jndi lookup code in my jsp file. I have deployed the application in OC4J Application Server and its done successfully but i m getting error that the jndi name i m giving is not found. This is the lookup code

firstSessionBeanLocal local=(firstSessionBeanLocal)initialContext.lookup("ejblocal:firstEJB/firstEJBEJB.jar/firstSessionBean#sessionBean.firstSessionBeanLocal");

but it is not working. Can anyone help me.



thanks
Bhupender
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic