A J_security_check error occurs while accessing the SAS® Merchandise Planning application using Windows2022 terminal server


In SAS Merchandise Planning 6.8, the login URL might be appended with j_security_check when you attempt to access the application using Terminal Server 2022. This URL might cause a J_Security_Check 408 or 409 error.

This error is typically caused by one or both of the following:

Resolution Steps

Step 1 — Verify the jvmRoute Configuration

1. Navigate to the server configuration file at:

/data/app/SAS/retail/plan_61/scripts/MPServer<instance>/conf/server.xml

2. Ensure that the jvmRoute attribute in the <Engine> tag matches the value configured in the Apache settings located under: 

/data/app/SAS/retail/plan_61/scripts/apache/

The correct configuration should appear as follows:

xml
<Engine name="Catalina" defaultHost="localhost" jvmRoute="instanceTwo">

Note: A mismatch between the jvmRoute value and the Apache configuration is a common cause of this error. Check all the instances of MPServer to review and confirm that the value is correct.


Step 2 — Add the Application URL to Trusted Sites

In Internet Explorer or Edge (using IE Mode), complete these steps:

  1. Select More Tools (⋯) → Internet Options.
  2. Go to the Security tab.
  3. Select Trusted Sites and click Sites.
  4. Add the application URL to the trusted sites list.
  5. Select Close and then OK.

Verification

After completing both steps, clear the browser cache and launch the application URL. The string j_security_check should no longer be added to the URL, the 408/409 error should no longer appear, and application log-in should be successful.