• 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 ...
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

jndi lookup problem....

Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hii. i am simply trying to access a deployed bean in IBM websphere,but i don't want to embed the naming server details in the client code,i want it to be there in a jndi.properties file...and i have done so.... the contents of jndi.properties are as follows.....


and i have added the location of this file into the classpath, but the jre does'nt seem to finding this...and here is what i get as error message....

javax.naming.NoInitialContextException cannot instantiate class: org.jboss.iiop.naming.ORBInitialContextFactory[root exception is NoClassFoundException]......

please help...

Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you get a ClassNotFoundException, this means the jar containing the org.jboss.iiop.naming.ORBInitialContextFactory class is not in your client's classpath.
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic