Survey
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
[MB-982] [intermittent] Exception caught by Mina when queue subscriber closes while receiving messages. Created: 11/Mar/15 Updated: 11/Mar/15 Status: Project: Component/s: Affects Version/s: Fix Version/s: Open WSO2 Message Broker None WSO2 MB 3.0.0 - M4 Type: Reporter: Resolution: Labels: Remaining Estimate: Time Spent: Original Estimate: Environment: Bug Pumudu Ruhunage Unresolved None Not Specified Severity: Estimated Complexity: Attachment License: Minor Moderate None Priority: Assignee: Votes: Normal Ramith Jayasinghe 1 Not Specified Not Specified java version 1.7. clustering enabled. oracle database as message store. I agree to grant a license to WSO2 for this work for inclusion in WSO2 works as per the WSO2 Contributor License Agreement and the Apache License 2.0 Test cases added: No Description Steps to reproduce : 1. Start two mb nodes (nodeA (coordinator) , nodeB) with clustering enabled. 2. Using jms client subscribe to queue "MyQueue" in nodeB. 3. Send 100,000 queue messages to "MyQueue" to nodeB. 4. Close subscriber while receiving messages. 5. Following error message appears on mb node. (even though this error appears, after subscriber comes online again, it will receive all missed queue messages) [2015-03-11 12:07:27,553] ERROR {org.wso2.andes.transport.network.mina.MinaNetworkHandler} - Exception caught by Mina java.io.IOException: Connection reset by peer at sun.nio.ch.FileDispatcherImpl.read0(Native Method) at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39) at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223) at sun.nio.ch.IOUtil.read(IOUtil.java:197) at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:379) at org.apache.mina.transport.socket.nio.SocketIoProcessor.read(SocketIoProcessor.java:218) at org.apache.mina.transport.socket.nio.SocketIoProcessor.process(SocketIoProcessor.java:198) at org.apache.mina.transport.socket.nio.SocketIoProcessor.access$400(SocketIoProcessor.java:45) at org.apache.mina.transport.socket.nio.SocketIoProcessor$Worker.run(SocketIoProcessor.java:485) at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:51) at java.lang.Thread.run(Thread.java:745) [2015-03-11 12:07:27,555] ERROR {org.wso2.andes.server.protocol.AMQProtocolEngine} IOException caught in/10.100.101.9:52728(admin), session closed implictly: java.io.IOException: Connection reset by peer [2015-03-11 12:07:27,555] ERROR {org.wso2.andes.transport.network.mina.MinaNetworkHandler} - Exception caught by Mina java.io.IOException: Broken pipe at sun.nio.ch.FileDispatcherImpl.write0(Native Method) at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47) at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93) at sun.nio.ch.IOUtil.write(IOUtil.java:65) at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:487) at org.apache.mina.transport.socket.nio.SocketIoProcessor.doFlush(SocketIoProcessor.java:414) at org.apache.mina.transport.socket.nio.SocketIoProcessor.doFlush(SocketIoProcessor.java:332) at org.apache.mina.transport.socket.nio.SocketIoProcessor.access$500(SocketIoProcessor.java:45) at org.apache.mina.transport.socket.nio.SocketIoProcessor$Worker.run(SocketIoProcessor.java:488) at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:51) at java.lang.Thread.run(Thread.java:745) [2015-03-11 12:07:27,555] ERROR {org.wso2.andes.server.protocol.AMQProtocolEngine} - IOException caught in/10.100.101.9:52728(admin), session closed implictly: java.io.IOException: Broken pipe Generated at Sat May 13 01:17:08 IST 2017 using JIRA 7.2.2#72004sha1:9d5132893cc8c728a3601a9034a1f8547ef5c7be.