Title: missing jar in rc1 war?
Liam Morley wrote:
000001c14703$5a89aa50$3ae2d782@IMOTIC">

I had successfully installed Cocooon2b02 several times without problem, but yesterday I tried out Cocoon2rc1, and received an error. As far as I can remember, the log reported a missing LDAPTransformer, or something like this (underneath the apache.cocoon family tree). This seemed to be the kind of class that should be in the cocoon.jar, so I did a little hunting. I remembered that there were 2 cocoon jars usually installed in the WEB-INF/libs folder, but I only saw one this time. I put the compiled cocoon.jar file in there, deleted everything in the WEB-INF/db folder, restarted tomcat, and was all set.

Is this a problem with Cocoon or a problem with my build? Should somebody know..?

Thanks…

Liam Morley

This is what I have discovered and I wish Apache would post the notification on the list or in the FAQ...

First I downloaded the original Cocoon2rc1.zip archive.. I have Java 2 SDK 1.3.1_01 installed.  I have Tomcat 4.0 General Release of course.  

I extracted and built Cocoon.war via the INSTALL file.  Now I start Tomcat and get the Internal Server Error message that has been prevalent with folks using Win2K or Debian Linux so its not an OS dependent issue.

I followed the Bunny Trail of swapping crimson.jar and jaxp.jar for xalan and xerces provided for in Cocoon to be swapped in the tomcat/common/lib and well that failed as well.

So my logic was that the Original Release Candidate 1 was screwed up and low and behold a newer Update Cocoon 2.0rc1a.zip was updated but no reference to it i anywhere within Changes or a notification on the mail archives.

So I blew away my Cocoon directories and downloaded Cocoon2.0rc1a.zip

I extracted and built cocoon.war and amazingly after testing the theory of crimson.jar and jaxp.jar being faulty with Cocoon and needing xalan and xerces I discovered that that is not the case.

In fact, what you get is that via Win2k Professional Sp2 I see java.exe bloat to 40MB using crimson.jar and jaxp.jar and if I remove them, swap in xerces_1_4_3.jar and xalan-2.2.0-dev.jar specifically, I discover that it still runs Catalog just fine but now bloats java.exe to 43MB of system resources.

So after that thorough SQA scenario the conclusion is :

You do not need Xalan nor Xerces to have Cocoon 2 run but you will need Cocoon2.0rc1a.zip (NOTE : the a) distribution to get the darn thing to run.

Everyone today who has posted about getting it to run has failed to mention the Distribution swap between Cocoon2.0rc1.zip or tar.gz for Cocoon2.0rc1a.zip or tar.gz.

I hope this helps,

Sincerely Yours,

Marc J. Driftmeyer

--

Marc J. Driftmeyer
[EMAIL PROTECTED]
uggh! yeah like does this thingy like work and stuff?
yeahh that'd be like cool and stuff. it ruuuuulez!


Reply via email to