Hitachi

uCosminexus Application Server Expansion Guide


2.5.2 Settings in the execution environment (Batch server settings)

You must perform batch server settings, if you want to use naming management functionality.

You implement the batch server settings in the Easy Setup definition file. You specify the definition of the naming management functionality in the <configuration> tag of a logical J2EE server (j2ee-server) of the Easy Setup definition file.

The following table describes the definition of the naming management functionality in the Easy Setup definition file.

Table 2‒17: Definition of naming management functionality in the Easy Setup definition file

Field

Parameter to be specified

Setting contents

Basic set up

ejbserver.naming.host

Specify host name of the CORBA Naming Service. #1

ejbserver.naming.port

Specify port number of the CORBA Naming Service. #1

Round robin search#2

ejbserver.jndi.namingservice.group.list

Specify group of the CORBA Naming Service.

ejbserver.jndi.namingservice.group.Specify-group-name.providerurls

Specify root location of the CORBA Naming Service belonging to each group.

java.naming.factory.initial

Specify class in which implementation of InitialContextFactory is delegated.

Naming caching

ejbserver.jndi.cache

Specify whether the caching in naming is to be enabled.

ejbserver.jndi.cache.interval

Specify cache clearing interval.

ejbserver.jndi.cache.interval.clear.option

Specify range of cache clearing.

Example of setting for regularly clearing cache (when defining physical tier) is as follows:

(Example)

<configuration>

<logical-server-type>j2ee-server</logical-server-type>

<param>

<param-name>ejbserver.jndi.cache</param-name>

<param-value>on</param-value>

</param>

<param>

<param-name>ejbserver.jndi.cache.interval</param-name>

<param-value>60</param-value>

</param>

<param>

<param-name>ejbserver.jndi.cache.interval.clear.option</param-name>

<param-value>check</param-value>

</param>

:

<configuration>

Communication timeout of Naming Service

ejbserver.jndi.request.timeout

Specify timeout time for communicating with Naming Service.

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

#1: By default, batch server automatically starts and uses the CORBA Naming Service having localhost host name and 900 port number by inline process.

#2: For round robin search, using the user-specified namespace functionality is a prerequisite. If you want to use user-specified namespace functionality, you must customize operation settings of server management commands. For details on how to specify the settings, see 2.6.7 Settings in the execution environment in the uCosminexus Application Server Common Container Functionality Guide.