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 2018/09/10 02:09:23 UTC

[GitHub] a364176773 opened a new issue #2476: dubbo服务shutdowntomcat时会抛出异常2.6.3

a364176773 opened a new issue #2476: dubbo服务shutdowntomcat时会抛出异常2.6.3
URL: https://github.com/apache/incubator-dubbo/issues/2476
 
 
   异常信息:
   2018-09-10 10:00:31 -29990 [localhost-startStop-2] DEBUG   - Invoking destroy() on bean with name 'com.baomidou.springmvc.common.service.IAffairsService'
   2018-09-10 10:00:31 -29990 [localhost-startStop-2] DEBUG   - Retrieved dependent beans for bean 'sqlSessionFactory': [affairsMapper]
   2018-09-10 10:00:31 -29990 [localhost-startStop-2] DEBUG   - Retrieved dependent beans for bean 'affairsMapper': [IAffairsService]
   2018-09-10 10:00:31 -29991 [localhost-startStop-2] DEBUG   - Retrieved dependent beans for bean 'paginationInterceptor': [sqlSessionFactory]
   2018-09-10 10:00:31 -29991 [localhost-startStop-2] DEBUG   - Retrieved dependent beans for bean 'dataSource': [transactionManager]
   2018-09-10 10:00:31 -29991 [localhost-startStop-2] DEBUG   - Retrieved dependent beans for bean 'transactionManager': [transactionAdvice]
   2018-09-10 10:00:31 -29991 [localhost-startStop-2] DEBUG   - Retrieved dependent beans for bean '(inner bean)#47fe92e3': [transactionAdvice]
   2018-09-10 10:00:31 -29991 [localhost-startStop-2] DEBUG   - Invoking destroy method 'close' on bean with name 'dataSource'
   2018-09-10 10:00:31 -29996 [localhost-startStop-2] INFO    - {dataSource-1} closed
   九月 10, 2018 10:00:31 上午 org.apache.catalina.core.ApplicationContext log
   信息: DubboShutDownListener.contextDestroyed called!
   2018-09-10 10:00:31 -29998 [localhost-startStop-2] INFO    -  [DUBBO] Close all registries [], dubbo version: 2.6.3, current host: 192.168.99.1
   九月 10, 2018 10:00:31 上午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
   警告: The web application [dubbo_service] appears to have started a thread named [localhost-startStop-1-SendThread(127.0.0.1:2181)] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
    java.lang.Thread.sleep(Native Method)
    org.apache.zookeeper.ClientCnxnSocketNIO.cleanup(ClientCnxnSocketNIO.java:230)
    org.apache.zookeeper.ClientCnxn$SendThread.cleanup(ClientCnxn.java:1246)
    org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1182)
   九月 10, 2018 10:00:31 上午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
   警告: The web application [dubbo_service] appears to have started a thread named [DubboSaveRegistryCache-thread-1] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
    sun.misc.Unsafe.park(Native Method)
    java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
    java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
    java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
    java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074)
    java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)
    java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    java.lang.Thread.run(Thread.java:748)
   九月 10, 2018 10:00:31 上午 org.apache.catalina.core.ApplicationContext log
   信息: SessionListener: contextDestroyed()
   九月 10, 2018 10:00:31 上午 org.apache.catalina.core.ApplicationContext log
   信息: ContextListener: contextDestroyed()
   九月 10, 2018 10:00:31 上午 org.apache.coyote.AbstractProtocol stop
   信息: Stopping ProtocolHandler ["http-nio-8080"]
   九月 10, 2018 10:00:31 上午 org.apache.coyote.AbstractProtocol stop
   信息: Stopping ProtocolHandler ["ajp-nio-8009"]
   九月 10, 2018 10:00:31 上午 org.apache.coyote.AbstractProtocol destroy
   信息: Destroying ProtocolHandler ["http-nio-8080"]
   九月 10, 2018 10:00:31 上午 org.apache.coyote.AbstractProtocol destroy
   信息: Destroying ProtocolHandler ["ajp-nio-8009"]
   我的依赖:
   		<!--dubbo start -->
   		<dependency>
   			<groupId>com.alibaba</groupId>
   			<artifactId>dubbo</artifactId>
   			<version>2.6.3</version>
   			<exclusions>
   				<exclusion>
   					<groupId>org.springframework</groupId>
   					<artifactId>spring</artifactId>
   				</exclusion>
   				<exclusion>
   					<groupId>org.jboss.netty</groupId>
   					<artifactId>netty</artifactId>
   				</exclusion>
   				<exclusion>
   					<groupId>javax.servlet</groupId>
   					<artifactId>javax.servlet-api</artifactId>
   				</exclusion>
   			</exclusions>
   		</dependency>
   		<dependency>
   			<groupId>org.apache.zookeeper</groupId>
   			<artifactId>zookeeper</artifactId>
   			<version>${zookeeper.version}</version>
   		</dependency>
   		<!-- https://mvnrepository.com/artifact/com.101tec/zkclient -->
   		<dependency>
   			<groupId>com.101tec</groupId>
   			<artifactId>zkclient</artifactId>
   			<version>0.8</version>
   		</dependency>
   		<!-- https://mvnrepository.com/artifact/org.apache.activemq/activemq-all -->
   		<dependency>
   			<groupId>org.apache.activemq</groupId>
   			<artifactId>activemq-all</artifactId>
   			<version>5.15.5</version>
   		</dependency>
   
   		<dependency>
   			<groupId>org.javassist</groupId>
   			<artifactId>javassist</artifactId>
   			<version>${javassist.version}</version>
   		</dependency>
   		<dependency>
   			<groupId>org.apache.curator</groupId>
   			<artifactId>curator-recipes</artifactId>
   			<version>${curator.version}</version>
   
   		</dependency>
   		<jstl.version>1.2</jstl.version>
   		<zookeeper.version>3.4.10</zookeeper.version>
   		<javassist.version>3.22.0-GA</javassist.version>
   		<curator.version>2.3.0</curator.version>
   		<!--dubbo end -->

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

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