Update to Latest Version
You can see which versions are available by checking out this page:
https://cdn.jtel.de/downloads/jboss/
To update the wildfly server to the latest supported package (currently wildfly-18.0.1.Final.04) follow this procedure - set the variable at the start to the version you require.
Note - this procedure will delete any old logs you might have. Save these beforehand if required.
RUN AS ROOT
# The version to get JT_WILDFLY_VERSION=wildfly-18.0.1.Final.04 # Stop wildfly systemctl stop wildfly # Move old directory cd /home/jtel mv wildfly-18.0.1.Final wildfly-18.0.1.Final.OLD # retrieve and unpack required version wget http://cdn.jtel.de/downloads/jboss/${JT_WILDFLY_VERSION}.tar.gz tar xzf ${JT_WILDFLY_VERSION}.tar.gz rm -f ${JT_WILDFLY_VERSION}.tar.gz # create deployment directory and copy configs from old server mkdir -p wildfly-18.0.1.Final/standalone/deployments rm -f /home/jtel/wildfly-current/standalone/configuration/standalone.xml cp wildfly-18.0.1.Final.OLD/standalone/configuration/standalone.xml wildfly-18.0.1.Final/standalone/configuration/standalone.xml rm -f /home/jtel/wildfly-current/standalone/configuration/hazelcast.xml cp wildfly-18.0.1.Final.OLD/standalone/configuration/hazelcast.xml wildfly-18.0.1.Final/standalone/configuration/hazelcast.xml chown -R jtel:jtel wildfly-18.0.1.Final # Update and start /usr/local/bin/updatejb.sh # Remove old package rm -Rf wildfly-18.0.1.Final.OLD