my dog learned polymorphism*
The moose likes BEA/Weblogic and the fly likes Name Not Found Exception am getting frequently Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Name Not Found Exception am getting frequently" Watch "Name Not Found Exception am getting frequently" New topic
Author

Name Not Found Exception am getting frequently

Meet Gaurav
Ranch Hand

Joined: Oct 08, 2008
Posts: 492
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

Joined: Apr 02, 2008
Posts: 818

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.


Regards, Sud.
SCJP 5 ScjpFAQ JLS
Meet Gaurav
Ranch Hand

Joined: Oct 08, 2008
Posts: 492
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Name Not Found Exception am getting frequently
 
Similar Threads
File upload problem in websphere
java.sql.SQLException: An attempt by a client to checkout a Connection has timed out.
FacesContext released
JTAPI
Exception Occured during Even Dispatchign