Sun Java System Application Server Enterprise Edition 8.1 2005Q2 Upgrade and Migration Guide

- Previous: To Migrate Rich Clients
- Next: Migrating 7 2004Q2, SE Applications to Application Server 8.1 EE

## To Migrate Rich Clients From 7 EE to 8.1 EE

1. Add the following jvm-options under java-config element for enabling RMI/IIOP failover feature:

       <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" />

   The host and port is that of ORB-lister-1 ”s which is defined under `iiop-listener` element in `server.xml`.

- Previous: To Migrate Rich Clients
- Next: Migrating 7 2004Q2, SE Applications to Application Server 8.1 EE

- © 2010, Oracle Corporation and/or its affiliates