2.3.5 Execution environment settings

When you use the naming management functionality, you must set up the J2EE server and the J2EE applications and customize the server management commands.

Organization of this subsection
(1) Setting up the J2EE server
(2) Customizing the server management commands
(3) Setting up the J2EE applications

(1) Setting up the J2EE server

You specify the J2EE server settings with the Easy Setup definition file. You define the naming management functionality in the <configuration> tag of the logical J2EE server (j2ee-server) in the Easy Setup definition file. The following table describes the definition of the naming management functionality in the Easy Setup definition file.

Table 2-6 Definition of the naming management functionality in the Easy Setup definition file

ItemsSpecified parametersSettings
Basic settingsejbserver.naming.host#Specifies the host name of the CORBA Naming Service.
ejbserver.naming.port#Specifies the port number of the CORBA Naming Service.
ejbserver.naming.startupModeSpecifies the startup mode of the CORBA Naming Service.
Timeout in the communication with the naming serviceejbserver.jndi.request.timeoutSpecifies the timeout value for the communication with the naming service.

# By default, the J2EE server automatically starts and uses the CORBA Naming Service with the host name localhost and port number 900 as an in-process. Change these settings as needed.


For details on the Easy Setup definition file and parameters, see 4.6 Easy Setup definition file in the uCosminexus Application Server Definition Reference Guide.

(2) Customizing the server management commands

You can customize the settings for operating the server management commands. This point describes the settings for the CORBA Naming Service used by the server management commands.

To customize the server management commands for using the naming management functionality, specify the settings in usrconf.properties (system property file for the server management commands). The settings are as follows. For details on the keys and the description of the keys not listed here, see 5. Files Used with the Server Management Commands in the uCosminexus Application Server Definition Reference Guide.

Table 2-7 Customizing the server management commands for using the naming management functionality

ItemsSpecified keysSettings
Name of the host on which the CORBA Naming Service is operatedejbserver.naming.hostSpecifies the host on which the CORBA Naming Service used by the server management commands is operated.
Port number of the CORBA Naming Serviceejbserver.naming.portSpecifies the port number of the CORBA Naming Service used by the server management commands.
Access protocol for the CORBA Naming Serviceejbserver.naming.protocolSpecifies the access protocol for the CORBA Naming Service used by the server management commands.

(3) Setting up the J2EE applications

You implement the J2EE application settings for the execution environment using the server management commands and property files. To define the naming management functionality, use the Session Bean property file or Entity Bean property file.

The tags specified in these property files correspond to cosminexus.xml. For details about the definitions in cosminexus.xml, see 2.3.4 Definitions in cosminexus.xml.