mercredi 24 juin 2015

App fails to start if database user is locked with JEE and OpenJpa

I have searched for this a lot but am not finding an answer.

We have a standard JEE app using Jax-Rs with Entity beans and OpenJpa 2 with multiple persistence unit's to different databases using container managed datasources.

This is running in Jboss EAP 6.

The problem we are having is if one of the database users expire or becomes locked the whole JEE fails to start.

Is there a way to have the app start normally and have the services available? Obviously the ones needing the broken datasource will fail if invoked.

Thanks a lot

Aucun commentaire:

Enregistrer un commentaire