IBM Support

CWS and HTTP compression

Troubleshooting


Problem

Depending on the adapter being used, Cognos Web Services (CWS) may communicate with a Cognos Application using a gateway that is installed on a Web server with HTTP compression enabled. This document describes how to configure CWS to allow for the compression. [Error Message -

]When accessing PowerPlay Enterprise Server using the PPWA adapter, you may receive the

Symptom

Exception: PRS-CWS-0001 Adapter error. <Error Code="103" Msg="PowerPlay error."></Error>

If the logging level for CWS is set to debug, the cwslog.log file will show 'garbage' binary data in the HTTP data section:

...
297 [Sequence] INFO com.cognos.cws.HTTPServiceConnection -- CWSID=724a9d:102cbfe4a21:-8000 ===== Data:
297 [Sequence] INFO com.cognos.cws.HTTPServiceConnection -- CWSID=724a9d:102cbfe4a21:-8000 ===== Buffer length:3266
297 [Sequence] INFO com.cognos.cws.HTTPServiceConnection -- CWSID=724a9d:102cbfe4a21:-8000 ? ?`I?%&/m?{J?J??t??`$??@?H???iG#)?*??eVe]f@??????{???{??;?N'????\fdl??J??!????~|?"??ez??MQ-??hw??Q?/??X^|??U??UW?????????????g]??G????Y?f???-??E?gmZ­?YU?M???T?I_VWy???????????(??'uU??}4?]­?&w?:z\f`??4??2[?GM{]???/??????/??]g?? ??????N???w{?<??Y?|V?4??Lm}wzQlO?%?0k??q?.?(]??}???/_??(E?}t.@h?Y}?????t?l???hut|??????w?UY???v%???]m???????W???????????g?j?????'?W_}?{????????>?x????|?z?????/N^?'????q?b9?w??|?x?[N~?_??NO??????`?>?>~????z6???????????Av5???????????~??/~?????z??d??OWO~?F?O^?? ??????a?ts?7O???nn????;l???OO?????u??'???????u5[O[?}3?7?O??@6?ig8???G?vG????????7??m(???P?_???vn?r?/6O????C?????x?>????u?f??v?xo3?o?EgF?m?zt??z??n?f?r?X<:?9?? ?~??'???/?????xZ????????????????Dl?<??Y???{?~???????w???O??_e???????????{???Fh??Cp?rs?????????d2????]G!????f??h??;???????)|o3?|???'???6>????M???{{????nx???;7???????|?U??6??h?­??~rg??w?c?/:?z3f_u?i?:?}??}?w?e??s??&)???G?????$7???Y??|??d???F^??6}M??{h>???bI??????+6?yQ7­???~????r?9??eF?q????-m???t???/?7?[?????/?j?H???f??_­?&?n^?W?
...
297 [Sequence] INFO com.cognos.cws.HTTPServiceConnection -- CWSID=724a9d:102cbfe4a21:-8000 ===== [END]
312 [Sequence] ERROR com.cognos.cws.CWSProtocolHandler -- CWSID=724a9d:102cbfe4a21:-8000 CWSProtocolHandler - Fault construction exception. [<Error Code="103" Msg="PowerPlay error."></Error>
]
312 [Sequence] INFO com.cognos.cws.CWSProtocolHandler -- CWSID=724a9d:102cbfe4a21:-8000 CWSProtocolHandler::encodeAllContexts - No incoming contexts need to be copied.
312 [Sequence] INFO com.cognos.cws.CWSProtocolHandler -- CWSID=724a9d:102cbfe4a21:-8000 CWSProtocolHandler::encodeAllContexts - Encoding 1 context objects.
312 [Sequence] INFO com.cognos.cws.CWSProtocolHandler -- CWSID=724a9d:102cbfe4a21:-8000 No trace output requested.

[{"Product":{"code":"SSTQPQ","label":"IBM Cognos Series 7 PowerPlay"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Metrics Manager","Platform":[{"code":"PF025","label":"Platform Independent"},{"code":"PF033","label":"Windows"},{"code":"","label":"solaris"}],"Version":"Cognos Metrics Manager 2.2;Cognos Web Services 7.1;Cognos Web Services 7.3","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}},{"Product":{"code":"SSTQPQ","label":"IBM Cognos Series 7 PowerPlay"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Cognos Web Services","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Historical Number

1011651

Document Information

Modified date:
09 May 2025

UID

swg21350111