Previous Topic Next topic Print topic


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

This is the most common approach to launching a server on a remote host.
Important: If you are working with SQL applications, you must launch the remote host using a daemon.
Any servers launched by this daemon are assigned the ID of the connecting user, taken from the authentication details used when the connection was established. Any subsequent compiling and debugging processes will also be run as this user.

To start the daemon, you need a version of both Perl on your Unix machine and a version of Java.

Starting the Daemon

Important: Before starting the daemon you must have the following on your UNIX machine:
  • a version of Perl
  • a version of Java
  • the as (assembler) and ld (linking) programs on the path, as specified by the PATH environment variable

To start the daemon on the default port (4075) as a background process, perform this command with superuser authority:

$COBDIR/remotedev/startrdodaemon

The daemon will now listen for any Eclipse client processes connecting to that machine on port 4075. If you want to use another port, specify another port number on the startrdodaemon command.

The daemon can also be configured to instantiate the servers on a specified port or range of ports. This is particularly relevant when you want to only open certain ports through a firewall. To do this, perform this command with superuser authority:

$COBDIR/remotedev/startrdodaemon [<port> | <low port>-<high port>] 
where:
  • <port> is the port number the daemon should use to listen for connections from Eclipse on the client machine. If no value is given, it will be assigned a default value of 4075. This value matches the value assigned within the Eclipse installation.

    For example,

    $COBDIR/remotedev/startrdodaemon 4999

    This command will start a daemon listening on port 4999 and will use random server ports.

  • <low port>-<high port> is the range of ports on which the servers (launched by the daemon) should use to communicate with Eclipse on the client machine.

    For example,

    $COBDIR/remotedev/startrdodaemon 4080 4090-4999

    This command will start a daemon listening on port 4080 and server ports will be in the range 4090 to 4999.

Previous Topic Next topic Print topic