| Summary: | Deploying war on Tomcat after putting birt 3.7 jars gives java.util.zip.ZipException: invalid distance code | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Lalit Bhatt <lalit.bhatt> |
| Component: | BIRT | Assignee: | Birt-ReportEngine-inbox <Birt-ReportEngine-inbox> |
| Status: | RESOLVED NOT_ECLIPSE | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | jouyang |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
Birt version is 3.7.0 and the jars are taken from the ReportEngine\lib You don't deploy the war in birt runtime directly? We are adding the birt runtime in our application programmatically and then deploy the war in Tomcat. It works fine when deploy the birt.war directly. |
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