activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From leechor <chinabh...@gmail.com>
Subject Subject:the connection suddenly be closed when change the broker mechine time
Date Fri, 25 Jan 2013 15:28:13 GMT
Hi all:
    I have a broker with some producers and consumers on at the same
computer, for some reason, I have correct the time frequently,But some time
when the time be changed, the connetion will be closed after that see from
127.0.0.1:8161,the connection may be not suddenly closed after time
changed,maybe suddenly,two minute,three or more long time,these connections
may be all closed at the same time,maybe only one ,two , three or all, the
problem confuse me for a long time,please give me some help.

ActiveMQ:apache-activemq-5.7.0\5.5.0\5.6.0
NMS:Apache.NMS-1.5.1 + Apache.NMS.ActiveMQ-1.5.6

NMS exception:
ActiveMQClass.MQProducer.SendMessage|
Apache.NMS.ActiveMQ.ConnectionClosedException: The connection is already
closed!
   在 Apache.NMS.ActiveMQ.MessageProducer.Send(IDestination destination,
IMessage message, MsgDeliveryMode deliveryMode, MsgPriority priority,
TimeSpan timeToLive, Boolean specifiedTimeToLive)
   在 Apache.NMS.ActiveMQ.MessageProducer.Send(IMessage message,
MsgDeliveryMode deliveryMode, MsgPriority priority, TimeSpan timeToLive)
   在 ActiveMQClass.MQProducer.SendMessage(MomHead momHead, DESMessage
message) 位置 D:\DES\code\ActiveMQLibrary\MQProducer.cs:行号 135

some time the wrapper.log have the log after change time:
|wrapper  | 2013/01/18 01:49:39 | The system clock fell behind the timer by
172800400ms.
|wrapper  | 2013/01/21 01:50:43 | The timer fell behind the system clock by
259199600ms.


in the log file,the time is not right,because I change it random....

