I think there were some posts for it before.
And I hope I'm right ;)

The problem is Java 1.4. It has older versions of the xml libs.

So, create a dir in "jre/lib/ext" of your java installation named
"endorsed". There you should put the removed jars in order to replace
the Java 1.4 xml libs.

-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Im Auftrag von Gregor Neu E1
Gesendet: Dienstag, 23. April 2002 13:44
An: [EMAIL PROTECTED]
Betreff: problems installing cocoon2.0.2 under Tomcat4.0.3 and jdk1.4


Hi all,

I rebuilt cocoon under jdk1.4 and tried to install it under tomcat4.0.3
(both the full and the "light" edition)

I carefully followed the installation instructions in
"http://xml.apache.org/cocoon/installing/index.html"; (except for the bit

" ...3.Remove xalan-XXX.jar, xercesImpl-XXX.jar, batik-libs-XXX.jar, and
xml-apis.jar from the cocoon.war archive"

which I still don't know how to do.

starting the full tomcat and opening "http://localhost:8080/cocoon/";
gave the following error message:

+++++++++++++++++
Cocoon 2 - Internal server error

type fatal

message SAX2 driver class org.apache.xerces.parsers.SAXParser does not
implement XMLReader

description java.lang.ClassCastException:
org.apache.xerces.parsers.StandardParserConfiguration

sender org.apache.cocoon.servlet.CocoonServlet

source Cocoon servlet

request-uri

/cocoon/

...

+++++++++++++++++++

and trying the light edition gave:

+++++++++++++++++++

type fatal

message Error compiling sitemap

description org.apache.cocoon.ProcessingException: Error compiling
sitemap: java.lang.NoClassDefFoundError:
org/w3c/dom/ranges/DocumentRange

sender org.apache.cocoon.servlet.CocoonServlet

source Cocoon servlet

request-uri

/cocoon/

path-info

stack-trace

org.apache.cocoon.ProcessingException: Error compiling sitemap:
java.lang.NoClassDefFoundError: org/w3c/dom/ranges/DocumentRange
        at org.apache.cocoon.sitemap.Handler.run(Handler.java:295)
        at java.lang.Thread.run(Thread.java:536)

++++++++++++++++++++

Can anybody help?


---------------------------------------------------------------------
Please check that your question has not already been answered in the FAQ
before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to