Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Name Not Found Exception am getting frequently

 
Meet Gaurav
Ranch Hand
Posts: 492
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Am frequently getting below exception

javax.naming.NameNotFoundException: While trying to look up comp/env/jdbcTest

Again if I restart the server then it's working fine..


Someone please suggest me the root cause..
 
sudipto shekhar
Ranch Hand
Posts: 823
Chrome Eclipse IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I suppose 'jdbcTest' is the class that is to be looked up!

When do you get this exception?

Could you please post the complete stack trace?

Thanks.
 
Meet Gaurav
Ranch Hand
Posts: 492
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Problem is not with the lookup, I deployed a EJB and it's working fine.. Sometimes am getting this exception, If I restarted the server it's working fine for 3 - 4 hrs and after that again am facing the same issue.

Looks like some server issue.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic