----- Original Message -----
From: Halil AKINCI
Sent: Tuesday, September 10, 2002 9:47 AM
Subject: tomcat start error Hi,
I've installed tomcat 3.3.1 and j2sdk1.4 on windows
98 machine. I have an application that includes following web.xml file.
Tomcat is running, but before the running, some exception lines display on DOS
console, but tomcat is running correctly. This is the exception
lines;
....
2002-09-10 09:30:37 - Ctx(/VT) :
web.xml : Error org.xml.sax.SAXParseException: Element type "session-timeout" is
not declared.
2002-09-10 09:30:37 - Ctx(/VT) : Line
4 /web-app/
2002-09-10 09:30:37 - Ctx(/VT) :
web.xml : Error org.xml.sax.SAXParseException: Element type "servlet" is not
declared.
2002-09-10 09:30:37 - Ctx(/VT) : Line
6 /web-app/
2002-09-10 09:30:37 - Ctx(/VT) :
web.xml : Error org.xml.sax.SAXParseException: Element type "servlet-name" is
not declared.
.... 2002-09-10 09:30:37 -
Http10Interceptor: Starting on 8080
2002-09-10 09:30:37 -
Ajp12Interceptor: Starting on 8007
2002-09-10 09:30:37 -
Ajp13Interceptor: Starting on 8009
EmbededTomcat: Startup time
600
This is my web.xml file;
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE web-app
(View Source for full doctype...)>
<web-app>
<display-name>Database App</display-name> <servlet> <servlet-name>VT</servlet-name> <servlet-class>VTServlet</servlet-class> </servlet>
<servlet-mapping>
<servlet-name>VT</servlet-name> <url-pattern>VTServlet</url-pattern> </servlet-mapping> <session-config>
<session-timeout>30</session-timeout>
</session-config> </web-app>
What is the problem? How can I eliminate this
exception lines?
|
- Re: tomcat start error Halil AKINCI
- Re: tomcat start error Galbreath, Mark
- Re: tomcat start error Raghupathy, Gurumoorthy