Creating orion-application.xml

If you need to control the contents of the orion-application.xml deployment descriptor file when running in the embedded OC4J server, you can create a distinct orion-application.xml which applies to a particular application and JDeveloper project. This file defines application-specific information for OC4J before you deploy the Enterprise Archive (EAR) profile to the embedded OC4J server.

The application-specific orion-application.xml file is created in the following location:

<jdev_install>/jdev/system/oc4j-config/application-deployments/<appname>/orion-application.xml

When you are ready to deploy a WAR or EJB to the application server, this orion-application.xml file is automatically packaged and deployed with the Enterprise Archive (EAR) file as part of the global orion-application.xml file which contains information for all the OC4J applications.

To create an orion-application.xml for the selected project:

  1. In the Navigator, select the project_icon <projectname>.jpr in which you want to create the orion-application.xml.
  2. Choose File | New to open the New Gallery.
  3. In the Categories tree, expand General and select Deployment Descriptors.
  4. In the Items list, double-click J2EE Application Deployment Descriptor for OC4J (orion-application.xml).
  5. Click OK.
  6. The newly created orion-application.xml is opened in the Code Editor. Edit this file as appropriate.

See also: "Oracle Application Server Containers for J2EE User's Guide" for more information about creating this file.


Related topics