An OC4J (Oracle Application Server Containers for J2EE) instance provides support for J2EE applications. Upon completion of this task, an OC4J instance will have been created in an application server.
In the Common Tasks section of the N1 SPS browser interface, select Oracle App Server 10g.
In the Application Server Instance Management section of the Oracle App Server 10g Common Tasks page, click Create OC4J
On the Plans Details page, click Run.
To create a new variables set, click Select from List in the Oc4jInstance component row section of the plan parameters table.
Click Create Set.
Type a name for this variable set.
Define a value for the variable instanceName.
Two OC4J instances created in the same application server cannot have the same name. You always need to redefine this value since the default value (home) is used to create the OC4J instance that is always present in an application server.
Save this variable set and select it so it is used in the execution of the plan.
Select the Oc4jHolderHT virtual target hosts on which you want to create the OC4JInstance component.
To create instances on several hosts at the same time, select more than one host.
Verify that the target host set is not selected.
The checkbox in front of the target host set should be empty. Otherwise, the plan will try to install in the host set plus the hosts you selected in the previous step
Click Run Plan (includes preflight).
At the end of the plan execution, each targeted Oc4jHolderHT virtual host will have an additional OC4JInstance component with the name you defined.