Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Websphere needs restart for the JNDI lookup to work!

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?!
 
Bartender
Posts: 2661
19
Netbeans IDE C++ Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
Essam Fayez
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
 
Time is the best teacher, but unfortunately, it kills all of its students - Robin Williams. tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic