Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 353886 - Deploying war on Tomcat after putting birt 3.7 jars gives java.util.zip.ZipException: invalid distance code
Summary: Deploying war on Tomcat after putting birt 3.7 jars gives java.util.zip.ZipEx...
Status: RESOLVED NOT_ECLIPSE
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Birt-ReportEngine-inbox@eclipse.org CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-04 09:48 EDT by Lalit Bhatt CLA
Modified: 2011-08-05 02:58 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lalit Bhatt CLA 2011-08-04 09:48:17 EDT
Build Identifier: 

Deploying war on Tomcat gives the following problem:

java.util.zip.ZipException: invalid distance code
       at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:147)
       at java.util.zip.ZipInputStream.read(ZipInputStream.java:154)
       at java.util.jar.JarInputStream.read(JarInputStream.java:195)
       at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)

On further analysis, I found the the issue is coming because of com.ibm.icu_4.4.2.v20110208.jar. When I replaced the jar from a jar from icu site at http://site.icu-project.org/download, it worked fine. I took the version 4.4.2.1 to be near to the existing version.

Other environment related things: The application is a GWT (2.1.0), Spring (3.5) and Hibernate (3.5) Also Birt works find if I run it in GWT development mode. The problem comes only when the war is deployed at Tomcat

Reproducible: Always

Steps to Reproduce:
1. Put all the jars in the web application.
2. Make a war
3. Deploy it on Tomcat
Comment 1 Lalit Bhatt CLA 2011-08-04 09:50:42 EDT
Birt version is 3.7.0 and the jars are taken from the ReportEngine\lib
Comment 2 Jun Ouyang CLA 2011-08-05 02:22:42 EDT
You don't deploy the war in birt runtime directly?
Comment 3 Lalit Bhatt CLA 2011-08-05 02:41:12 EDT
We are adding the birt runtime in our application programmatically and then deploy the war in Tomcat.
Comment 4 Jun Ouyang CLA 2011-08-05 02:58:40 EDT
It works fine when deploy the birt.war directly.