To launch a server on the remote host without a daemon process

If you want to launch a remote server which does not use a daemon process take the following steps:

Using the Rexec service

Rexec must be enabled on the remote host.

  1. From the Remote Systems perspective click File > New > Other.
  2. Expand Remote System Explorer.
  3. Click Connection.
  4. Click Next.
  5. 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.
  6. Enter Host and Connection name then click Next.
  7. In the Files dialog, check the dstore.files box and select Launcher Properties.
  8. In the Properties dialog on the right hand page, select Rexec for the Launcher property.
  9. 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"
  10. Complete the Processes and Shells dialogs with the same configuration data, as appropriate.
  11. Click Finish.

Without using the Rexec service

  1. From the Remote Systems perspective click File > New > Other.
  2. Expand Remote System Explorer.
  3. Click Connection.
  4. Click Next.
  5. 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.
  6. Enter Host and Connection name then click Next.
  7. In the Files dialog, check the ssh.files box and select Launcher Properties.
  8. In the Processes dialog, check the dstore.processes box and select Launcher Properties.
  9. In the Properties dialog on the right hand page, select Running for the Launcher property.
  10. Click Finish.
  11. In the Remote Systems perspective, right click on the Processes item of the new connection and select Properties then Subsystem.
  12. Clear the Port value by clicking the button and enter an available port number for the server to use.
  13. Log on to the remote host, for example using telnet or an SSH Terminal from within Eclipse.
  14. 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
  15. Connect to the server within the timeout period.