V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
BernardMe
V2EX  ›  问与答

求助:项目使用 MINA 框架,开发 C-S 交互逻辑 控制台报错 Socket IO 异常

  •  
  •   BernardMe · 2018-10-15 21:06:50 +08:00 · 1113 次点击
    这是一个创建于 2266 天前的主题,其中的信息可能已经有所发展或是发生改变。

    项目使用 MINA 框架,开发 C-S 交互逻辑,交互数据格式使用 JSON 控制台报错 Socket IO 异常

    ==========控制台报错====================

    [WARN] 2018-10-15 20:52:54 [NioProcessor-6] EXCEPTION, please implement com.hslt.service.quartz.impl.ComparisionTaskServiceImpl.exceptionCaught() for proper handling: java.io.IOException: An established connection was aborted by the software in your host machine at sun.nio.ch.SocketDispatcher.read0(Native Method) at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43) 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:380) at org.apache.mina.transport.socket.nio.NioProcessor.read(NioProcessor.java:317) at org.apache.mina.transport.socket.nio.NioProcessor.read(NioProcessor.java:45) at org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:683) at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:659) at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:648) at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$600(AbstractPollingIoProcessor.java:68) at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:1120) at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)

    BernardMe
        1
    BernardMe  
    OP
       2018-10-15 21:24:23 +08:00
    请问这一异常会影响 Client-Server 之间的 IO 通信吗
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   913 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 21:29 · PVG 05:29 · LAX 13:29 · JFK 16:29
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.