Hi,
I tried to follow this problem and found the following:
within the following class-method:
  org.apache.cocoon.generation.JspGenerator.generate()

the variable variable url being passed to the JspEngineImpl has the value = src.getSystemId()
so it will have the following string file//full_path_to_the_application/fileName.jsp
wich will coz a problem within the Jasper class (file not found) when searching for the propertie "javax.servlet.include.servlet_path"
so by replacing the url variable by the following value: httpRequest.getServletPath();
everything work fine.

so is this a bug or this is a configuration step I missed somewhere.

Tanx in advance.
 

"MOODAD Shadi (LB Soft)" wrote:

Hi

I'm trying to execute a JSP file under cocoon2 wich is running under
jakarta 4 as a servlet.
but the jsp isn't executed and i got the next error:

It seems that it enters JspGenerator but when executing the servlet by
JspEngineImpl the jsp file isn't executed and the byte stream is emty
and i don't find any error report.
could any one give me some hints on solving this probleme, or where can'
i find the logs of the jspengine.

org.apache.cocoon.ProcessingException: SAXException
JspGenerator.generate()
 at
org.apache.cocoon.generation.JspGenerator.generate(JspGenerator.java:142)

 at
org.apache.cocoon.components.pipeline.CachingEventPipeline.process(CachingEventPipeline.java:251)

 at
org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingStreamPipeline.java:399)

 at
org.apache.cocoon.www.conf.cocoon.sitemap_xmap.matchN10155(sitemap_xmap.java:1357)

 at
org.apache.cocoon.www.conf.cocoon.sitemap_xmap.process(sitemap_xmap.java:1134)

 at
org.apache.cocoon.www.conf.cocoon.sitemap_xmap.process(sitemap_xmap.java:1046)

 at org.apache.cocoon.sitemap.Handler.process(Handler.java:222)
 at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:179)
 at
org.apache.cocoon.sitemap.SitemapManager.process(SitemapManager.java:154)

 at org.apache.cocoon.Cocoon.process(Cocoon.java:575)
 at
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:998)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)

 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)

 at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)

 at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)

 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)

 at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
 at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)

 at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)

 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)

 at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
 at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)

 at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)

 at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)

 at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)

 at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)

 at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)

 at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)

 at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)

 at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)

 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)

 at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
 at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)

 at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)

 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)

 at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
 at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1011)

 at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106)

 at java.lang.Thread.run(Thread.java:484)--

Soft Solutions
Net Developper
Moodad Shadi

www.softsolutions.fr
 

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

--
Soft Solutions, Liban
Net Developper
Moodad Shadi

www.softsolutions.fr
 

Reply via email to