tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Boris Garbuzov <boris.garbu...@borealissoft.com>
Subject startup exceptions
Date Thu, 31 May 2001 17:18:02 GMT
Hello to you, Tomcat experts. I am using tomcat 4. Upon the very start it
throws the following. Then it works fine in most of examples. Any suggestions
what I should do? Boris.

------------------------console-----------------------------
Starting service Tomcat-Standalone
Apache Tomcat/4.0-b5
PARSE error at line 1 column -1
org.xml.sax.SAXParseException: Element type "web-app" is not declared.
PARSE error at line 1 column -1
org.xml.sax.SAXParseException: Element type "web-app" is not declared.
Starting service Tomcat-Apache
Apache Tomcat/4.0-b5

----------------------localhost_log.2001-05-31.txt------------------------

2001-05-31 10:08:03 StandardManager[/JRunForum]: Seeding random number
generator class java.security.SecureRandom
2001-05-31 10:08:03 StandardManager[/JRunForum]: Seeding of random number
generator has been completed
2001-05-31 10:08:03 ContextConfig[/JRunForum] Parse error in application
web.xml
org.xml.sax.SAXParseException: Element type "web-app" is not declared.
 at org.apache.crimson.parser.Parser2.error(Parser2.java:3013)
 at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1308)
 at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:499)
 at org.apache.crimson.parser.Parser2.parse(Parser2.java:304)
 at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:433)
 at org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:223)
 at javax.xml.parsers.SAXParser.parse(SAXParser.java:317)
 at javax.xml.parsers.SAXParser.parse(SAXParser.java:108)
 at org.apache.catalina.util.xml.XmlMapper.readXml(XmlMapper.java:275)
 at
org.apache.catalina.startup.ContextConfig.applicationConfig(ContextConfig.java:247)

 at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:820)
 at
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:217)

 at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:155)

 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1131)
 at org.apache.catalina.core.StandardContext.start(StandardContext.java:3189)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
 at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:278)
 at org.apache.catalina.core.StandardService.start(StandardService.java:353)
 at org.apache.catalina.core.StandardServer.start(StandardServer.java:458)
 at org.apache.catalina.startup.Catalina.start(Catalina.java:725)
 at org.apache.catalina.startup.Catalina.execute(Catalina.java:647)
 at org.apache.catalina.startup.Catalina.process(Catalina.java:177)
 at java.lang.reflect.Method.invoke(Native Method)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:196)

2001-05-31 10:08:03 ContextConfig[/JRunForum]: Occurred at line 1 column -1
2001-05-31 10:08:03 ContextConfig[/JRunForum]: Marking this application
unavailable due to previous error(s)
2001-05-31 10:08:03 StandardWrapper[/JRunForum:default]: Loading container
servlet default
2001-05-31 10:08:03 default: init
2001-05-31 10:08:03 StandardWrapper[/JRunForum:invoker]: Loading container
servlet invoker
2001-05-31 10:08:03 invoker: init
2001-05-31 10:08:03 StandardWrapper[/JRunForum:jsp]: Using Jasper classloader
for servlet jsp
2001-05-31 10:08:04 StandardWrapper[/JRunForum:jsp]: Marking servlet jsp as
unavailable
2001-05-31 10:08:04 StandardContext[/JRunForum]: Servlet /JRunForum threw
load() exception
javax.servlet.ServletException: Error instantiating servlet class
org.apache.jasper.servlet.JspServlet
 at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:817)
 at org.apache.catalina.core.StandardContext.start(StandardContext.java:3277)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
 at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:278)
 at org.apache.catalina.core.StandardService.start(StandardService.java:353)
 at org.apache.catalina.core.StandardServer.start(StandardServer.java:458)
 at org.apache.catalina.startup.Catalina.start(Catalina.java:725)
 at org.apache.catalina.startup.Catalina.execute(Catalina.java:647)
 at org.apache.catalina.startup.Catalina.process(Catalina.java:177)
 at java.lang.reflect.Method.invoke(Native Method)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:196)
----- Root Cause -----
java.lang.VerifyError: (class: org/apache/jasper/servlet/JspServlet, method:
init signature: (Ljavax/servlet/ServletConfig;)V) Incompatible argument to
function
 at java.lang.Class.newInstance0(Native Method)
 at java.lang.Class.newInstance(Class.java:237)
 at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:810)
 at org.apache.catalina.core.StandardContext.start(StandardContext.java:3277)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
 at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:278)
 at org.apache.catalina.core.StandardService.start(StandardService.java:353)
 at org.apache.catalina.core.StandardServer.start(StandardServer.java:458)
 at org.apache.catalina.startup.Catalina.start(Catalina.java:725)
 at org.apache.catalina.startup.Catalina.execute(Catalina.java:647)
 at org.apache.catalina.startup.Catalina.process(Catalina.java:177)
 at java.lang.reflect.Method.invoke(Native Method)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:196)

