To Enable Availability for the EJB Container

  1. In the tree component, select the desired configuration.
  2. Click Availability Service.
  3. Click the EJB Container Availability tab.
  4. Enable or disable availability.
  5. If availability is enabled, change other settings as follows:
    HA Persistence Type

    Specifies the session persistence and passivation mechanism for stateful session beans (SFSBs) that have availability enabled. Allowed values are as follows:

    file

    Specifies the file system. If HA Persistence Type is set to file, the EJB container specifies the file system location where the passivated session bean state is stored. Checkpointing to the file system is useful for testing but is not for production environments.

    ha

    Specifies HADB. This value is the default value. For production environments that require session persistence, use ha.

    SFSB Persistence Type

    Specifies the passivation mechanism for SFSBs that do not have availability enabled. Allowed values are as follows:

    file

    Specifies the file system. This value is the default value. If SFSB Persistence Type is set to file, the EJB container specifies the file system location where the passivated session bean state is stored. Checkpointing to the file system is useful for testing but is not for production environments.

    ha

    Specifies HADB.

    SFSB Store Pool Name

    Applicable only if the Persistence Type is ha. You can change the SFSB Store Pool Name if you changed the JDBC resource used for connections to the HADB for session persistence. For details, see configure-ha-cluster(1).

  6. If necessary, add or delete any additional properties.
  7. Click Save.
  8. Restart the server instance.