0

Corrupted output when Compression enabled on Glassfish 3.1.2.2 Server

asked 2019-07-31 02:51:58 +0800

bztom35 gravatar image bztom35
1 1

updated 2019-07-31 02:58:14 +0800

Does anyone has experienced compression enabled issue with Glassfish 3.1.2.2 servers?

When I set compression on the Glassfish server, all generated output pages from ZK are corrupted.

example of corrupted output

��]}w�8��{�)4�ӗl���>�99��[�l ���}�d��6&���-_�tuu_te���Û���D�����/߾��a��=l4.n.����y��&����i@���F��}U�A� ��rY_��O7���!nV?�κX���Y�c��i���w˲[��#Q��|���i�㉃+�dn@���C�SRA�������n84¢ lrv��Nl��'�i�V6��w�k�J�����g_60zG�o�_��:i��1k_] j�V&͗�ݬ�u��at�av�qfjl�-�NT���C�Z���P����Q:T���]q��p�^��4������={Z����x5Fh�O��#�N�����l��4��������d ��w_9� 6�[� �G�1)�1��1��:�} +��:xB��?��%�o�'t\AKj�ӊ�l���JIF���Q��e�~�I��J�*gЂ���W�������3�*�� �Mnj�� \���w�5C����0��z!Ļ��= C}�m0��� _�vx� ͳU�"Uw�?# ��<����� H������ZU��j�� ��̟Tk�|P QTk��o�J�5.N�"�u�L�o�?��¯�<��7�!�5�(��@����ܦ r-s�5�6� ��]����A��" �l�����WMձt��'��-U%-U��)���W�^�2c�'����N����z �K���h_t��C��$�&�����AU��6%t2 ����Z���Tk�. ���m2���; �h#�;�m�6eP��,�P �l9��i|^N��{��dB���~Ø=�|4�u��b��"��6����i�)�ðmq}�*�n��؃꫘��,�j�1��A5�Y9@���IB_Q���6��~���x�����u�ɳ��&� �eJ�� ����"r�e��� e��`���/��"�ʽ����@Ou�+��A���ܑ�;�}���0���ABFVG؜M8�������E��.y6 ,�U��oc/�hy���'�](������Eu�E]��q:x�=S%��-p��pJm���s%���D���#Ų%���.�3��#�lZ�f�IR��� �u�;�η��O��[�#v�P���J�+�GJ�k}KlpQb����ׅ~�u|��5��1k�ə�_���{㺄��

My Compressible mime type: text/html,text/xml,text/plain,application/json,application/x-application/xml

Any Thoughts?

Thanks,

Tom

delete flag offensive retag edit

1 Answer

Sort by » oldest newest most voted
0

answered 2019-07-31 10:19:07 +0800

cor3000 gravatar image cor3000
4606 2 7
ZK Team

updated 2019-07-31 10:20:35 +0800

my first idea would be to disable compression done by ZK's servlets, which is enabled by default. (double compression usually doesn't work) you can disable it in your web.xml for the loader and update servlet:

documented here: https://www.zkoss.org/wiki/ZK%20Configuration%20Reference/web.xml/ZK%20Loader https://www.zkoss.org/wiki/ZK%20Configuration%20Reference/web.xml/ZK%20AU%20Engine

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2019-07-31 02:51:58 +0800

Seen: 5 times

Last updated: Jul 31

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More