activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dejan Bosanac" <de...@nighttale.net>
Subject Re: Need help with EOFException
Date Fri, 09 Jan 2009 12:14:17 GMT
Hi Juan,

EOFException means that your client closed the socket unexpectedly. I'm
afraid I cannot help you much more.

Cheers
--
Dejan Bosanac

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


On Fri, Jan 9, 2009 at 11:29 AM, Juan Backson <juanbackson@gmail.com> wrote:

> Hi
>
> When I use my c stomp client to send TCP/IP message to activemq, I am
> getting EOFException.
> I am using '\0' to represent ^@ (request = switch_mprintf(
> "SEND\ndestination:%s\n\n%s\n\n\0",dest,msg);)
> Does anyone know what is wrong with that?
>
> When I use the telnet window to send the message, this error message
> does not appear.
>
> DEBUG Transport                      - Transport failed:
> java.io.EOFException
> java.io.EOFException
>        at java.io.DataInputStream.readByte(DataInputStream.java:250)
>        at
> org.apache.activemq.transport.stomp.StompWireFormat.readLine(StompWireFormat.java:186)
>        at
> org.apache.activemq.transport.stomp.StompWireFormat.unmarshal(StompWireFormat.java:94)
>        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            - Stopping connection: /
> 192.168.1.101:59489
> DEBUG TcpTransport                   - Stopping transport
> tcp:///192.168.1.101:59489
>
>
> Any help and suggestion in getting this problem resolved will be
> greatly appreciated.
>
> Thanks,
> JB
>

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