Hi Jorg, We re-installed Cocoon and the SDK from the CD I said I would burn. Works flawless now. It must have been a bug in an earlier version.
I will post this to the user group, more for Matthew Langham and Carsten Ziegler. The problem below occured when we used the CD in your book to install Cocoon. We cannot use pipelines in a sitemap that was mounted. Problem occurs with Sun JDK 1.4.1_05, Cocoon from your book, Tomcat 4.x (problem occured with 4.0.5 and 4.1) on Slackware 9.0 Thanks for the help Jorg. Yves -----Original Message----- From: Joerg Heinicke [mailto:[EMAIL PROTECTED] Sent: donderdag 13 november 2003 10:24 To: [EMAIL PROTECTED] Subject: Re: On 13.11.2003 09:45, Yves Vindevogel wrote: > So, with a new JDK the problem should be fixed ? > Or do you suggest re-installing Cocoon from another download ? > (We used a CD comming with the book from Langham and Ziegler) No, only add the tools.jar to your Cocoon start script classpath. This should work. It's in JDK_HOME/lib/tools.jar. I don't know what's up with the CD. Ah, maybe you don't use the JDK, but only a JRE? This contains no tools.jar. *Ouch*. When searching for "sun.tools.javac.Main" as subject for this mail I found it *is* on the classpath, but only deprecated. This should not do any harm! Frustrating old sitemap compilation stuff! And what about the "problem with the matcher"? The sitemap you sent looks really simple. Can you have a look at the sitemap.xmap.java where the error occurs and see what's wrong from a Java POV? Can you step by step remove your stuff from the sitemap to get it back working? Also it could be a problem with a to old Xalan (endorsed libs problem?). And is it possible to switch to a newer Cocoon as 2.0.4? There you also have the interpreted sitemap with much better error messages. IIRC even with lines refering to sitemap.xmap, not any Java file. Joerg > Hello Yves, > > it's not a problem with your sitemap, but with the classpath: the > compiler javac is missing. It's in the tools.jar of your JDK IIRC. The > default cocoon start files include that jar on the classpath. > > Joerg > > >>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: Note: >>sun.tools.javac.Main has been deprecated. >> > > /var/tomcat/work/Standalone/localhost/cocoon/cocoon-files/org/apache/cocoon/ > >>www/floris/sitemap_xmap.java:73: ';' expected. private Object >>matcher_""_N40000C_expr; ^ Line 224, column 8: Invalid expression > > statement. > >>Line 224, column 17: ';' expected. Line 329, column 12: ')' expected. Line >>367, column 17: Identifier expected. Line 0, column 0: 5 errors, 1 warning --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
