You are currently reviewing an older revision of this page.

DRAFT KB-XXXX Current user activity is blank even after clearing the search indices


The Current User Activity tab in the Admin Console is blank. The following WARN message appears in the application server log:

YYYY-MM-DD HH:MM:SS.MMM INFO [ajp-nio-8009-exec-2] org.apache.catalina.core.StandardWrapperValve.invoke YYYY-MM-DD HH:MM:SS,MMM [ajp-nio-8009-exec-2] WARN - Could not record user activity: secCtx=BPMSVC7, authDetails=AuthenticationDetails[ts=YYYY-MM-DD HH:MM:SS.MMM, entryPoint=PORTAL, clientIpAddress=XX.XX.XXX.XX, clientUserAgent=Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.92 Safari/537.36] -- java.lang.NullPointerException


This issue occurs when the environment is using a version of Apache that is earlier than Apache 2.4, and the mod_jk connector version is earlier than 1.2.42.


Upgrade to the most recent version of Apache and the mod_jk connector.


  1. Add the following lines to the bottom of the Apache httpd.conf file:
    SetEnvIf Server_Addr "(.*)" AJP_LOCAL_ADDR=$1
  2. Restart Apache. 

Affected Versions

This article applies to all versions of Appian using Apache as a web server