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>/configurationsfolder, 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.xmlfile.
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.xmlfile in the<folder match the names of theserver_directory>\wildfly\modules\de\softproject\x4\adapter\<name_of_the_adapter>\main*.jarfiles.
Example according to the BAM Log adapters:Names of the
*.jarfiles:Contents of the
module.xmlfile:
Insert the name of the adapter in the
module.xmlfile in the<folder:server_directory>\wildfly\modules\de\softproject\plugins\mainOpen the
module.xmlfile in the<folder.>\wildfly\modules\de\softproject\plugins\mainserver_directoryCopy the adapter name into the
<dependencies>tag:<module name="de.softproject.x4.adapter.<name_of_the_adapter>" export="true"/>Save the
module.xmlfile.
Start Keycloak, the X4 Server, and the X4 Designer.
You can now choose and use the adapter in the X4 Designer.

