geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Mulder (JIRA)" <>
Subject [jira] Updated: (GERONIMO-1869) Percent complete goes over 100% when installing configurations
Date Tue, 01 Aug 2006 16:45:14 GMT
     [ ]

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

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message