2001-05-31 10:08:04 StandardWrapper[/JRunForum:ssi]: Loading container servlet
ssi
2001-05-31 10:08:04 ssi: init
2001-05-31 10:08:05 StandardHost[localhost]: Installing web application at
context path  from URL file:D:\tomcat\webapps\ROOT
2001-05-31 10:08:05 StandardManager[]: Seeding random number generator class
java.security.SecureRandom
2001-05-31 10:08:05 StandardManager[]: Seeding of random number generator has
been completed
2001-05-31 10:08:06 StandardWrapper[:default]: Loading container servlet
default
2001-05-31 10:08:06 default: init
2001-05-31 10:08:06 StandardWrapper[:invoker]: Loading container servlet
invoker
2001-05-31 10:08:06 invoker: init
2001-05-31 10:08:06 StandardWrapper[:jsp]: Using Jasper classloader for servlet
jsp
2001-05-31 10:08:06 jsp: init
2001-05-31 10:08:08 StandardWrapper[:ssi]: Loading container servlet ssi
2001-05-31 10:08:08 ssi: init
2001-05-31 10:08:08 StandardHost[localhost]: Installing web application at
context path /manager from URL file:D:\tomcat\webapps\manager
2001-05-31 10:08:08 StandardManager[/manager]: Seeding random number generator
class java.security.SecureRandom
2001-05-31 10:08:08 StandardManager[/manager]: Seeding of random number
generator has been completed
2001-05-31 10:08:08 ContextConfig[/manager]: Configured an authenticator for
method BASIC
2001-05-31 10:08:08 StandardWrapper[/manager:default]: Loading container
servlet default
2001-05-31 10:08:08 default: init
2001-05-31 10:08:08 StandardWrapper[/manager:invoker]: Loading container
servlet invoker
2001-05-31 10:08:08 invoker: init
2001-05-31 10:08:08 StandardWrapper[/manager:jsp]: Using Jasper classloader for
servlet jsp
2001-05-31 10:08:08 jsp: init
2001-05-31 10:08:08 StandardWrapper[/manager:ssi]: Loading container servlet
ssi
2001-05-31 10:08:08 ssi: init
2001-05-31 10:08:08 StandardHost[localhost]: Installing web application at
context path /webdav from URL file:D:\tomcat\webapps\webdav
2001-05-31 10:08:08 StandardManager[/webdav]: Seeding random number generator
class java.security.SecureRandom
2001-05-31 10:08:08 StandardManager[/webdav]: Seeding of random number
generator has been completed
2001-05-31 10:08:08 StandardWrapper[/webdav:default]: Loading container servlet
default
2001-05-31 10:08:08 default: init
2001-05-31 10:08:08 StandardWrapper[/webdav:invoker]: Loading container servlet
invoker
2001-05-31 10:08:08 invoker: init
2001-05-31 10:08:08 StandardWrapper[/webdav:jsp]: Using Jasper classloader for
servlet jsp
2001-05-31 10:08:09 jsp: init
2001-05-31 10:08:09 StandardWrapper[/webdav:ssi]: Loading container servlet ssi

2001-05-31 10:08:09 ssi: init
2001-05-31 10:08:09 StandardHost[localhost]: Installing web application at
context path /forums from URL jar:file:D:\tomcat\webapps\forums.war!/
2001-05-31 10:08:09 StandardManager[/forums]: Seeding random number generator
class java.security.SecureRandom
2001-05-31 10:08:09 StandardManager[/forums]: Seeding of random number
generator has been completed
2001-05-31 10:08:09 StandardContext[/forums]: WARNING: URL pattern demo must
start with a / in Servlet 2.3
2001-05-31 10:08:09 StandardWrapper[/forums:default]: Loading container servlet
default
2001-05-31 10:08:09 default: init
2001-05-31 10:08:09 StandardWrapper[/forums:invoker]: Loading container servlet
invoker
2001-05-31 10:08:09 invoker: init
2001-05-31 10:08:09 StandardWrapper[/forums:jsp]: Using Jasper classloader for
servlet jsp
2001-05-31 10:08:10 jsp: init
2001-05-31 10:08:10 StandardWrapper[/forums:ssi]: Loading container servlet ssi

