4.2.3  CORBA Server

The method for starting the CORBA repository component is dependent on the CORBA environment. For details on how to set up a CORBA server object and configure the activation of the object, please refer to the documentation of your CORBA platform. Typical steps for starting the CORBA environments are as follows.

Note: For CORBA operation, remove the replet.repository.url property from the sree.properties file.

1. Start the ORB process.

2. Start the naming services.

3. Start the Style Intelligence server.

You can stop and restart the CORBA server using the 'Stop' and 'Restart' buttons on the 'Server Status' page.

Example: Java IDL  >>

This example uses the default Java implementation of CORBA (Java IDL) as the sample CORBA environment. Most CORBA implementations are similar.

Note: For CORBA operation, remove the replet.repository.url property from the sree.properties file.

To start the CORBA repository, follow these steps:

1. Start the CORBA naming service:

start tnameserv –ORBInitialPort 1050

2. On the 'Server Configuration' page, change the server type to 'CORBA Server', and click 'Apply'.

3. On the 'Server Status' page, click the 'Start' button to start the CORBA server.

You can also manually start a CORBA server by typing the follow­ing at the command line:

start –Dsree.home=. java –Dsree.home=. inetsoft.sree.corba. RepositoryServer –ORBInitialPort 1050

The naming service port number can be any available port on the server. This creates a persistent CORBA object, one that is not acti­vated or deactivated during the life-cycle of the CORBA environ­ment. Because of the overhead required to start and initialize a server, we strongly recommend running the CORBA object persis­tently to avoid performance problems. (The repository object does not have to be persistent.)

4. Connect a viewer to the CORBA server by specifying the name service host and port:

java –Dsree.home=. inetsoft.sree.viewer.Viewer –corba –ORBInitialHost host-name –ORBInitialPort 1050

 

<< 4.2.2 RMI Server © 1996-2013 InetSoft Technology Corporation (v11.5) 4.3 Configuring Server Clustering >>