Fix Readme
Abstract
Updating the version of IBM Java Runtime Environment, Java Technology Edition that is provided with IBM Watson Explorer Foundational Components.
Content
Procedures for Linux:
IBM Java Runtime may be present in one or more of the following folders. You need to update it under each of the listed folders.
IBM Java Runtime may be present in one or more of the following folders. You need to update it under each of the listed folders.
- /opt/ibm/WEX/Engine/java
- /opt/ibm/WEX/AppBuilder/java
- /opt/ibm/WEX/ZooKeeper/java
- /opt/ibm/WEX/ResultsModule/java
- Copy the java.tgz file that you downloaded into the directory. Do this for all the folders as shown in the example:
- cp ibm-java-jre-7.1-4.1-linux-x86_64.tgz /opt/ibm/WEX/Engine/java
- cp ibm-java-jre-7.1-4.1-linux-x86_64.tgz /opt/ibm/WEX/AppBuilder/java
- cp ibm-java-jre-7.1-4.1-linux-x86_64.tgz /opt/ibm/WEX/ZooKeeper/java
- cp ibm-java-jre-7.1-4.1-linux-x86_64.tgz /opt/ibm/WEX/ResultsModule/java
- Shut down ResultsModule, AppBuilder, ZooKeeper and Watson Explorer Engine in order:
- service resultsmodule-service stop or systemctl stop resultsmodule.service
- service appbuilder-service stop or systemctl stop appbuilder.service
- service zookeeper-service stop or systemctl stop zookeeper.service
- /opt/ibm/WEX/Engine/bin/velocity-shutdown or /opt/ibm/WEX/Engine/bin/embedded-webserver stop
- Uncompress the .tgz file that you copied earlier using gunzip. Do this for all the folders.
For example, gunzip ibm-java-jre-7.1-4.1-linux-x86_64.tgz- The result of this command is the ibm-java-jre-7.1-4.1-linux-x86_64.tar file
- Extract the JRE from the tar file. Perform this for all the folders:
- tar --strip-components=1 -xvf ibm-java-jre-7.1-4.1-linux-x86_64.tar
- Extracting the JRE unpacks the files into the correct locations.
- Change the ownership of the new files to the correct owner and group, on the directory where you extracted the JRE:
- cd /opt/ibm/WEX/ResultsModule
chown -R wex-resultsmodule:ibm-wex java - cd /opt/ibm/WEX/AppBuilder
chown -R wex-appbuilder:ibm-wex java - cd /opt/ibm/WEX/ZooKeeper
chown -R wex-zookeeper:ibm-wex java - cd /opt/ibm/WEX/Engine/java
chown -R apache:apache jre properties docs copyright *.txt
- cd /opt/ibm/WEX/ResultsModule
- Restart Watson Explorer Engine, ResultsModule, ZooKeeper, and AppBuilder in order:
- /opt/ibm/WEX/Engine/bin/velocity-startup or /opt/ibm/WEX/Engine/bin/embedded-webserver start
- service resultsmodule-service start or systemctl start resultsmodule.service
- service zookeeper-service start or systemctl start zookeeper.service
- service appbuilder-service start or systemctl start appbuilder.service
Procedures for Windows:
IBM Java Runtime may be present in one or more of the following folders. You need to update it under each of the listed folders.
- C:\Program Files\IBM\WEX\Engine\java
- C:\Program Files\IBM\WEX\AppBuilder\java
- C:\Program Files\IBM\WEX\ZooKeeper\java
- C:\Program Files\IBM\WEX\ResultsModule\java
- Copy the java .zip file that you downloaded into the directory. Do this for all the folders as shown in the example:
If you use Windows Explorer, you can drag the .zip file from where you downloaded it to the top level of the Engine directory.- copy ibm-java-jre-7.1-4.1-win-x86_64.zip C:\Program Files\IBM\WEX\Engine\java
- copy ibm-java-jre-7.1-4.1-win-x86_64.zip C:\Program Files\IBM\WEX\AppBuilder\java
- copy ibm-java-jre-7.1-4.1-win-x86_64.zip C:\Program Files\IBM\WEX\ZooKeeper\java
- copy ibm-java-jre-7.1-4.1-win-x86_64.zip C:\Program Files\IBM\WEX\ResultsModule\java
- Shut down AppBuilder, ZooKeeper, ResultsModule and Watson Explorer Engine in order:
- Use "Services" to stop AppBuilder
- Use "Services" to stop ZooKeeper
- Use "Services" to stop ResultsModule
- C:\Program Files\IBM\WEX\Engine\bin\velocity-shutdown.exe or C:\Program Files\IBM\WEX\Engine\bin\embedded-webserver.exe stop
- Extract the JRE from the zip file that you copied in the java.zip file earlier. Do this for all the folders.
For example:
chdir “c:\ProgramFiles\IBM\WEX\Engine\java”
unzip ibm-java-jre-7.1-4.1-win-x86_64.zip- If you use Windows Explorer, double-click the .zip file and extract all files.
- If the extract process does not start:
- Click on the "Extract" tab in the window
- Set the destination folder to the Engine root directory, such as C:\Program Files\IBM\WEX\Engine.
- You will be asked about overwriting existing files twice. Each time, click the "Do this for all" check box and select "Copy and replace".
- Extracting the JRE unpacks the files into the correct locations.
- Restart Watson Explorer Engine, ResultsModule, ZooKeeper, and AppBuilder in order:
- C:\Program Files\IBM\WEX\Engine\bin\velocity-startup.exe or C:\Program Files\IBM\WEX\Engine\bin\embedded-webserver.exe stop
- Use "Services" to start ResultsModule
- Use "Services" to start ZooKeeper
- Use "Services" to start AppBuilder
[{"Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS8NLW","label":"IBM Watson Explorer"},"ARM Category":[{"code":"a8m0z000000cvvoAAA","label":"Documentation"}],"ARM Case Number":"","Platform":[{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"10.0.0;11.0.0;11.0.1;11.0.2;12.0.3"}]
Was this topic helpful?
Document Information
Modified date:
03 December 2020
UID
swg21700618