Tuesday, March 1, 2011

WCParam versus Request/Response Properties merge mystery!

This is a really interesting one, After moving from 6.0.0.7 to 6.0.0.10. Most of the views started failing in the front end and started throwing null pointer exceptions.

General assumption WCParam=requestProperties+responseProperties

IBM post 6.0.0.9 by default refrain from merging request properties and response properties into WCParam and hence the request properties were correctly reflected in WCParam but the response properties were not available.

Inside the Instance Tag in wc-server.xml there is a new parameter added WCParamMode
Add the parameter if this is not available and update the value to
WCParamMode="1".