Enable or disable stateful session bean failover at the EJB module level using the administrative console
We can use the enterprise applications administrative console panel to enable or disable stateful session bean failover for all stateful session beans in the specified module. Stateful session bean failover settings appear only on the deployment manager in an ND environment, and are ignored for 5.x application targets.
- Start the administrative console.
- Expand Applications > Application types.
- Select WebSphere enterprise applications.
- Select the application for the EJB module to configure.
- Under Modules, select Manage Modules.
- Select the JAR file to configure.
- Under Additional Properties, select Stateful session bean failover settings.
- Select Enable stateful session bean failover using memory to memory replication.
- Select the choice of Replication settings. You have a choice of two radio buttons:
- Use application or EJB container replication settings
- If we select this button, any replication settings defined for this EJB module are ignored.
Avoid trouble: If we are a system administrator and you use this radio button, then memory-to-memory replication must be configured at the EJB container or application level. Otherwise, the settings on this page are ignored by EJB container during server startup, and the EJB container logs a message indicating that stateful session bean failover is not enabled for this application. gotcha
- Use module replication settings
- If we 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 configure the replication settings. If no replication domains are configured, when you click the link, then you visit a page where we can create one. If at least one domain is configured, when you click the link, then you visit a page where we can select the replication settings to be used by the EJB container.
- Select OK.
Related concepts
Stateful session bean failover for the EJB container
Related tasks
Configure stateful session bean failover at the module level
Stateful session beans failover settings (EJB modules)