File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Websphere and the fly likes Websphere needs restart for the JNDI lookup to work! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "Websphere needs restart for the JNDI lookup to work!" Watch "Websphere needs restart for the JNDI lookup to work!" New topic
Author

Websphere needs restart for the JNDI lookup to work!

Essam Fayez
Greenhorn

Joined: May 30, 2010
Posts: 6
Hello, I'm using RAD 7.5 and connected to a remote WAS 7 Server.
I'm developing a Web Application that retrieves data from an SQL Server 2005. I already did set up the JDBC and i use the JNDI to connect.
So far everything is working GREAT!
The only problem i'm facing is that from time to time the JDNI lookup fails!
but as soon as i restart the server, everything works fine again!
I tried to figure the reason behind this problem but i couldn't!
Could anyone please help?!
Jan Cumps
Bartender

Joined: Dec 20, 2006
Posts: 2477
    
    7

I am moving this post to our Websphere forum for you.
The only problem i'm facing is that from time to time the JDNI lookup fails!
Can you tell us how you know it fails? What happens? Do you get an error message?

OCUP UML fundamental and ITIL foundation
youtube channel
Essam Fayez
Greenhorn

Joined: May 30, 2010
Posts: 6
Jan Cumps wrote:I am moving this post to our Websphere forum for you.
The only problem i'm facing is that from time to time the JDNI lookup fails!
Can you tell us how you know it fails? What happens? Do you get an error message?

To be honest I can't give you specific details cause i just restarted the server minutes ago, so it's working fine right now.
The way I used to determine that the lookup failed was by handling the exception and display for example "Lookup failed"
I'll post the message that the browser displays as soon as the application fail again
Thanks alot for helping
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Websphere needs restart for the JNDI lookup to work!
 
Similar Threads
JNDI: java:comp/env bound and unbound at the same time?
JNDI problem with JBoss
Websphere needs restart for the JNDI lookup to work!
EJB 3.0 / Glassfish2u2 / JNDI Lookup for Local Interface :shock:
Web Services for EJB Session Beans