Salesforce

Systinet Installation for UNIX Platforms (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

Systinet Installation for UNIX Platforms (Magic xpa 3.x)

Installing Systinet Server for Java (SSJ) can be done via the same user used to install Magic xpa, or as a different user. All files pertaining to this installation are in the web_services directory.

Prerequisites

  1. Install Java 7.

    Only the 32-bit JRE is needed for Systinet.

  2. Update .profile.

    JRE 7 needs to be referenced in the JAVA_HOME variable and as the default runtime for any Java application. Add the following lines to the end of the .profile of the Magic xpa user name:

# Set home path for Systinet

export WASP_HOME=$MAGIC_HOME/ssj

# Set home jave runtime as version 7

export JAVA_HOME=/usr/java7/jre

# Set default Java runtime to 7 in Path

export PATH=/usr/java7/jre/bin:/usr/java7/bin:$PATH

  1. Configure the ssjinstallconfig file.

    From $MAGIC_HOME/web_services, open and edit the ssjinstallconfig file. The following needs to be updated:

    1. Dname – The value should be the server name plus the domain name.

    2. installation.destination – The value should be the path where you want to install Systinet (for example: $MAGIC_HOME/ssj).

Installation

  1. From $MAGIC_HOME/web_services, run installssj to install Systinet.

  2. Check for errors after the installation.

Post Installation

Copy support JAR files to the Systinet install folder

  1. Copy the following files from $MAGIC_HOME/support to $WASP_HOME/lib:

  • MgSSJ.jar

  • MgRequester.jar

  • saaj_utils.jar

cp -p $MAGIC_HOME/support/MgSSJ.jar $WASP_HOME/lib

cp -p $MAGIC_HOME/support/MgRequester.jar $WASP_HOME/lib

cp -p $MAGIC_HOME/support/saaj_utils.jar $WASP_HOME/lib

  1. Change the mode to 644.

Update server.sh

The following changes are required in $WASP_HOME/bin/server.sh:

  1. Add the following to the top after the call to env.sh (approximately line 5):

# Step c in installation document

LD_LIBRARY_PATH="$LD_LIBRARY_PATH":$MAGIC_HOME/lib32

  1. Change the JAVA call at the bottom of the script by adding the following to the CLASSPATH:

"$WASP_HOME"/lib/MgSSJ.jar:"$WASP_HOME"/lib/MgRequester.jar

.jar:"$WASP_HOME"/lib/saaj_utils.jar

  1. Add the following after the CLASSPATH declaration:

-Djava.library.path="$MAGIC_HOME"/lib32


Update File Permissions to Start as a Different User

  1. Run the following commands to update the file/folder permissions so that other users besides the owner can start and stop Systinet.

chmod 777 $MAGIC_HOME/ssj/log

chmod 777 $MAGIC_HOME/ssj/log/*

chmod 775 $MAGIC_HOME/ssj/store/hsqldb

chmod 777 $MAGIC_HOME/ssj/store/hsqldb/*

chmod 775 $MAGIC_HOME/ssj

chmod 777 $MAGIC_HOME/ssj/app

chmod 777 $MAGIC_HOME/ssj/app/*

chmod 777 $MAGIC_HOME/ssj/work

  1. Start the server from a different account.

  2. Re-run the commands in step 1.

Note: If you have issues deploying a JAR file, it is likely permission based. You will need to check the issue in the exception displayed by Systinet and run the chmod command to fix it.

Reference
Attachment 
Attachment