uCosminexus Application Server, Expansion Guide

[Contents][Index][Back][Next]

6.2 Application procedures

This section describes preparations and various settings in environment setup required for using the database session failover functionality. The following figure shows the application procedures for the database session failover functionality.

Figure 6-1 Application procedures (the database session failover functionality)

[Figure]

Start a J2EE application after implementing preparations and various settings in environment setup in accordance with the application procedures shown in this figure.

Organization of this section
(1) Preparing environment setup
(2) Settings of the database session failover functionality
(3) Preparing a database
(4) DB Connector settings

(1) Preparing environment setup

The following table describes implementation contents and reference locations of the items to be implemented as preparations of environment setup when using the database session failover functionality.

Table 6-2 Implementation contents and reference locations of items to be implemented as preparations of environment setup when using the database session failover functionality

Implementation sequence Implementation item Implementation contents Reference location
1 Checking prerequisites Check configuration and settings that are prerequisites. 5.4
2 Estimating the size of HTTP session attribute information Estimate the size of HTTP session attribute information. The estimated value is required for environment settings of a database. 5.8.2

(2) Settings of the database session failover functionality

The following table describes settings and reference locations of the settings of the database session failover functionality.

Table 6-3 Settings and reference locations of the database session failover functionality

Setting sequence Setting item Settings Reference location
1 J2EE server settings Perform the following:
  • Specifying the database session failover functionality (J2EE server unit)
  • Specifying an optional name of DB Connector
  • Specifying the integrity mode
  • Setting up the memory used in serialize processing
  • Specifying the session failover inhibition functionality (extension or URI unit)
  • Specifying the refer-only request
  • Specifying the server ID addition functionality of HttpSession
  • Specifying if pending queues are insufficient when using a functionality for controlling the number of concurrent execution threads
  • Setting up the Web application start processing when negotiation fails
  • Specifying the exceptions when executing the getSession method in the requests targeted for inhibiting the database session failover functionality
6.6
2 Web application settings# Specify the following:
  • Specifying the database session failover functionality (Web application unit)
  • Specifying the upper limit of the number of HttpSession objects
  • Specifying the application identifier
  • Specifying the maximum size of HTTP session attribute information
  • Specifying the database session failover inhibition functionality by using an extension
6.7

# Implement the settings of a Web application in a development environment. If you want to perform settings of a Web application in the execution environment by using server management commands, see 6.7 Web application settings.


(3) Preparing a database

The following table describes implementation contents and reference locations of the items to be implemented as preparations of a database when using the database session failover functionality.

Table 6-4 Implementation contents and reference locations of items to be implemented as preparations of a database

Implementation sequence Implementation item Implementation contents Reference location
1 Creating tables
  • Allocating a disk space of a database
  • Creating an application information table
  • Creating a session information storage table
  • Creating a blank record information table
5.8.3, 6.8.2, 6.8.3, 6.8.4
2 Environment setup of database Specify the following:
  • Specifying a timeout of a database
6.8.5

(4) DB Connector settings

The following table describes settings and reference locations of DB Connector settings required for using the database session failover functionality.

Table 6-5 Settings and reference locations of DB Connector

Setting sequence Setting item Settings Reference location
1 DB Connector settings Soecify the following:
  • Specifying the transaction support level
  • Environment settings of DB Connector
  • Specifying an optional name of DB Connector
6.9