aspose file tools*
The moose likes Tomcat and the fly likes Error at startup Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Error at startup" Watch "Error at startup" New topic
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: 12682
    
    5

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error at startup
 
Similar Threads
404 Exception
Listener started twice
Class LoginServlet not a Servlet?
obatining JNDI connection in load-on-startup or context listener?
404 Exception