IBM Support

Access for Web Cookie format not supported with new Integrated Application Server V8.5 Instances

Troubleshooting


Problem

IBM i Access for Web deployed on a newly created Integrated Application Server V8.5 instance may fail to connect with a message like 'Error 500: java.lang.IllegalArgumentException: Cookie name "iWASession/intappsvr/IWAIAS85" is a reserved token'.

Symptom

IBM i Access for Web after being deployed on a newly created Integrated Application Server V8.5 instance fails to connect with a message like 'Error 500: java.lang.IllegalArgumentException: Cookie name "iWASession/intappsvr/IWAIAS85" is a reserved token'.

Cause

At recent HTTP Group PTF levels the Integrated Application Server V8.5 moved to new runtime specifications such as moving from a servlet-3.0 specification to a servlet-3.1 specification. One of the changes introduced is more restrictions on the allowable characters in an HTTP cookie, and one of those that is no longer allowed is the '/' that IBM i Access for Web uses.

Resolving The Problem

PTF 5770XH2-SI66718 has been approved to resolve this issue. IBM recommends downloading and applying this PTF immediately to resolve this issue. No restart of any servers is required.

If you do not have the PTF SI66718 applied, IBM i Access for Web would not support these newer runtime specifications so the Integrated Application Server V8.5 instance properties will need to be changed to the previous specifications to work with IBM i Access for Web.

To do this, stop the Integrated Application Server 8.5 instance and then go to the Server Properties and Features tab as shown here:



Highlight the Selected features of 'jsp-2.3', 'jsf-2.2' and 'servlet-3.1' as shown above and click the button with the arrows pointing to the left to remove those updated features.

Then in the left hand column of All available features select the previous features of 'jsp-2.2', 'jsf-2.0' and 'setvlet-3.0' and click the button with the arrows pointing to the right to add them back.

Upon completion of this the panel should look like below and then the OK button can be clicked to save these changes, and the Integrated Application Server V8.5 instance can be started and IBM i Access for Web will connect without error.


IBM i Access for Web was enhanced in the service pack PTF SI66718 to support the updated features.

[{"Type":"MASTER","Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG60","label":"IBM i"},"Platform":[{"code":"PF012","label":"IBM i"}],"Version":"7.1.0"}]

Document Information

Modified date:
18 December 2019

UID

nas8N1022365