How to Re-connect to a Database on connection loss using org.apache.commons.dbcp.BasicDataSource?
Issue
Datasourceconnection lost- At nights our database team make an online backup that apparently makes the fuse to disconnect from the database for a moment
- Usually the
datasourcereconnect itself toIngres, but not always and that's our issue - I would like to know where and how I have to configure to make sure the
datasourcecan reconnect after database failures orofflineperiods of time
Environment
- Red Hat JBoss Fuse
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
