IBM Support

UrbanCode Deploy UI can show unusual error message if the cookies grow too large

Troubleshooting


Problem

Unusual errors in form of "Error Occurred" messages in the IBM UrbanCode Deploy user interface (UI).

Cause

UrbanCode Deploy uses Tomcat web server under the covers and by default the property maxHttpHeader.

The maximum size of the request and response HTTP header specified in bytes, is set to 8k on Tomcat 6.

UrbanCode Deploy will break down its native generated cookies when they get to a size equal to 3900 characters; therefore, the native cookies will never exceed the maxHttpHeader limit.

You can also have your own domain specific cookies in addition to those of the UrbanCode Deploy and this can push the total cookie sizes to exceed the limit and introduce unusual errors (in form of "Error Occurred" messages).

Resolving The Problem

Apply one of the following solutions to resolve this issue:

  • Clearing your web browser cookies

    OR

  • Increase the maxHttpHeader setting on Tomcat.
    1. Edit tomcat/conf/server.xml HTTP/1.1 Connector entry
    2. Add a maxHttpHeaderSize="16384" to increase from the default maximum of 8K to 16K

      Example:

      <Connector port="8080" maxHttpHeaderSize="16384" protocol="HTTP/1.1" ... />

[{"Product":{"code":"SS4GSP","label":"IBM UrbanCode Deploy"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"General Information","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF022","label":"OS X"},{"code":"PF034","label":"Windows Mobile"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"},{"code":"PF035","label":"z\/OS"}],"Version":"6.0;6.0.1;6.0.1.1;6.0.1.2;6.0.1.3;6.0.1.4;6.0.1.5;6.1;6.1.0.1;6.1.0.2","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
17 June 2018

UID

swg21682993