Peter Flynn wrote: >Marcelo F. Ochoa wrote: > >>>Dirk Louwers >>> >> Copy xml-apis.jar, xalan.jar and batik.jar from Cocoon Home lib >>directory to Tomcat Home common/lib directory. >> > >./tools/lib/xml-apis.jar OK >No such file as xalan.jar, should I use ./tools/lib/xalan-2.2.0.jar >No such file as batik.jar, should I use ./lib/optional/batik-libs-1.1.1.jar > >Aha! Yes! Restarting Apache *and* tomcat suddenly causes the .war >file to be unwrapped. Excellent. This needs to be documented. > >But now http://localhost:8180/cocoon at least produces something, >although it's the error message Cocoon 2 - Internal server error: > >type fatal > >message Language Exception > >description org.apache.cocoon.ProcessingException: Language Exception: >org.apache.cocoon.components.language.LanguageException: Error >compiling sitemap_xmap: Line 0, column 0: could not parse error >message: error: Invalid class file format in >/usr/java/j2sdk1.4.0/jre/lib/rt.jar(java/io/OutputStream.class). The >major.minor version '48.0' is too recent for this tool to >understand. >/var/tomcat4/work/localhost/cocoon/cocoon-files/org/apache/cocoon/www/sitemap_xmap.java:12: >Class java.io.OutputStream not found in import. import >java.io.OutputStream; ^ Line 0, column 0: could not parse error >message: error: Invalid class file format in >/usr/java/j2sdk1.4.0/jre/lib/rt.jar(java/io/IOException.class). The >major.minor version '48.0' is too recent for this tool to understand. > >What is "this tool"? Cocoon? Java1.4.0? Tomcat4.0.1? > >///Peter > Humm, seem to be a problem of jdk1.4.0, replace cocoon and tomcat's tools.jar by the jdk1.4.0 version of this jar. Best regards, Marcelo.
PD: I have working Cocoon 2.0.0-final with jdk1.3.1 and Tomcat 4.0.2 look at http://www.dbprism.com.ar/dbprism/welcome -- Marcelo F. Ochoa - [EMAIL PROTECTED] Do you Know DB Prism? Look @ http://www.plenix.com/dbprism/ More info? Chapter 21 of the book "Professional XML Databases" (Wrox Press http://www.wrox.com/) Chapter 8 of the book "Oracle & Open Source" (O'Reilly http://www.oreilly.com/catalog/oracleopen/) ----------------------------------------------- Lab. de Sistemas - Fac. de Cs. Exactas - UNICEN Paraje Arroyo Seco - Campus Universitario (7000) Tandil - Bs. AS. - Argentina Te: +54-2293-444430 Fax: +54-2293-444431 --------------------------------------------------------------------- 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]>