activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edward Tolson (JIRA)" <j...@apache.org>
Subject [jira] Created: (AMQ-898) SocketWrite hangs indefinitely
Date Mon, 28 Aug 2006 15:51:23 GMT
SocketWrite hangs indefinitely
------------------------------

                 Key: AMQ-898
                 URL: https://issues.apache.org/activemq/browse/AMQ-898
             Project: ActiveMQ
          Issue Type: Bug
    Affects Versions: 4.0.1
         Environment: Linux, Java 1.5, JBoss appserver
            Reporter: Edward Tolson
            Priority: Critical


We routinely have our message distribution locked up permanently and without means of recovery
by a socketWrite0 call that hangs indefinitely in a thread holding a number of the Active
MQ locks.  Here is a stack trace of such a locked up thread:

        at java.net.SocketOutputStream.socketWrite0(Native Method)
        at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
        at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
        at org.apache.activemq.transport.tcp.TcpBufferedOutputStream.write(TcpBufferedOutputStream.java:95)
        at java.io.DataOutputStream.write(DataOutputStream.java:90)
        - locked <0x4bc298c8> (a java.io.DataOutputStream)
        at org.apache.activemq.openwire.v1.BaseDataStreamMarshaller.tightMarshalByteSequence2(BaseDataStreamMarshaller.java:403)
        at org.apache.activemq.openwire.v1.MessageMarshaller.tightMarshal2(MessageMarshaller.java:160)
        at org.apache.activemq.openwire.v1.ActiveMQMessageMarshaller.tightMarshal2(ActiveMQMessageMarshaller.java:88)
        at org.apache.activemq.openwire.v1.ActiveMQObjectMessageMarshaller.tightMarshal2(ActiveMQObjectMessageMarshaller.java:88)
        at org.apache.activemq.openwire.OpenWireFormat.marshal(OpenWireFormat.java:240)
        at org.apache.activemq.transport.tcp.TcpTransport.oneway(TcpTransport.java:124)
        at org.apache.activemq.transport.InactivityMonitor.oneway(InactivityMonitor.java:141)
        at org.apache.activemq.transport.TransportFilter.oneway(TransportFilter.java:78)
        at org.apache.activemq.transport.WireFormatNegotiator.oneway(WireFormatNegotiator.java:77)
        at org.apache.activemq.transport.MutexTransport.oneway(MutexTransport.java:44)
        - locked <0x4bac2b80> (a java.lang.Object)
        at org.apache.activemq.transport.ResponseCorrelator.oneway(ResponseCorrelator.java:60)
        at org.apache.activemq.ActiveMQConnection.asyncSendPacket(ActiveMQConnection.java:1111)
        at org.apache.activemq.ActiveMQSession.send(ActiveMQSession.java:1553)
        at org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:462)
        at com.hb.jms.api.util.JmsSession.sendObjects(JmsSession.java:345)
        - locked <0x4aca1230> (a org.apache.activemq.ActiveMQSession)
        at com.hb.jms.api.util.JmsSession.sendObjects(JmsSession.java:307)
        at com.hb.jms.api.util.JmsSession$QueueProcessor.sendFromSessionQueue(JmsSession.java:1002)
        - locked <0x6adc9f80> (a com.hb.jms.api.util.JmsSession$SessionQueue)
        at com.hb.jms.api.util.JmsSession$QueueProcessor.run(JmsSession.java:981)
        at java.lang.Thread.run(Thread.java:595)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message