File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "jndi names for datasources" Watch "jndi names for datasources" New topic

jndi names for datasources

aim aim

Joined: Nov 23, 2003
Posts: 1
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?
I agree. Here's the link:
subject: jndi names for datasources
It's not a secret anymore!