Install the Search Application
You can install the ADF Search Application as a standalone application or as an application that shares an Apache Tomcat instance with PoolParty. Currently the application can only run on a Linux system.
Prerequisites
The following prerequisites must be satisfied before you start with the installation procedure:
64bit GNU/Linux Server (CentOS/RHEL/Oracle Linux 7 and 8)
at least 5 GB free disk space and 4 GB RAM
PoolParty Thesaurus Server 9.1 (PoolParty 2022 Release 2) or higher
Search Server license or higher
PoolParty user with a user role permitting API write access, recommended is an API service user with ApiAdmin role
OpenJDK (same version as currently installed for your PoolParty instance), make sure that
JAVA_HOME
is set up properlyKeycloak (is shipped with PoolParty; during the installation, you will be prompted to provide its URL, name of the PoolParty realm and a client secret for the client
ppt
)Apache Tomcat 9 (you can install the ADF Search Application with its own Tomcat instance or as an application that shares an Apache Tomcat instance with PoolParty)
Installation Procedure
This will install ADF 1.2.0 on your computer. 1 OK [o, Enter], Cancel [c] > o Choose the appropriate option: 2 Install ADF [1, Enter], Upgrade an existing ADF installation [2], Cancel installation [c] > Choose the appropriate option: 3 ADF is run as a standalone application [1, Enter], ADF is run on a shared Tomcat 9 instance (this will not update Tomcat) [2], Cancel installation [c] > 1 Where should ADF be installed 4 [/opt/ADF] > Default ADF user: 5 [poolparty] > Default ADF group: [poolparty] > Please review: 6 SETTING VALUE Installation directory /opt/ADF, Access: OK ADF user:group poolparty:poolparty Proceed installation? OK [o, Enter], Cancel [c] > Which base path (directory in the URL) do you want ADF to be accessible at? (e.g.: /ADF) 7 > /search What is the URL to the PoolParty instance to use? (e.g.: https://test.poolparty.biz) 8 > https://example.poolparty.biz What is the user group for the PoolParty user? 9 > ADF What is the URL to the Keycloak instance to use? (e.g. https://<KEYCLOAK_URL>[:8181]) 10 > https://example-keycloak.poolparty.biz:8181 What is the Realm in the Keycloak instance to use? (e.g. poolparty) 11 > poolparty What is the Client Secret of Keycloak Client "ppt"? 12 > JhbGciOiJSUzI1NiIsInR5 Please review the application properties: 13 SETTING VALUE PoolParty URL https://example.poolparty.biz PoolParty User superadmin PoolParty User Group ADF Keycloak URL uhttps://example-keycloak.poolparty.biz:8181 Keycloak Realm poolparty Keycloak Client ID ppt Keycloak Client Secret JhbGciOiJSUzI1NiIsInR5 Proceed installation? OK [o, Enter], Cancel [c] >
Download the ADF Search Application installer (for example CautionRun the installer as a | |
When prompted about the installation options, select a fresh installation by entering | |
Specify whether you want to install the ADF Search Application as a standalone application (i.e. with its own Tomcat 9 instance) by pressing | |
Specify the folder where the ADF Search Application should be installed or confirm the default path by pressing | |
Specify the default user and group under which the ADF Search Application will run. | |
Review the settings you have just made. If everything is correct, proceed with the installation by pressing | |
Enter the base path where the ADF Search Application will be accessible at starting with a slash. For instance if you specify | |
Enter the URL of the PoolParty instance that the ADF Search Application will work on top of. The API calls to PoolParty are protected with OAuth 2.0 | |
Specify the PoolParty user group that will permit access to the areas in the ADF Search Application that are protected with authentication. Only users who are members of this PoolParty group will be able to log in to the ADF configuration interface and access the configurations on the main user interface that require login. TipIf you want to give all PoolParty users access to all the ADF Search Application areas protected with authentication, use the user group Public. | |
Enter the URL of PoolParty's Keycloak instance. | |
Specify the realm in Keycloak for the connected PoolParty instance. | |
Specify the client secret of the Keycloak client | |
Review the application settings. If everything is correct, confirm with |
Make sure that Keycloak and Apache Tomcat are up and running. Their default ports are:
Apache Tomcat: 8080
Keycloak: 8181
If you have installed ADF with a separate Apache Tomcat 9 instance, you need to start Tomcat manually using a
startup.sh
script.# ./startup.sh ROOT-SURFACE: /opt/ADF/bin using CATALINA_BASE: /opt/ADF using CATALINA_HOME: /opt/ADF using CATALINA_TMPDIR: /opt/ADF/temp using JRE_HOME: /usr using CLASPATH: /opt/ADF/bin/boostrap.jar:/opt/ ADF/bin/tomcat-9.jar using CATALINA_OPTS: Tomcat started.
Open a browser and access the the ADF Search Application installation at
localhost:8080/basepath/
to verify that everything works as expected.Note
After successful installation of the ADF Search Application, the
ADF.properties
file is created at the following path:opt/ADF/WEB-INF/classes
.The file contains the configuration options you specified during the installation or upgrade process together with default settings relevant to your the ADF Search Application installation such as database and logging configuration. For more information, refer to Administering the Search Application Server with the ADF.properties File.