Check out the res-ref-name. Here you claim it is admin/larco , but in server.xml you tell tomcat it is jdbc/larco. So if you do a lookup for jdbc/larco or admin/larco the name is not bound to the context. admin/larco should be jdbc/larco.
Make the changes and see if it works.
David Durst wrote:
The server.xml looks right . What about the web.xml in your webapp ? How does it look like ?The strange thing is, I don't have it defined in the web.xml.That is because as soon as I do it I got a jdbc connection 'null' can't be loaded or something like that. But I had it working w/ out it for the last 3 hours. Now it won't work. but here is the web.xml nyways <web-app> <!-- <resource-ref> <description>postgreSQL Datasource example</description> <res-ref-name>admin/larco</res-ref-name> <res-type>javax.sql.DataSource</res-type> <res-auth>Container</res-auth> </resource-ref> --> </web-app> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
