You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2021/10/25 09:28:21 UTC

[GitHub] [dubbo] kylixs opened a new issue #9127: Create ApplicationModel when shutting down

kylixs opened a new issue #9127:
URL: https://github.com/apache/dubbo/issues/9127


   <!-- If you need to report a security issue please visit https://github.com/apache/dubbo/security/policy -->
   
   - [ ] I have searched the [issues](https://github.com/apache/dubbo/issues) of this repository and believe that this is not a duplicate.
   
   ### Environment
   
   * Dubbo version: 3.0.4
   * Operating System version: xxx
   * Java version: xxx
   
   ### Steps to reproduce this issue
   
   1. Run `dubbo-samples-version`
   Found create new ApplicationModel when dubbo shutting down by JVM shutdown hooks.
   
   ```
   "NettyClientWorker-4-3@5253" daemon prio=5 tid=0x37 nid=NA runnable
     java.lang.Thread.State: RUNNABLE
   	  at org.apache.dubbo.rpc.model.ApplicationModel.<init>(ApplicationModel.java:197)
   	  at org.apache.dubbo.rpc.model.ApplicationModel.defaultModel(ApplicationModel.java:90)
   	  - locked <0x830> (a java.lang.Class)
   	  at org.apache.dubbo.rpc.model.ScopeModelUtil.getApplicationModel(ScopeModelUtil.java:60)
   	  at org.apache.dubbo.common.URL.getOrDefaultApplicationModel(URL.java:568)
   	  at org.apache.dubbo.remoting.transport.dispatcher.WrappedChannelHandler.getSharedExecutorService(WrappedChannelHandler.java:135)
   	  at org.apache.dubbo.remoting.transport.dispatcher.all.AllChannelHandler.disconnected(AllChannelHandler.java:50)
   	  at org.apache.dubbo.remoting.exchange.support.header.HeartbeatHandler.disconnected(HeartbeatHandler.java:55)
   	  at org.apache.dubbo.remoting.transport.AbstractChannelHandlerDelegate.disconnected(AbstractChannelHandlerDelegate.java:48)
   	  at org.apache.dubbo.remoting.transport.AbstractPeer.disconnected(AbstractPeer.java:131)
   	  at org.apache.dubbo.remoting.transport.netty4.NettyClientHandler.channelInactive(NettyClientHandler.java:70)
   	  at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:262)
   	  at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:248)
   	  at io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:241)
   	  at io.netty.channel.ChannelInboundHandlerAdapter.channelInactive(ChannelInboundHandlerAdapter.java:81)
   	  at io.netty.handler.timeout.IdleStateHandler.channelInactive(IdleStateHandler.java:277)
   	  at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:262)
   	  at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:248)
   	  at io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:241)
   	  at io.netty.handler.codec.ByteToMessageDecoder.channelInputClosed(ByteToMessageDecoder.java:389)
   	  at io.netty.handler.codec.ByteToMessageDecoder.channelInactive(ByteToMessageDecoder.java:354)
   	  at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:262)
   	  at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:248)
   	  at io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:241)
   	  at io.netty.channel.DefaultChannelPipeline$HeadContext.channelInactive(DefaultChannelPipeline.java:1405)
   	  at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:262)
   	  at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:248)
   	  at io.netty.channel.DefaultChannelPipeline.fireChannelInactive(DefaultChannelPipeline.java:901)
   	  at io.netty.channel.AbstractChannel$AbstractUnsafe$8.run(AbstractChannel.java:819)
   	  at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164)
   	  at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472)
   	  at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:500)
   	  at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
   	  at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
   	  at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
   	  at java.lang.Thread.run(Thread.java:748)
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] kylixs closed issue #9127: Recreate ApplicationModel when shutting down

Posted by GitBox <gi...@apache.org>.
kylixs closed issue #9127:
URL: https://github.com/apache/dubbo/issues/9127


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] kylixs commented on issue #9127: Recreate ApplicationModel when shutting down

Posted by GitBox <gi...@apache.org>.
kylixs commented on issue #9127:
URL: https://github.com/apache/dubbo/issues/9127#issuecomment-951944197


   This problem has been fixed: https://github.com/apache/dubbo/pull/9129


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org