IBM Support

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

Technote (troubleshooting)


Problem(Abstract)

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" ... />

Document information

More support for: IBM UrbanCode Deploy
General Information

Software 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

Operating system(s): AIX, HP-UX, Linux, OS X, Solaris, Windows, Windows Mobile, z/OS

Reference #: 1682993

Modified date: 06 December 2014