The war package of SuperMap iPortal 11i(2024) can be deployed on middlewares on different operating systems (see: Hardware Requirements and Software Requirements).

While using the war package to deploy SuperMap iPortal 11i(2024), you need to install JRE/JDK and configure the environment variables firstly. 

Windows

Set the environment variable for JRE (Version 1.8).

If you installed JDK, set JAVA_HOME to the installation directory of JDK. If you installed JRE, set JAVA_HOME to the installation directory of JRE.

Linux

(1) Set the environment variable for JRE (Version 1.8).

If you installed JDK, set JAVA_HOME to the installation directory of JDK. If you installed JRE, set JAVA_HOME to the installation directory of JRE. For instance, you can set JAVA_HOME in the profile file (default path: /etc/profile):

export JAVA_HOME=/JDK directory

When using some middleware (e.g. Bowland Application Server), it is also necessary to set JRE_HOME and add JAVA_HOME to the CLASSPATH variable. For this, execute the following command:

export JRE_HOME=/JRE directory
export CLASSPATH=$JAVA_HOME/lib/

(2) Set the system encoding as:

  • RedHat Linux:

export LANG=zh_CN.UTF-8

  • SUSE Linux:

export LANG=zh_CN.UTF-8

unset LC_CTYPE

(3) Setting environment variables for iPortal

export iPortal=true

(4) Run source /etc/profile to validate the configuration. When using some middleware (e.g. Bowland Application Server), you also need to add the above settings to the PATH variable. To do this, execute the following command first:

export PATH=$UGO_HOME/Bin:$JAVA_HOME/bin:$JRE_HOME/bin:$PATH

(5) Use echo to check the settings.

echo $LANG

echo $SUPERMAP_ROOT

echo $LD_LIBRARY_PATH

Note: If you are using an Oracle data source and the database is encoded as GBK, set the NLS_LANG parameter to "simplified chinese" _china.zhs16gbk as follows:

export NLS_LANG="simplified chinese"_china.zhs16gbk