RE: JSP troubles

2002-08-26 Thread Piroumian Konstantin

> From: Raul Wild-Spain [mailto:[EMAIL PROTECTED]] 
> 
> > 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  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
> >
> > >
> 
> thanks, Konstantin! but, it implies that I should put
> /usr/local/resin/lib/resin.jar into the WEBINF/classes/ 
> directory? .. or is
> it wrong?

I don't know how Resin loads classes. The only thing needed is that servlet
class were available to the web application. This does not imply having
resin.jar in WEB-INF/lib (as well as in WEB-INF/classes), but only having
them somewhere in the classpath. Tomcat exposes jasper-compiler.jar (since
4.0) to web applications, so there is no need to copy it into the webapp.
Maybe something like is possible also with Resin.

Also, search the Bugzilla for a path about Resin and JSP, there were one
some time ago related to this issue.

Konstantin.

> 
> regards,
> 
> Raúl
> 
> 
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. 
> 
> 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. 

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




Re: JSP troubles

2002-08-26 Thread Raúl Wild-Spain


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

thanks, Konstantin! but, it implies that I should put
/usr/local/resin/lib/resin.jar into the WEBINF/classes/ directory? .. or is
it wrong?

regards,

Raúl


-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




RE: JSP troubles

2002-08-26 Thread Piroumian Konstantin

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

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




Q: JSP troubles

2002-08-26 Thread Raúl Wild-Spain

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(DynamicClassLoader.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.

somebody can help me?

thanks2all ;-)

Raúl,
[EMAIL PROTECTED]



-
Please check that your question  has not already been answered in the
FAQ before posting. 

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