You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "Mark Eggers (JIRA)" <ji...@apache.org> on 2007/01/06 19:08:27 UTC

[jira] Commented: (COCOON-1457) jsp functionality broken in cocoon 2.1.7-dev, Tomcat 5.5.7, jdk1.5.0_01

    [ https://issues.apache.org/jira/browse/COCOON-1457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12462736 ] 

Mark Eggers commented on COCOON-1457:
-------------------------------------

I'm sorry, I've been away from cocoon for a little bit.  I just checked the latest release version against Tomcat 5.5.20 and jdk 1.5.0_09.

Everything works now.

Please close.

> jsp functionality broken in cocoon 2.1.7-dev, Tomcat 5.5.7, jdk1.5.0_01
> -----------------------------------------------------------------------
>
>                 Key: COCOON-1457
>                 URL: https://issues.apache.org/jira/browse/COCOON-1457
>             Project: Cocoon
>          Issue Type: Bug
>          Components: Blocks: Java Server Pages
>    Affects Versions: 2.1.6
>         Environment: Operating System: Linux
> Platform: PC
>            Reporter: Mark Eggers
>         Assigned To: Cocoon Developers Team
>
> Environment
> ===========
> fedora core 3 linux 2.6.10-1.766_FC3
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_01-b08)
> Tomcat 5.5.7
>     <servlet>
>         <servlet-name>jsp</servlet-name>
>         <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
>         <init-param>
>             <param-name>fork</param-name>
>             <param-value>false</param-value>
>             <compiler>javac</compiler>
>         </init-param>
>         <init-param>
>             <param-name>xpoweredBy</param-name>
>             <param-value>false</param-value>
>         </init-param>
>         <load-on-startup>3</load-on-startup>
>     </servlet>
> Cocoon
> URL: http://svn.apache.org/repos/asf/cocoon/branches/BRANCH_2_1_X
> Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68
> Revision: 155211
> Node Kind: directory
> Schedule: normal
> Last Changed Author: sylvain
> Last Changed Rev: 155210
> Last Changed Date: 2005-02-24 09:02:09 -0800 (Thu, 24 Feb 2005)
> Properties Last Updated: 2005-01-24 11:30:14 -0800 (Mon, 24 Jan 2005)
> Build
> =====
> Cocoon builds fine under jdk1.5.0_01 with modifications to
> tools/targets/init-build.xml to target the 1.5 jdk.
> 152c152
> <            target="1.5"
> ---
> >            target="1.4"
> 178c178
> <            target="1.5"
> ---
> >            target="1.4"
> Issue
> =====
> Accessing http://localhost:8080/cocoon/samples/blocks/jsp/welcome.htm generates
> NO output:
> <html><body></body></html>
> Accessing http://localhost:8080/cocoon/samples/blocks/jsp/welcome.xml generates
> the following error:
> Premature end of file
> column: -1
> line: -1
> cause: org.xml.sax.SAXParseException: Premature end of file.
> location: null
> Stack trace information:
> org.apache.cocoon.ProcessingException: SAXException while parsing JSPEngine
> output: org.xml.sax.SAXParseException: Premature end of file.
> 	at org.apache.cocoon.generation.JSPGenerator.generate(JSPGenerator.java:97)
> Caused by: org.xml.sax.SAXParseException: Premature end of file.
> 	at org.apache.excalibur.xml.impl.JaxpParser.fatalError(JaxpParser.java:443)
> The JSP and class files for the page are generated in:
> $TOMCAT_HOME/work/Catalina/localhost/cocoon/org/apache/jsp/samples/blocks/jsp

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira