Joseph D. Darcy wrote:
Any idea who can help me with this exception..
If there isn't anything sensitive in your inquiry, you could send
email to [EMAIL PROTECTED]
Thanks Joe.
Could anybody help me why we get into the following issue on/off. This
(exception) happens when we try to read a large file during the build
(of Glassfish v3).
This problem is very difficult to reproduce and random in nature. (this
is with both 1.5_xx and 1.6xx JDK).
I will file bug against JDK after any insight here.
thanks,
Harsha
-Joe
thanks,
Harsha
Problem: When reading large jar files programatically, we get the
following exception.
Caused by: org.apache.maven.plugin.MojoExecutionException: Error
assembling JAR
at
com.sun.enterprise.module.maven.PackageMojo.createArchive(PackageMojo.java:183)
at
com.sun.enterprise.module.maven.PackageMojo.execute(PackageMojo.java:193)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
... 16 more
Caused by: java.util.zip.ZipException: oversubscribed dynamic bit
lengths tree
at
java.util.zip.InflaterInputStream.read(InflaterInputStream.java:140)
at java.io.DataInputStream.readFully(DataInputStream.java:176)
at java.util.jar.JarFile.getBytes(JarFile.java:364)
at java.util.jar.JarFile.getManifestFromReference(JarFile.java:157)
at java.util.jar.JarFile.getManifest(JarFile.java:145)
at
com.sun.enterprise.module.common_impl.Jar$Archive.getManifest(Jar.java:172)
at
com.sun.enterprise.module.maven.Packager.configureManifest(Packager.java:126)
at
com.sun.enterprise.module.maven.PackageMojo.createArchive(PackageMojo.java:168)