activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suchitha Koneru \(sukoneru\)" <sukon...@cisco.com>
Subject RE: active MQ (Inactivity exceptions)
Date Thu, 15 Feb 2007 19:04:26 GMT
 The inactiviy exceptions also arises , when lot of  messages are sent
at the rate of 4 messages per second. On the forums , some other user
also reported the occurrence of this exception , when messages were sent
at the rate of 30 per second. 
This exception is becoming a show stopper , Please let me know , if I
have to upgrade to another version of active MQ. 
Thanks,
Suchitha.

-----Original Message-----
From: Suchitha Koneru (sukoneru) 
Sent: Wednesday, February 14, 2007 11:27 AM
To: users@activemq.apache.org
Subject: active MQ (Inactivity exceptions)

Hello Active MQ Users , 
              I am getting the following  exceptions , when active MQ
channel is not used for a period of time.As a result of it , the socket
for connection is getting closed.
 
Feb 14, 2007 10:37:28 AM org.apache.activemq.ActiveMQConnection
onAsyncException
WARNING: Async exception with no exception listener:
org.apache.activemq.transport.InactivityIOException:
active for too long.
org.apache.activemq.transport.InactivityIOException: Channel was
inactive for too long.
        at
org.apache.activemq.transport.InactivityMonitor.readCheck(InactivityMoni
tor.java:101)
        at
org.apache.activemq.transport.InactivityMonitor.access$000(InactivityMon
itor.java:35)
        at
org.apache.activemq.transport.InactivityMonitor$1.run(InactivityMonitor.
java:51)
        at
edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter
.call(Executors.java:4
        at
edu.emory.mathcs.backport.java.util.concurrent.FutureTask.runAndReset(Fu
tureTask.java:198)
        at
edu.emory.mathcs.backport.java.util.concurrent.ScheduledThreadPoolExecut
or$ScheduledFutureTask
heduledThreadPoolExecutor.java:189)
        at
edu.emory.mathcs.backport.java.util.concurrent.ScheduledThreadPoolExecut
or$ScheduledFutureTask
hreadPoolExecutor.java:213)
        at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker
.runTask(ThreadPoolExe
 
        at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker
.run(ThreadPoolExecuto
        at java.lang.Thread.run(Thread.java:595)

Feb 14, 2007 10:37:33 AM org.apache.activemq.ActiveMQConnection
onAsyncException
WARNING: Async exception with no exception listener:
java.net.SocketException: socket closed
java.net.SocketException: socket closed
        at java.net.SocketInputStream.socketRead0(Native Method)
        at java.net.SocketInputStream.read(SocketInputStream.java:129)
        at
org.apache.activemq.transport.tcp.TcpBufferedInputStream.fill(TcpBuffere
dInputStream.java:48)
        at
org.apache.activemq.transport.tcp.TcpBufferedInputStream.read(TcpBuffere
dInputStream.java:55)
        at java.io.DataInputStream.readInt(DataInputStream.java:353)
        at
org.apache.activemq.openwire.OpenWireFormat.unmarshal(OpenWireFormat.jav
a:274)
        at
org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:142
)
        at java.lang.Thread.run(Thread.java:595)

The version of active MQ jars , which Iam using are :

*	activemq-core-4.0.1.jar 
*	backport-util-concurrent-2.1.jar
*	geronimo-j2ee-management_1.0_spec-1.0.jar
*	geronimo-jms_1.1_spec-1.0.jar
*	 incubator-activemq-4.0.2.jar

Please let me know, a work around for this . 
thanks,
suchitha.
 

Mime
View raw message