This example demonstrates how to configure a simple JReport Server Cluster by modifying the configuration options on the JReport Administration page on each JReport Server.
Example description:
Take the following steps to set up the cluster:
C:\JReport\Server1
and C:\JReport\Server2
using the cluster enabled license key. C:\JReport\Server2
. C:\JReport\Server2
.http://localhost:8883
).The port is the RMI port of the clustered server. The default port number is 1129. If there are two or more JReport Servers started on one machine, the RMI port number of each clustered server must be changed to a unique one, in order to avoid port conflicts.
In this example, the port number is changed to 1130, since the other server will use the default port number 1129.
C:\JReport\Server1
, log onto the JReport Administration page (http://localhost:8889
), then click Cluster > Configuration on the system toolbar. C:\JReport\Server1
, and then log onto the JReport Administration page.C:\JReport\Server1\bin
to C:\JReport\Server2\bin
. This allows RMI to be authorized between the two systems.C:\JReport\Server2\bin
and remove cluster.member.id. It will be recreated when you restart Server2 with a unique number.C:\JReport\Server1\derby\bin
.Notes: