[opencms-dev] ServletExeption at setup

David Tildesley (DSLWN) DavidTi at datacom.co.nz
Wed Mar 5 23:01:07 CET 2003


Looks like an XML parser library conflict. To cut a long story short, SUN
has created confusion over their inclusion of xerces libraries in Java SDK
1.4x Unless you have specific reasons to use tomcat 4.0.1, you should
instead use: tomcat-4.1.18-LE-jdk14 (download from apache.org or mirror)
which comes minus the conflicting libararies. I think there is also a LE
version of Tomcat 4.0.x if you really must use that. Else, you could
manually remove the conflicting libraries.

-----Original Message-----
From: Monika Bauer [mailto:monbauer at hotmail.com]
Sent: Thursday, 6 March 2003 12:36 a.m.
To: opencms-dev at opencms.com
Subject: [opencms-dev] ServletExeption at setup


  

Hi all, I installed opencms 5.0 according the guide but when I want to do
setup, I'm retrieving an internal server error.

Following is in the log:

2003-02-28 13:40:57 WebappLoader[/manager]: Deploying class repositories to
work directory D:\Java\jakarta-tomcat-4.0.1\work\localhost\manager
2003-02-28 13:40:57 StandardManager[/manager]: Seeding random number
generator class java.security.SecureRandom
2003-02-28 13:40:58 StandardManager[/manager]: Seeding of random number
generator has been completed
2003-02-28 13:40:59 ContextConfig[/manager]: Added certificates -> request
attribute Valve
2003-02-28 13:41:00 ContextConfig[/manager]: Configured an authenticator for
method BASIC
2003-02-28 13:41:00 StandardWrapper[/manager:default]: Loading container
servlet default
2003-02-28 13:41:00 default: init
2003-02-28 13:41:00 StandardWrapper[/manager:invoker]: Loading container
servlet invoker
2003-02-28 13:41:00 invoker: init
2003-02-28 13:41:00 jsp: init
2003-02-28 13:41:02 StandardHost[localhost]: Installing web application at
context path /opencms from URL
jar:file:D:\Java\jakarta-tomcat-4.0.1\webapps\opencms.war!/
2003-02-28 13:41:14 WebappLoader[/opencms]: Deploying class repositories to
work directory D:\Java\jakarta-tomcat-4.0.1\work\localhost\opencms
2003-02-28 13:41:14 WebappLoader[/opencms]: Deploy JAR /WEB-INF/lib/Tidy.jar
to D:\Java\jakarta-tomcat-4.0.1\webapps\opencms\WEB-INF\lib\Tidy.jar
2003-02-28 13:41:14 WebappLoader[/opencms]: Deploy JAR
/WEB-INF/lib/activation.jar to
D:\Java\jakarta-tomcat-4.0.1\webapps\opencms\WEB-INF\lib\activation.jar
2003-02-28 13:41:14 WebappLoader[/opencms]: Deploy JAR /WEB-INF/lib/fesi.jar
to D:\Java\jakarta-tomcat-4.0.1\webapps\opencms\WEB-INF\lib\fesi.jar
2003-02-28 13:41:14 WebappLoader[/opencms]: Deploy JAR
/WEB-INF/lib/jakarta-oro-2_0_6.jar to
D:\Java\jakarta-tomcat-4.0.1\webapps\opencms\WEB-INF\lib\jakarta-oro-2_0_6.j
ar
2003-02-28 13:41:14 WebappLoader[/opencms]: Deploy JAR /WEB-INF/lib/mail.jar
to D:\Java\jakarta-tomcat-4.0.1\webapps\opencms\WEB-INF\lib\mail.jar
2003-02-28 13:41:14 WebappLoader[/opencms]: Deploy JAR
/WEB-INF/lib/mysql-connector-java-2_0_14-bin.jar to
D:\Java\jakarta-tomcat-4.0.1\webapps\opencms\WEB-INF\lib\mysql-connector-jav
a-2_0_14-bin.jar
2003-02-28 13:41:14 WebappLoader[/opencms]: Deploy JAR
/WEB-INF/lib/opencms.jar to
D:\Java\jakarta-tomcat-4.0.1\webapps\opencms\WEB-INF\lib\opencms.jar
2003-02-28 13:41:14 WebappLoader[/opencms]: Deploy JAR
/WEB-INF/lib/xerces-1_4_4.jar to
D:\Java\jakarta-tomcat-4.0.1\webapps\opencms\WEB-INF\lib\xerces-1_4_4.jar
2003-02-28 13:41:14 StandardManager[/opencms]: Seeding random number
generator class java.security.SecureRandom
2003-02-28 13:41:14 StandardManager[/opencms]: Seeding of random number
generator has been completed
2003-02-28 13:41:17 ContextConfig[/opencms]: Added certificates -> request
attribute Valve
2003-02-28 13:41:17 StandardWrapper[/opencms:default]: Loading container
servlet default
2003-02-28 13:41:17 default: init
2003-02-28 13:41:17 StandardWrapper[/opencms:invoker]: Loading container
servlet invoker
2003-02-28 13:41:17 invoker: init
2003-02-28 13:41:17 jsp: init
2003-02-28 13:41:18 StandardContext[/opencms]: Servlet /opencms threw load()
exception
javax.servlet.ServletException: Servlet.init() for servlet jsp threw
exception
 at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:871)
 at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
3267)
 at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3384)
 at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:785)
 at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:454)
 at org.apache.catalina.core.StandardHost.install(StandardHost.java:712)
 at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:647)
 at org.apache.catalina.startup.HostConfig.start(HostConfig.java:777)
 at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:463)
 at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:155)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1131)
 at org.apache.catalina.core.StandardHost.start(StandardHost.java:612)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
 at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:307)
 at org.apache.catalina.core.StandardService.start(StandardService.java:388)
 at org.apache.catalina.core.StandardServer.start(StandardServer.java:505)
 at org.apache.catalina.startup.Catalina.start(Catalina.java:776)
 at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
 at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
 at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
 at java.lang.reflect.Method.invoke(Method.java:324)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
----- Root Cause -----
java.lang.ClassCastException:
org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
 at
javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.
java:103)
 at
org.apache.jasper.parser.ParserUtils.parseXMLDocument(ParserUtils.java:183)
 at
org.apache.jasper.compiler.TldLocationsCache.processWebDotXml(TldLocationsCa
che.java:165)
 at
org.apache.jasper.compiler.TldLocationsCache.<init>(TldLocationsCache.java:1
38)
 at
org.apache.jasper.EmbededServletOptions.<init>(EmbededServletOptions.java:32
4)
 at org.apache.jasper.servlet.JspServlet.init(JspServlet.java:266)
 at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:852)
 at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
3267)
 at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3384)
 at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:785)
 at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:454)
 at org.apache.catalina.core.StandardHost.install(StandardHost.java:712)
 at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:647)
 at org.apache.catalina.startup.HostConfig.start(HostConfig.java:777)
 at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:463)
 at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:155)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1131)
 at org.apache.catalina.core.StandardHost.start(StandardHost.java:612)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
 at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:307)
 at org.apache.catalina.core.StandardService.start(StandardService.java:388)
 at org.apache.catalina.core.StandardServer.start(StandardServer.java:505)
 at org.apache.catalina.startup.Catalina.start(Catalina.java:776)
 at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
 at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
 at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
 at java.lang.reflect.Method.invoke(Method.java:324)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)

I would be grateful for any hint. 

Thanks in advance,

Monika

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20030306/455f60f1/attachment-0001.htm>


More information about the opencms-dev mailing list