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?

Seriously, If you use JDK 1.4, they changed the class format to make
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).



-- 

"They that give up essential liberty to obtain a little temporary safety
  deserve neither liberty nor safety."
                 - Benjamin Franklin


---------------------------------------------------------------------
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