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

Aaron Mulder updated GERONIMO-1869:
-----------------------------------

    Component/s: console

Someone put in a partial fix for this (when installing from file into 
repository, but not when installing from stream into repository).

However, I have a couple issues with the fix -- it opened a ZipFile but never 
closed it (meaning the file is locked for the duration of the JVM), and it 
tried to open the file as a ZipFile and catch an exception as a method of 
determining whether it was in fact a ZipFile.  I will fix this, but we still 
need to think about how to handle the stream issue.

> Percent complete goes over 100% when installing configurations
> --------------------------------------------------------------
>
>                 Key: GERONIMO-1869
>                 URL: http://issues.apache.org/jira/browse/GERONIMO-1869
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: core, console
>    Affects Versions: 1.1
>            Reporter: Aaron Mulder
>            Priority: Critical
>             Fix For: 1.1.x
>
>
> Looks like the UnpackArtifactTypeHandler counts the "uncompressed" bytes, 
> whereas the % is based on the content size returned by the server for the 
> download (the "compressed" byte count).
> Probably should use an InputStream between the download stream and the ZIP 
> stream that performs the count on read(byte[],int,int) and them use that 
> count instead of the uncompressed count.

-- 
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