从节点上的jdbc WARNING消息

时间:2018-03-30 17:44:07

标签: java jdbc activemq

我有4个代理配置分布在两个节点上。每个节点都有一个 主节点和从节点(其主节点在另一节点上)

既然主节点已经获得了锁,我看到了以下JDBC slave activemq.log中的警告: 有没有办法抑制这些警告?

- 2018-03-29 19:28:57,847 | WARN | Could not create JDBC tables; they could already exist. Failure was: CREATE INDEX ACTIVEMQ_ACKS_XIDX ON ACTIVEMQ_ACKS (XID) Message: ERROR: relation "activemq_acks_xidx" already exists SQLState: 42P07 Vendor code: 0 | org.apache.activemq.store.jdbc.adapter.DefaultJDBCAdapter | main 2018-03-29 19:28:57,847 | WARN | Could not create JDBC tables; they could already exist. Failure was: CREATE INDEX ACTIVEMQ_ACKS_XIDX ON ACTIVEMQ_ACKS (XID) Message: ERROR: relation "activemq_acks_xidx" already exists SQLState: 42P07 Vendor code: 0 | org.apache.activemq.store.jdbc.adapter.DefaultJDBCAdapter | main 2018-03-29 19:28:57,848 | WARN | Failure details: ERROR: relation "activemq_acks_xidx" already exists | org.apache.activemq.store.jdbc.JDBCPersistenceAdapter | main org.postgresql.util.PSQLException: ERROR: relation "activemq_acks_xidx" already exists ... 2018-03-29 19:28:57,852 | WARN | Could not create JDBC tables; they could already exist. Failure was: CREATE TABLE ACTIVEMQ_LOCK( ID BIGINT NOT NULL, TIME BIGINT, BROKER_NAME VARCHAR(250), PRIMARY KEY (ID) ) Message: ERROR: relation "activemq_lock" already exists SQLState: 42P07 Vendor code: 0 | org.apache.activemq.store.jdbc.adapter.DefaultJDBCAdapter | main 2018-03-29 19:28:57,852 | WARN | Failure details: ERROR: relation "activemq_lock" already exists | org.apache.activemq.store.jdbc.JDBCPersistenceAdapter | main org.postgresql.util.PSQLException: ERROR: relation "activemq_lock" already exists/ ...

0 个答案:

没有答案