我使用 weblogic 12.2.1.4 作为队列管理器,并且我的 Java 应用程序已连接到它。几周后,Java 应用程序速度变慢并且响应速度非常慢,我必须重新启动 weblogic 服务才能恢复正常。有一段时间我在 weblogic 日志中看到以下异常。我在几个论坛中搜索了此异常,但一无所获。
java.net.SocketException: Socket closed
java.net.SocketException: Socket closed
at weblogic.socket.NIOOutputStream.convertToSocketException(NIOOutputStream.java:250)
at weblogic.socket.NIOOutputStream.access$600(NIOOutputStream.java:33)
at weblogic.socket.NIOOutputStream$BlockingWriter.flush(NIOOutputStream.java:482)
at weblogic.socket.NIOOutputStream$BlockingWriter.write(NIOOutputStream.java:334)
at weblogic.socket.NIOOutputStream.write(NIOOutputStream.java:241)
Caused By: java.nio.channels.ClosedChannelException
at java.nio.channels.spi.AbstractSelectableChannel.register(AbstractSelectableChannel.java:197)
at java.nio.channels.SelectableChannel.register(SelectableChannel.java:280)
at weblogic.socket.NIOOutputStream$BlockingWriter.flush(NIOOutputStream.java:467)
at weblogic.socket.NIOOutputStream$BlockingWriter.write(NIOOutputStream.java:334)
at weblogic.socket.NIOOutputStream.write(NIOOutputStream.java:241)