ActiveMQ启动了可以用,但是为什么还是报一堆错误信息?rmiregistry我是通过xshell启动的,但是我一关xshell这个服务也就停了,有什么办法可以通过xshell启动,退出后还留着?
ACTIVEMQ_BASE: /home/activemq
Loading message broker from: xbean:activemq.xml
INFO BrokerService - Using Persistence Adapter: AMQPersistenceAdapter(/home/activemq/data)
INFO BrokerService - ActiveMQ 5.1.0 JMS Message Broker (localhost) is starting
INFO BrokerService - For help or more information please see: http://activemq.apache.org/
INFO AMQPersistenceAdapter - AMQStore starting using directory: /home/activemq/data
INFO KahaStore - Kaha Store using data directory /home/activemq/data/kr-store/state
INFO AMQPersistenceAdapter - Active data files: []
WARN AMQPersistenceAdapter - The ReferenceStore is not valid - recovering ...
INFO KahaStore - Kaha Store successfully deleted data directory /home/activemq/data/kr-store/data
INFO AMQPersistenceAdapter - Journal Recovery Started from: DataManager:(data-)
INFO KahaStore - Kaha Store using data directory /home/activemq/data/kr-store/data
INFO AMQPersistenceAdapter - Recovered 24 operations from redo log in 0.111 seconds.
INFO AMQPersistenceAdapter - Finished recovering the ReferenceStore
INFO TransportServerThreadSupport - Listening for connections at: tcp://localhost.localdomain:61616
INFO TransportConnector - Connector openwire Started
INFO DiscoveryNetworkConnector - Establishing network connection between from vm://localhost to tcp://zadmobile65:61616
INFO TransportConnector - Connector vm://localhost Started
INFO NetworkConnector - Network Connector zadmobile65 Started
INFO BrokerService - ActiveMQ JMS Message Broker (localhost, ID:localhost.localdomain-32774-1219721802104-0:0) started
INFO DemandForwardingBridge - Disconnecting loop back connection.
INFO TransportConnector - Connector vm://localhost Stopped
INFO DemandForwardingBridge - localhost bridge to localhost stopped
org.apache.activemq.transport.TransportDisposedIOException: Transport disposed.
at org.apache.activemq.transport.vm.VMTransport.oneway(VMTransport.java:74)
at org.apache.activemq.transport.MutexTransport.oneway(MutexTransport.java:40)
at org.apache.activemq.transport.ResponseCorrelator.oneway(ResponseCorrelator.java:60)
at org.apache.activemq.network.DemandForwardingBridgeSupport.serviceRemoteCommand(DemandForwardingBridgeSupport.java:407)
at org.apache.activemq.network.DemandForwardingBridgeSupport$2.onCommand(DemandForwardingBridgeSupport.java:154)
at org.apache.activemq.transport.ResponseCorrelator.onCommand(ResponseCorrelator.java:104)
at org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:68)
at org.apache.activemq.transport.WireFormatNegotiator.onCommand(WireFormatNegotiator.java:143)
at org.apache.activemq.transport.InactivityMonitor.onCommand(InactivityMonitor.java:206)
at org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:84)
at org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:196)
at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:183)
at java.lang.Thread.run(Thread.java:595)
INFO log - Logging to org.slf4j.impl.JCLLoggerAdapter(org.mortbay.log) via org.mortbay.log.Slf4jLog
INFO log - jetty-6.1.9
INFO WebConsoleStarter - ActiveMQ WebConsole initialized.
INFO /admin - Initializing Spring FrameworkServlet 'dispatcher'
INFO log - ActiveMQ Console at http://0.0.0.0:8161/admin
INFO log - ActiveMQ Web Demos at http://0.0.0.0:8161/demo
INFO log - RESTful file access application at http://0.0.0.0:8161/fileserver
INFO log - Started [email protected]:8161
INFO FailoverTransport - Successfully connected to tcp://localhost:61616
Loading message broker from: xbean:activemq.xml
INFO BrokerService - Using Persistence Adapter: AMQPersistenceAdapter(/home/activemq/data)
INFO BrokerService - ActiveMQ 5.1.0 JMS Message Broker (localhost) is starting
INFO BrokerService - For help or more information please see: http://activemq.apache.org/
INFO AMQPersistenceAdapter - AMQStore starting using directory: /home/activemq/data
INFO KahaStore - Kaha Store using data directory /home/activemq/data/kr-store/state
INFO AMQPersistenceAdapter - Active data files: []
WARN AMQPersistenceAdapter - The ReferenceStore is not valid - recovering ...
INFO KahaStore - Kaha Store successfully deleted data directory /home/activemq/data/kr-store/data
INFO AMQPersistenceAdapter - Journal Recovery Started from: DataManager:(data-)
INFO KahaStore - Kaha Store using data directory /home/activemq/data/kr-store/data
INFO AMQPersistenceAdapter - Recovered 24 operations from redo log in 0.111 seconds.
INFO AMQPersistenceAdapter - Finished recovering the ReferenceStore
INFO TransportServerThreadSupport - Listening for connections at: tcp://localhost.localdomain:61616
INFO TransportConnector - Connector openwire Started
INFO DiscoveryNetworkConnector - Establishing network connection between from vm://localhost to tcp://zadmobile65:61616
INFO TransportConnector - Connector vm://localhost Started
INFO NetworkConnector - Network Connector zadmobile65 Started
INFO BrokerService - ActiveMQ JMS Message Broker (localhost, ID:localhost.localdomain-32774-1219721802104-0:0) started
INFO DemandForwardingBridge - Disconnecting loop back connection.
INFO TransportConnector - Connector vm://localhost Stopped
INFO DemandForwardingBridge - localhost bridge to localhost stopped
org.apache.activemq.transport.TransportDisposedIOException: Transport disposed.
at org.apache.activemq.transport.vm.VMTransport.oneway(VMTransport.java:74)
at org.apache.activemq.transport.MutexTransport.oneway(MutexTransport.java:40)
at org.apache.activemq.transport.ResponseCorrelator.oneway(ResponseCorrelator.java:60)
at org.apache.activemq.network.DemandForwardingBridgeSupport.serviceRemoteCommand(DemandForwardingBridgeSupport.java:407)
at org.apache.activemq.network.DemandForwardingBridgeSupport$2.onCommand(DemandForwardingBridgeSupport.java:154)
at org.apache.activemq.transport.ResponseCorrelator.onCommand(ResponseCorrelator.java:104)
at org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:68)
at org.apache.activemq.transport.WireFormatNegotiator.onCommand(WireFormatNegotiator.java:143)
at org.apache.activemq.transport.InactivityMonitor.onCommand(InactivityMonitor.java:206)
at org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:84)
at org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:196)
at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:183)
at java.lang.Thread.run(Thread.java:595)
INFO log - Logging to org.slf4j.impl.JCLLoggerAdapter(org.mortbay.log) via org.mortbay.log.Slf4jLog
INFO log - jetty-6.1.9
INFO WebConsoleStarter - ActiveMQ WebConsole initialized.
INFO /admin - Initializing Spring FrameworkServlet 'dispatcher'
INFO log - ActiveMQ Console at http://0.0.0.0:8161/admin
INFO log - ActiveMQ Web Demos at http://0.0.0.0:8161/demo
INFO log - RESTful file access application at http://0.0.0.0:8161/fileserver
INFO log - Started [email protected]:8161
INFO FailoverTransport - Successfully connected to tcp://localhost:61616
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货