uCosminexus Application Server, Common Container Functionality Guide
The naming service error detection functionality is an option of the caching functionality. Therefore, the caching functionality is presumed to be set. For details on the settings for the caching functionality of the naming service, see 2.8.3 Settings for using the caching functionality.
To use the naming service error detection functionality, specify the values listed in the following table.
Table 2-39 Settings for using the naming service error detection functionality
| Specified parameters | Value |
|---|---|
| ejbserver.jndi.cache | on |
| ejbserver.jndi.cache.interval | 1 to 2,147,483,647 |
| ejbserver.jndi.cache.interval.clear.option | check |
The following is an example of the system properties settings for an EJB client. In this example, the settings are specified in usrconf.properties. Furthermore, in this example, the round-robin search functionality is also set concurrently.
... # Cache settings ejbserver.jndi.cache=on ejbserver.jndi.cache.interval=60 ejbserver.jndi.cache.interval.clear.option=check # Define the logical naming service configuration ejbserver.jndi.namingservice.group.list=g1;g2;g3 ejbserver.jndi.namingservice.group.g1.providerurls= corbaname::hostA:900;corbaname::hostB:900;corbaname::hostC:900 ejbserver.jndi.namingservice.group.g2.providerurls= corbaname::hostD:700;corbaname::hostE:700 ejbserver.jndi.namingservice.group.g3.providerurls= corbaname::hostF:800;corbaname::hostG:800;corbaname::hostH:800 ... |
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd.