Unable to Uncompress the files

Glad you got the imports part figured out.

I do not know if the PSUtilities unzip service works for GZip.

Hi
I’m working on a service where I receive a doc file and have to rename it to a zip and then unzip to continue with the process.

My problem is

I could unzip a zip file successfully, but when I rename a doc to zip and try to unzip I get an error called “over subscribed dynamic bits length tree”

If you have any information to resolve this issue, please let me know

Thanks in advance
Ashok

A Google search for “[FONT=Arial]oversubscribed dynamic bits length tree” turns up some hits including [URL=“http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4188883”]http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4188883[/URL].[/font]

What JVM version are you using?

I’m using 142 version

How is the file being received? If via FTP, is binary transfer mode being used?

There was a problem with the rename code, when it renames a doc to zip file, the file in zip gets corrupted. so i changed the code of rename file from doc to zip and it’s working fine

so i came to know that, the error “over subscribed dynamic bits length tree”
also occurs when the file is corrupted

Thanks
Ashok

HI ROB,

can u plz tel me wat r the inputs and ouptputs of ur unzipping code that u provided.

Thanks,
Syed