Error 500: java.lang.IllegalStateException: Nonce value is not set Web VIewer12 - Build 238
search cancel

Error 500: java.lang.IllegalStateException: Nonce value is not set Web VIewer12 - Build 238

book

Article ID: 271701

calendar_today

Updated On:

Products

Output Management Web Viewer

Issue/Introduction

I've been testing newest build for WV12 - b238 on one of our sandboxes (WebSphere server) 

Solution binaries- dvw_12_1_6_238_LUW.ZIP

Update was made as usual: 

- OMVS Installation to get ear file
- Installation from WAS console 

After updating ear file in WAS console, instead of logon screen I get error message:
Error 500: java.lang.IllegalStateException: Nonce value is not set.

All standard troubleshooting methods failed: recycle WAS task, delete cookies etc. 
After that I've downloaded build 237 and everything worked perfectly fine.   

 

Environment

Release : 12.1

Web Viewer

IBM WebSphere

Cause

This is a known issue with 12.1.6.238 Web Viewer and WebSphere

Resolution

To resolve the WebSphere IBM issue for CSP Build 238 of 12.1 Web Viewer...

There is WebSphere Server custom property that needs to be set, in order for the server to recognize the filters that were added to web.xml for the CSP changes.  
Perform the following for all of your WebSphere servers to resolve this IBM issue:

  • From the WebSphere Integrated Solutions Console go to:
    Servers->Server Types-><server>->Web Container->Custom Properties
  • If it does not already exist, add:
    Name:  com.ibm.ws.webcontainer.mapFiltersToAsterisk
    Value:  true
  • Restart the Web Viewer 12.1 application.

The application should now work as expected.

Additional Information

The documented information on this IBM fix:

This IBM technote: https://www.ibm.com/support/pages/apar/PK57083 states the original (and still default) WAS behavior for filter mapping value '*' does not align with general "expectations".
IBM supports a WebContainer custom property to enable the expected behavior: com.ibm.ws.webcontainer.mapFiltersToAsterisk