This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Websphere and the fly likes Getting an error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "Getting an error "jdbc/null" not found in context "java:comp/env"" Watch "Getting an error "jdbc/null" not found in context "java:comp/env"" New topic
Author

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

Akhilesh Murthy
Greenhorn

Joined: Oct 07, 2009
Posts: 23

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Getting an error "jdbc/null" not found in context "java:comp/env"
 
Similar Threads
Spring Context Error
Tomcat and datasource
EJB unable to find my Home interface
JNDI connection
javax.naming.NameNotFoundException: in context "java:comp/env"