uCosminexus Application Server, EJB Container Functionality Guide
Of the timeouts in an EJB container, the timeout for an RMI-IIOP communication can be set up in a J2EE server that is the client process or in the EJB client applications.
You can specify the timeout of a Stateful Session Bean, the EJB objects of an Entity Bean, or the timeout in awaiting instance acquisition in a J2EE application. Reference while you set up or change the property of the J2EE application that does not include cosminexus.xml.
You can set up a timeout for A or B in Figure 2-14 and Figure 2-15.
For setting the timeout as a property, the setup method will differ depending on the Enterprise Bean from which the method is invoked (forms of EJB clients). Specify the settings as properties of a J2EE server or the EJB client application of the caller (EJB client).
Set up the timeout in a J2EE server in which the client-side Enterprise Bean, JSP, or servlet is running. Specify the settings of a J2EE server in the Easy Setup definition file.
Specify the following parameter in the <configuration> tag of the logical J2EE server (j2ee-server) of the Easy Setup definition file.
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.
For the EJB client application, specify the timeout value as an enabled property during the execution of the EJB client application.
Specify the following key in usrconf.properties (user property file for Java applications):
For details on usrconf.properties and keys, see 14.3 usrconf.properties (User property file for Java applications) in the uCosminexus Application Server Definition Reference Guide.
The definition of the timeout of a Stateful Session Bean, timeout of EJB objects of an Entity Bean, or the timeout in awaiting instance acquisition can also be set up in the execution environment. Specify the settings in the J2EE application imported into a J2EE server. Execute the setup only to specify or change the property of the J2EE application that does not include cosminexus.xml.
Set up the J2EE application in the execution environment using the server management commands and the property files. Use the following property files to define the reference mapping:
Table 2-30 Property files used to define the timeout of a Stateful Session Bean, timeout of the EJB objects of an Entity Bean, or the timeout in awaiting instance acquisition
Setting target | Attribute files |
---|---|
Session Bean | Session Bean attribute file |
Entity Bean | Entity Bean attribute file |
The tags specified in the property files correspond to the DD or cosminexus.xml. For details on the cosminexus.xml settings, see 2.11.6 Defining in cosminexus.xml.
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd.