[2018-08-30 09:01:01] [WARNING] [rmi-service] [decode error]
[2018-08-30 09:01:01] [WARNING] [System.out] [com.tongweb.netty.handler.codec.TooLongFrameException: Adjusted frame length exceeds 10485760: 4009689092 - discarded]
[2018-08-30 09:01:01] [WARNING] [System.out] [ at com.tongweb.netty.handler.codec.LengthFieldBasedFrameDecoder.fail(LengthFieldBasedFrameDecoder.java:501)]
[2018-08-30 09:01:01] [WARNING] [System.out] [ at com.tongweb.netty.handler.codec.LengthFieldBasedFrameDecoder.failIfNecessary(LengthFieldBasedFrameDecoder.java:477)]
[2018-08-30 09:01:01] [WARNING] [System.out] [ at com.tongweb.netty.handler.codec.LengthFieldBasedFrameDecoder.decode(LengthFieldBasedFrameDecoder.java:403)]
[2018-08-30 09:01:01] [WARNING] [System.out] [ at com.tongweb.tongejb.nio.server.EjbServerDecoder.decode(EjbServerDecoder.java:90)]
[2018-08-30 09:01:01] [WARNING] [System.out] [ at com.tongweb.tongejb.nio.server.EjbServerDecoder.decode(EjbServerDecoder.java:61)]
[2018-08-30 09:01:01] [WARNING] [System.out] [ at com.tongweb.netty.handler.codec.LengthFieldBasedFrameDecoder.decode(LengthFieldBasedFrameDecoder.java:343)]
[2018-08-30 09:01:01] [WARNING] [System.out] [ at com.tongweb.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:268)]
[2018-08-30 09:01:01] [WARNING] [System.out] [ at com.tongweb.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:168)]
[2018-08-30 09:01:01] [WARNING] [System.out] [ at com.tongweb.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308)]
[2018-08-30 09:01:01] [WARNING] [System.out] [ at com.tongweb.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294)]
[2018-08-30 09:01:01] [WARNING] [System.out] [ at com.tongweb.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:254)]
[2018-08-30 09:01:01] [WARNING] [System.out] [ at com.tongweb.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308)]
[2018-08-30 09:01:01] [WARNING] [System.out] [ at com.tongweb.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294)]
[2018-08-30 09:01:01] [WARNING] [System.out] [ at com.tongweb.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:846)]
[2018-08-30 09:01:01] [WARNING] [System.out] [ at com.tongweb.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:130)]
[2018-08-30 09:01:01] [WARNING] [System.out] [ at com.tongweb.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511)]
[2018-08-30 09:01:01] [WARNING] [System.out] [ at com.tongweb.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468)]
[2018-08-30 09:01:01] [WARNING] [System.out] [ at com.tongweb.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382)]
[2018-08-30 09:01:01] [WARNING] [System.out] [ at com.tongweb.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354)]
[2018-08-30 09:01:01] [WARNING] [System.out] [ at com.tongweb.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116)]
[2018-08-30 09:01:01] [WARNING] [System.out] [ at com.tongweb.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)]
[2018-08-30 09:01:01] [WARNING] [System.out] [ at java.lang.Thread.run(Thread.java:745)]
原因:这是因为有非法的请求访问TongWeb6的netty线程池,但报文格式不对于是报错。 可以忽略此异常, 或通过netstat看是哪里来的访问,找到后禁止访问。