[EMAIL PROTECTED] wrote:
> Christian Haul says:
> class not found".> Looks like there is a problem with your XSP or - if any - your
> 
>>logicsheets. There should be another message telling you exactly what
>>went wrong. Cocoon is very verbose on errors so sometimes one doesn't
>>spot the root cause.
>>
>>Your XSP will be transformed to a java file, here
>>org/apache/cocoon/www/docs/myfile_xml.java and then compiled to
>>org/apache/cocoon/www/docs/myfile_xml.class
>>(paths relative to $TOMCAT/work/localhost/cocoon/....)
> 
> 
> I see the trouble.  My files are all in a subdirectory (say "myDir")
> under docs.  Everything works except jsp where it will need to create
> and run the servlet.  The "work" directory on contains "docs/samples",
> "docs/myDir" isn't there, and that's the "class not found".
> 
> I left the "myDir" out of the code I posted here earlier to simplify
> it.  I figured that was working since it's finding all my files fine.
> How do I add additional directories under "docs" and get the right
> directory structure to be created under
> $TOMCAT/work/localhost/cocoon/?
> 

No need to - directories will be created as needed. So, you don't have a 
  .java file. That means your transformation process is aborted by an error.

I didn't see an obvious error in your previous post. Please show us the 
logs for this request. sitemap.log should contain all information 
needed. Look at the times and post all lines that belong together. There 
   may be more than one error message and the root cause is not always 
the first error but sometimes the second or third.

        Chris.


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