You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Jonathan Borden <jb...@mediaone.net> on 2000/03/15 02:24:42 UTC

JDK1.3RC1 + TOMCAT 3.1B + COCOON 1.7 + XALAN-0_20_0 + XERCES 1_0_3

Got it working with all the latest bits :-) Figuring out config was
interesting...

XSP chokes however with this stack trace (page.xml from the samples).

java.lang.NoSuchMethodError
 at org.apache.xerces.dom.ElementImpl.normalize(ElementImpl.java:290)
 at
org.apache.cocoon.processor.xsp.language.java.XSPJavaPreprocessor.process(XS
PJavaPreprocessor.java:115)
 at
org.apache.cocoon.processor.xsp.language.java.XSPJavaPreprocessor.process(XS
PJavaPreprocessor.java:122)
 at
org.apache.cocoon.processor.xsp.language.java.XSPJavaPreprocessor.preprocess
(XSPJavaPreprocessor.java:81)
 at org.apache.cocoon.processor.xsp.XSPTemplate.apply(XSPTemplate.java:108)
 at
org.apache.cocoon.processor.xsp.XSPProcessor.process(XSPProcessor.java:401)
 at org.apache.cocoon.Engine.handle(Engine.java:283)
 at org.apache.cocoon.Cocoon.service(Cocoon.java:145)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
 at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:390)
 at org.apache.tomcat.core.ContextManager.service(ContextManager.java:523)
 at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:146)
 at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:334
)
 at java.lang.Thread.run(Thread.java:484)

Jonathan Borden



xml and jsp

Posted by Warren Mira <wo...@wowx.penguinpowered.com>.
Hello..

I dont know if this question is possible..

I already have Tomcat+Apache+Cocoon working...is it possible that I serve
xml/wml pages through jsp..Someone already did this..

Thanks..


RE: JDK1.3RC1 + TOMCAT 3.1B + COCOON 1.7 + XALAN-0_20_0 + XERCES1_0_3

Posted by Jonathan Borden <jb...@mediaone.net>.
Donald,
>
> Make sure you don't have a JAR with DOM1 before xerces in your CLASSPATH.
>
> - donald
>
Thanks! the problem is in the devious TOMCAT.BAT which prepends xml.jar to
the CLASSPATH.

Jonathan Borden



Re: JDK1.3RC1 + TOMCAT 3.1B + COCOON 1.7 + XALAN-0_20_0 + XERCES 1_0_3

Posted by Donald Ball <ba...@webslingerZ.com>.
On Tue, 14 Mar 2000, Jonathan Borden wrote:

> Got it working with all the latest bits :-) Figuring out config was
> interesting...
> 
> XSP chokes however with this stack trace (page.xml from the samples).
> 
> java.lang.NoSuchMethodError
>  at org.apache.xerces.dom.ElementImpl.normalize(ElementImpl.java:290)

Make sure you don't have a JAR with DOM1 before xerces in your CLASSPATH.

- donald