| Author |
Error at startup
|
david garcia
Greenhorn
Joined: Nov 06, 2004
Posts: 5
|
|
Hello, I am trying to launch Tomcat 5 and i keep getting this trace at startup: SEVERE: Error filterStart 06-nov-2004 18:26:43 org.apache.catalina.core.StandardContext start So, the application can�t run Any idea of what happens? here is my web.xml, in case it helps: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> <web-app> <servlet> <servlet-name>Controller</servlet-name> <servlet-class>TestApp.Servlets.Controller</servlet-class> </servlet> <servlet-mapping> <servlet-name>Controller</servlet-name> <url-pattern>/Controller</url-pattern> </servlet-mapping> <description>MySQL Connection Pool</description> <resource-ref> <description>DB Connection</description> <res-ref-name>jdbc/UserDB</res-ref-name> <res-type>javax.sql.DataSource</res-type> <res-auth>Container</res-auth> </resource-ref> </web-app> Thanks
|
 |
William Brogden
Author and all-around good cowpoke
Rancher
Joined: Mar 22, 2000
Posts: 12324
|
|
indicates to me that Tomcat has not gotten past initial startup, possibly your web.xml has not even been looked at. Did the initial installation of Tomcat work correctly? Have you made any changes to the standard server.xml? Did you really use upper case letters in the package name TestApp.Servlets? What is the directory structure for this web application that Controller is supposed to run in? Bill
|
Java Resources at www.wbrogden.com
|
 |
david garcia
Greenhorn
Joined: Nov 06, 2004
Posts: 5
|
|
Hello Bill, Thanks for the response... Well, the package structure is lower case, i modified server.xml in order to configure a connection pool to mySQL database. I have tried the same application in eclipse/tomcat and it worked properly. Perhaps is some issue with tomcat configuration in IntelliJ IDE...but i am out of ideas, i really want to use that IDE. Any help? someone configured tomcat in IntelliJ succesfully? Thanks
|
 |
 |
|
|
subject: Error at startup
|
|
|