This week's book giveaway is in the Agile forum.
We're giving away four copies of Head First Agile and have Andrew Stellman & Jennifer Greene on-line!
See this thread for details.
Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

EJB  RSS feed

 
jethin chandran
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hI,
I am learning EJB.. I tried to run a simple ejb program using weblogic server.. I compiled all the necessary files and deployment too was succesful..
But when i tried to run the program I am getting a JNDi naming exception...
The JNDI name that i gave at the time of deployment and what i gave in the
client program is also same.. Can anybody help me out??
 
Jaikiran Pai
Sheriff
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello "jethin"

Welcome to JavaRanch

We are glad to have you here. We have a naming policy at JavaRanch. Your displayed name must consist of a first name (or an initial), a space, and a family name (in that order) and not be obviously fictitious. Please take a moment to change it, which you can do right here.
 
Jaikiran Pai
Sheriff
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
But when i tried to run the program I am getting a JNDi naming exception...
The JNDI name that i gave at the time of deployment and what i gave in the
client program is also same..


Please post the exception stacktrace, the xml file where you have configured the jndi name and the client program where you are doing the lookup.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!