BAM Logging: Manual Installation
The BAM Logging adapter requires you to configure the database and manually install the adapter.
How to configure the database
- In the
<server_directory>/configurations
folder, create the following file:bam_log_configuration.xml
. Insert the following content:
XML<?xml version="1.0"?> <Configuration> <ConnectionString>JDBC-CONNECTION</ConnectionString> <UserName>USERNAME</UserName> <Password>PASSWORD</Password> <KeepLogs> <Duration>1</Duration> <TimeUnit>DAYS</TimeUnit> </KeepLogs> <RunCleanUp> <Duration>1</Duration> <TimeUnit>HOURS</TimeUnit> </RunCleanUp> </Configuration>
- Save the
bam_log_configuration.xml
file.
How to manually install the adapter
Unpack the ZIP folder of the adapter.
Copy the adapter folder into the following folder:
<server_directory>\wildfly\modules\de\softproject\x4\adapter
.Make sure that the
<resource-root path="" />
paths in the<resources>
element in themodule.xml
file in the<
folder match the names of theserver_directory
>\wildfly\modules\de\softproject\x4\adapter\<name_of_the_adapter>\main*.jar
files.
Example according to the BAM Log adapters:Names of the
*.jar
files:Contents of the
module.xml
file:
Insert the name of the adapter in the
module.xml
file in the<
folder:server_directory
>\wildfly\modules\de\softproject\plugins\mainOpen the
module.xml
file in the<
folder.
>\wildfly\modules\de\softproject\plugins\mainserver_directory
Copy the adapter name into the
<dependencies>
tag:<module name="de.softproject.x4.adapter.<name_of_the_adapter>" export="true"/>
Save the
module.xml
file.
Start Keycloak, the X4 Server, and the X4 Designer.
You can now choose and use the adapter in the X4 Designer.