Salesforce

Web Server Configuration (Magic xpi 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

Web Server Configuration (Magic xpi 3.x)

To install the Web components, such as CGI and Apache-related, the system administrator should run the following script:

<home-directory of magicxpidev>/sbin/mgroot.sh

To use Web services:

  1. In the ssj folder, open the ssjinstallconfig file.

  2. Change dname=<MachineName>.<DomainName> to dname=rhent55.Mse.Corp.

  3. Change installation.destination=<SSJ Installation Directory> to installation.destination=/u3/xpi4/ssj.

  4. Run installssj.

  5. In the $MAGIC_XPI_HOME/ssj/bin/server.sh file, copy the first line:

WASP_CLASSPATH=$WASP_CLASSPATH:"$WASP_HOME"/lib/uniSSJ.jar:"$WASP_HOME"/lib/uniRequester.jar:"$WASP_HOME"/lib/saaj_utils.jar:"$WASP_HOME"/lib/mgxpi-commons.jar:"$WASP_HOME"/lib/gigaspaces/com.springsource.org.aopalliance-1.0.0.jar:"$WASP_HOME"/lib/gigaspaces/commons-logging-1.1.3.jar:"$WASP_HOME"/lib/gigaspaces/gs-openspaces.jar:"$WASP_HOME"/lib/gigaspaces/gs-runtime.jar:"$WASP_HOME"/lib/gigaspaces/spring-aop-3.2.4.RELEASE.jar:"$WASP_HOME"/lib/gigaspaces/spring-aspects-3.2.4.RELEASE.jar:"$WASP_HOME"/lib/gigaspaces/spring-beans-3.2.4.RELEASE.jar:"$WASP_HOME"/lib/gigaspaces/spring-context-3.2.4.RELEASE.jar:"$WASP_HOME"/lib/gigaspaces/spring-context-support-3.2.4.RELEASE.jar:"$WASP_HOME"/lib/gigaspaces/spring-core-3.2.4.RELEASE.jar:"$WASP_HOME"/lib/gigaspaces/spring-expression-3.2.4.RELEASE.jar:"$WASP_HOME"/lib/gigaspaces/spring-tx-3.2.4.RELEASE.jar:"$WASP_HOME"/lib/gigaspaces/mgxpi-gs.jar:

  1. Paste it to: -Djava.library.path="$MAGIC_HOME"/lib -Dcom.magicsoftware.requester.conf=/home/xpi41/etc/MGREQ.INI

  2. Go to the following line:

-Djava.library.path="$MAGIC_HOME"/lib -Dcom.magicsoftware.requester.conf=/home/xpi41/etc/MGREQ.INI

  1. Before the end of the line, add the following:

-Dtorun=com.idoox.wasp.server.Main com.idoox.build.ant.Runner "$PARAMS")

/home/xpi41/ssj/bin/server.sh

Reference
Attachment 
Attachment