I have a datasource configured with the name 'jdbc/TestDB' as in
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html.
I wanna use this datasource in a JSP test using 'jakarta/dbtags'
taglib.  What is the name I should use for the 'dataSource' attribute
of the 'connection' element ? Ive already tested with "jdbc/TestDB",
"java:comp/env/jdbc/testDb" and "comp/env/jdbc/testDB" and didnt
work... Dbtags is configured alright because I already tested using a
direct connection...

I've had bad luck with DataSources defined at the Context level. When I moved mine to the GlobalResources level, things worked out better for me. You might want to give that a try.

-chris


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to