Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.6.2
-
Fix Version/s: 1.6.3
-
Component/s: None
-
Security Level: Public
-
- Environment:
- -
Activity
| Field | Original Value | New Value |
|---|---|---|
| Status | New [ 10000 ] | Open [ 10002 ] |
| Priority | Major [ 3 ] |
| Status | Open [ 10002 ] | In Progress [ 10003 ] |
| Description |
If an error occurs about getting a database connection when execution a SQL request, no MONIT traces is logged:
{code} 2017/03/17 15:10:58,351 GMT+0100 MONIT [org.ow2.petals.component.framework.UnderTestWithDefaultConf] : traceCode = 'provideFlowStepBegin', flowInstanceId = '8b12ff30-0b1b-11e7-b8e6-02425ee4dbdb', flowStepId = '8b1437b0-0b1b-11e7-b8e6-02425ee4dbdb', flowStepInterfaceName = '{http://petals.ow2.org/components/sql/version-1}SQLInterface', flowStepServiceName = '{http://petals.ow2.org/components/sql/service/1}SQLService', flowStepOperationName = '{http://petals.ow2.org/components/sql/version-1}select', flowStepEndpointName = 'sqlEndpointName', flowPreviousStepId = '8b12ff31-0b1b-11e7-b8e6-02425ee4dbdb' 2017/03/17 15:10:58,389 GMT+0100 WARNING [org.ow2.petals.component.framework.UnderTestWithDefaultConf] : Cannot create PoolableConnectionFactory (java.net.ConnectException : erreur lors de la connexion au serveur localhost sur le port 1 527 avec le message Connexion refusée.) org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (java.net.ConnectException : erreur lors de la connexion au serveur localhost sur le port 1 527 avec le message Connexion refusée.) at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1225) at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:880) ... 2017/03/17 15:10:58,392 GMT+0100 FINE [org.ow2.petals.component.framework.UnderTestWithDefaultConf] : Send an asynchronous exchange with id : tests:8b12d820-0b1b-11e7-b8e6-02425ee4dbdb 2017/03/17 15:10:58,393 GMT+0100 FINE [org.ow2.petals.component.framework.UnderTestWithDefaultConf] : Intercepting message processing on ACCEPT_RESPONSE 2017/03/17 15:10:58,395 GMT+0100 MONIT [org.ow2.petals.component.framework.UnderTestWithDefaultConf] : traceCode = 'provideFlowStepFailure', flowInstanceId = '8b12ff30-0b1b-11e7-b8e6-02425ee4dbdb', flowStepId = '8b1437b0-0b1b-11e7-b8e6-02425ee4dbdb', failureMessage = 'org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (java.net.ConnectException : erreur lors de la connexion au serveur localhost sur le port 1 527 avec le message Connexion refusée.) - at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1225) - at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:880) - ...' {code} |
If an error occurs about getting a database connection when execution a SQL request, no MONIT traces is logged:
{code} 2017/03/17 15:10:58,351 GMT+0100 MONIT [org.ow2.petals.component.framework.UnderTestWithDefaultConf] : traceCode = 'provideFlowStepBegin', flowInstanceId = '8b12ff30-0b1b-11e7-b8e6-02425ee4dbdb', flowStepId = '8b1437b0-0b1b-11e7-b8e6-02425ee4dbdb', flowStepInterfaceName = '{http://petals.ow2.org/components/sql/version-1}SQLInterface', flowStepServiceName = '{http://petals.ow2.org/components/sql/service/1}SQLService', flowStepOperationName = '{http://petals.ow2.org/components/sql/version-1}select', flowStepEndpointName = 'sqlEndpointName', flowPreviousStepId = '8b12ff31-0b1b-11e7-b8e6-02425ee4dbdb' 2017/03/17 15:10:58,389 GMT+0100 WARNING [org.ow2.petals.component.framework.UnderTestWithDefaultConf] : Cannot create PoolableConnectionFactory (java.net.ConnectException : erreur lors de la connexion au serveur localhost sur le port 1 527 avec le message Connexion refusée.) org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (java.net.ConnectException : erreur lors de la connexion au serveur localhost sur le port 1 527 avec le message Connexion refusée.) at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1225) at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:880) ... 2017/03/17 15:10:58,392 GMT+0100 FINE [org.ow2.petals.component.framework.UnderTestWithDefaultConf] : Send an asynchronous exchange with id : tests:8b12d820-0b1b-11e7-b8e6-02425ee4dbdb 2017/03/17 15:10:58,393 GMT+0100 FINE [org.ow2.petals.component.framework.UnderTestWithDefaultConf] : Intercepting message processing on ACCEPT_RESPONSE 2017/03/17 15:10:58,395 GMT+0100 MONIT [org.ow2.petals.component.framework.UnderTestWithDefaultConf] : traceCode = 'provideFlowStepFailure', flowInstanceId = '8b12ff30-0b1b-11e7-b8e6-02425ee4dbdb', flowStepId = '8b1437b0-0b1b-11e7-b8e6-02425ee4dbdb', failureMessage = 'org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (java.net.ConnectException : erreur lors de la connexion au serveur localhost sur le port 1 527 avec le message Connexion refusée.) - at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1225) - at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:880) - ...' {code} The following MONIT traces are expected: {{provideExtFlowStepBegin}} followed by {{provideExtFlowStepFailure}}. |
| Description |
If an error occurs about getting a database connection when execution a SQL request, no MONIT traces is logged:
{code} 2017/03/17 15:10:58,351 GMT+0100 MONIT [org.ow2.petals.component.framework.UnderTestWithDefaultConf] : traceCode = 'provideFlowStepBegin', flowInstanceId = '8b12ff30-0b1b-11e7-b8e6-02425ee4dbdb', flowStepId = '8b1437b0-0b1b-11e7-b8e6-02425ee4dbdb', flowStepInterfaceName = '{http://petals.ow2.org/components/sql/version-1}SQLInterface', flowStepServiceName = '{http://petals.ow2.org/components/sql/service/1}SQLService', flowStepOperationName = '{http://petals.ow2.org/components/sql/version-1}select', flowStepEndpointName = 'sqlEndpointName', flowPreviousStepId = '8b12ff31-0b1b-11e7-b8e6-02425ee4dbdb' 2017/03/17 15:10:58,389 GMT+0100 WARNING [org.ow2.petals.component.framework.UnderTestWithDefaultConf] : Cannot create PoolableConnectionFactory (java.net.ConnectException : erreur lors de la connexion au serveur localhost sur le port 1 527 avec le message Connexion refusée.) org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (java.net.ConnectException : erreur lors de la connexion au serveur localhost sur le port 1 527 avec le message Connexion refusée.) at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1225) at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:880) ... 2017/03/17 15:10:58,392 GMT+0100 FINE [org.ow2.petals.component.framework.UnderTestWithDefaultConf] : Send an asynchronous exchange with id : tests:8b12d820-0b1b-11e7-b8e6-02425ee4dbdb 2017/03/17 15:10:58,393 GMT+0100 FINE [org.ow2.petals.component.framework.UnderTestWithDefaultConf] : Intercepting message processing on ACCEPT_RESPONSE 2017/03/17 15:10:58,395 GMT+0100 MONIT [org.ow2.petals.component.framework.UnderTestWithDefaultConf] : traceCode = 'provideFlowStepFailure', flowInstanceId = '8b12ff30-0b1b-11e7-b8e6-02425ee4dbdb', flowStepId = '8b1437b0-0b1b-11e7-b8e6-02425ee4dbdb', failureMessage = 'org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (java.net.ConnectException : erreur lors de la connexion au serveur localhost sur le port 1 527 avec le message Connexion refusée.) - at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1225) - at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:880) - ...' {code} The following MONIT traces are expected: {{provideExtFlowStepBegin}} followed by {{provideExtFlowStepFailure}}. |
If an error occurs about getting a database connection when execution a SQL request, no MONIT traces is logged:
{code} 2017/03/17 15:10:58,351 GMT+0100 MONIT [org.ow2.petals.component.framework.UnderTestWithDefaultConf] : traceCode = 'provideFlowStepBegin', flowInstanceId = '8b12ff30-0b1b-11e7-b8e6-02425ee4dbdb', flowStepId = '8b1437b0-0b1b-11e7-b8e6-02425ee4dbdb', flowStepInterfaceName = '{http://petals.ow2.org/components/sql/version-1}SQLInterface', flowStepServiceName = '{http://petals.ow2.org/components/sql/service/1}SQLService', flowStepOperationName = '{http://petals.ow2.org/components/sql/version-1}select', flowStepEndpointName = 'sqlEndpointName', flowPreviousStepId = '8b12ff31-0b1b-11e7-b8e6-02425ee4dbdb' 2017/03/17 15:10:58,389 GMT+0100 WARNING [org.ow2.petals.component.framework.UnderTestWithDefaultConf] : Cannot create PoolableConnectionFactory (java.net.ConnectException : erreur lors de la connexion au serveur localhost sur le port 1 527 avec le message Connexion refusée.) org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (java.net.ConnectException : erreur lors de la connexion au serveur localhost sur le port 1 527 avec le message Connexion refusée.) at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1225) at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:880) ... 2017/03/17 15:10:58,392 GMT+0100 FINE [org.ow2.petals.component.framework.UnderTestWithDefaultConf] : Send an asynchronous exchange with id : tests:8b12d820-0b1b-11e7-b8e6-02425ee4dbdb 2017/03/17 15:10:58,393 GMT+0100 FINE [org.ow2.petals.component.framework.UnderTestWithDefaultConf] : Intercepting message processing on ACCEPT_RESPONSE 2017/03/17 15:10:58,395 GMT+0100 MONIT [org.ow2.petals.component.framework.UnderTestWithDefaultConf] : traceCode = 'provideFlowStepFailure', flowInstanceId = '8b12ff30-0b1b-11e7-b8e6-02425ee4dbdb', flowStepId = '8b1437b0-0b1b-11e7-b8e6-02425ee4dbdb', failureMessage = 'org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (java.net.ConnectException : erreur lors de la connexion au serveur localhost sur le port 1 527 avec le message Connexion refusée.) - at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1225) - at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:880) - ...' {code} The following MONIT traces are expected: # {{provideExtFlowStepBegin}}, # followed by {{provideExtFlowStepFailure}}. |
| Status | In Progress [ 10003 ] | Resolved [ 10004 ] |
| Fix Version/s | 1.6.3 [ 10685 ] | |
| Resolution | Fixed [ 1 ] |