activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From AD <straightfl...@gmail.com>
Subject jdbc master/slave dying
Date Sat, 25 Oct 2008 03:07:24 GMT
All,
 I have a master/slave setup with JDBC persistence.   The servers die within
1 day of running for no real reason.  Here is the log file of  the brokers,
any ideas what is going on here ?

2008-10-23 07:51:28,274 [main           ] INFO  JDBCPersistenceAdapter
  - Database driver recognized: [mysql-ab_jdbc_driver]


2008-10-23 09:04:31,615 [MQ ShutdownHook] INFO  BrokerService
  - ActiveMQ Message Broker (ri-mq2, null) is shutting down

2008-10-23 09:04:31,616 [MQ ShutdownHook] INFO  TransportConnector
  - Connector openwire Stopped

2008-10-23 09:04:31,616 [MQ ShutdownHook] INFO  TransportConnector
  - Connector ssl Stopped

2008-10-23 09:04:31,616 [MQ ShutdownHook] INFO  TransportConnector
  - Connector stomp Stopped

2008-10-23 09:04:31,616 [MQ ShutdownHook] INFO  TransportConnector
  - Connector xmpp Stopped

2008-10-23 09:04:35,270 [main           ] INFO  DefaultDatabaseLocker
  - Attempting to acquire the exclusive lock to become the Master broker

2008-10-23 09:04:35,286 [main           ] INFO  DefaultDatabaseLocker
  - Becoming the master on dataSource:
org.apache.commons.dbcp.BasicDataSource@2781b3d4

2008-10-23 09:04:35,300 [main           ] INFO  JournalPersistenceAdapter
  - Journal Recovery Started from: Active Journal: using 5 x 20.0 Megs at:
/opt/apache-activemq-5.1.0/activemq-data/journal

2008-10-23 09:04:35,329 [main           ] ERROR BrokerService
  - Failed to start ActiveMQ JMS Message Broker. Reason:
java.io.IOException: closed


and on the primary node


2008-10-23 09:45:25,727 [main           ] INFO  log
   - Started SelectChannelConnector@0.0.0.0:8161

2008-10-23 09:45:25,830 [ker: 2049772000] INFO  FailoverTransport
   - Successfully connected to tcp://localhost:61616


2008-10-23 19:48:40,268 [MQ ShutdownHook] INFO  BrokerService
   - ActiveMQ Message Broker (ri-mq1, ID:ri-mq-54446-1224769524224-0:0) is
shutting down

2008-10-23 19:48:40,439 [127.0.0.1:61616] WARN  FailoverTransport
   - Transport failed to tcp://localhost:61616 , attempting to automatically
reconnect due to: java.io.EOFException

2008-10-23 19:48:40,516 [MQ ShutdownHook] INFO  TransportConnector
  - Connector openwire Stopped

2008-10-23 19:48:42,124 [MQ ShutdownHook] INFO  TransportConnector
  - Connector ssl Stopped

2008-10-23 19:48:43,432 [MQ ShutdownHook] INFO  TransportConnector
  - Connector stomp Stopped

2008-10-23 19:48:43,529 [MQ ShutdownHook] INFO  TransportConnector
  - Connector xmpp Stopped

2008-10-23 19:48:43,553 [MQ ShutdownHook] INFO  BrokerService
   - ActiveMQ JMS Message Broker (ri-mq1, ID:ri-mq1-54446-1224769524224-0:0)
stopped


config files here, they are identical on both machines except I replace mq1
with mq2


Thanks

Adam

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message