Install nJAMS Server into existing WildFly server#
Follow these steps to prepare WildFly for nJAMS:
Make sure you have got the latest Java version
Download WildFly in version 26.0.0.Final
Install WildFly by extracting the download package
Add admin user by executing
wildfly-26.0.0.Final/bin/<add-user-file>
4.1 Create a management user
4.2 Choose your name
4.3 Choose your password
4.4 Leave the group request blank
4.5 Agree to adding your user to ‘ManagementRealm’
Test installation by starting
wildfly-26.0.0.Final/bin/<standalone-file>
Get
command.cli
from Integration Matters for your version of nJAMS ServerGet Database specific CLI file from Integration Matters for your DV (postgres.cli, oracle.cl or mssql.cli)
Get Database driver java file from database vendor
Replace
<PATH_TO_DRIVER_JAR_FILE>
in database CLI file with path to your driver fileMake sure your WildFly is still running
Execute:
wildfly-26.0.0.Final/bin/<jboss-cli-file> --connect --file=<PATH_TO_commands.cli>
If needed configure
<database>.cli
to point to you database instance and check if user and password are correctExecute:
wildfly-26.0.0.Final/bin/<jboss-cli-file> --connect --file=<PATH_TO_database.cli>
Ensure that no error occured
Make sure that your Database is running
Deploy nJAMS WAR file by putting it into
/wildfly-26.0.0.Final/standalone/deployments
Add a
<nJAMS_WAR_FILE_NAME>.dodeploy
file in the same folder to trigger deploymentNavigate to
http://<YOUR-MACHINE>:8080/njams
on the machine where you installed nJAMS and check that nJAMS is running