wood burning stoves 2.0*
The moose likes JDBC and the fly likes Warning: Resource reference is not defined for JNDI name Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Warning: Resource reference is not defined for JNDI name" Watch "Warning: Resource reference is not defined for JNDI name" New topic
Author

Warning: Resource reference is not defined for JNDI name

David Yutzy
tumbleweed and gunslinger
Ranch Hand

Joined: Jun 29, 2001
Posts: 192
Getting the above message when using the following code:



It works, but I get this message in the log:



However, you may note that the jndiContext isn't in the proper format which should be:



When I use this jndiContextValue, I get NullPointerExceptions when I perform a DataSource.getConnection() call.

I'm using: Sun ONE Application Server 7.0.0_04
 
Don't get me started about those stupid light bulbs.
 
subject: Warning: Resource reference is not defined for JNDI name
 
Similar Threads
Warning: Resource reference is not defined for JNDI name
JNDI Resource Bindings
Testing websphere 8 beta with RAD 8.0
WAS 5 - Error while connecting to Oracle datasource:
Reference lookup problem