You can use the enterprise applications administrative console
panel to enable or disable stateful session bean failover for all stateful
session beans in the specified application.
Procedure
- Start the administrative console.
- Select Applications.
- Select Enterprise Applications.
- Select the application you want to work with.
- Under Additional Properties, select Stateful Session Bean Failover
Settings. The Stateful Session Bean Failover Settings panel
appears.
- Select Enable stateful session bean failover using memory to
memory replication. This enables failover for all stateful
session beans in this application. If you want to disable the failover,
clear this checkbox.
- 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.
Attention: System administrators: 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 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.
- Select OK.