activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Павел Голубев <golub...@play-me.ru>
Subject EOFException
Date Tue, 30 Jun 2009 14:58:38 GMT
Hello.
I'm getting Connection closed by foreign host, when there is more than 200
clients to activemq.
I use activemq-5.2.0 as a stomp server.

[root@db bin]# java -version
java version "1.6.0_0"
IcedTea6 1.3.1 (6b12-Fedora-10) Runtime Environment (build 1.6.0_0-b12)
OpenJDK 64-Bit Server VM (build 1.6.0_0-b12, mixed mode)

Nothing changed in default config.

What is the reason and how do I fix it?

The log says:
DEBUG AbstractRegion                 - Adding destination:
topic://ActiveMQ.Advisory.Consumer.Topic.private_channel_520553674
DEBUG AbstractRegion                 - Adding consumer:
ID:db-39425-1246372142158-2:211:-1:8
DEBUG AbstractRegion                 - Removing consumer:
ID:db-39425-1246372142158-2:306:-1:9
DEBUG AbstractRegion                 - Adding consumer:
ID:db-39425-1246372142158-2:306:-1:10
DEBUG Transport                      - Transport failed:
java.io.EOFException
java.io.EOFException
at java.io.DataInputStream.readByte(DataInputStream.java:267)
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:210)
at
org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:202)
at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:185)
at java.lang.Thread.run(Thread.java:636)
DEBUG TransportConnection            - Stopping connection: /127.0.0.1:58360
DEBUG TcpTransport                   - Stopping transport tcp:///
127.0.0.1:58360
DEBUG TransportConnection            - Stopped transport: /127.0.0.1:58360
DEBUG TransportConnection            - Cleaning up connection resources: /
127.0.0.1:58360
DEBUG AbstractRegion                 - Removing consumer:
ID:db-39425-1246372142158-2:313:-1:1
DEBUG AbstractRegion                 - Removing consumer:
ID:db-39425-1246372142158-2:313:-1:2
DEBUG TransportConnection            - Connection Stopped: /127.0.0.1:58360
DEBUG Transport                      - Transport failed:
java.io.EOFException
java.io.EOFException
at java.io.DataInputStream.readByte(DataInputStream.java:267)
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:210)
at
org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:202)
at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:185)
at java.lang.Thread.run(Thread.java:636)
DEBUG TransportConnection            - Stopping connection: /127.0.0.1:38565
DEBUG TcpTransport                   - Stopping transport tcp:///
127.0.0.1:38565
DEBUG TransportConnection            - Stopped transport: /127.0.0.1:38565
DEBUG TransportConnection            - Cleaning up connection resources: /
127.0.0.1:38565
DEBUG AbstractRegion                 - Removing consumer:
ID:db-39425-1246372142158-2:368:-1:2
DEBUG AbstractRegion                 - Removing consumer:
ID:db-39425-1246372142158-2:368:-1:7
DEBUG TransportConnection            - Connection Stopped: /127.0.0.1:38565
DEBUG TransportConnection            - Setting up new connection: /
127.0.0.1:42681

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