Link to home
Start Free TrialLog in
Avatar of ngujja
ngujja

asked on

java.util.zip.zipexception

Hi All,
Iam trying to unjar an ear file, when I unjar it in Win'00 it works fine, no problems here.

But when I do the same on AIX5.1 it complains. It does pull out all directories and some files, but not all the files. Below is the error message.
-------------------------------------------------------------------------------------------
java.util.zip.ZipException: oversubscribed dynamic bit lengths tree
        at java.lang.Throwable.<init>(Compiled Code)
        at java.lang.Exception.<init>(Compiled Code)
        at java.io.IOException.<init>(Compiled Code)
        at java.util.zip.ZipException.<init>(Compiled Code)
        at java.util.zip.InflaterInputStream.read(Compiled Code)
        at java.util.zip.ZipInputStream.read(Compiled Code)
        at sun.tools.jar.Main.extractFile(Compiled Code)
        at sun.tools.jar.Main.extract(Compiled Code)
        at sun.tools.jar.Main.run(Compiled Code)
        at sun.tools.jar.Main.main(Compiled Code)
--------------------------------------------------------------------------------------------

I used the same command on both platforms.
jar -xf my.ear

Any suggestions/insight?

Thanks
ngujja
Avatar of StillUnAware
StillUnAware
Flag of Lithuania image

try here:

http://bugs.sun.com/bugdatabase/search.do

search for "oversubscribed dynamic bit lengths tree"

first two links may answer Your question.

AFAIK this is an internal error, so You should upgrade Your JVM on AIX
Avatar of ngujja
ngujja

ASKER

thanks
I looked up the database, not much info about it.
AIX uses jdk1.4 as does Win'00.
seems that JVM builds are not the same on both platforms, You could ask about this on java forums http://forum.java.sun.com
Avatar of ngujja

ASKER

I posted the question on Java forum. No one replies to it over there. At this point I dont know what to do. Iam sending the ear file through ftp from Win'00 to AIX, is that an issue?

Avatar of ngujja

ASKER

I just turned the FTP to enable binary transfer and it worked.

Can this question be closed. Do not delete maybe someone can search it for answer.

Thanks
ngujja
ASKER CERTIFIED SOLUTION
Avatar of CetusMOD
CetusMOD
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial