Thanks for the reply.

In my /webapps/cocoon sitemap, I added the following code:
<map:pipeline>
 <map:match pattern="ut/**">
  <map:mount uri-prefix="ut" src="file:///D:/web applications/work/ut/"/>
 </map:match>
</map:pipeline>

This should make Cocoon go to my D: drive for the web application. In the
D:/..../ut/ directory, I have another sitemap.xmap for the specific
programs. For example, "test.html" is made up of "test.xml" and "test.xsl".
This configuration works great under Windows NT, Tomcat , and Cocoon2. The
only difference now is that I am using Windows 98, and newer versions of
Tomcat and Cocoon2.

My web application also works if I copy it into the /webapps/cocoon
directory, which is not what I want. (Difficult to back up, etc.)


----- Original Message -----
From: "David Rosenstrauch" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 13, 2001 8:37 AM
Subject: Re: Cocoon2 error: Could not set up Component for hint:


> The sitemap usually needs to be in your cocoon root directory, which is
generally $TOMCAT_HOME/webapps/cocoon
>
> Maybe it's looking for it there and barfing cause it can't find it.
>
>
> DR
>
>
> At 07:53 PM 11/12/01 -0500, you wrote:
> >First, I am running Tomcat 4.01, Cocoon 2 0cr1 on a Windows 98 machine. I
> >can get the cocoon default pages OK, and my development web page when I
copy
> >it to the Cocoon Webapps directory, I get the following error message:
> >
> >type internal-server-error
> >message Exception in Handler
> >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\file_\D_\web_applications\work\ut\sitemap_xmap
> >sender org.apache.cocoon.servlet.CocoonServlet
> >source Cocoon servlet
> >
> >What is causing this error message? I ahve a copy of "sitemap.xmap" in
> >"D:\web applications\work\ut\" so I do not understand the message.
> >
> >I could not find anything about this in the Cocoon 2 documentation.
> >
> >
> >---------------------------------------------------------------------
> >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