Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » EclipseLink fails with to connect to DB (EclipseLink fails to create a clientSession to connect to the DB)
EclipseLink fails with to connect to DB [message #1850100] Tue, 15 February 2022 19:35
ELUser Mising name is currently offline ELUser Mising nameFriend
Messages: 26
Registered: May 2013
Junior Member
We use EclipseLinnk v2.4.2 nd are using SQL Server as our database.

Once in while we get an error in our application as EclipseLink cannot create a new clientSession.

It seems it like it is not using the correct password and it locks the DB user.
The application works fine after a restart.
What could cause this? We verified that the DB credentials are correct.

And it only happens sometimes.

Thanks for the help.

The error we see in out log is -
at org.eclipse.persistence.sessions.DatasourceLogin.prepareProperties(
at org.eclipse.persistence.sessions.DatasourceLogin.connectToDatasource(
at org.eclipse.persistence.internal.databaseaccess.DatasourceAccessor.connectInternal(
at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.connectInternal(
at org.eclipse.persistence.internal.databaseaccess.DatasourceAccessor.reconnect(
at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.reconnect(
at org.eclipse.persistence.internal.databaseaccess.DatasourceAccessor.incrementCallCount(
at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(
at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.executeCall(
at org.eclipse.persistence.internal.sessions.AbstractSession.basicExecuteCall(
at org.eclipse.persistence.sessions.server.ServerSession.executeCall(
at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeCall(
Previous Topic:Join condition of INNER JOIN
Next Topic:OpenJDK11 and eclipse link 2.7.1 Compatibility issue - Named query not found
Goto Forum:

Current Time: Fri Dec 01 22:30:14 GMT 2023

Powered by FUDForum. Page generated in 0.01261 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top