[
https://issues.jboss.org/browse/JBESB-3744?page=com.atlassian.jira.plugin...
]
Brian Blasko updated JBESB-3744:
--------------------------------
Description:
If the DB goes down when listening, the gateway will attempt to reconnect but after the
max number of retries of 5(hard coded in JdbcCleanConn.connection, it returns a null
connection.
This then causes a NPE in pollForCandidates which in turns causes the thread to exit.
Then when the DB comes back up, the listener will not restart.
The gateway listener should not throw the NPE and should be capable of recovery.
was:
If the DB goes down when listening, the gateway will attempt to reconnect but after the
max number of retries of 5(hard coded in JdbcCleanConn.connection, it returns a null
connection.
This then causes a NPE in pollForCandidates which in turns causes the thread to exit.
Then when the DB comes back up, the listener will not restart.
The gateway listener should not throw the NPE and should be capable of recovery.
Forum Reference:
https://community.jboss.org/thread/194676
SqlTableGatewayListener does not recover from DB failure
--------------------------------------------------------
Key: JBESB-3744
URL:
https://issues.jboss.org/browse/JBESB-3744
Project: JBoss ESB
Issue Type: Enhancement
Security Level: Public(Everyone can see)
Components: Rosetta
Affects Versions: 4.10
Reporter: Brian Blasko
If the DB goes down when listening, the gateway will attempt to reconnect but after the
max number of retries of 5(hard coded in JdbcCleanConn.connection, it returns a null
connection.
This then causes a NPE in pollForCandidates which in turns causes the thread to exit.
Then when the DB comes back up, the listener will not restart.
The gateway listener should not throw the NPE and should be capable of recovery.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira