tomcat9启动项目报错,与dubbo有关

16-May-2019 21:58:47.411 SEVERE [main] org.apache.catalina.core.StandardContext.startInternal Context [/sns-server-producer] startup failed due to previous errors
16-May-2019 21:58:47.424 WARNING [main] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [sns-server-producer] appears to have started a thread named [DubboRegistryFailedRetryTimer-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.parkNanos(LockSupport.java:215)
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078)
java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1093)
java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:809)
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)
16-May-2019 21:58:47.425 WARNING [main] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [sns-server-producer] appears to have started a thread named [pool-1-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.parkNanos(LockSupport.java:215)
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078)
java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1093)
java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:809)
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)
16-May-2019 21:58:47.425 WARNING [main] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [sns-server-producer] appears to have started a thread named [Redis-PSubscribe-__keyspace@0__:*-4f3b015b-dab7-4b61-a80c-c78b021b4401] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
java.net.SocketInputStream.socketRead0(Native Method)
java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
java.net.SocketInputStream.read(SocketInputStream.java:171)
java.net.SocketInputStream.read(SocketInputStream.java:141)
java.net.SocketInputStream.read(SocketInputStream.java:127)
redis.clients.util.RedisInputStream.ensureFill(RedisInputStream.java:195)
redis.clients.util.RedisInputStream.readByte(RedisInputStream.java:40)
redis.clients.jedis.Protocol.process(Protocol.java:132)
redis.clients.jedis.Protocol.read(Protocol.java:196)
redis.clients.jedis.Connection.readProtocolWithCheckingBroken(Connection.java:288)
redis.clients.jedis.Connection.getRawObjectMultiBulkReply(Connection.java:233)
redis.clients.jedis.JedisPubSub.process(JedisPubSub.java:108)
redis.clients.jedis.JedisPubSub.proceedWithPatterns(JedisPubSub.java:95)
redis.clients.jedis.Jedis.psubscribe(Jedis.java:2608)
cn.com.yusys.redis.client.template.JedisPoolSubTemplate$SubListener.run(JedisPoolSubTemplate.java:254)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
java.lang.Thread.run(Thread.java:748)
16-May-2019 21:58:47.426 WARNING [main] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [sns-server-producer] 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)
16-May-2019 21:58:47.434 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [/home/sns/tomcat/apache-tomcat-9.0.12-8180/webapps/sns-server-producer.war] has finished in [5,604] ms
16-May-2019 21:58:47.435 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/home/sns/tomcat/apache-tomcat-9.0.12-8180/webapps/docs]
16-May-2019 21:58:47.458 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/home/sns/tomcat/apache-tomcat-9.0.12-8180/webapps/docs] has finished in [23] ms
16-May-2019 21:58:47.458 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/home/sns/tomcat/apache-tomcat-9.0.12-8180/webapps/examples]
16-May-2019 21:58:47.562 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/home/sns/tomcat/apache-tomcat-9.0.12-8180/webapps/examples] has finished in [104] ms
16-May-2019 21:58:47.562 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/home/sns/tomcat/apache-tomcat-9.0.12-8180/webapps/ROOT]
16-May-2019 21:58:47.574 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/home/sns/tomcat/apache-tomcat-9.0.12-8180/webapps/ROOT] has finished in [11] ms
16-May-2019 21:58:47.574 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/home/sns/tomcat/apache-tomcat-9.0.12-8180/webapps/manager]
16-May-2019 21:58:47.591 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/home/sns/tomcat/apache-tomcat-9.0.12-8180/webapps/manager] has finished in [17] ms
16-May-2019 21:58:47.592 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/home/sns/tomcat/apache-tomcat-9.0.12-8180/webapps/host-manager]
16-May-2019 21:58:47.605 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/home/sns/tomcat/apache-tomcat-9.0.12-8180/webapps/host-manager] has finished in [12] ms
16-May-2019 21:58:47.607 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8180"]
16-May-2019 21:58:47.614 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8109"]
16-May-2019 21:58:47.622 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 5832 ms
16-May-2019 21:59:17.154 INFO [pool-1-thread-1] org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading Illegal access: this web application instance has been stopped already. Could not load [cn.com.yusys.redis.registry.dubbo.RedisZkClient$1$1]. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access.
java.lang.IllegalStateException: Illegal access: this web application instance has been stopped already. Could not load [cn.com.yusys.redis.registry.dubbo.RedisZkClient$1$1]. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access.
at org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading(WebappClassLoaderBase.java:1329)
at org.apache.catalina.loader.WebappClassLoaderBase.checkStateForClassLoading(WebappClassLoaderBase.java:1317)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1176)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1138)
at cn.com.yusys.redis.registry.dubbo.RedisZkClient$1.run(RedisZkClient.java:169)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)

16-May-2019 21:59:47.367 INFO [Redis-PSubscribe-__keyspace@0__:*-4f3b015b-dab7-4b61-a80c-c78b021b4401] org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading Illegal access: this web application instance has been stopped already. Could not load [cn.com.yusys.redis.client.template.JedisPoolSubTemplate$SubListener$1]. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access.

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问