2001-05-31 10:08:10 ssi: init
2001-05-31 10:08:10 StandardHost[localhost]: Installing web application at
context path /forum from URL file:D:\tomcat\webapps\forum
2001-05-31 10:08:10 StandardManager[/forum]: Seeding random number generator
class java.security.SecureRandom
2001-05-31 10:08:10 StandardManager[/forum]: Seeding of random number generator
has been completed
2001-05-31 10:08:10 ContextConfig[/forum] Parse error in application web.xml
org.xml.sax.SAXParseException: Element type "web-app" is not declared.
 at org.apache.crimson.parser.Parser2.error(Parser2.java:3013)
 at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1308)
 at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:499)
 at org.apache.crimson.parser.Parser2.parse(Parser2.java:304)
 at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:433)
 at org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:223)
 at javax.xml.parsers.SAXParser.parse(SAXParser.java:317)
 at javax.xml.parsers.SAXParser.parse(SAXParser.java:108)
 at org.apache.catalina.util.xml.XmlMapper.readXml(XmlMapper.java:275)
 at
org.apache.catalina.startup.ContextConfig.applicationConfig(ContextConfig.java:247)

 at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:820)
 at
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:217)

 at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:155)

 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1131)
 at org.apache.catalina.core.StandardContext.start(StandardContext.java:3189)
 at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:785)
 at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:413)
 at org.apache.catalina.core.StandardHost.install(StandardHost.java:641)
 at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:300)
 at org.apache.catalina.startup.HostConfig.start(HostConfig.java:389)
 at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:232)
 at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:155)

 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1131)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
 at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:278)
 at org.apache.catalina.core.StandardService.start(StandardService.java:353)
 at org.apache.catalina.core.StandardServer.start(StandardServer.java:458)
 at org.apache.catalina.startup.Catalina.start(Catalina.java:725)
 at org.apache.catalina.startup.Catalina.execute(Catalina.java:647)
 at org.apache.catalina.startup.Catalina.process(Catalina.java:177)
 at java.lang.reflect.Method.invoke(Native Method)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:196)

2001-05-31 10:08:10 ContextConfig[/forum]: Occurred at line 1 column -1
2001-05-31 10:08:10 ContextConfig[/forum]: Marking this application unavailable
due to previous error(s)
2001-05-31 10:08:10 StandardWrapper[/forum:default]: Loading container servlet
default
2001-05-31 10:08:10 default: init
2001-05-31 10:08:10 StandardWrapper[/forum:invoker]: Loading container servlet
invoker
2001-05-31 10:08:10 invoker: init
2001-05-31 10:08:10 StandardWrapper[/forum:jsp]: Using Jasper classloader for
servlet jsp
2001-05-31 10:08:10 StandardWrapper[/forum:jsp]: Marking servlet jsp as
unavailable
2001-05-31 10:08:10 StandardContext[/forum]: Servlet /forum threw load()
exception
javax.servlet.ServletException: Error instantiating servlet class
org.apache.jasper.servlet.JspServlet
 at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:817)
 at org.apache.catalina.core.StandardContext.start(StandardContext.java:3277)
 at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:785)
 at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:413)
 at org.apache.catalina.core.StandardHost.install(StandardHost.java:641)
 at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:300)
 at org.apache.catalina.startup.HostConfig.start(HostConfig.java:389)
 at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:232)
 at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:155)

 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1131)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
 at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:278)
 at org.apache.catalina.core.StandardService.start(StandardService.java:353)
 at org.apache.catalina.core.StandardServer.start(StandardServer.java:458)
 at org.apache.catalina.startup.Catalina.start(Catalina.java:725)
 at org.apache.catalina.startup.Catalina.execute(Catalina.java:647)
 at org.apache.catalina.startup.Catalina.process(Catalina.java:177)
 at java.lang.reflect.Method.invoke(Native Method)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:196)
----- Root Cause -----
java.lang.VerifyError: (class: org/apache/jasper/servlet/JspServlet, method:
init signature: (Ljavax/servlet/ServletConfig;)V) Incompatible argument to
function
 at java.lang.Class.newInstance0(Native Method)
 at java.lang.Class.newInstance(Class.java:237)
 at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:810)
 at org.apache.catalina.core.StandardContext.start(StandardContext.java:3277)
 at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:785)
 at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:413)
 at org.apache.catalina.core.StandardHost.install(StandardHost.java:641)
 at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:300)
 at org.apache.catalina.startup.HostConfig.start(HostConfig.java:389)
 at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:232)
 at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:155)

 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1131)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
 at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:278)
 at org.apache.catalina.core.StandardService.start(StandardService.java:353)
 at org.apache.catalina.core.StandardServer.start(StandardServer.java:458)
 at org.apache.catalina.startup.Catalina.start(Catalina.java:725)
 at org.apache.catalina.startup.Catalina.execute(Catalina.java:647)
 at org.apache.catalina.startup.Catalina.process(Catalina.java:177)
 at java.lang.reflect.Method.invoke(Native Method)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:196)

2001-05-31 10:08:10 StandardWrapper[/forum:ssi]: Loading container servlet ssi
2001-05-31 10:08:10 ssi: init



Mime
View raw message