activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dejan Bosanac <de...@nighttale.net>
Subject Re: problem with connecting to activemq's stomp interface
Date Mon, 03 Aug 2009 07:46:54 GMT
Hi,

looks like you're telneting to the OpenWire (and not Stomp) connector. Try

elnet 127.0.0.1 61613

Cheers
--
Dejan Bosanac

Open Source Integration - http://fusesource.com/
ActiveMQ in Action - http://www.manning.com/snyder/
Blog - http://www.nighttale.net


On Thu, Jul 30, 2009 at 1:10 PM, Juan Backson <juanbackson@gmail.com> wrote:

> 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
>                          CacheEnabled   SizePrefixDisabled
> MaxInactivityDurationInitalDelay '  TcpNoDelayEnabled
> MaxInactivityDuration u0 TightEncodingEnabled   StackTraceEnabled
>
>
> 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