This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jndi names for datasources

 
aim aim
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic