VSE shutting down frequently with a Fatal Cert expiry error in the logs
search cancel

VSE shutting down frequently with a Fatal Cert expiry error in the logs

book

Article ID: 68161

calendar_today

Updated On:

Products

Service Virtualization

Issue/Introduction

VSE going down frequently causing increase in CPU Usage. The errors in the VSE log are as shown below:

 

[VSE Metrics Delete Sweeper] INFO  org.eclipse.persistence        -  Communication failure detected when attempting to create transaction on database.  Attempting to retry begin transaction. Error was: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.3.2.v20111125-r10461): org.eclipse.persistence.exceptions.DatabaseException  Internal Exception: java.sql.SQLException: Connections could not be acquired from the underlying database!  Error Code: 0.

 :============================================================================ 
| LISA Exception: 
============================================================================ 
| Message: Error creating connection with factory JNDI_ConnectionDetails and username msm_tst_usr: Failed to connect via SSL to [ssl://[hostname]:7243]: Received fatal alert: certificate_expired 
---------------------------------------------------------------------------- 
| Trapped Exception: Failed to connect via SSL to [ssl://[hostname]:7243]: Received fatal alert: certificate_expired 
| Trapped Message: javax.jms.JMSSecurityException: Failed to connect via SSL to [ssl://[hostname]:7243]: Received fatal alert: certificate_expired 
---------------------------------------------------------------------------- 
STACK TRACE 
javax.jms.JMSSecurityException: Failed to connect via SSL to [ssl://[hostname]:7243]: Received fatal alert: certificate expired 

 

Environment

All supported DevTest releases.

Cause

The SSL certificate being used on the Database Server has got expired. Hence, the “Received fatal alert: certificate_expired” error in VSE whenever it is trying to create a transaction on the Database.   

Resolution

Replace the expired certificate in the server with a valid one and restart the VSE component.