Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

java.io.IOException: Not in GZIP format

16 views
Skip to first unread message

vyas...@gmail.com

unread,
Aug 11, 2009, 11:13:24 AM8/11/09
to
Hello,
While accessing the following line of code on WAS6.1
GZIPInputStream gis = new GZIPInputStream(is, 32768);
where
'is' is the InputStream, I am getting the following exception :

java.io.IOException: Not in GZIP format:java.io.IOException: Not in GZIP format
at java.util.zip.GZIPInputStream.readHeader(Unknown Source)
at java.util.zip.GZIPInputStream. (Unknown Source)
at com.csc.fsg.life.pw.client.util.HttpComm.readResults(HttpComm.java:698)
at com.csc.fsg.life.pw.client.util.HttpComm.postForm(HttpComm.java:226)
at com.csc.fsg.life.pw.client.ProductWizardApplet.addEnvironmentFrame(ProductWizardApplet.java:283)
at com.csc.fsg.life.pw.client.ProductWizardApplet.addEnvironmentFrame(ProductWizardApplet.java:213)
at com.csc.fsg.life.pw.client.mdi.PlanFilter.openEnvFrame(PlanFilter.java:831)
at com.csc.fsg.life.pw.client.mdi.PlanFilter$10.actionPerformed(PlanFilter.java:804)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

java.io.IOException: Not in GZIP format
at java.util.zip.GZIPInputStream.readHeader(Unknown Source)
at java.util.zip.GZIPInputStream.(Unknown Source)
at com.csc.fsg.life.pw.client.util.HttpComm.readResults(HttpComm.java:698)
at com.csc.fsg.life.pw.client.util.HttpComm.postForm(HttpComm.java:226)
at com.csc.fsg.life.pw.client.ProductWizardApplet.addEnvironmentFrame(ProductWizardApplet.java:283)
at com.csc.fsg.life.pw.client.ProductWizardApplet.addEnvironmentFrame(ProductWizardApplet.java:213)
at com.csc.fsg.life.pw.client.mdi.PlanFilter.openEnvFrame(PlanFilter.java:831)
at com.csc.fsg.life.pw.client.mdi.PlanFilter$10.actionPerformed(PlanFilter.java:804)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)


While I am successfully able to execute the same code on WAS5.1
Is it so that WAS6.1 do not support GZIP??
Any help would be highly appreciated.
Thanks.

0 new messages