[Contents] [Prev] [Next] [Index] [Report an Error] [No Frames]


Reviewing and Updating the ORB Configuration for Applications That Include a NIC Proxy on Solaris

The JRE package (UMCjre) included in the SRC software distribution is preconfigured with JacORB.

JacORB meets the requirements for applications that include a NIC proxy. If you use a different JRE, you must ensure that it is configured with an ORB that supports value types with the Object Management Group's CORBA 2.6 standard.

If the default Java Virtual Machine (JVM) for the Web application server is UMCjre or another environment that complies with this standard, you do not need to configure the ORB. However, if this is not the case, you must configure the ORB to enable your application to communicate with the NIC.

Depending on the type of application, you can do one of the following:

In this case, all Web applications, but not other Java applications, inside the Web application server will use this ORB.

For additional information about JacORB, see:

http://www.jacorb.org/documentation.html

For information about the Object Management Group's CORBA 2.6 standard:

http://www.omg.org

For information about how to set up the configurations for ORBs other than JacORB, see the documentation for that ORB.

For information about installing this package, see SRC-PE Getting Started Guide, Chapter 33, Installing the SRC Software on a Solaris Platform.

Configuring JacORB as the Default ORB

To configure JacORB as the default ORB for the JRE:

  1. Access the folder in the SRC software distribution that contains the files you require for the version of JRE that you are using.
  1. Copy the property files from the folder in the SRC software distribution to the folder jre/lib in your JRE installation.
  2. cp jacorb.properties <jreInstallDirectory>/jre/lib/jacorb.properties
    
    cp orb.properties <jreInstallDirectory>/jre/lib/orb.properties
    
    
    
  3. Copy the appropriate JAR files from the folder in the SRC software distribution to the directory jre/lib/ext in your JRE installation.

Configuring One Web Application to Use JacORB

To configure a particular Web application that includes the NIC proxy to use JacORB:

  1. Access the folder in the SRC software distribution that contains the files you require for the version of JRE that the Web application server is using.
  1. Copy the appropriate files from the folder in the SRC software distribution to the folder WEB-INF/lib of the Web application.
  1. Configure the NIC factory used by the Web application to use this ORB.

See Chapter 16, Developing Applications That Use NIC.

Configuring a Web Application Server to Use JacORB

To configure all Web applications, but not other Java applications, to use JacORB:

  1. Access the folder in the SRC software distribution that contains the files you require for the version of JRE that the Web application server is using.
  1. For JRE 1.3 and JRE 1.4, include the file jacorb.jar file in the classpath for the Web application server.
  2. Include the file jacorb.properties for the appropriate JRE release in a directory specified in classpath, in the current directory, or in the home directory of the user who starts the Web application server.
  3. Configure JacORB to be the ORB for the Web application server ORB. For information about this step, see the JacORB documentation at
  4. http://www.jacorb.org/documentation.html
    
    
    

[Contents] [Prev] [Next] [Index] [Report an Error] [No Frames]