Salesforce

Installing Both Magic xpa 3.x and Magic xpi 4.x on the Same Computer (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

Installing Both Magic xpa 3.x and Magic xpi 4.x on the Same Computer (Magic xpa 4.x)

To install Magic xpa 3.x and Magic xpi 4.x on the same computer, you need to change the default discovery port of one of the installations (for both the GigaSpaces part and the Magic part).

For example, if you decide to make the changes in Magic xpi, you would to the following:

  1. In the magicxpi-setenv.bat file, enable the line: set DISCOVERY_PORT=<my new port value>

    This will set a new discovery port for the GigaSpaces infrastructure.

  2. In the Magic.ini, Ife.ini and Ifm.ini files, add a new property to the JVM_ARGS section: -Dcom.gs.multicast.discoveryPort=<my new port value>

    This will set the default discovery port for the Server, Studio and Monitor. If you only need to use the production environment, then you only need to change this value in the Magic.ini file.

From Magic xpi 4.5 onwards, the ife.ini and ifm.ini files are no longer part of the installation.

You also need to set the port for the Web requester or command line requester, as follows:

  • Go to the locators values in the mgreq.ini file (in the root for the cmdlone and under scripts config for the Web requester) and add the port using the following syntax: <locator>:<port>.

Reference
Attachment 
Attachment