• Post Reply Bookmark Topic Watch Topic
  • New Topic

Exception in Running EJB application  RSS feed

 
khader shafeeq
Greenhorn
Posts: 10
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear friends,
I am novice in EJB3. I am trying to do a simple calculation application using EJB3, eclipse IDE and JBoss. But when i try to run program a javax.naming.NameNotFoundException exception is thrown at the lookup line. please give me a solution for this.
try to do a program from http://fouad-saidy.blogspot.com/2010/01/step-by-step-create-simple-calculator.html.
 
Kakollu Durga Prasad
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1. First you should have set properties like this:



2. Then you have to get Initial context :



3. please check all necessary Jars is there in class path...

It will work fine...
 
khader shafeeq
Greenhorn
Posts: 10
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thankyou
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!