+

Search Tips   |   Advanced Search

 

Enable or disabling stateful session bean failover with the enterprise applications panel

 

You can use the enterprise applications console panel to enable or disable stateful session bean failover for all stateful session beans in the specified application.

 

Procedure

  1. Start the console.

  2. Select Applications.

  3. Select Enterprise Applications.

  4. Select the application you want to work with.

  5. Under Additional Properties, select Stateful Session Bean Failover Settings. The Stateful Session Bean Failover Settings panel appears.

  6. Select Enable stateful session bean failover using memory to memory replication. This enables failover for all stateful session beans in this application. To disable the failover, clear this checkbox.

  7. Select your choice of Replication settings. You have a choice of two radio buttons:

    Use replication settings from EJB container

    If you select this button, any replication settings defined for this application are ignored.

    Note to the system administrator: if you use this radio button, then memory to memory replication must be configured at the EJB container level. Otherwise, the settings on this panel are ignored by EJB container during server startup and the EJB container will log a message indicating that stateful session bean failover is not enabled for this application.

    Use application replication settings

    If you select this button, you override the EJB container settings. This button is disabled until you define a replication domain. This selection has a hyperlink to help you configure the replication settings. If no replication domains are configured, the link takes you to a panel where you can create one. If at least one domain is configured, the link takes you to a panel where you can select the replication settings to be used by the application.

  8. Select OK.