activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Juan Backson <juanback...@gmail.com>
Subject problem with connecting to activemq's stomp interface
Date Thu, 30 Jul 2009 11:10:50 GMT
Hi,

When connecting, I am getting some strange error.  Does anyone know why?

Here is the telnet console:

[root@localhost bin]# telnet 127.0.0.1 61616
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
�ActiveMQ�   CacheSize
                          CacheEnabledSizePrefixDisabled
MaxInactivityDurationInitalDelay'TcpNoDelayEnabledMaxInactivityDurationu0TightEncodingEnabledStackTraceEnabled


Connection closed by foreign host.


Activemq shows the following error:

DEBUG TransportConnection            - Connection Stopped: /127.0.0.1:54574
ERROR TransportConnector             - Could not accept connection : Wire
format negotiation timeout: peer did not send his wire format.
DEBUG TransportConnector             - Reason: Wire format negotiation
timeout: peer did not send his wire format.
java.io.IOException: Wire format negotiation timeout: peer did not send his
wire format.
        at
org.apache.activemq.transport.WireFormatNegotiator.oneway(WireFormatNegotiator.java:94)
        at
org.apache.activemq.transport.MutexTransport.oneway(MutexTransport.java:40)
        at
org.apache.activemq.broker.TransportConnection.dispatch(TransportConnection.java:1188)
        at
org.apache.activemq.broker.TransportConnection.processDispatch(TransportConnection.java:776)
        at
org.apache.activemq.broker.TransportConnection.start(TransportConnection.java:860)
        at
org.apache.activemq.broker.TransportConnector$1$1.run(TransportConnector.java:213)
DEBUG InactivityMonitor              - 10001 ms elapsed since last write
check.
DEBUG InactivityMonitor              - 10000 ms elapsed since last write
check.
DEBUG InactivityMonitor              - 10001 ms elapsed since last write
check.
DEBUG InactivityMonitor              - 10000 ms elapsed since last write
check.
DEBUG InactivityMonitor              - 10001 ms elapsed since last write
check.
DEBUG InactivityMonitor              - 10000 ms elapsed since last write
check.
DEBUG InactivityMonitor              - 10000 ms elapsed since last write
check.
DEBUG InactivityMonitor              - 10000 ms elapsed since last write
check.
DEBUG InactivityMonitor              - 10000 ms elapsed since last write
check.
DEBUG InactivityMonitor              - 9999 ms elapsed since last write
check.
DEBUG InactivityMonitor              - 9999 ms elapsed since last write
check.
DEBUG InactivityMonitor              - 9999 ms elapsed since last write
check.
DEBUG InactivityMonitor              - 10001 ms elapsed since last write
check.
DEBUG InactivityMonitor              - 9999 ms elapsed since last write
check.
DEBUG InactivityMonitor              - 10000 ms elapsed since last write
check.
DEBUG InactivityMonitor              - 10000 ms elapsed since last write
check.
DEBUG InactivityMonitor              - 9998 ms elapsed since last write
check.
DEBUG InactivityMonitor              - 9999 ms elapsed since last write
check.
DEBUG InactivityMonitor              - 10000 ms elapsed since last write
check.
DEBUG InactivityMonitor              - 10000 ms elapsed since last write
check.
DEBUG InactivityMonitor              - 10001 ms elapsed since last write
check.
DEBUG InactivityMonitor              - 10001 ms elapsed since last write
check.
DEBUG InactivityMonitor              - 9999 ms elapsed since last write
check.
DEBUG InactivityMonitor              - 9999 ms elapsed since last write
check.
DEBUG WireFormatNegotiator           - Sending: WireFormatInfo { version=3,
properties={CacheSize=1024, CacheEnabled=true, SizePrefixDisabled=false,
MaxInactivityDurationInitalDelay=10000, TcpNoDelayEnabled=true,
MaxInactivityDuration=30000, TightEncodingEnabled=true,
StackTraceEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
DEBUG Transport                      - Transport failed:
java.io.IOException: Unknown data type: -1
java.io.IOException: Unknown data type: -1
        at
org.apache.activemq.openwire.OpenWireFormat.doUnmarshal(OpenWireFormat.java:356)
        at
org.apache.activemq.openwire.OpenWireFormat.unmarshal(OpenWireFormat.java:276)
        at
org.apache.activemq.transport.tcp.TcpTransport.readCommand(TcpTransport.java:203)
        at
org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:195)
        at
org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:183)
        at java.lang.Thread.run(Thread.java:619)
DEBUG TransportConnection            - stop() called in the middle of
start(). Delaying...
DEBUG TransportConnection            - Calling the delayed stop()
DEBUG TransportConnection            - Stopping connection: /127.0.0.1:54575
DEBUG TcpTransport                   - Stopping transport tcp:///
127.0.0.1:54575
DEBUG TransportConnection            - Stopped connection: /127.0.0.1:54575
DEBUG TransportConnection            - Connection Stopped: /127.0.0.1:54575
ERROR TransportConnector             - Could not accept connection : Channel
was inactive for too long: /127.0.0.1:54575
DEBUG TransportConnector             - Reason: Channel was inactive for too
long: /127.0.0.1:54575
org.apache.activemq.transport.InactivityIOException: Channel was inactive
for too long: /127.0.0.1:54575
        at
org.apache.activemq.transport.InactivityMonitor.oneway(InactivityMonitor.java:225)
        at
org.apache.activemq.transport.TransportFilter.oneway(TransportFilter.java:83)
        at
org.apache.activemq.transport.WireFormatNegotiator.oneway(WireFormatNegotiator.java:100)
        at
org.apache.activemq.transport.MutexTransport.oneway(MutexTransport.java:40)
        at
org.apache.activemq.broker.TransportConnection.dispatch(TransportConnection.java:1188)
        at
org.apache.activemq.broker.TransportConnection.processDispatch(TransportConnection.java:776)
        at
org.apache.activemq.broker.TransportConnection.start(TransportConnection.java:860)
        at
org.apache.activemq.broker.TransportConnector$1$1.run(TransportConnector.java:213)
DEBUG InactivityMonitor              - 10000 ms elapsed since last write
check.
DEBUG InactivityMonitor              - 10000 ms elapsed since last write
check.
DEBUG InactivityMonitor              - 30000 ms elapsed since last read
check.

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