[esb-issues] [JBoss JIRA] (JBESB-3853) NPE thrown in SqlTableGatewayListener.getDbConn() causes the listener to stop polling
Tadayoshi Sato (JIRA)
jira-events at lists.jboss.org
Tue Oct 2 02:27:04 EDT 2012
[ https://issues.jboss.org/browse/JBESB-3853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12723099#comment-12723099 ]
Tadayoshi Sato commented on JBESB-3853:
---------------------------------------
Proposed fix by Martin Weiler:
Index: src/org/jboss/soa/esb/listeners/gateway/SqlTableGatewayListener.java
===================================================================
--- src/org/jboss/soa/esb/listeners/gateway/SqlTableGatewayListener.java (revision 37737)
+++ src/org/jboss/soa/esb/listeners/gateway/SqlTableGatewayListener.java (working copy)
@@ -507,7 +507,7 @@
RS.close();
oConn.rollback();
- } catch (final SQLException sqle) {
+ } catch (Exception ex) {
refreshDatasource();
}
> NPE thrown in SqlTableGatewayListener.getDbConn() causes the listener to stop polling
> -------------------------------------------------------------------------------------
>
> Key: JBESB-3853
> URL: https://issues.jboss.org/browse/JBESB-3853
> Project: JBoss ESB
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Transports
> Affects Versions: 4.10 CP1, 4.11
> Reporter: Tadayoshi Sato
>
> Listener is not fetching the data from the database after the Data source disconnect and reconnect. To resolve the issue we have to redeploy the esb.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the esb-issues
mailing list