To make the JSP samples work try to copy jasper-compiler.jar to cocoon/lib/optional directory and then rebuild Cocoon, so the optional JSP block could become available. And then try again.
Hope this helps. -- Konstantin From: "Bobby Mitchell" <[EMAIL PROTECTED]> > 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]