If you are updating a deployment descriptor from a generated J2EE environment
file, do as follows:
- Read the overview information in Setting deployment-descriptor values.
- If you worked on an application client or EJB project, you must make sure
that the order of the sub-elements in the generated environment entries is
correct, as described in Updating the J2EE environment file.
- Copy the environment entries into your project's deployment descriptor
as follows:
- Make a backup copy of the deployment descriptor.
- Open the J2EE environment file, which is called programName-env.txt
file. Copy the environment entries into the clipboard.
- Double-click on the deployment descriptor.
- Click on the Source tab.
- Paste the entries at a proper location.
For details on deployment descriptors, see Java™ runtime properties (details).