File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes JNDI look up code in jar file. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "JNDI look up code in jar file." Watch "JNDI look up code in jar file." New topic
Author

JNDI look up code in jar file.

Ramu Valivarthi
Ranch Hand

Joined: Apr 24, 2007
Posts: 37

Hi I have DAO class which contains JNDI look up code.I making a jar with that class for performing some dataBase operations and deployed in JBoss.
Iam getting the error like javax.naming.NoInitialContextException: Need to specify class name in environment .
I have quick question , Shall we have JNDI look up code in jar file? Can some one please help me?
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Can we see your error and your code?


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JNDI look up code in jar file.