> From: Raul Wild-Spain [mailto:[EMAIL PROTECTED]] 
> 
> Hi! in my cocoon the exemples (server section) for JSP (JSP 
> Generator and
> JSP Reader) fails.
> Exactly:
> 
> **4JSPgenerator**
> ---
> The org.apache.cocoon.www.sitemap_xmap notifies that
> org.apache.cocoon.ProcessingException says:
> 
> Exception JspGenerator.generate()
> 
> More precisely:
> 
> org.apache.cocoon.ProcessingException: Exception 
> JspGenerator.generate():
> java.lang.ClassNotFoundException: org.apache.jasper.servlet.JspServlet
> ---
> 
> and the first line of chain stacktrace:
> 
> ---
> Original exception : java.lang.ClassNotFoundException:
> org.apache.jasper.servlet.JspServlet
> at 
> com.caucho.util.DynamicClassLoader.loadClass(DynamicClassLoade
> r.java:530)
> ---
> 
> ***4JSPReader***
> ---
> Exception JSPReader.generate()
> 
> More precisely:
> 
> org.apache.cocoon.ProcessingException: Exception JSPReader.generate():
> java.lang.ClassNotFoundException: org.apache.jasper.servlet.JspServlet
> ---
> 
> 
> My system:
> Linux Debian, java 1.4, ResinEE, Cocoon. (latest versions)
> Tips: SERVER_ROOT and RESIN_HOME have different values. 
> Previously I was
> changed servlet-classloader-hack to true at the resin.conf, because of
> another previous trouble.

No wonder that JSP fails. The default settings of the JSPEngine in Cocoon
are for Tomcat and not Resin. Take a look at WEB-INF/cocoon.xconf and change
the <jsp-engine> section to point to the JSP servlet in Resin. 

There were some troubles with JSPEngine in Cocoon on Resin, please let us
know if you succeed.

Konstantin

> 
> somebody can help me?
> 
> thanks2all ;-)
> 
> Raśl,
> [EMAIL PROTECTED]
> 
> 
> 
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.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/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to