Вот выхлоп запуска MQ
Код:
# ./activemq console
INFO: Using java '/usr/local/bin/java'
INFO: Starting in foreground, this is just for debugging purposes (stop process by pressing CTRL+C)
Java Runtime: Sun Microsystems Inc. 1.6.0_22 /usr/local/linux-sun-jdk1.6.0/jre
Heap sizes: current=62848k free=61202k max=466048k
JVM args: -Dorg.apache.activemq.UseDedicatedTaskRunner=true -Djava.util.logging.config.file=logging.properties -Djava.net.preferIPv4Stack=true -Djava.nio.channels.spi.SelectorProvider=sun.nio.ch.PollSelectorProvider -Xmx512M -Dorg.apache.activemq.UseDedicatedTaskRunner=true -Djava.util.logging.config.file=logging.properties -Dcom.sun.management.jmxremote -Dactivemq.classpath=/usr/local/lib/activemq/conf; -Dactivemq.home=/usr/local/lib/activemq -Dactivemq.base=/usr/local/lib/activemq
ACTIVEMQ_HOME: /usr/local/lib/activemq
ACTIVEMQ_BASE: /usr/local/lib/activemq
Loading message broker from: xbean:activemq.xml
INFO | Refreshing org.apache.activemq.xbean.XBeanBrokerFactory$1@5dd582: startup date [Sun Jan 15 06:49:56 YAKT 2012]; root of context hierarchy
WARN | destroyApplicationContextOnStop parameter is deprecated, please use shutdown hooks instead
INFO | PListStore:/usr/local/lib/activemq/data/activeMQ/tmp_storage started
INFO | Using Persistence Adapter: KahaDBPersistenceAdapter[/usr/local/lib/activemq/data/kahadb]
INFO | KahaDB is version 3
INFO | Recovering from the journal ...
INFO | Recovery replayed 1 operations from the journal in 0.011 seconds.
INFO | ActiveMQ 5.4.2 JMS Message Broker (activeMQ) is starting
INFO | For help or more information please see: http://activemq.apache.org/
INFO | Listening for connections at: nio://bill-2.sp-com.ru:61616
INFO | Connector nio Started
INFO | ActiveMQ JMS Message Broker (activeMQ, ID:bill-2.sp-com.ru-56285-1326577797369-0:1) started
INFO | Transport failed: java.io.IOException: Wire format negotiation timeout: peer did not send his wire format.
INFO | Transport failed: java.io.IOException: Wire format negotiation timeout: peer did not send his wire format.
INFO | Transport failed: java.io.IOException: Wire format negotiation timeout: peer did not send his wire format.
INFO | Transport failed: java.io.IOException: Wire format negotiation timeout: peer did not send his wire format.
INFO | Transport failed: java.io.IOException: Wire format negotiation timeout: peer did not send his wire format.
INFO | Transport failed: java.io.IOException: Wire format negotiation timeout: peer did not send his wire format.
INFO | Transport failed: java.io.IOException: Wire format negotiation timeout: peer did not send his wire format.
INFO | Transport failed: java.io.IOException: Wire format negotiation timeout: peer did not send his wire format.
INFO | Transport failed: java.io.IOException: Wire format negotiation timeout: peer did not send his wire format.
INFO | Transport failed: java.io.IOException: Wire format negotiation timeout: peer did not send his wire format.
INFO | Transport failed: java.io.IOException: Wire format negotiation timeout: peer did not send his wire format.
А биллинг жалуется что нет связи с MQ, куда копать?
# ./activemq --version
INFO: Using java '/usr/local/bin/java'
Java Runtime: Sun Microsystems Inc. 1.6.0_22 /usr/local/linux-sun-jdk1.6.0/jre
Heap sizes: current=62848k free=62519k max=932096k
JVM args: -Dactivemq.classpath=/usr/local/lib/activemq/conf; -Dactivemq.home=/usr/local/lib/activemq -Dactivemq.base=/usr/local/lib/activemq
ACTIVEMQ_HOME: /usr/local/lib/activemq
ACTIVEMQ_BASE: /usr/local/lib/activemq
ActiveMQ 5.4.2
For help or more information please see:
http://activemq.apache.org