I've managed to get beyond this problem by following these steps:
1. Shutdown Tomcat
2. Delete the JAXP, CRIMSON (and PARSER) jars from TOMCAT_HOME/common/lib 
directory (Apparently, these files have been moved with the upgrade of Tomcat4)
3. Copy Xerces and Xalan jars from the Cocoon lib distribution into 
TOMCAT_HOME/common/lib.
4. Copy the cocoon WAR file into the TOMCAT_HOME/webapps directory and
5. Remove the TOMCAT_HOME/webapps/cocoon subdirectory if it has been 
created by a previous install attempt
6. Remove the work directory under Tomcat
7. Restart tomcat and try http://localhost:8080/cocoon/

I've created this list from memory but I think it should work.

The confusion seems to relate to the XML parser and XSLT engines used by 
Tomcat versus Cocoon. They interfere with each other.

This has been a nagging problem for quite some time, with various releases 
of both Tomcat and Cocoon. It's too bad the issue can't be solved on some 
permanent basis; preferably in a way that maintains the rather automatic 
and elegant WAR installation process and eliminates the necessity of hand 
copying files back and forth.

                       ...edN


At 11:03 AM 25/09/2001 -0400, Rajkumar, Joseph wrote:
>Hi
>    I am also getting the very same error on a Sun solaris 2.7 with a fresh
>install of Tomcat-4.0 and Cocoon-2.0RC1.
>
>    I have a site running Tomcat-4.0B7 and cocoon - 2.0B2 with no
>problems.
>
>Regards
>Joseph Rajkumar
>
>
>Wes Morgan wrote:
>
>>I am getting the same error on a clean install of both Tomcat 4.0 final 
>>and Cocoon 2.0rc1. I am running Debian GNU/Linux with IBM JDK 1.3. My 
>>CLASSPATH is also empty when compiling cocoon.war. Any help would be 
>>greatly appreciated.
>>
>>Wes Morgan
>>
>>Ed Nixon wrote:
>>
>>>At 08:02 PM 24/09/2001 -0400, Vadim Gritsenko wrote:
>>>
>>>>Work just fine if followed instructions in install.html document.
>>>>Make sure you do have empty CLASSPATH when building cocoon.war.
>>>>
>>>>Vadim
>>>
>>>
>>>
>>>Thanks, Vadim. I've read the Install file many times; followed the 
>>>instructions therein *and* blanked out my CLASSPATH as you suggest while 
>>>compiling cocoon.war. I get the same exception as always when I first 
>>>try to run the cocoon context. Here is the description:
>>>
>>>org.apache.cocoon.ProcessingException: Exception in Handler: 
>>>org.apache.avalon.framework.component.ComponentException: Could not set 
>>>up Component for hint: org\apache\cocoon\www\sitemap_xmap
>>>
>>>I wish I could say this even raised a hint of what to look for but it 
>>>doesn't.
>>>
>>>Any other suggestions would be very helpful. 
>>>Thanks.                             ...edN
>>>
>>>> > -----Original Message-----
>>>> > From: Ed Nixon [mailto:[EMAIL PROTECTED]]
>>>> > Sent: Monday, September 24, 2001 6:53 PM
>>>> > To: [EMAIL PROTECTED]
>>>> > Subject: cocoon 2 and tomcat 4
>>>> >
>>>> >
>>>> > Is there a combination of cocoon version 2 and tomcat 4 that works? On
>>>> > Win2K with JVM /JRE 1.3.1?
>>>> >
>>>> > I've spent the day trying a number of options:
>>>> > 1. tomcat4 win install as service with cocoon2 rc1
>>>> > 2. tomcat4 zip in console with cocoon2 rc1 and b2
>>>> > 3. tomcat323 in console with cocoon 2 rc1
>>>> >
>>>> > The tomcat 4 win install release code with cocoon2 rc1 causes cocoon to
>>>> > generate an exception concerning sitemap configuration failure. I can
>>>> > provide more detailed information if this is actually news to the list;
>>>> > please let me know.
>>>> >
>>>> > However, I'd just like to get something working. At least until 
>>>> Cocoon2 is
>>>> > released in final form (whenever that is.)
>>>> >
>>>> > Thanks for your help.                    ...edN
>>>
>>>
>>>
>>>
>>>
>>>
>>>---------------------------------------------------------------------
>>>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]>
>>
>>
>>
>>
>>
>>---------------------------------------------------------------------
>>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]>
>>
>
>
>
>---------------------------------------------------------------------
>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]>




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