Meaningless Drivel is fun!*
The moose likes EJB and other Java EE Technologies and the fly likes jndi names for datasources Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "jndi names for datasources" Watch "jndi names for datasources" New topic
Author

jndi names for datasources

aim aim
Greenhorn

Joined: Nov 23, 2003
Posts: 1
hi,
i m trying to get datasource using a name lookup with "java:/DefaultDS" in
an indepentendt client java application. however i get "name not bound" exception.
When i use "java:/DefaultDS" within container it works fine.
so what is the problem? is it about being in <local-tx-datasource> tag?
 
jQuery in Action, 2nd edition
 
subject: jndi names for datasources
 
Similar Threads
Generating XML from SQL
JBoss & SapDB/maxDB
Configuring MYSQL Datasource
JDBC in SessionBean
JBOSS error invalid column index while server startup