No, I haven't done this all, ie: I have *not* compiled jars explicitly, but I guess they are automagically compiled when you build a new C2 war file, which I did.
And I have *not* copied the tools.jar into WEB-INF/lib. Nevertheless quite a few examples work (not all of them, though, eg the SVG example responds with a blank page). If the examples work, that means that C2 is able to compile things, I guess. So it seems the tools.jar issue is solved in the development snapshots as stated on Daniel's helpful web xml page. BTW: Has anyone seen anything better than an empty page from the SVG example? (I'm using the C2 dev snapshot of February, 19). Peter Berin Loritsch wrote: >Baer Peter wrote: >> Dear Daniel, >> > thank you for making this info public. Especially your hints about >> what versions to use helped me to finally get C2 working.>> > The >combination that works for us here is: >> > - Java: Sun J2SDK 1.4.0 >> > - Cocoon: Development snapshot xml-cocoon2_20020219112118.tar.gz, >> built with JNDI using Java 1.4 from Sun >> > - Tomcat: Jakarta-Tomcat 4.0.1 binary release >> > - SuSE Linux 7.3 >> > With all other combinations we got one of the well-known errors: >> Sitemap not available, major minor version number 48.0 etc. >> > Eg, it *has not worked* with the Tomcat 4.0.2 binary release. >> And it *does not work* with C2 release version 2.0.1. >> > So, please, folks on this list who have trouble to get C2 running: >> > Your *best chance* appears to be to try a *C2 development snapshot* >with >> *Tomcat 4.0.1* binary release! >> > And thanks again, Daniel! Your XML page is of great value! > > >What version of Tools.jar is in your Webapp lib? > >room for the assert keyword. You have to use freshly compiled jars >for JDK 1.4 (or make sure the class version is set to the minimum >supported for all the classes). > >Lastly, Cocoon has a copy of Tools.jar in the WEB-INF/lib directory. >You *MUST* replace that with the one for JDK 1.4, or you will not be >able to compile anything (aka the Sitemap and XSP files). -- +-------------------------------+-------------------------------------+ | Peter C. A. Bär | Siemens Business Services & Co. OHG | | Fon +49.911.654-2387 | Von-der-Tann-Str. 30-31 | | Fax +49.911.654-2108 | 90439 Nürnberg | | | Deutschland | +-------------------------------+-------------------------------------+ | >>> mailto:[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]>