cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bobby Mitchell <bo...@niac.usra.edu>
Subject Re: ServletException in JSPReader.generate()
Date Tue, 25 Mar 2003 18:25:06 GMT
I found my problem in the ownership in the /var/tomcat4 directory. The 
catalina.out log file showed java.io.FileNotFoundException: 
/var/tomcat4/files-495187227 (Permission denied). I changed all files & 
directories in /var/tomcat4 to tomcat4:tomcat4 and it works now. The 
file permissions/ownership were originally set when I installed from the 
RPM.

Bobby Mitchell wrote:

> Hi,
>    I'm using RedHat 8.0, Cocoon-2.0.4 from cvs 3/25/03, Tomcat 4.1.21, 
> Sun  j2sdk1.4.1_02.
>
>    I tried to access "cocoon/samples/jsp/welcome.htm" and get errors. 
> At first the error is "file not found," but I saw in the logs where 
> the path for error2html.xsl in the file "cocoon/samples/sitemap.xmap" 
> is "common/style/xsl/html/error2html.xsl." I changed this to 
> "samples/common/style/xsl/html/error2html.xsl" and I now get the error 
> "ServletException in JSPReader.generate()."
>
>    The following is from the sitemap.log:
>
>      4473 DEBUG   (2003-03-25) 10:37.35:955   [sitemap.reader.jsp] 
> (/cocoon/samples/jsp/welcome.htm) Thread-8/JSPReader: JSPReader 
> executing J        SP:/samples/jsp/welcome.jsp
>   4474 DEBUG   (2003-03-25) 10:37.36:546   [sitemap.reader.jsp] 
> (/cocoon/samples/jsp/welcome.htm) Thread-8/JSPReader: ServletException 
> in J        SPReader.generate()
>   4475 org.apache.jasper.JasperException: Unable to compile class for JSP
>   4476
>   4477 An error occurred at line: -1 in the jsp file: null
>   4478
>   4479 Generated servlet error:
>   4480     [javac] Since fork is true, ignoring compiler setting.
>   4481     [javac] Compiling 1 source file
>   4482     [javac] Since fork is true, ignoring compiler setting.
>   4483
>
>  4559 DEBUG   (2003-03-25) 10:37.36:552   [sitemap.reader.jsp] 
> (/cocoon/samples/jsp/welcome.htm) Thread-8/JSPReader: Embedded 
> ServletExcep        tion JSPReader.generate()
>   4560 INFO    (2003-03-25) 10:37.36:553   [sitemap] 
> (/cocoon/samples/jsp/welcome.htm) Thread-8/PipelineNode: Error while 
> processing pipeli        ne at 
> file:/var/tomcat4/webapps/cocoon/samples/jsp/sitemap.xmap:27:19
>   4561 org.apache.cocoon.ProcessingException: ServletException in 
> JSPReader.generate()
>
>  4625 DEBUG   (2003-03-25) 10:37.36:559   [sitemap] 
> (/cocoon/samples/jsp/welcome.htm) Thread-8/ResourceLimitingPool: Put a 
> org.apache.coco        on.reading.JSPReader back into the pool.
>   4626 INFO    (2003-03-25) 10:37.36:562   [sitemap] 
> (/cocoon/samples/jsp/welcome.htm) Thread-8/PipelineNode: Error while 
> processing pipeli        ne at 
> file:/var/tomcat4/webapps/cocoon/samples/sitemap.xmap:44:17
>   4627 org.apache.cocoon.ProcessingException: ServletException in 
> JSPReader.generate()
>
> Any ideas on how I can get my jsp samples to work?
>
> Thanks
>

-- 
Robert J. (Bobby) Mitchell
Systems Administrator
NASA Institute for Advanced Concepts
555A 14th St Atlanta, Ga. 30318
Phone: (404)347-9633 Fax: (404)347-9638





---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org


Mime
View raw message