File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jndi names for datasources
 
Similar Threads
JDBC in SessionBean
Generating XML from SQL
JBoss & SapDB/maxDB
Configuring MYSQL Datasource
JBOSS error invalid column index while server startup