This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of Real-World Software Development: A Project-Driven Guide to Fundamentals in Java and have Dr. Raoul-Gabriel Urma & Richard Warburton on-line!
See this thread for details.
Win a flower (🌹) or copy of Real-World Software Development: A Project-Driven Guide to Fundamentals in Java (📚) this week in the Agile and Other Processes forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Liutauras Vilda
  • Knute Snortum
  • Bear Bibeault
master stewards:
  • Devaka Cooray
  • Jeanne Boyarsky
  • Junilu Lacar
garden masters:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • salvin francis
gardeners:
  • Tim Holloway
  • Piet Souris
  • Frits Walraven

Deprecated usage of direct JNDI lookup

 
pioneer
Posts: 69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I used to acccess the DB from the web application using JNDI lookup.

Something like


It worked for a few months. I accessed data, retrieved it, displayed it, manipulated it and so on. Then I guess they updated Websphere with a patch and suddenly I couldn't access the DB anymore. Nothing in my DBDAO changed.


The Server Admin sent me a message about some error/warning.
It's as follows :





So I tried to use



But I still don't have access to the DB anymore. Not sure what the problem is because I haven't changed anything on my web application to where it shouldn't access the DB.
 
If you are using a wood chipper, you are doing it wrong. Even on this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!