wrapper.log:
STATUS | wrapper  | 2013/01/25 08:04:26 | --> Wrapper Started as Service
STATUS | wrapper  | 2013/01/25 08:04:26 | Launching a JVM...
INFO   | jvm 1    | 2013/01/25 08:04:29 | Wrapper (Version 3.2.3)
http://wrapper.tanukisoftware.org
INFO   | jvm 1    | 2013/01/25 08:04:29 |   Copyright 1999-2006 Tanuki
Software, Inc.  All Rights Reserved.
INFO   | jvm 1    | 2013/01/25 08:04:29 | 
INFO   | jvm 1    | 2013/01/25 08:04:29 | Java Runtime: Oracle Corporation
1.7.0_03 C:\Program Files\Java\jre7
INFO   | jvm 1    | 2013/01/25 08:04:29 |   Heap sizes: current=15872k 
free=12572k  max=1013632k
INFO   | jvm 1    | 2013/01/25 08:04:29 |     JVM args:
-Dactivemq.home=D:\DES\RUN\apache-activemq-5.7.0\bin\win32\..\..
-Dactivemq.base=D:\DES\RUN\apache-activemq-5.7.0\bin\win32\..\..
-Djavax.net.ssl.keyStorePassword=password
-Djavax.net.ssl.trustStorePassword=password
-Djavax.net.ssl.keyStore=D:\DES\RUN\apache-activemq-5.7.0\bin\win32\..\../conf/broker.ks
-Djavax.net.ssl.trustStore=D:\DES\RUN\apache-activemq-5.7.0\bin\win32\..\../conf/broker.ts
-Dcom.sun.management.jmxremote
-Dorg.apache.activemq.UseDedicatedTaskRunner=true
-Djava.util.logging.config.file=logging.properties
-Dactivemq.conf=D:\DES\RUN\apache-activemq-5.7.0\bin\win32\..\../conf
-Dactivemq.data=D:\DES\RUN\apache-activemq-5.7.0\bin\win32\..\../data
-Xmx1024m
-Djava.library.path=D:\DES\RUN\apache-activemq-5.7.0\bin\win32\..\../bin/win32
-Dwrapper.key=dgdak8j1jmEBx6qh -Dwrapper.port=32000
-Dwrapper.jvm.port.min=31000 -Dwrapper.jvm.port.max=31999 -Dwrapper.pid=7528
-Dwrapper.version=3.2.3 -Dwrapper.native_library=wrapper
-Dwrapper.service=TRUE -Dwrapper.cpu.timeout=10 -Dwrapper.jvmid=1
INFO   | jvm 1    | 2013/01/25 08:04:29 | Extensions classpath:
INFO   | jvm 1    | 2013/01/25 08:04:29 |  
[D:\DES\RUN\apache-activemq-5.7.0\bin\win32\..\..\lib,D:\DES\RUN\apache-activemq-5.7.0\bin\win32\..\..\lib\camel,D:\DES\RUN\apache-activemq-5.7.0\bin\win32\..\..\lib\optional,D:\DES\RUN\apache-activemq-5.7.0\bin\win32\..\..\lib\web,D:\DES\RUN\apache-activemq-5.7.0\bin\win32\..\..\lib\extra]
INFO   | jvm 1    | 2013/01/25 08:04:29 | ACTIVEMQ_HOME:
D:\DES\RUN\apache-activemq-5.7.0\bin\win32\..\..
INFO   | jvm 1    | 2013/01/25 08:04:29 | ACTIVEMQ_BASE:
D:\DES\RUN\apache-activemq-5.7.0\bin\win32\..\..
INFO   | jvm 1    | 2013/01/25 08:04:29 | ACTIVEMQ_CONF:
D:\DES\RUN\apache-activemq-5.7.0\bin\win32\..\..\conf
INFO   | jvm 1    | 2013/01/25 08:04:29 | ACTIVEMQ_DATA:
D:\DES\RUN\apache-activemq-5.7.0\bin\win32\..\..\data
INFO   | jvm 1    | 2013/01/25 08:04:29 | Loading message broker from:
xbean:activemq.xml
INFO   | jvm 1    | 2013/01/25 08:04:30 |  INFO | Refreshing
org.apache.activemq.xbean.XBeanBrokerFactory$1@97dd98: startup date [Fri Jan
25 08:04:30 CST 2013]; root of context hierarchy
INFO   | jvm 1    | 2013/01/25 08:04:33 |  WARN | persistent="false",
ignoring configured persistenceAdapter:
KahaDBPersistenceAdapter[D:\DES\RUN\apache-activemq-5.7.0\bin\win32\..\..\data\kahadb]
INFO   | jvm 1    | 2013/01/25 08:04:33 |  INFO | Using Persistence Adapter:
MemoryPersistenceAdapter
INFO   | jvm 1    | 2013/01/25 08:04:33 |  INFO | Apache ActiveMQ 5.7.0
(DESMaster, ID:czz32-5236-1359072273031-0:1) is starting
INFO   | jvm 1    | 2013/01/25 08:04:33 |  INFO | Broker Plugin
org.apache.activemq.broker.util.TimeStampingBrokerPlugin started
INFO   | jvm 1    | 2013/01/25 08:04:33 |  INFO | Listening for connections
at:
tcp://localhost:61616?maximumConnections=1000&wireformat.maxFrameSize=104857600
INFO   | jvm 1    | 2013/01/25 08:04:33 |  INFO | Connector openwire Started
INFO   | jvm 1    | 2013/01/25 08:04:33 |  INFO | Apache ActiveMQ 5.7.0
(DESMaster, ID:czz32-5236-1359072273031-0:1) started
INFO   | jvm 1    | 2013/01/25 08:04:33 |  INFO | For help or more
information please see: http://activemq.apache.org
INFO   | jvm 1    | 2013/01/25 08:04:33 |  INFO | jetty-7.6.7.v20120910
INFO   | jvm 1    | 2013/01/25 08:04:33 |  INFO | ActiveMQ WebConsole
initialized.
INFO   | jvm 1    | 2013/01/25 08:04:33 |  INFO | started
o.e.j.w.WebAppContext{/admin,file:/D:/DES/RUN/apache-activemq-5.7.0/webapps/admin/}
INFO   | jvm 1    | 2013/01/25 08:04:34 |  INFO | Initializing Spring
FrameworkServlet 'dispatcher'
INFO   | jvm 1    | 2013/01/25 08:04:34 |  INFO | ActiveMQ Console at
http://0.0.0.0:8161/admin
INFO   | jvm 1    | 2013/01/25 08:04:34 |  INFO | started
o.e.j.w.WebAppContext{/demo,file:/D:/DES/RUN/apache-activemq-5.7.0/webapps/demo/}
INFO   | jvm 1    | 2013/01/25 08:04:34 |  INFO | Apache ActiveMQ Web Demo
at http://0.0.0.0:8161/demo
INFO   | jvm 1    | 2013/01/25 08:04:34 |  INFO | started
o.e.j.w.WebAppContext{/fileserver,file:/D:/DES/RUN/apache-activemq-5.7.0/webapps/fileserver/}
INFO   | jvm 1    | 2013/01/25 08:04:34 |  INFO | RESTful file access
application at http://0.0.0.0:8161/fileserver
INFO   | jvm 1    | 2013/01/25 08:04:35 |  INFO | Started
SelectChannelConnector@0.0.0.0:8161
INFO   | jvm 1    | 2013/01/25 13:06:00 |  WARN | Transport Connection to:
tcp://127.0.0.1:5241 failed: java.io.EOFException
INFO   | jvm 1    | 2013/01/25 13:06:29 |  WARN | Transport Connection to:
tcp://127.0.0.1:5244 failed: java.io.EOFException
INFO   | jvm 1    | 2013/01/25 13:06:29 |  WARN | Transport Connection to:
tcp://127.0.0.1:5246 failed: java.io.EOFException
INFO   | jvm 1    | 2013/01/25 13:06:29 |  WARN | Transport Connection to:
tcp://127.0.0.1:5248 failed: java.io.EOFException
INFO   | jvm 1    | 2013/01/25 13:06:29 |  WARN | Transport Connection to:
tcp://127.0.0.1:5253 failed: java.io.EOFException
INFO   | jvm 1    | 2013/01/25 13:06:29 |  WARN | Transport Connection to:
tcp://127.0.0.1:5254 failed: java.io.EOFException
INFO   | jvm 1    | 2013/01/25 13:06:30 |  WARN | Transport Connection to:
tcp://127.0.0.1:5260 failed: java.io.EOFException
INFO   | jvm 1    | 2013/01/25 13:06:30 |  WARN | Transport Connection to:
tcp://127.0.0.1:5258 failed: java.io.EOFException
INFO   | jvm 1    | 2013/01/25 13:06:32 |  WARN | Transport Connection to:
tcp://127.0.0.1:5264 failed: java.io.EOFException
INFO   | jvm 1    | 2013/01/25 13:06:32 |  WARN | Transport Connection to:
tcp://127.0.0.1:5268 failed: java.io.EOFException
INFO   | jvm 1    | 2013/01/25 13:06:32 |  WARN | Transport Connection to:
tcp://127.0.0.1:5266 failed: java.io.EOFException

