This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hello everyone, I use a Shared TomcatJava 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 ]
"north, cloud", you have previously been warned on multiple occasions regarding adjusting your display name to meet JavaRanch standards. This is not optional, and this is your final warning. Adjust your display name to comply with the required standards prior to your next post.
Your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.
Failure to comply will result in the removal of your account.