Shawn
sorry for not being precise
You are right, the JNDI entry was written to the Tomcat 5/conf/ directory server.xml.
Now your comment about JNDI in web.xml
<resource-ref>
<description>DB Connection</description>
<res-ref-name>jdbc/dump_Bush_datasource</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
Do I have to add that reference into the webapps/myapplication/WEB-INF/web.xml directory?
Yes. I think it is required. I have it in all mine.
Another question: you are referencing once with java:comp/env/jdbc/dump_Bush_datasource
but defined the JNDI entry with jdbc/dump_Bush_datasource
Do I have to prefix any of my jdbc/dbformstest with java:comp/env/ ?
I don't know why I did it that way. Um, I tried it without it and got the error message you did...so why don't you give it a shot.
Note: the only place I prefix it like that is in dbforms.xml
-- Shawn
Happily using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
DbForms Mailing List
http://www.wap-force.net/dbforms