"EJPDB0101E: Database domain unavailable" and SQLCODE=-514, SQLSTATE=26501

Technote (troubleshooting)


When using WebSphere Portal with DB2, the Portal server randomly loses connection to the database and throws "EJPDB0101E: Database domain unavailable" for any of the database domains, along with DB2 errors SQLCODE=-514, SQLSTATE=26501.


In the SystemOut.log, the following exception can be seen:

EJPDB0013E: Internal Error.
at com.ibm.wps.datastore.impl.DataStoreContext.handleException
at com.ibm.wps.datastore.impl.ResourcePersister.findInternal2
at com.ibm.wps.datastore.impl.ResourcePersister.findInternal
Caused by: com.ibm.wps.datastore.domains.DomainUnavailableException:
EJPDB0101E: Database domain [Domain: rel] is currently unavailable.
at com.ibm.wps.datastore.impl.DataStoreContext.init
at com.ibm.wps.datastore.impl.ResourcePersister.findInternal2
... 54 more

and the following DB2 exception can be seen:

[3/27/13 13:34:35:144 EDT] 00000713 Unavailabilit >
isCausedByUnavailability ENTRY
com.ibm.websphere.ce.cm.StaleConnectionException: DB2 SQL Error:


At the time of this writing, it is unknown what causes this. IBM has been unable to reliably reproduce the error.

Diagnosing the problem

To properly diagnose the problem, JCC tracing must be collected:

Collecting Data: Tracing with the IBM Data Server driver for JDBC and


Once tracing is collected, contact IBM support. Otherwise you can use the workaround described in the "Resolving the Problem" section.

Resolving the problem

To workaround the problem, you can take the following steps:

1. Log in to the WAS Admin Console and navigate to Resources -> JDBC -> Datasources
2. Click the link for you Release datasource
3. Click Custom Properties
4. Set the property "keepDynamic" to a value of "2".
5. Save all changes
6. Repeat for each Portal datasource.
7. Restart the Portal server.

Rate this page:

(0 users)Average rating

Add comments

Document information

More support for:

WebSphere Portal

Software version:

7.0, 8.0

Operating system(s):


Reference #:


Modified date:


Translate my page

Machine Translation

Content navigation