To launch a remote server without the need of a daemon process, take the following steps:
Using the Rexec service
Rexec must be enabled on the remote host.
- From the Remote Systems perspective click
File > New > Other.
- Expand
Remote System Explorer.
- Click
Connection.
- Click
Next.
- Select the connection type, then click
Next.
Note: The connection type must be one of the following:
Linux,
Micro Focus DevHub using SAMBA, NFS etc, or
Unix.
- Enter Host and Connection name then click
Next.
- In the
Files dialog, check the
dstore.files box and select
Launcher Properties.
- In the
Properties dialog on the right hand page, select
Rexec for the
Launcher property.
- In the
Server launch command dialog, supply configuration data specific to your requirements. You can provide these in a script or as a list of values.
sh -c scriptname
sh -c "PATH=java install directory/bin:$PATH; export PATH; COBOL install directory/remotedev/startrdoserver"
- Complete the
Processes and
Shells dialogs with the same configuration data, as appropriate.
- Click
Finish.
Without using the Rexec service
- From the Remote Systems perspective click
File > New > Other.
- Expand
Remote System Explorer.
- Click
Connection.
- Click
Next.
- Select the connection type then click
Next.
Note: The connection type must be one of the following:
Linux,
Micro Focus DevHub using SAMBA, NFS etc, or
Unix.
- Enter Host and Connection name then click
Next.
- In the
Files dialog, check the
ssh.files box and select
Launcher Properties.
- In the
Processes dialog, check the
dstore.processes box and select
Launcher Properties.
- In the
Properties dialog on the right hand page, select
Running for the
Launcher property.
- Click
Finish.
- In the Remote Systems perspective, right click on the
Processes item of the new connection and select
Properties then
Subsystem.
- Clear the
Port value by clicking the
button and enter an available port number for the server to use.
- Log on to the remote host, for example using telnet or an SSH Terminal from within Eclipse.
- In the terminal session, set any environment variables (for example to ensure the Java executable is found on $PATH) and
run the
startrdoserver script, specifying the port number you entered in the Subsystem properties. You can optionally specify a timeout in milliseconds
(the default is 120000).
COBOL install directory/remotedev/startrdoserver port timeout
- Connect to the server within the timeout period.