cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 33762] New: - jsp functionality broken in cocoon 2.1.7-dev, Tomcat 5.5.7, jdk1.5.0_01
Date Mon, 28 Feb 2005 01:00:13 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33762>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33762

           Summary: jsp functionality broken in cocoon 2.1.7-dev, Tomcat
                    5.5.7, jdk1.5.0_01
           Product: Cocoon 2
           Version: Current SVN 2.1
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Keywords: JDK1.5
          Severity: normal
          Priority: P2
         Component: blocks
        AssignedTo: dev@cocoon.apache.org
        ReportedBy: mdeggers@earthlink.net


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

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Mime
View raw message