What JNDI URL are you passing the tag? 'java:/OracleDB' should work, 
though you should map it to 'java:comp/env/jdbc/SomeDB' using web.xml 
and jboss-web.xml.

Blei Marcela wrote:

> I am trying to use the DBTags Tag Library from Tomcat and for getting a
> connection to my database I want to access to a JNDI named JDBC DataSource.
> I want to get my jboss XADataSource named OracleDB but I allways get a
> NameNotFoundException.
> As tomcat DBTag manual says the Connection tag accepts a JNDI named JDBC
> DataSource:
> http://jakarta.apache.org/taglibs/doc/dbtags-doc/index.html#overview.tags
> 
> The question is: if I can use jboss?s Datasource or if I have to create a
> new one? And if I have to create a new one, how can I manage pool
> connections and why I can?t use jboss?s datasource?
> 
> Thanks in advance
> 
> Marcela 
> 
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
> 




_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to