+

Search Tips   |   Advanced Search

 

Enable or disabling stateful session bean failover with the EJB modules 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 module.

 

Procedure

  1. Start the console.

  2. Select Applications.

  3. Select Enterprise Applications.

  4. Select the application you want to work with.

  5. Under Related items, select EJB modules.

  6. Select the .jar file you want to work with.

  7. Select Stateful session bean failover settings.

  8. Select Enable stateful session bean failover using memory to memory replication.

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

    Use application or EJB container replication settings

    If you select this button, any replication settings defined for this EJB module 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 EJB module replication settings

    If you select this button, you override the replication settings for the EJB container and application. 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 EJB container.

  10. Select OK.