This article details the process of upgrading the JAVA paired with an Infogix Assure, Insight, Perceive and ER deployment
1 ) Navigate to your "<install_home>/etc" directory and update the setup file located within. For Windows deployments you will utilize "setup.bat", whereas UNIX / Linux deployments will utilize "setup.sh"
setup.bat example
SET JAVA_HOME=D:/Program Files/Java/jdk1.8.0_151
setup.sh example
JAVA_HOME="/net/sfw/java"
Update the JAVA_HOME variable within to reflect the updated JAVA being utilized
2 ) Navigate to your "<install_home>/config/<jvm>" directory and update the "appserver.properties" "JAVA_VERSION" variable located within.
# Specify the version of Java.
JAVA_VERSION=1.8
3 ) Ensure the Wildfly JVM(s) are offline, and navigate to your "<install_home>/bin" directory. To reflect the update made in step 1, a script execution is required. For Windows deployments you will utilize "config-wildfly.bat", whereas UNIX / Linux deployments will utilize "config-wildfly.sh".
Please note, the following examples will require replacing the "<jvm>" variable with your configuration value.
config-wildfly.bat execution example
config-wildfly.bat -c <jvm>
config-wildfly.sh execution example
./config-wildfly.sh -c <jvm>
4 ) Start your Wildfly JVM(s). The updated JAVA will be reflected within your Wildfly server log.
5 ) Still within the "<install_home>/bin" directory, we will execute the following commands, in the order listed.
Please note, the following examples will require replacing the "<jvm>" and "<product>" variables with the proper configuration and necessairy solution short name ( IA, II , IV and ER )
Windows command
clean.bat -c <jvm> <product>
validate.bat -c <jvm> <product>
deploy.bat -c <jvm> <product>
UNIX / Linux command
./clean.sh -c <jvm> <product>
./validate.sh -c <jvm> <product>
./deploy.bat -c <jvm> <product>
Comments
0 comments
Please sign in to leave a comment.