My Oracle Support Banner

Redeploying Spring Application in WLS Goes Into FAILED State With "DataSource <datasource_name> is not active" (Doc ID 2847661.1)

Last updated on FEBRUARY 15, 2024

Applies to:

Oracle WebLogic Server - Version and later
Information in this document applies to any platform.


When redeploying a Spring application on WebLogic Server - deployment goes to FAILED status.

This happens when an application (WAR or EAR) which is already present as Deployment on WebLogic Domain is updated or redeployed.

When the application goes into FAILED state, below error is seen in the server logs:


Stack trace show JDBC DataSource from errors; but when DataSource <datasource_name> is Tested from WebLogic Admin Console, the connection to database is successful.

WebLogic Server instance restart will bring the application to Active state.




To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.