[ http://issues.apache.org/jira/browse/COCOON-1171?page=all ]

Jörg Heinicke updated COCOON-1171:
----------------------------------

    Bugzilla Id:   (was: 29365)
        Summary: InputStream of inner request remains open (special case for 
Zip only?)  (was: Zip file remains open)

> InputStream of inner request remains open (special case for Zip only?)
> ----------------------------------------------------------------------
>
>                 Key: COCOON-1171
>                 URL: http://issues.apache.org/jira/browse/COCOON-1171
>             Project: Cocoon
>          Issue Type: Bug
>          Components: * Cocoon Core
>    Affects Versions: 2.1.5
>         Environment: Operating System: Windows XP
> Platform: PC
>            Reporter: David Perez
>         Assigned To: Cocoon Developers Team
>
> I have the following pipeline:
> <map:match pattern="a">
>       <map:generate src="jar:file:///myfile.sxw!/content.xml"/>
>       <map:transform label="t1" src="transf/open-office-a-docbook.xsl"/>
>       <map:serialize/>
> </map:match>
> <map:match pattern="b">
>       <map:generate src="cocoon:/a"/>
>       <map:serialize/>
> </map:match>
> If I call from the browser the "b" pipeline, it works ok, but the zip file
> "myfile.sxw" remains opened and cannot be replaced unless the Web server is
> restarted. 
> The inputstream isn't closed.
> The problem doesn't happen if I call the "a" pipeline directly.
> I've tried to solve it myself, but I see the code quite complicated.  :-(
> Confirmed it happens also in Cocoon 2.1.3
> Java version: 1.4.2.04
> Operating system: Windows 2003 Server.

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


Reply via email to