Troubleshooting
Problem
After having installed the Security Fix Pack 1 for versions like 9.1, 9.2, or 9.2.1, the following kind of error messages are printed the application server and SCI logs at ERROR level when navigating in Sterling Business Center or Sterling Field Sales: ERROR [ParametersInterceptor] Developer Notification (set struts.devMode to false to disable this message): Unexpected Exception caught setting 'scFlag' on 'class com.sterlingcommerce.ui.web.platform.struts.SCUIXAPIAggregatorMashupAction: Error setting expression 'scFlag' with value ['Y', ] Error setting expression 'scFlag' with value ['Y', ] - [unknown location] or com.opensymphony.xwork2.util.logging.commons.CommonsLogger error Could not reload resource bundles java.lang.NoSuchFieldException: cacheList
Resolving The Problem
Since these errors are logged by the 3rd party Struts code, there are two options to suppress them:
1.) set struts.devMode=false:
Go to INSTALL_DIR/repository/eardata/sbc/extn.
Copy struts.properties.sample as struts.properties.
Set struts.devMode=false.
Rebuild the EAR file.
Please note that this change might have to be done for other modules that also use Struts as well, e.g. sfs.
2.) build the EAR file with -DdevMode=false.
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21665673