IBM Support

Why is the property xapirest.servlet.authstyle=BASIC in customer_overrides.properties is not picked up?

Troubleshooting


Problem

You can configured xapirest.servlet.authstyle=BASIC in customer_overrides.properties to override the default value of servlet.authstyle=CONTAINER_USER defined in xapirest.properties file. However, when a REST API call is made after defining this, error code 401 is seen. This error only occurs when servlet.authstyle=CONTAINER_USER or servlet.authstyle=CONTAINER.

Cause

The reason the value defined in customer_overrides.properties was not picked up was because the xapirest=<Install_Dir>/properties/xapirest.properties was missing in the server.properties file

Diagnosing The Problem

Check servers.properties file

Resolving The Problem

Add xapirest=<Install_Dir>/properties/xapirest.properties in server.properties file

[{"Type":"MASTER","Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SS6PEW","label":"IBM Sterling Order Management System Software"},"ARM Category":[{"code":"a8m0z000000cy0AAAQ","label":"Install and Deploy"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"10.0.0;9.0.0;9.1.0;9.2.0;9.2.1;9.3.0;9.4.0;9.5.0"}]

Document Information

Modified date:
25 October 2025

UID

swg22003346