Skip to end of metadata
Go to start of metadata

This section discusses how to enable remote connection to the server, using Java Remote Method Invocation (RMI).

Connectivity options

To set up the connectivity options edit <KIM_HOME>/config/install.properties and set the following parameters:

This specifies a visible/outer IP for the server. Replace localhost with the externally visible IP of the server. The client application needs to specify the configured host in its connection properties. When creating Java client applications, use this host as a parameter to the GetService.from (host, port).

This is the port of the KIM Server RMI registry. The client application needs to specify this port in its connection properties. When creating Java client applications, use this port as a parameter to the GetService.from(host, port). method.
See the relevant Java documentation for details.

Please update all clients configuration (Web UI, Web Service API , Populater) if you change the above options. However, all local tools in /bin/tools, except the Populater, use this configuration file and don't need to be configured separately.

This is the port for Java RMI data connections. You don't need to specify this port in the client configuration. The client is automatically informed about it by the server registry. The KIM Server will be exported as a Java remote object on this port. See the relevant Java documentation for details.

When a firewall is present on the server or on the client machine, make sure that a two-way communication is allowed for both configured ports through firewall added exceptions.

On Windows XP Home the Java RMI sub-system will not start, because some system environment variables are named incorrectly, i.e. SYSTEMROOT instead of $SystemRoot. If you want to work around the problem, you can find more information in this java RMI bug report . (This applies only to Windows XP Home systems. There are no such issues in other versions or editions of Windows.)

You can find more information about connectivity problems on our Frequently Asked Questions (FAQ) page.

Labels:
None
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.