You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by raxlee <80...@sohu.com> on 2006/08/11 10:43:59 UTC
need hlep on using activemq
hi,all
i use activemq for jms server,but recently the activemq always
shutdown strangely.even when the server is free,no productor and cusumer
connect it
the follow is the log the activemq server output
2006-08-10 21:52:07,606 [eckpoint Worker] DEBUG DefaultJDBCAdapter
- Deleted 0 old message(s).
2006-08-10 21:52:07,606 [eckpoint Worker] DEBUG JDBCPersistenceAdapter
- Cleanup done.
2006-08-10 21:52:07,606 [eckpoint Worker] DEBUG JournalPersistenceAdapter
- Checkpoint done.
2006-08-10 21:57:37,602 [eckpoint Worker] DEBUG JournalPersistenceAdapter
- Checkpoint started.
2006-08-10 21:57:37,605 [eckpoint Worker] DEBUG JDBCPersistenceAdapter
- Cleaning up old messages.
2006-08-10 21:57:37,605 [eckpoint Worker] DEBUG DefaultJDBCAdapter
- Executing SQL: DELETE FROM ACTIVEMQ_MSGS WHERE ( EX
PIRATION<>0 AND EXPIRATION<?) OR ID <= ( SELECT
min(ACTIVEMQ_ACKS.LAST_ACKED_ID) FROM ACTIVEMQ_ACKS WHERE
ACTIVEMQ_ACKS.CONTAINER=AC
TIVEMQ_MSGS.CONTAINER)
2006-08-10 21:57:37,608 [eckpoint Worker] DEBUG DefaultJDBCAdapter
- Deleted 0 old message(s).
2006-08-10 21:57:37,608 [eckpoint Worker] DEBUG JDBCPersistenceAdapter
- Cleanup done.
2006-08-10 21:57:37,608 [eckpoint Worker] DEBUG JournalPersistenceAdapter
- Checkpoint done.
2006-08-10 21:59:50,062 [MQ ShutdownHook] INFO BrokerService
- ActiveMQ Message Broker (localhost, ID:unknow-48015
-1155214083906-1:0) is shutting down
2006-08-10 21:59:50,075 [MQ ShutdownHook] DEBUG BrokerService
- Caught exception, must be shutting down: java.lang.
IllegalStateException: Shutdown in progress
2006-08-10 21:59:50,238 [Discovery: null] ERROR MulticastDiscoveryAgent
- failed to process packet: java.net.SocketException:
Socket closed
2006-08-10 21:59:50,238 [MQ ShutdownHook] INFO NetworkConnector
- Network Connector default Stopped
2006-08-10 21:59:51,922 [MQ ShutdownHook] INFO TransportConnector
- Connector default Stopped
2006-08-10 21:59:52,136 [MQ ShutdownHook] INFO VMTransportFactory
- Shutting down VM connectors for broker: localhost
2006-08-10 21:59:52,137 [eckpoint Worker] DEBUG JournalPersistenceAdapter
- Checkpoint started.
2006-08-10 21:59:52,140 [eckpoint Worker] DEBUG JournalPersistenceAdapter
- Checkpoint done.
2006-08-10 21:59:52,140 [MQ ShutdownHook] DEBUG JournalPersistenceAdapter
- Waking for checkpoint to complete.
2006-08-10 21:59:52,212 [MQ ShutdownHook] INFO BrokerService
- ActiveMQ JMS Message Broker (localhost, ID:unknow-4
8015-1155214083906-1:0) stopped
i want to konw why the broker shutdown by itself suddenly,or if i hava some
problem on using activemq
hope somebody can help me
many thanks
--
View this message in context: http://www.nabble.com/need-hlep-on-using-activemq-tf2089422.html#a5758810
Sent from the ActiveMQ - User forum at Nabble.com.
Re: need hlep on using activemq
Posted by raxlee <80...@sohu.com>.
there wasn't any other error or exception throws before the shutdown action
it seems all runs well ,and then suddenly the process begin to shundown
the output before shutdown log is
2006-08-10 21:52:07,602 [eckpoint Worker] DEBUG JournalPersistenceAdapter
- Checkpoint started.
2006-08-10 21:52:07,604 [eckpoint Worker] DEBUG JDBCPersistenceAdapter
- Cleaning up old messages.
2006-08-10 21:52:07,605 [eckpoint Worker] DEBUG DefaultJDBCAdapter
- Executing SQL: DELETE FROM ACTIVEMQ_MSGS WHERE ( EX
PIRATION<>0 AND EXPIRATION<?) OR ID <= ( SELECT
min(ACTIVEMQ_ACKS.LAST_ACKED_ID) FROM ACTIVEMQ_ACKS WHERE
ACTIVEMQ_ACKS.CONTAINER=AC
TIVEMQ_MSGS.CONTAINER)
2006-08-10 21:52:07,606 [eckpoint Worker] DEBUG DefaultJDBCAdapter
- Deleted 0 old message(s).
2006-08-10 21:52:07,606 [eckpoint Worker] DEBUG JDBCPersistenceAdapter
- Cleanup done.
2006-08-10 21:52:07,606 [eckpoint Worker] DEBUG JournalPersistenceAdapter
- Checkpoint done.
2006-08-10 21:57:37,602 [eckpoint Worker] DEBUG JournalPersistenceAdapter
- Checkpoint started.
2006-08-10 21:57:37,605 [eckpoint Worker] DEBUG JDBCPersistenceAdapter
- Cleaning up old messages.
2006-08-10 21:57:37,605 [eckpoint Worker] DEBUG DefaultJDBCAdapter
- Executing SQL: DELETE FROM ACTIVEMQ_MSGS WHERE ( EX
PIRATION<>0 AND EXPIRATION<?) OR ID <= ( SELECT
min(ACTIVEMQ_ACKS.LAST_ACKED_ID) FROM ACTIVEMQ_ACKS WHERE
ACTIVEMQ_ACKS.CONTAINER=AC
TIVEMQ_MSGS.CONTAINER)
2006-08-10 21:57:37,608 [eckpoint Worker] DEBUG DefaultJDBCAdapter
- Deleted 0 old message(s).
2006-08-10 21:57:37,608 [eckpoint Worker] DEBUG JDBCPersistenceAdapter
- Cleanup done.
2006-08-10 21:57:37,608 [eckpoint Worker] DEBUG JournalPersistenceAdapter
- Checkpoint done.
the above remain seems run well
the follow begin to shutdown
2006-08-10 21:59:50,062 [MQ ShutdownHook] INFO BrokerService
- ActiveMQ Message Broker (localhost, ID:unknow-48015
-1155214083906-1:0) is shutting down
2006-08-10 21:59:50,075 [MQ ShutdownHook] DEBUG BrokerService
- Caught exception, must be shutting down: java.lang.
IllegalStateException: Shutdown in progress
2006-08-10 21:59:50,238 [Discovery: null] ERROR MulticastDiscoveryAgent
- failed to process packet: java.net.SocketException:
Socket closed
2006-08-10 21:59:50,238 [MQ ShutdownHook] INFO NetworkConnector
- Network Connector default Stopped
2006-08-10 21:59:51,922 [MQ ShutdownHook] INFO TransportConnector
- Connector default Stopped
2006-08-10 21:59:52,136 [MQ ShutdownHook] INFO VMTransportFactory
- Shutting down VM connectors for broker: localhost
2006-08-10 21:59:52,137 [eckpoint Worker] DEBUG JournalPersistenceAdapter
- Checkpoint started.
2006-08-10 21:59:52,140 [eckpoint Worker] DEBUG JournalPersistenceAdapter
- Checkpoint done.
2006-08-10 21:59:52,140 [MQ ShutdownHook] DEBUG JournalPersistenceAdapter
- Waking for checkpoint to complete.
2006-08-10 21:59:52,212 [MQ ShutdownHook] INFO BrokerService
- ActiveMQ JMS Message Broker (localhost, ID:unknow-4
8015-1155214083906-1:0) stopped
i don't know why
James.Strachan wrote:
>
> On 8/11/06, raxlee <80...@sohu.com> wrote:
>>
>> thanks
>>
>> it means that someting or someone on the same server where the
>> activemq
>> runs killed the activemq process?
>
> I think so.
>
>> or some fatal problem happend in the process lead to the process
>> itself
>> call the shutdownhook
>
> I couldn't see any other reason from the snippet of log I saw. Was
> there any other kind of error above the section you gave?
>
> --
>
> James
> -------
> http://radio.weblogs.com/0112098/
>
>
--
View this message in context: http://www.nabble.com/need-hlep-on-using-activemq-tf2089422.html#a5759957
Sent from the ActiveMQ - User forum at Nabble.com.
Re: need hlep on using activemq
Posted by James Strachan <ja...@gmail.com>.
On 8/11/06, raxlee <80...@sohu.com> wrote:
>
> thanks
>
> it means that someting or someone on the same server where the activemq
> runs killed the activemq process?
I think so.
> or some fatal problem happend in the process lead to the process itself
> call the shutdownhook
I couldn't see any other reason from the snippet of log I saw. Was
there any other kind of error above the section you gave?
--
James
-------
http://radio.weblogs.com/0112098/
Re: need hlep on using activemq
Posted by raxlee <80...@sohu.com>.
thanks
it means that someting or someone on the same server where the activemq
runs killed the activemq process?
or some fatal problem happend in the process lead to the process itself
call the shutdownhook
i care that if i abuse the activemq,such as having some problem on the
activemq config
James.Strachan wrote:
>
> If the ShudownHook is being called then it looks like something or
> someone has killed the process.
>
> On 8/11/06, raxlee <80...@sohu.com> wrote:
>>
>> hi,all
>>
>> i use activemq for jms server,but recently the activemq always
>> shutdown strangely.even when the server is free,no productor and cusumer
>> connect it
>>
>> the follow is the log the activemq server output
>>
>> 2006-08-10 21:52:07,606 [eckpoint Worker] DEBUG DefaultJDBCAdapter
>> - Deleted 0 old message(s).
>> 2006-08-10 21:52:07,606 [eckpoint Worker] DEBUG JDBCPersistenceAdapter
>> - Cleanup done.
>> 2006-08-10 21:52:07,606 [eckpoint Worker] DEBUG JournalPersistenceAdapter
>> - Checkpoint done.
>> 2006-08-10 21:57:37,602 [eckpoint Worker] DEBUG JournalPersistenceAdapter
>> - Checkpoint started.
>> 2006-08-10 21:57:37,605 [eckpoint Worker] DEBUG JDBCPersistenceAdapter
>> - Cleaning up old messages.
>> 2006-08-10 21:57:37,605 [eckpoint Worker] DEBUG DefaultJDBCAdapter
>> - Executing SQL: DELETE FROM ACTIVEMQ_MSGS WHERE ( EX
>> PIRATION<>0 AND EXPIRATION<?) OR ID <= ( SELECT
>> min(ACTIVEMQ_ACKS.LAST_ACKED_ID) FROM ACTIVEMQ_ACKS WHERE
>> ACTIVEMQ_ACKS.CONTAINER=AC
>> TIVEMQ_MSGS.CONTAINER)
>> 2006-08-10 21:57:37,608 [eckpoint Worker] DEBUG DefaultJDBCAdapter
>> - Deleted 0 old message(s).
>> 2006-08-10 21:57:37,608 [eckpoint Worker] DEBUG JDBCPersistenceAdapter
>> - Cleanup done.
>> 2006-08-10 21:57:37,608 [eckpoint Worker] DEBUG JournalPersistenceAdapter
>> - Checkpoint done.
>> 2006-08-10 21:59:50,062 [MQ ShutdownHook] INFO BrokerService
>> - ActiveMQ Message Broker (localhost, ID:unknow-48015
>> -1155214083906-1:0) is shutting down
>> 2006-08-10 21:59:50,075 [MQ ShutdownHook] DEBUG BrokerService
>> - Caught exception, must be shutting down: java.lang.
>> IllegalStateException: Shutdown in progress
>> 2006-08-10 21:59:50,238 [Discovery: null] ERROR MulticastDiscoveryAgent
>> - failed to process packet: java.net.SocketException:
>> Socket closed
>> 2006-08-10 21:59:50,238 [MQ ShutdownHook] INFO NetworkConnector
>> - Network Connector default Stopped
>> 2006-08-10 21:59:51,922 [MQ ShutdownHook] INFO TransportConnector
>> - Connector default Stopped
>> 2006-08-10 21:59:52,136 [MQ ShutdownHook] INFO VMTransportFactory
>> - Shutting down VM connectors for broker: localhost
>> 2006-08-10 21:59:52,137 [eckpoint Worker] DEBUG JournalPersistenceAdapter
>> - Checkpoint started.
>> 2006-08-10 21:59:52,140 [eckpoint Worker] DEBUG JournalPersistenceAdapter
>> - Checkpoint done.
>> 2006-08-10 21:59:52,140 [MQ ShutdownHook] DEBUG JournalPersistenceAdapter
>> - Waking for checkpoint to complete.
>> 2006-08-10 21:59:52,212 [MQ ShutdownHook] INFO BrokerService
>> - ActiveMQ JMS Message Broker (localhost, ID:unknow-4
>> 8015-1155214083906-1:0) stopped
>>
>>
>> i want to konw why the broker shutdown by itself suddenly,or if i hava
>> some
>> problem on using activemq
>>
>> hope somebody can help me
>>
>> many thanks
>> --
>> View this message in context:
>> http://www.nabble.com/need-hlep-on-using-activemq-tf2089422.html#a5758810
>> Sent from the ActiveMQ - User forum at Nabble.com.
>>
>>
>
>
> --
>
> James
> -------
> http://radio.weblogs.com/0112098/
>
>
--
View this message in context: http://www.nabble.com/need-hlep-on-using-activemq-tf2089422.html#a5759420
Sent from the ActiveMQ - User forum at Nabble.com.
Re: need hlep on using activemq
Posted by James Strachan <ja...@gmail.com>.
If the ShudownHook is being called then it looks like something or
someone has killed the process.
On 8/11/06, raxlee <80...@sohu.com> wrote:
>
> hi,all
>
> i use activemq for jms server,but recently the activemq always
> shutdown strangely.even when the server is free,no productor and cusumer
> connect it
>
> the follow is the log the activemq server output
>
> 2006-08-10 21:52:07,606 [eckpoint Worker] DEBUG DefaultJDBCAdapter
> - Deleted 0 old message(s).
> 2006-08-10 21:52:07,606 [eckpoint Worker] DEBUG JDBCPersistenceAdapter
> - Cleanup done.
> 2006-08-10 21:52:07,606 [eckpoint Worker] DEBUG JournalPersistenceAdapter
> - Checkpoint done.
> 2006-08-10 21:57:37,602 [eckpoint Worker] DEBUG JournalPersistenceAdapter
> - Checkpoint started.
> 2006-08-10 21:57:37,605 [eckpoint Worker] DEBUG JDBCPersistenceAdapter
> - Cleaning up old messages.
> 2006-08-10 21:57:37,605 [eckpoint Worker] DEBUG DefaultJDBCAdapter
> - Executing SQL: DELETE FROM ACTIVEMQ_MSGS WHERE ( EX
> PIRATION<>0 AND EXPIRATION<?) OR ID <= ( SELECT
> min(ACTIVEMQ_ACKS.LAST_ACKED_ID) FROM ACTIVEMQ_ACKS WHERE
> ACTIVEMQ_ACKS.CONTAINER=AC
> TIVEMQ_MSGS.CONTAINER)
> 2006-08-10 21:57:37,608 [eckpoint Worker] DEBUG DefaultJDBCAdapter
> - Deleted 0 old message(s).
> 2006-08-10 21:57:37,608 [eckpoint Worker] DEBUG JDBCPersistenceAdapter
> - Cleanup done.
> 2006-08-10 21:57:37,608 [eckpoint Worker] DEBUG JournalPersistenceAdapter
> - Checkpoint done.
> 2006-08-10 21:59:50,062 [MQ ShutdownHook] INFO BrokerService
> - ActiveMQ Message Broker (localhost, ID:unknow-48015
> -1155214083906-1:0) is shutting down
> 2006-08-10 21:59:50,075 [MQ ShutdownHook] DEBUG BrokerService
> - Caught exception, must be shutting down: java.lang.
> IllegalStateException: Shutdown in progress
> 2006-08-10 21:59:50,238 [Discovery: null] ERROR MulticastDiscoveryAgent
> - failed to process packet: java.net.SocketException:
> Socket closed
> 2006-08-10 21:59:50,238 [MQ ShutdownHook] INFO NetworkConnector
> - Network Connector default Stopped
> 2006-08-10 21:59:51,922 [MQ ShutdownHook] INFO TransportConnector
> - Connector default Stopped
> 2006-08-10 21:59:52,136 [MQ ShutdownHook] INFO VMTransportFactory
> - Shutting down VM connectors for broker: localhost
> 2006-08-10 21:59:52,137 [eckpoint Worker] DEBUG JournalPersistenceAdapter
> - Checkpoint started.
> 2006-08-10 21:59:52,140 [eckpoint Worker] DEBUG JournalPersistenceAdapter
> - Checkpoint done.
> 2006-08-10 21:59:52,140 [MQ ShutdownHook] DEBUG JournalPersistenceAdapter
> - Waking for checkpoint to complete.
> 2006-08-10 21:59:52,212 [MQ ShutdownHook] INFO BrokerService
> - ActiveMQ JMS Message Broker (localhost, ID:unknow-4
> 8015-1155214083906-1:0) stopped
>
>
> i want to konw why the broker shutdown by itself suddenly,or if i hava some
> problem on using activemq
>
> hope somebody can help me
>
> many thanks
> --
> View this message in context: http://www.nabble.com/need-hlep-on-using-activemq-tf2089422.html#a5758810
> Sent from the ActiveMQ - User forum at Nabble.com.
>
>
--
James
-------
http://radio.weblogs.com/0112098/