• Post Reply Bookmark Topic Watch Topic
  • New Topic

DataSource Error on a Shared Tomcat Java host  RSS feed

Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everyone,
I use a Shared Tomcat Java 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.

Related files are below.

A part of web.xml

Java test class:

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!