[ 
https://issues.apache.org/jira/browse/ARTEMIS-3092?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Justin Bertram updated ARTEMIS-3092:
------------------------------------
    Description: 
When starting the broker with the new JDBC connection pooling feature, we have 
an incorrect configuration log:

{code}
2021-01-29 19:34:58,057 INFO  
[org.apache.activemq.artemis.jdbc.store.drivers.JDBCDataSourceUtils] 
Initialising JDBC data source: org.apache.commons.dbcp2.BasicDataSource 
{password=ACTIVE_MQ, maxTotal=-1, 
driverClassName=oracle.jdbc.driver.OracleDriver, poolPreparedStatements=true, 
url=jdbc:oracle:thin:@(DESCRIPTION_LIST=(LOAD_BALANCE=off)(FAILOVER=on)(DESCRIPTION=(ENABLE=BROKEN)(CONNECT_TIMEOUT=3)(RETRY_COUNT=3)(ADDRESS_LIST=(LOAD_BALANCE=on)(ADDRESS=(PROTOCOL=TCP)(HOST=xxx)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=AMQDMSTA1S)))(DESCRIPTION=(ENABLE=BROKEN)(CONNECT_TIMEOUT=3)(RETRY_COUNT=3)(ADDRESS_LIST=(LOAD_BALANCE=on)(ADDRESS=(PROTOCOL=TCP)(HOST=xxx)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=xxx)))),
 username=ACTIVE_MQ}
2021-01-29 19:34:59,254 INFO  [org.apache.activemq.artemis.core.server] 
AMQ221000: live Message Broker is starting with configuration Broker 
Configuration 
(clustered=true,jdbcDriverClassName=org.apache.derby.jdbc.EmbeddedDriver,jdbcConnectionUrl=null,messageTableName=MESSAGES,bindingsTableName=BINDINGS,largeMessageTableName=LARGE_MESSAGES,pageStoreTableName=PAGE_STORE,)
{code}

> Inconsistent JDBC config logging
> --------------------------------
>
>                 Key: ARTEMIS-3092
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-3092
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>            Reporter: Justin Bertram
>            Assignee: Justin Bertram
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> When starting the broker with the new JDBC connection pooling feature, we 
> have an incorrect configuration log:
> {code}
> 2021-01-29 19:34:58,057 INFO  
> [org.apache.activemq.artemis.jdbc.store.drivers.JDBCDataSourceUtils] 
> Initialising JDBC data source: org.apache.commons.dbcp2.BasicDataSource 
> {password=ACTIVE_MQ, maxTotal=-1, 
> driverClassName=oracle.jdbc.driver.OracleDriver, poolPreparedStatements=true, 
> url=jdbc:oracle:thin:@(DESCRIPTION_LIST=(LOAD_BALANCE=off)(FAILOVER=on)(DESCRIPTION=(ENABLE=BROKEN)(CONNECT_TIMEOUT=3)(RETRY_COUNT=3)(ADDRESS_LIST=(LOAD_BALANCE=on)(ADDRESS=(PROTOCOL=TCP)(HOST=xxx)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=AMQDMSTA1S)))(DESCRIPTION=(ENABLE=BROKEN)(CONNECT_TIMEOUT=3)(RETRY_COUNT=3)(ADDRESS_LIST=(LOAD_BALANCE=on)(ADDRESS=(PROTOCOL=TCP)(HOST=xxx)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=xxx)))),
>  username=ACTIVE_MQ}
> 2021-01-29 19:34:59,254 INFO  [org.apache.activemq.artemis.core.server] 
> AMQ221000: live Message Broker is starting with configuration Broker 
> Configuration 
> (clustered=true,jdbcDriverClassName=org.apache.derby.jdbc.EmbeddedDriver,jdbcConnectionUrl=null,messageTableName=MESSAGES,bindingsTableName=BINDINGS,largeMessageTableName=LARGE_MESSAGES,pageStoreTableName=PAGE_STORE,)
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to