Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem with JNDI lookup

 
viswanath balam
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I'm getting this problem while running my simple client.
javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial
Can any body came across this problem, if yes , please help me in this.

 
Lave Kulshreshtha
Ranch Hand
Posts: 106
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Before I can help you, can you please tell me couple of things
1). How are you initializing InitialContext class?
2). Are you using stand alone client?
3). Which application server you are using and have to prepared a vendor specific xml file also long with ejb-jar.xml.

-Lave
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic