cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Willem Jiang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CXF-5699) IdleStateHandler cannot be shared across the channel
Date Thu, 17 Apr 2014 14:35:16 GMT
Willem Jiang created CXF-5699:
---------------------------------

             Summary: IdleStateHandler cannot be shared across the channel
                 Key: CXF-5699
                 URL: https://issues.apache.org/jira/browse/CXF-5699
             Project: CXF
          Issue Type: Bug
          Components: Transports
    Affects Versions: 3.0.0-milestone2, 3.0.0-milestone1
            Reporter: Willem Jiang
            Assignee: Willem Jiang
             Fix For: 3.0.0


I got this exception when I try to run some performance tests on cxf-rt-transport-http-netty-server.

{code}
WARNING: Failed to initialize a channel. Closing: [id: 0x5d5c0987, /127.0.0.1:63183 =>
/127.0.0.1:9090]
io.netty.channel.ChannelPipelineException: io.netty.handler.timeout.IdleStateHandler is not
a @Sharable handler, so can't be added or removed multiple times.
	at io.netty.channel.DefaultChannelPipeline.checkMultiplicity(DefaultChannelPipeline.java:461)
	at io.netty.channel.DefaultChannelPipeline.addLast0(DefaultChannelPipeline.java:138)
	at io.netty.channel.DefaultChannelPipeline.addLast(DefaultChannelPipeline.java:131)
	at io.netty.channel.DefaultChannelPipeline.addLast(DefaultChannelPipeline.java:122)
	at org.apache.cxf.transport.http.netty.server.NettyHttpServletPipelineFactory.getDefaulHttpChannelPipeline(NettyHttpServletPipelineFactory.java:154)
	at org.apache.cxf.transport.http.netty.server.NettyHttpServletPipelineFactory.initChannel(NettyHttpServletPipelineFactory.java:200)
	at io.netty.channel.ChannelInitializer.channelRegistered(ChannelInitializer.java:70)
	at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRegistered(DefaultChannelHandlerContext.java:159)
	at io.netty.channel.DefaultChannelHandlerContext.fireChannelRegistered(DefaultChannelHandlerContext.java:145)
	at io.netty.channel.DefaultChannelPipeline.fireChannelRegistered(DefaultChannelPipeline.java:730)
	at io.netty.channel.AbstractChannel$AbstractUnsafe.register0(AbstractChannel.java:441)
	at io.netty.channel.AbstractChannel$AbstractUnsafe.access$100(AbstractChannel.java:373)
	at io.netty.channel.AbstractChannel$AbstractUnsafe$1.run(AbstractChannel.java:417)
	at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:354)
	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:366)
	at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:101)
	at java.lang.Thread.run(Thread.java:744)
{code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message