Default language.

Troubleshooting the ARERR 9201 error


When a session has timed out or is invalidated on the , end users receive the following error on their browser:

image2019-7-9_9-25-36.png

There can be several causes for this error, not always related to an actual or valid timeout. Possible reasons for an invalidated session include:

This error can be caused due to following reasons, not always related to an actual or valid timeout.

  • Valid session timeout (90 minutes – default)
  • License release timeout
  • User logout
  • Load balancer (session persistence problem)
  •  restart

Each  has a unique instance ID (MTID). The  log file tracks the MTID, session ID, and cookie ID. The MTID in the log file helps to troubleshoot the 9201 error faster.

The following table describes the error messages displayed for an invalidated session:

Error message

Reason

Additional Information

Session invalid: Due to timeout, 
license release, or logout. 
See previous log statements 
for more detail. 
MTID [xxxx-xxxx-xx], 
Cookies: MTID [xxxx-xxxx-xx], 
SessionID [xxxxxxxx]. Request URL:
Previous log message:
SessionListener: Session Invalidated for appadmin,
session id: xxx

Session timeout

after X minutes of inactivity. Here, X is the value you define for session timeout.
Default value — 90 minutes

The session invalid log message shows the Session ID of the user.

The log message shows that the Session ID is invalidated because of the Session Listener, which indicates that the current user's session might have timed out.

Note:

After the user session is established, it takes approximately 90 minutes (default) for the Session Listener logs to be populated.

Session invalid: Due to timeout, 
license release, or logout. 
See previous log statements for more detail.
MTID [xxxx-xxxx-xx], 

Cookies: MTID [xxxx-xxxx-xx], 
SessionID [xxxxx].
Request URL:

Previous log message:
LicenseReleaseTask: 
Session Invalidated for appadmin, 
session id: xxx

License release timeout

The browser is closed after the time you have set for the arsystem.licenserelease_timeout property.


The session invalid log message shows the Session ID of the user.

The log message shows that the Session ID is invalidated because of the LicenseReleaseTask, which indicates that the current user has closed the browser without logging out.

The session is invalidated because of the license release feature.

Session invalid: Due to timeout, 
license release, or logout. 
See previous log statements for more detail.
MTID [xxxx-xxxx-xx], 

Cookies: MTID [xxxx-xxxx-xx], SessionID [xxxxx].
Request URL:

Previous log message:
LogoutServlet:
Session Invalidated
for appadmin,
session id: xxx

User logout

The session invalid log message shows the Session ID of the user.

The log message shows that the Session ID is invalidated because of the LogoutServlet.

This error occurs if you open multiple browser tabs by using the browser functionality and then logout from one of the browsers.

Session invalid: 
Due to no existing 
session (MTID mismatch). 
Possible session persistence failure. 
MTID [xxxx-xxxx-xx], 
Cookies: MTID [xxxx-xxxx-xx], 
SessionID: xxx. Request URL:

Load balancer

(session persistence problem)

The user's cookie for the original MTID does not match with the MTID of the  the user is currently directed to.

Indicates a possible session persistence problem. The load balancer does not direct the user to the same  during the current session.

Enable session persistence (sticky bit) on the load balancer, or use clustering.

Session invalid: 
Due to no existing session 
(MTID cookie matches previous MTID). 
Web Application Server may have been restarted. 
MTID [6T5S-ODW6-JT], 
Previous MTID [xxxx-xxxx-xx], 
Cookies: MTID [xxxx-xxxx-xx], 
SessionID: xxx. Request URL: 

 restart

Indicates  restart. On each start of the ,  creates a new MTID.

The user's cookie for MTID does not match with the current MTID, but it matches the previous MTID.


These error messages help you to analyze the root cause of 9201 error and to take appropriate action. If you require assistance in reviewing and analyzing  logs, contact BMC Support. Refer to the Collecting Mid Tier logs section to learn how to collect  logs from the armidtier.logs file. 

Collecting BMC Remedy  logs

You can collect the  logs from the files using naming convention of armidtier*.log. The files are located in the <Install Directory>\BMC Software\ARSystem\midtier\logs directory. 

You can also enable additional logging by using the following options on the Log Settings tab of  Configuration Tool: 

  • Select Session Management, Performance, and Servlet options.

    image2019-7-3_11-6-9.png

  • From the Log Level list, select Fine and from the Log Format list, select Detailed text (includes class name and method)
    image2019-7-8_10-23-24.png

Related topic

Troubleshooting-Mid-Tier

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*