users@glassfish.java.net

Re: GlassFish3.1 Instllation Issue

From: Sathyan Catari <Sathyan.Catari_at_oracle.com>
Date: Wed, 18 May 2011 08:51:56 -0700

  There is a very good chance that you have a partial/corrupted download.
You could also try the following to validate this:
-unzip java_ee_sdk-6u2-jdk-solaris-sparc.sh to a "tmp" directory.
-cd "tmp"/Product/Packages
-Try to unzip all the *.zip files under this directory.
If you are not successful, then this is a partial/corrupted download.
BTW How are you downloading this binary? Through any tool(s)?

HTH
Thanks
Sathyan


On 5/18/11 6:31 AM, forums_at_java.net wrote:
> I have download JDK, when i running ./jdk-6u21-solaris-sparc.sh
>
> it's giveing below error
>
> $ chmod +x java_ee_sdk-6u2-jdk-solaris-sparc.sh
> $ ./java_ee_sdk-6u2-jdk-solaris-sparc.sh
> Extracting the installer archive...
> java.util.zip.ZipException: invalid entry size (expected 3805885 but got
> 66971 bytes)
> at
> java.util.zip.ZipInputStream.readEnd(ZipInputStream.java:373)
> at java.util.zip.ZipInputStream.read(ZipInputStream.java:141)
> at sun.tools.jar.Main.extractFile(Main.java:714)
> at sun.tools.jar.Main.extract(Main.java:677)
> at sun.tools.jar.Main.run(Main.java:189)
> at sun.tools.jar.Main.main(Main.java:903)
> Extracting the installer runtime...
> java.io.EOFException: Unexpected end of ZLIB input stream
> at
> java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:216)
> at
> java.util.zip.InflaterInputStream.read(InflaterInputStream.java:134)
> at java.util.zip.ZipInputStream.read(ZipInputStream.java:139)
> at sun.tools.jar.Main.extractFile(Main.java:714)
> at sun.tools.jar.Main.extract(Main.java:677)
> at sun.tools.jar.Main.run(Main.java:189)
> at sun.tools.jar.Main.main(Main.java:903)
> Extracting the installer resources...
> java.io.FileNotFoundException: ./Product/Packages/Resources.zip (No
> such file
> or directory)
> at java.io.FileInputStream.open(Native Method)
> at java.io.FileInputStream.<init>(FileInputStream.java:106)
> at java.io.FileInputStream.<init>(FileInputStream.java:66)
> at sun.tools.jar.Main.run(Main.java:184)
> at sun.tools.jar.Main.main(Main.java:903)
> Extracting the installer metadata...
> java.io.FileNotFoundException: ./Product/Packages/metadata.zip (No
> such file
> or directory)
> at java.io.FileInputStream.open(Native Method)
> at java.io.FileInputStream.<init>(FileInputStream.java:106)
> at java.io.FileInputStream.<init>(FileInputStream.java:66)
> at sun.tools.jar.Main.run(Main.java:184)
> at sun.tools.jar.Main.main(Main.java:903)
> chmod: WARNING: can't access product-installer.sh
> product-installer.sh: product-installer.sh: cannot open
> $ su
> Password:
> # chmod +x java_ee_sdk-6u2-jdk-solaris-sparc.sh
> # ./java_ee_sdk-6u2-jdk-solaris-sparc.sh
> Extracting the installer archive...
> java.util.zip.ZipException: invalid entry size (expected 3805885 but got
> 66971 bytes)
> at
> java.util.zip.ZipInputStream.readEnd(ZipInputStream.java:373)
> at java.util.zip.ZipInputStream.read(ZipInputStream.java:141)
> at sun.tools.jar.Main.extractFile(Main.java:714)
> at sun.tools.jar.Main.extract(Main.java:677)
> at sun.tools.jar.Main.run(Main.java:189)
> at sun.tools.jar.Main.main(Main.java:903)
> Extracting the installer runtime...
> java.io.EOFException: Unexpected end of ZLIB input stream
> at
> java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:216)
> at
> java.util.zip.InflaterInputStream.read(InflaterInputStream.java:134)
> at java.util.zip.ZipInputStream.read(ZipInputStream.java:139)
> at sun.tools.jar.Main.extractFile(Main.java:714)
> at sun.tools.jar.Main.extract(Main.java:677)
> at sun.tools.jar.Main.run(Main.java:189)
> at sun.tools.jar.Main.main(Main.java:903)
> Extracting the installer resources...
> java.io.FileNotFoundException: ./Product/Packages/Resources.zip (No
> such file
> or directory)
> at java.io.FileInputStream.open(Native Method)
> at java.io.FileInputStream.<init>(FileInputStream.java:106)
> at java.io.FileInputStream.<init>(FileInputStream.java:66)
> at sun.tools.jar.Main.run(Main.java:184)
> at sun.tools.jar.Main.main(Main.java:903)
> Extracting the installer metadata...
> java.io.FileNotFoundException: ./Product/Packages/metadata.zip (No
> such file
> or directory)
> at java.io.FileInputStream.open(Native Method)
> at java.io.FileInputStream.<init>(FileInputStream.java:106)
> at java.io.FileInputStream.<init>(FileInputStream.java:66)
> at sun.tools.jar.Main.run(Main.java:184)
> at sun.tools.jar.Main.main(Main.java:903)
> chmod: WARNING: can't access product-installer.sh
> product-installer.sh: product-installer.sh: cannot open
> #
> Filz is 140 MB.. kindly provied proper link to download JDK 1.6 with
> out any
> error. i am trying almost one Month
>
>
>
> kinldy help me out for the same
>
>
> --
>
> [Message sent by forum member 'shaker.reddy.java']
>
> View Post: http://forums.java.net/node/803333
>
>