
There is a potential issue with the shutdown process for TRIRIGA. This is specific to versions prior to TRIRIGA 3.5.1 running under Windows with Websphere Liberty Profile (WLP). We have found that the SHUTDOWN.BAT file may not end the session. If you encounter this issue you can resolve it by adding the path as described below.
In TRIRIGA 3.5.1 for both the RUN.BAT and SHUTDOWN.BAT we include a step to change directory to the location of the server.bat file as below.
(Note: In notepad there are no spaces or carriage returns between the rows.)
@echo offset JAVA_HOME=/home/tririga/jdk1.8.0_91cd /d /home/tririga/351x\wlp\binserver.bat stop tririgaServer)
It looks like this in other viewers
RUN.BAT:
@echo off
set JAVA_HOME=/home/tririga/jdk1.8.0_91
echo JAVA_HOME : %JAVA_HOME%
echo CLASSPATH : %CLASSPATH%
cd /d /home/tririga/351x\wlp\bin
server.bat start tririgaServer
SHUTDOWN.BAT:
@echo off
set JAVA_HOME=/home/tririga/jdk1.8.0_91
cd /d /home/tririga/351x\wlp\bin
server.bat stop tririgaServer
However, in previous versions that path is not included:
TRIRIGA 3.4.2 (shutdown.bat)
@echo off
set JAVA_HOME=/home/tririga/jdk1.7.0_80
server.bat stop tririgaServer
TRIRIGA 3.5 (shutdown.bat)
@echo off
set JAVA_HOME=/home/tririga/jdk1.7.0_80
server.bat stop tririgaServer
If you encounter an issue where the shutdown.bat file is not working you can resolve the issue by adding the path to the server.bat file similar to the example below.
TRIRIGA 3.5
@echo off
set JAVA_HOME=/home/tririga/jdk1.7.0_80
cd /d /your_path_to tririga/wlp/bin
server.bat stop tririgaServer
Disclaimer
All source code and/or binaries attached to this document are referred to here as "the Program". IBM is not providing program services of any kind for the Program. IBM is providing the Program on an "AS IS" basis without warranty of any kind. IBM WILL NOT BE LIABLE FOR ANY ACTUAL, DIRECT, SPECIAL, INCIDENTAL, OR INDIRECT DAMAGES OR FOR ANY ECONOMIC CONSEQUENTIAL DAMAGES (INCLUDING LOST PROFITS OR SAVINGS), EVEN IF IBM, OR ITS RESELLER, HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
|
Tags: 
supiwms
ibm-iot
how-to
iot-support
ibm-tririga