aspose file tools*
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


Win a copy of Spring in Action this week in the Spring forum!
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
 
Consider Paul's rocket mass heater.
 
subject: Warning: Resource reference is not defined for JNDI name