java.net.SocketException: Socket closed

activemq-users | nyariz | 2 years ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to poroszd . Or join the community to write better ones.
  1. 0

    Re: ActiveMQ embedded broker 100% cpu usage

    activemq-users | 2 years ago | nyariz
    java.net.SocketException: Socket closed
  2. 0
    samebug tip
    Client closed the websocket connection (safe to ignore)
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0
    samebug tip
    Nginx does not handle websocket requests. Configure nginx proxy for websockets.
  5. 0
    samebug tip
    Set larger socket timeout (or 0 to set no timeout).
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.SocketException

    Socket closed

    at java.net.SocketOutputStream.socketWrite()
  2. Java RT
    SocketOutputStream.write
    1. java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:121)
    2. java.net.SocketOutputStream.write(SocketOutputStream.java:159)
    2 frames
  3. ActiveMQ :: Core
    TcpBufferedOutputStream.write
    1. org.apache.activemq.transport.tcp.TcpBufferedOutputStream.write(TcpBufferedOutputStream.java:96)
    1 frame
  4. Java RT
    DataOutputStream.write
    1. java.io.DataOutputStream.write(DataOutputStream.java:107)
    1 frame
  5. ActiveMQ :: Client
    ActiveMQTextMessageMarshaller.tightMarshal2
    1. org.apache.activemq.openwire.v10.BaseDataStreamMarshaller.tightMarshalByteSequence2(BaseDataStreamMarshaller.java:431)
    2. org.apache.activemq.openwire.v10.MessageMarshaller.tightMarshal2(MessageMarshaller.java:182)
    3. org.apache.activemq.openwire.v10.ActiveMQMessageMarshaller.tightMarshal2(ActiveMQMessageMarshaller.java:89)
    4. org.apache.activemq.openwire.v10.ActiveMQTextMessageMarshaller.tightMarshal2(ActiveMQTextMessageMarshaller.java:89)
    4 frames
  6. ActiveMQ :: Core
    TcpTransport.oneway
    1. org.apache.activemq.openwire.OpenWireFormat.marshal(OpenWireFormat.java:243)
    2. org.apache.activemq.transport.tcp.TcpTransport.oneway(TcpTransport.java:175)
    2 frames
  7. AMQ HTTP
    ResponseCorrelator.asyncRequest
    1. org.apache.activemq.transport.AbstractInactivityMonitor.doOnewaySend(AbstractInactivityMonitor.java:304)
    2. org.apache.activemq.transport.AbstractInactivityMonitor.oneway(AbstractInactivityMonitor.java:286)
    3. org.apache.activemq.transport.TransportFilter.oneway(TransportFilter.java:85)
    4. org.apache.activemq.transport.WireFormatNegotiator.oneway(WireFormatNegotiator.java:104)
    5. org.apache.activemq.transport.MutexTransport.oneway(MutexTransport.java:68)
    6. org.apache.activemq.transport.ResponseCorrelator.asyncRequest(ResponseCorrelator.java:81)
    6 frames
  8. ActiveMQ :: Broker
    DemandForwardingBridgeSupport$2.onCommand
    1. org.apache.activemq.network.DemandForwardingBridgeSupport.serviceLocalCommand(DemandForwardingBridgeSupport.java:968)
    2. org.apache.activemq.network.DemandForwardingBridgeSupport$2.onCommand(DemandForwardingBridgeSupport.java:177)
    2 frames
  9. AMQ HTTP
    MutexTransport.onCommand
    1. org.apache.activemq.transport.ResponseCorrelator.onCommand(ResponseCorrelator.java:116)
    2. org.apache.activemq.transport.MutexTransport.onCommand(MutexTransport.java:50)
    2 frames
  10. ActiveMQ :: Broker
    VMTransport.oneway
    1. org.apache.activemq.transport.vm.VMTransport.doDispatch(VMTransport.java:138)
    2. org.apache.activemq.transport.vm.VMTransport.dispatch(VMTransport.java:127)
    3. org.apache.activemq.transport.vm.VMTransport.oneway(VMTransport.java:104)
    3 frames
  11. AMQ HTTP
    ResponseCorrelator.oneway
    1. org.apache.activemq.transport.MutexTransport.oneway(MutexTransport.java:68)
    2. org.apache.activemq.transport.ResponseCorrelator.oneway(ResponseCorrelator.java:60)
    2 frames
  12. ActiveMQ :: Broker
    TransportConnection.iterate
    1. org.apache.activemq.broker.TransportConnection.dispatch(TransportConnection.java:1365)
    2. org.apache.activemq.broker.TransportConnection.processDispatch(TransportConnection.java:884)
    3. org.apache.activemq.broker.TransportConnection.iterate(TransportConnection.java:930)
    3 frames
  13. ActiveMQ :: Core
    PooledTaskRunner$1.run
    1. org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:133)
    2. org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.java:48)
    2 frames
  14. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    3. java.lang.Thread.run(Thread.java:745)
    3 frames