Hello everyone,
I use a Shared
Tomcat Java hosting to host my site and have below error message:
But I don't have any problem to run on my local computer (I use Tomcat 5.5.25), and my site runs well on the local computer.
When I read
doc on 'http://tomcat.apache.org/tomcat-5.5-doc/jndi-resources-howto.html'. I found this paragraph in the page:
In addition, the names and values of all <env-entry> elements included in the web application deployment descriptor (/WEB-INF/web.xml) are configured into the initial context as well, overriding corresponding values from conf/server.xml only if allowed by the corresponding <Environment> element (by setting the override attribute to "true").
Does anyone know how to this 'override' attribute to "true"? where is it suppose to be? Is it the issue to cause the error?
Thanks in advance.
----------
Here is my context.xml (under '/public_html/META-INF/') and part of web.xml (under '/public_html/WEB-INF/'). I have a test.jsp to
test the connection. I found the error occurs at this line in class DBTest.java
conn = ds.getConnection();
-----------------
[ October 15, 2007: Message edited by: Bear Bibeault ]