[prev in list] [next in list] [prev in thread] [next in thread] 

List:       activemq-users
Subject:    EOFException
From:       <golubeff () play-me ! ru>
Date:       2009-06-30 14:58:38
Message-ID: be7e20c0906300758ya03d2bci788d7703bef66d83 () mail ! gmail ! com
[Download RAW message or body]


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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic