bea.com | products | dev2dev | support | askBEA

Download Docs | Site Map | Glossary
Search

Administration Console Online Help

Application Deployment Descriptor Editor (EAR)

Tasks

Editing Application Deployment Descriptors

This section describes the procedure for editing the following application deployment descriptors using the Administration Console Deployment Descriptor Editor:

- application.xml

- weblogic-application.xml

For detailed information about the elements in the application deployment descriptors, refer to application.xml Deployment Descriptor Elements. For information about generating and visually editing J2EE deployment descriptors for WebLogic Server, see WebLogic Builder.

To edit the application deployment descriptors, follow these steps:

1. Start the WebLogic Administration Server if it is not already running.

2. Start the WebLogic Server Administration Console in a browser.

3. If the Application is already defined in the current domain, expand the Applications node in the left panel and skip to step 9 below.

4. If the Application is not yet configured in the current domain, configure a new Application.

5. Click on "Configure a new Application" in the right panel.

6. Enter the name of this Application in the Name field.

7. Enter the full path to the directory or archive file containing your Application in the Path URI field.

8. Click Create. The new Application appears under Applications in the left panel

9. Right click on the Application and select Edit Application Descriptor. A new browser window opens in which you can edit the deployment descriptors.

10. Configure the functionality of your Application. See Editing Deployment Descriptors in WebLogic Server Application Packaging for instructions on configuring Application functionality.

11. When you have finished editing the deployment descriptor, select the Application Descriptor node in the left navigation tree.

12. Click Validate in the right panel. The validation only checks to see that the deployment descriptor conforms to its document type definition (DTD). It does not verify the existence of any of the components you have configured nor perform any other type of validation.

After you have validated the deployment descriptors, click Persist in the right panel to save your changes to the deployment descriptor. To make your descriptor changes apply to the application, redeploy the application.