Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Getting an error "jdbc/null" not found in context "java:comp/env"

 
Akhilesh Murthy
Greenhorn
Posts: 25
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have deployed my application in Websphere and given 2 jdbc providers with a data source for each (both the database instance have same URL). my application is getting deployed successfully.
Whenever i am calling my java class through UI though, i am getting this error message in the logs "jdbc/null" not found in context "java:comp/env".

I have verified both my web.xml (in deployed area and WEB-INF path) and both are correct.

Please let me know if i have missed something.

Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic