cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eugene Kaganovich" <ykaganov...@intertrust.com>
Subject Error setting up cocoon
Date Tue, 27 May 2003 18:41:16 GMT
Hi,
 
I'm trying to install cocoon 2.1M2 under Tomcat "Apache
Tomcat/4.1.24-LE-jdk14" running with j2sdk1.4.1_02. I have xml-apis.jar
and xercesImpl-2.4.0.jar in the common\endorsed directory under Tomcat,
and I tried to put both xalan-2.5.0.jar and xalan-20030506.jar there
too, but I keep running into the same problem: the page
http://localhost:8080/cocoon/ comes back blank, and there is an error in
tomcat's localhost_log (see stack trace below).

I tried building cocoon from sources using both 'build clean war' and
'build -Dinclude.webapp.libs=true clean war' (I don't know what that
flag does, I think I saw the instruction on the xmlform howto). There
was some 'installwar' target mentioned somewhere, but it doesn't appear
to work or exist :)

I tried cocoon 2.0 for jdk1.4 before, and it deployed fine, but I wasn't
able to get xmlform working with it, which is the primary reason I want
to set it up in the first place. Is the xmlform module supposed to work
with cocoon 2.0?

Thanks,

- Eugene Kaganovich

2003-05-27 10:57:42 StandardWrapperValve[Cocoon]: Servlet.service() for
servlet Cocoon threw exception
javax.servlet.ServletException: Servlet execution threw an exception
            at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:269)
            at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:193)
            at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:256)
            at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:643)
            at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
            at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
            at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:191)
            at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:643)
            at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
            at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
            at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:241
5)
            at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:180)
            at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:643)
            at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa
lve.java:171)
            at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:641)
            at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:172)
            at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:641)
            at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
            at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
            at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:174)
            at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:643)
            at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
            at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
            at
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
            at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:59
4)
            at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC
onnection(Http11Protocol.java:392)
            at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:56
5)
            at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:619)
            at java.lang.Thread.run(Thread.java:536)
----- Root Cause -----
java.lang.IllegalAccessError: class
org.apache.xml.dtm.ref.sax2dtm.SAX2DTM2$AncestorIterator cannot access
its superclass
org.apache.xml.dtm.ref.DTMDefaultBaseIterators$InternalAxisIteratorBase
            at java.lang.ClassLoader.defineClass0(Native Method)
            at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
            at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
            at
java.net.URLClassLoader.defineClass(URLClassLoader.java:250)
            at
java.net.URLClassLoader.access$100(URLClassLoader.java:54)
            at java.net.URLClassLoader$1.run(URLClassLoader.java:193)
            at java.security.AccessController.doPrivileged(Native
Method)
            at
java.net.URLClassLoader.findClass(URLClassLoader.java:186)
            at
org.apache.catalina.loader.StandardClassLoader.findClass(StandardClassLo
ader.java:621)
            at
org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLo
ader.java:958)
            at
org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLo
ader.java:857)
            at
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
            at
org.apache.xalan.xsltc.dom.XSLTCDTMManager.getDTM(XSLTCDTMManager.java:2
91)
            at
org.apache.xalan.xsltc.dom.XSLTCDTMManager.getDTM(XSLTCDTMManager.java:1
74)
            at
org.apache.xalan.xsltc.trax.TransformerHandlerImpl.startDocument(Transfo
rmerHandlerImpl.java:232)
            at
org.apache.cocoon.xml.AbstractXMLPipe.startDocument(AbstractXMLPipe.java
:83)
            at
org.apache.xerces.parsers.AbstractSAXParser.startDocument(Unknown
Source)
            at
org.apache.xerces.impl.dtd.XMLDTDValidator.startDocument(Unknown Source)
            at
org.apache.xerces.impl.XMLDocumentScannerImpl.startEntity(Unknown
Source)
            at
org.apache.xerces.impl.XMLVersionDetector.startDocumentParsing(Unknown
Source)
            at
org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
            at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown
Source)
            at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
            at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
            at
org.apache.excalibur.xml.impl.JaxpParser.parse(JaxpParser.java:318)
            at
org.apache.excalibur.xml.impl.JaxpParser.parse(JaxpParser.java:337)
            at
org.apache.cocoon.components.source.SourceUtil.parse(SourceUtil.java:198
)
            at
org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:1
40)
            at
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipe
line.processXMLPipeline(AbstractCachingProcessingPipeline.java:292)
            at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process
(AbstractProcessingPipeline.java:489)
            at
org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(
SerializeNode.java:150)
            at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.
invokeNodes(AbstractParentProcessingNode.java:84)
            at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.i
nvoke(PreparableMatchNode.java:164)
            at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.
invokeNodes(AbstractParentProcessingNode.java:108)
            at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(P
ipelineNode.java:162)
            at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.
invokeNodes(AbstractParentProcessingNode.java:108)
            at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(
PipelinesNode.java:162)
            at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreePro
cessor.java:325)
            at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreePro
cessor.java:307)
            at org.apache.cocoon.Cocoon.process(Cocoon.java:628)
            at
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1139)
            at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
            at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:247)
            at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:193)
            at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:256)
            at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:643)
            at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
            at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
            at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:191)
            at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:643)
            at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
            at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
            at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:241
5)
            at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:180)
            at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:643)
            at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa
lve.java:171)
            at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:641)
            at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:172)
            at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:641)
            at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
            at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
            at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:174)
            at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:643)
            at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
            at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
            at
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
            at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:59
4)
            at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC
onnection(Http11Protocol.java:392)
            at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:56
5)
            at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:619)
            at java.lang.Thread.run(Thread.java:536)
 

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org


Mime
View raw message