Skip to main content
Skip table of contents

Enable AJP Connector in Smart ID Self-Service

This article is valid for Smart ID 21.04 and later.

This article describes how to enable the AJP Connector in Smart ID Self-Service.


In this article, <SMARTIDHOME> refers to /home/nexus, but this can be different depending on the setup.

The Apache JServ Protocol (AJP) can be used via the AJP connector, see Apache Tomcat 9 Configuration Reference (9.0.40) - The AJP Connector.

  1. Enable the AJP connector:

    1. Open this file for editing: <SMARTIDHOME>/docker/compose/selfservice/config/tomcat-server.xml.

    2. Enable the AJP Connector by removing the comments <!-- and – > and make the necessary settings to fit the AJP.

          <!-- <Connector protocol="AJP/1.3"
                     redirectPort="8443" /> -->
         <!-- You should set jvmRoute to support load-balancing via AJP ie :
         <Engine name="Catalina" defaultHost="localhost" jvmRoute="jvm1">
  2. Enable the port mapping: 

    1. Open this file for editing: <SMARTIDHOME>/docker/compose/selfservice/docker-compose.yml.

    2. Enable port mapping by removing "#". If you want to use another external port for Self-Service, change SELFSERVICE_PORT_AJP in <SMARTIDHOME>/docker/compose/smartid.env.
      # - "${SELFSERVICE_PORT_AJP}:8009"

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.