activemq.log:
2013-01-25 08:04:30,921 | INFO  | Refreshing
org.apache.activemq.xbean.XBeanBrokerFactory$1@97dd98: startup date [Fri Jan
25 08:04:30 CST 2013]; root of context hierarchy |
org.apache.activemq.xbean.XBeanBrokerFactory$1 | WrapperSimpleAppMain
2013-01-25 08:04:32,921 | WARN  | persistent="false", ignoring configured
persistenceAdapter:
KahaDBPersistenceAdapter[D:\DES\RUN\apache-activemq-5.7.0\bin\win32\..\..\data\kahadb]
| org.apache.activemq.broker.BrokerService | WrapperSimpleAppMain
2013-01-25 08:04:33,015 | INFO  | Using Persistence Adapter:
MemoryPersistenceAdapter | org.apache.activemq.broker.BrokerService |
WrapperSimpleAppMain
2013-01-25 08:04:33,187 | INFO  | Apache ActiveMQ 5.7.0 (DESMaster,
ID:czz32-5236-1359072273031-0:1) is starting |
org.apache.activemq.broker.BrokerService | WrapperSimpleAppMain
2013-01-25 08:04:33,187 | INFO  | Broker Plugin
org.apache.activemq.broker.util.TimeStampingBrokerPlugin started |
org.apache.activemq.broker.BrokerPluginSupport | WrapperSimpleAppMain
2013-01-25 08:04:33,265 | INFO  | Listening for connections at:
tcp://localhost:61616?maximumConnections=1000&wireformat.maxFrameSize=104857600
| org.apache.activemq.transport.TransportServerThreadSupport |
WrapperSimpleAppMain
2013-01-25 08:04:33,265 | INFO  | Connector openwire Started |
org.apache.activemq.broker.TransportConnector | WrapperSimpleAppMain
2013-01-25 08:04:33,265 | INFO  | Apache ActiveMQ 5.7.0 (DESMaster,
ID:czz32-5236-1359072273031-0:1) started |
org.apache.activemq.broker.BrokerService | WrapperSimpleAppMain
2013-01-25 08:04:33,265 | INFO  | For help or more information please see:
http://activemq.apache.org | org.apache.activemq.broker.BrokerService |
WrapperSimpleAppMain
2013-01-25 08:04:33,406 | INFO  | jetty-7.6.7.v20120910 |
org.eclipse.jetty.server.Server | WrapperSimpleAppMain
2013-01-25 08:04:33,875 | INFO  | ActiveMQ WebConsole initialized. |
org.apache.activemq.web.WebConsoleStarter | WrapperSimpleAppMain
2013-01-25 08:04:33,875 | INFO  | started
o.e.j.w.WebAppContext{/admin,file:/D:/DES/RUN/apache-activemq-5.7.0/webapps/admin/}
| org.eclipse.jetty.server.handler.ContextHandler | WrapperSimpleAppMain
2013-01-25 08:04:34,125 | INFO  | Initializing Spring FrameworkServlet
'dispatcher' | /admin | WrapperSimpleAppMain
2013-01-25 08:04:34,718 | INFO  | ActiveMQ Console at
http://0.0.0.0:8161/admin | org.eclipse.jetty.webapp.WebAppContext |
WrapperSimpleAppMain
2013-01-25 08:04:34,734 | INFO  | started
o.e.j.w.WebAppContext{/demo,file:/D:/DES/RUN/apache-activemq-5.7.0/webapps/demo/}
| org.eclipse.jetty.server.handler.ContextHandler | WrapperSimpleAppMain
2013-01-25 08:04:34,750 | INFO  | Apache ActiveMQ Web Demo at
http://0.0.0.0:8161/demo | org.eclipse.jetty.webapp.WebAppContext |
WrapperSimpleAppMain
2013-01-25 08:04:34,765 | INFO  | started
o.e.j.w.WebAppContext{/fileserver,file:/D:/DES/RUN/apache-activemq-5.7.0/webapps/fileserver/}
| org.eclipse.jetty.server.handler.ContextHandler | WrapperSimpleAppMain
2013-01-25 08:04:34,781 | INFO  | RESTful file access application at
http://0.0.0.0:8161/fileserver | org.eclipse.jetty.webapp.WebAppContext |
WrapperSimpleAppMain
2013-01-25 08:04:34,937 | INFO  | Started
SelectChannelConnector@0.0.0.0:8161 |
org.eclipse.jetty.server.AbstractConnector | WrapperSimpleAppMain
2013-01-25 13:06:00,515 | WARN  | Transport Connection to:
tcp://127.0.0.1:5241 failed: java.io.EOFException |
org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ
Transport: tcp:///127.0.0.1:5241@61616
2013-01-25 13:06:29,390 | WARN  | Transport Connection to:
tcp://127.0.0.1:5244 failed: java.io.EOFException |
org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ
Transport: tcp:///127.0.0.1:5244@61616
2013-01-25 13:06:29,500 | WARN  | Transport Connection to:
tcp://127.0.0.1:5246 failed: java.io.EOFException |
org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ
Transport: tcp:///127.0.0.1:5246@61616
2013-01-25 13:06:29,546 | WARN  | Transport Connection to:
tcp://127.0.0.1:5248 failed: java.io.EOFException |
org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ
Transport: tcp:///127.0.0.1:5248@61616
2013-01-25 13:06:29,781 | WARN  | Transport Connection to:
tcp://127.0.0.1:5253 failed: java.io.EOFException |
org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ
Transport: tcp:///127.0.0.1:5253@61616
2013-01-25 13:06:29,953 | WARN  | Transport Connection to:
tcp://127.0.0.1:5254 failed: java.io.EOFException |
org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ
Transport: tcp:///127.0.0.1:5254@61616
2013-01-25 13:06:30,109 | WARN  | Transport Connection to:
tcp://127.0.0.1:5260 failed: java.io.EOFException |
org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ
Transport: tcp:///127.0.0.1:5260@61616
2013-01-25 13:06:30,140 | WARN  | Transport Connection to:
tcp://127.0.0.1:5258 failed: java.io.EOFException |
org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ
Transport: tcp:///127.0.0.1:5258@61616
2013-01-25 13:06:32,515 | WARN  | Transport Connection to:
tcp://127.0.0.1:5264 failed: java.io.EOFException |
org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ
Transport: tcp:///127.0.0.1:5264@61616
2013-01-25 13:06:32,640 | WARN  | Transport Connection to:
tcp://127.0.0.1:5268 failed: java.io.EOFException |
org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ
Transport: tcp:///127.0.0.1:5268@61616
2013-01-25 13:06:32,640 | WARN  | Transport Connection to:
tcp://127.0.0.1:5266 failed: java.io.EOFException |
org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ
Transport: tcp:///127.0.0.1:5266@61616

activemq.xml
<http://activemq.2283324.n4.nabble.com/file/n4662244/activemq.xml>  
activemq.log
<http://activemq.2283324.n4.nabble.com/file/n4662244/activemq.log>  
wrapper.log
<http://activemq.2283324.n4.nabble.com/file/n4662244/wrapper.log>  



--
View this message in context: http://activemq.2283324.n4.nabble.com/Subject-the-connection-suddenly-be-closed-when-change-the-broker-mechine-time-tp4662244.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message