Salesforce

Adding the Systinet Server as a Windows Service (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

Adding the Systinet Server as a Windows Service (Magic xpa 3.x)

Objective

This technical note explains why Systinet may not be added as a Windows service and how to manually add this Windows service entry.

Solution

When the computer's CLASSPATH environment variable is not semicolon terminated, the InstallService.bat file creates an invalid syntax.

The specific part of the file causing the problem is:

"-Djava.class.path=%WASP_HOME%\lib\wasp.jar;%WASP_HOME%\lib\MgSSJ.jar;%WASP_HOME%\lib\MgRequester.jar;%WASP_HOME%\lib\saaj_utils.jar;%CLASSPATH%"

Working around the problem can be done in two ways:

  1. Add an extra semicolon at the end of the InstallService.bat file as follows:

    "-Djava.class.path=%WASP_HOME%\lib\wasp.jar;%WASP_HOME%\lib\MgSSJ.jar;%WASP_HOME%\lib\MgRequester.jar;%WASP_HOME%\lib\saaj_utils.jar;%CLASSPATH%;"

  2. Directly add the extra semicolon to the computer's CLASSPATH environment variable.

After taking one of the above steps, run the InstallService.bat file again; the Windows service will be created properly.

Reference
Attachment 
Attachment