Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JNDI look up code in jar file.  RSS feed

 
Ramu Valivarthi
Ranch Hand
Posts: 37
Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can we see your error and your code?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!