5.4 Task: Specify Default Server for JSM Client
During a Visual LANSA install, a default file (jsmcltdta.txt) is inserted into the LANSA Execution Environment's path (${INTEGRATOR_ROOT}/x_lansa).
Below is the jsmcltdta.txt file's content when it is first installed?
# localhost:4560 is the installed value for DefaultServer
# If you are connecting to a different server and/or using
# a different port, please change the setting below to reflect
# the server and/or port, ie,
# DefaultServer=MyHost:4560
DefaultServer=localhost:4560
ExcludePrefix=JSM
Please change these two entries as required:
Keyword |
Comment |
DefaultServer |
Defines the default location of the JSM Server. If JSM_OPEN is called without arguments then the default server location as specified in jsmcltdta.txt will be used. Example: DefaultServer=localhost:4560
|
ExcludePrefix |
Defines which fields will be excluded from being exchanged with JSM Server. Example: ExcludePrefix=JSM
|