Hello everyone, I use a Shared TomcatJava hosting to host my site and have below error message:
But there is no problem to run on my local computer (I use Tomcat 5.5.25), and my site runs well on the local computer.
The host provider sent me a piece of messages in server log file, it said:
I have checked the web.xml, it is there under '/WEB-INF/'. How can it be missing? And they said, 'You should also install log4j to have your own Tomcat log to debug your application.'. I do have log4j log file inside the application. But I think that the error is on tomcat server starting. How can I log these kind of messages into my application log file? I uploaded a small java class and jsp file to the server to test the db connection (see the below). I get same error message on the screen:
Does anyone know how I can fix the problem and what I can do next? Thanks in advance.