2.6.6 Setting the optional names for the J2EE resources

This subsection describes how to set an optional name for a J2EE resource.

You can set the optional name for a J2EE resource in cosminexus.xml.

Note that when you use this functionality, you must first specify whether you want to use the optional name, in usrconf.properties of the server management commands. For details about the settings, see 2.6.7 Execution environment settings.

To set up the optional names for the J2EE resources, specify the settings in the <rar> tag of cosminexus.xml. The following table describes the optional name settings for the J2EE resources in cosminexus.xml.

Table 2-27 Setting the optional names for the J2EE resources in cosminexus.xml

ItemsSpecified tagsSettings
Resource adapter<resource-external-property> - <optional-name> tagSpecifies the optional name for the resource adapter.

Note: You specify the optional name for the mail configuration and JavaBeans resources using the property files. For details on the settings, see 2.6.7 Execution environment settings.


For details about the specified tags, see 2.2 Details of attributes specified in the Cosminexus application property file (cosminexus.xml) in the uCosminexus Application Server Application and Resource Definition Reference Guide.