Starting the Java RFC Orbix Server 

Use

The Orbix daemon starts a Java RFC Orbix server automatically when it receives the first client request.

By default, after the Orbix daemon registers the Java RFC Orbix server, it launches the Orbix server after receiving the first client request. The daemon does so by calling the Java RFC executable (jrfcserver.exe) without parameters.

If you wish, you can add one or both of the parameters discussed below to configure the command that the daemon uses to launch the Orbix server. To make one of these changes, modify the Server Record dialog in the Orbix Server Manager utility. See the topic Configuring the Java RFC Orbix Server for details.

Also, you may want to start the Java RFC Orbix server manually, to eliminate the need for the first client request to wait for the server to start up. You can also use the steps in this procedure to change these parameters.

Prerequisites

The Orbix daemon must be running before you can launch the Java RFC server.

Procedure

You can launch the Java RFC Orbix server manually, by running the Java RFC executable from a console window (a DOS window).

The Java RFC executable is jrfcserver.exe, and it resides in the server\bin subdirectory under the directory you specify during installation.

Java RFC Server Launch Command Parameters

The Java RFC executable accepts the following parameters:

This parameter specifies the timeout period between client connections. This means that if the server is idle, with no client connection active for the specified length of time, it will shut down automatically.

The default timeout is infinite. To specify any other timeout, use the –t option with the timeout in seconds. For example, to set the timeout to 5 seconds, specify the following:

jrfcserver –t 5

The server uses this parameter to create the specified number of threads in a pool it uses when processing multiple client requests concurrently.

The default thread pool size is 5. To specify any other pool size, use the –p option. For example to set the thread pool size to 10, specify the following:

jrfcserver –p 10

You can specify both parameters on the same command line:

jrfcserver -t 5 -p 10

See Also

See the topic Configuring the Java RFC Orbix Server for how to apply these parameters to a registered server.