This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
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 Java Interview Guide this week in the Jobs Discussion forum!
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!