Sun Java System Application Server Enterprise Edition 8.2 Upgrade and Migration Guide

ProcedureTo Migrate Rich Clients From 7 EE to 8.2 EE

  1. Add the following jvm-option elements under the java-config element for enabling the RMI/IIOP failover feature. (To make the class names of the following jvm-option elements fit on the page, they have been split in two and carried to the next line. When adding them to your project, do not split them in two as they are here.)

    <jvm-config java-home=path...server-classpath=path>
      <jvm-option>
        Dorg.omg.PortableInterceptor.ORBInitializerClass.
              com.sun.appserv.ee.iiop.EEORBInitializer
      </jvm-option>
      <jvm-option>
        Dorg.omg.PortableInterceptor.ORBInitializerClass.
              com.sun.appserv.ee.iiop.EEIORInterceptorInitializer 
      </jvm-option>
      <jvm-option>
        Dcom.sun.CORBA.connection.ORBSocketFactoryClass=
              com.sun.appserv.enterprise.iiop.EEIIOPSocketFactory 
      </jvm-option>
    </jvm-config>
  2. Add the following entry in server.xml to setup the iiop-cluster.


    <iiop-cluster>
         <iiop-server-instance name=<server-name>>
             <iiop-endpoint id=orb-listener-id, 
                            host=hostname, 
                            port=orb-listener-port/>
        </iiop-server-instance>
    </iiop-cluster>
  3. Update sun-acc.xml with the following new entries:

    <property-name=¨com.sun.appserv.iiop.loadbalancingpolicy" 
                        value="ic-based" />
    <property name="com.sun.appserv.iiop.endpoints" 
              value="hostname:port" />