Sun Java System Application Server Enterprise Edition 8.1 2005Q2 Troubleshooting Guide

- Previous: Configuring Instance-Level Session Persistence Did Not Work
- Next: HADB Performance Problems

## Session Data Seems To Be Corrupted

### Description

Session data may be corrupted if the system log reports errors under the following circumstances:

- During session persistence

- When the session state is read during session activation

- When the session state is read after session failover

  If the data has been corrupted, there are three possible solutions for bringing the session store back to a consistent state, as described below.

### Solution 1

Use the `asadmin clear-session-store` command to clear the session store.

### Solution 2

If clearing the session store does not work, reinitialize the data space on all the nodes and clear the data in the HADB using the `hadbm` `clear` command.

### Solution 3

If clearing the HADB does not work, delete and then recreate the database.

For solutions 2 and 3, above, after clearing the HADB, recreate the session store to restablish the database schema.

- Previous: Configuring Instance-Level Session Persistence Did Not Work
- Next: HADB Performance Problems

- © 2010, Oracle Corporation and/or its affiliates