Database Session Persistence
This feature enables persistence of HTTP sessions to a datasource using JDBC. Persisting HTTP session data to a database allows recovery of the data after a server restart or unexpected server failure. Failover of HTTP sessions can be achieved by configuring multiple servers to persist data to the same location
Dieses Feature aktivieren
To enable the Database Session Persistence feature, add the following element declaration inside the featureManager element in your
server.xml file:
<feature>sessionDatabase-1.0</feature>
Unterstützte Java™-Versionen
- JavaSE-1.6
- JavaSE-1.7
- JavaSE-1.8
Feature entwickeln, das von diesem Feature abhängig ist
If you are developing a feature that depends on the Database Session Persistence feature, include the following item in the Subsystem-Content header in the feature manifest file for your new feature:
com.ibm.websphere.appserver.sessionDatabase-1.0; type="osgi.subsystem.feature"
Features, die dieses Feature aktiviert
Featurekonfigurationselemente
You can use the following elements in your server.xml file to configure the Database Session Persistence feature:
Referenzartikel