关注JEECG发展历程 关注最新动态和版本, 记录JEECG成长点滴 更新日志 - 技术支持 - 招聘英才

JEECG最新版本下载 JEECG智能开发平台 - 显著提高开发效率 常见问题 - 入门视频 - 参与开源团队

商务QQ: 69893005、418799587 商务热线(5*8小时): 010-64808099 官方邮箱: jeecgos@163.com

查看: 2583|回复: 0

2.4.5 发布至docker tomcat 启动报错 有偿请教

[复制链接]
发表于 2021-10-1 13:46:20 | 显示全部楼层 |阅读模式
本地一切正常 但把项目 通过war形式 打包至docker tomcat内 就报错了
有偿请高手赐教 微信 18516265258




2021-10-01T05:18:30.617879996Z 01-Oct-2021 13:18:30.614 INFO [Thread-12] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["ajp-nio-8009"]
2021-10-01T05:18:31.464903301Z 01-Oct-2021 13:18:31.452 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version:        Apache Tomcat/8.5.20
2021-10-01T05:18:31.464928022Z 01-Oct-2021 13:18:31.459 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built:          Aug 2 2017 21:35:49 UTC
2021-10-01T05:18:31.464931759Z 01-Oct-2021 13:18:31.460 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server number:         8.5.20.0
2021-10-01T05:18:31.464935086Z 01-Oct-2021 13:18:31.460 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name:               Linux
2021-10-01T05:18:31.464938671Z 01-Oct-2021 13:18:31.460 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version:            4.18.0-305.12.1.el8_4.x86_64
2021-10-01T05:18:31.464941837Z 01-Oct-2021 13:18:31.460 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture:          amd64
2021-10-01T05:18:31.464944885Z 01-Oct-2021 13:18:31.460 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home:             /usr/lib/jvm/java-8-openjdk-amd64/jre
2021-10-01T05:18:31.464948148Z 01-Oct-2021 13:18:31.460 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version:           1.8.0_141-8u141-b15-1~deb9u1-b15



2021-10-01T05:18:56.033912682Z 2021-10-01 13:18:56.032 [localhost-startStop-1] INFO  o.s.scheduling.quartz.SchedulerFactoryBean:727 - Starting Quartz Scheduler now
2021-10-01T05:18:56.354545988Z 2021-10-01 13:18:56.354 [localhost-startStop-1] INFO  o.s.scheduling.quartz.LocalDataSourceJobStore:3644 - ClusterManager: detected 1 failed or restarted instances.
2021-10-01T05:18:56.356090396Z 2021-10-01 13:18:56.354 [localhost-startStop-1] INFO  o.s.scheduling.quartz.LocalDataSourceJobStore:3503 - ClusterManager: Scanning for instance "dongjia-pc.local1633065372789"'s failed in-progress jobs.
2021-10-01T05:18:56.384932953Z 2021-10-01 13:18:56.383 [localhost-startStop-1] INFO  org.quartz.core.QuartzScheduler:547 - Scheduler MyScheduler_$_20a813c355101633065529963 started.
2021-10-01T05:18:56.420912914Z 2021-10-01 13:18:56.419 [localhost-startStop-1] INFO  org.jeecg.JeecgSystemApplication:61 - Started JeecgSystemApplication in 17.748 seconds (JVM running for 25.41)
2021-10-01T05:18:56.461910453Z 01-Oct-2021 13:18:56.460 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal One or more Filters failed to start. Full details will be found in the appropriate container log file
2021-10-01T05:18:56.461939491Z 01-Oct-2021 13:18:56.460 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal Context [/jeecg-boot] startup failed due to previous errors
2021-10-01T05:18:56.753957111Z 01-Oct-2021 13:18:56.750 WARNING [localhost-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [jeecg-boot] appears to have started a thread named [lettuce-eventExecutorLoop-1-1] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
2021-10-01T05:18:56.753983850Z  sun.misc.Unsafe.park(Native Method)
2021-10-01T05:18:56.753988785Z  java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
2021-10-01T05:18:56.753992211Z  java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078)
2021-10-01T05:18:56.753995504Z  java.util.concurrent.LinkedBlockingQueue.poll(LinkedBlockingQueue.java:467)
2021-10-01T05:18:56.753999023Z  io.netty.util.concurrent.SingleThreadEventExecutor.takeTask(SingleThreadEventExecutor.java:256)
2021-10-01T05:18:56.754002161Z  io.netty.util.concurrent.DefaultEventExecutor.run(DefaultEventExecutor.java:64)
2021-10-01T05:18:56.754005092Z  io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
2021-10-01T05:18:56.754008253Z  io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
2021-10-01T05:18:56.754011274Z  io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
2021-10-01T05:18:56.754014525Z  java.lang.Thread.run(Thread.java:748)
2021-10-01T05:18:56.754029258Z 01-Oct-2021 13:18:56.751 WARNING [localhost-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [jeecg-boot] appears to have started a thread named [mysql-cj-abandoned-connection-cleanup] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
2021-10-01T05:18:56.754032710Z  java.lang.Object.wait(Native Method)
2021-10-01T05:18:56.754035692Z  java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143)
2021-10-01T05:18:56.754038540Z  com.mysql.cj.jdbc.AbandonedConnectionCleanupThread.run(AbandonedConnectionCleanupThread.java:91)
2021-10-01T05:18:56.754041531Z  java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
2021-10-01T05:18:56.754044587Z  java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
2021-10-01T05:18:56.754047503Z  java.lang.Thread.run(Thread.java:748)

2021-10-01T05:18:56.764077894Z  sun.misc.Unsafe.park(Native Method)
2021-10-01T05:18:56.764080888Z  java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
2021-10-01T05:18:56.764085976Z  java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078)
2021-10-01T05:18:56.764089198Z  java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1093)
2021-10-01T05:18:56.764092445Z  java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:809)
2021-10-01T05:18:56.764095690Z  java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074)
2021-10-01T05:18:56.764098753Z  java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)
2021-10-01T05:18:56.764101956Z  java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
2021-10-01T05:18:56.764105044Z  java.lang.Thread.run(Thread.java:748)
2021-10-01T05:18:56.764108966Z 01-Oct-2021 13:18:56.762 SEVERE [localhost-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web application [jeecg-boot] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@34d4c79b]) and a value of type [io.netty.util.internal.InternalThreadLocalMap] (value [io.netty.util.internal.InternalThreadLocalMap@1495f1ba]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
2021-10-01T05:18:56.774892811Z 01-Oct-2021 13:18:56.774 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [/usr/local/tomcat/webapps/jeecg-boot.war] has finished in [25,159] ms
2021-10-01T05:18:56.777880506Z 01-Oct-2021 13:18:56.775 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/usr/local/tomcat/webapps/image]
2021-10-01T05:18:56.818455652Z 01-Oct-2021 13:18:56.817 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/usr/local/tomcat/webapps/image] has finished in [42] ms
2021-10-01T05:18:56.823887707Z 01-Oct-2021 13:18:56.820 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]
2021-10-01T05:18:56.829206417Z 01-Oct-2021 13:18:56.828 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8009"]
2021-10-01T05:18:56.832747136Z 01-Oct-2021 13:18:56.831 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 25273 ms
2021-10-01T05:19:00.970274840Z 01-Oct-2021 13:19:00.968 INFO [mysql-cj-abandoned-connection-cleanup] org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading Illegal access: this web application instance has been stopped already. Could not load []. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access.
2021-10-01T05:19:00.970307820Z  java.lang.IllegalStateException: Illegal access: this web application instance has been stopped already. Could not load []. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access.
2021-10-01T05:19:00.970312915Z  at org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading(WebappClassLoaderBase.java:1305)
2021-10-01T05:19:00.970324774Z  at org.apache.catalina.loader.WebappClassLoaderBase.getResource(WebappClassLoaderBase.java:986)
2021-10-01T05:19:00.970327964Z  at com.mysql.cj.jdbc.AbandonedConnectionCleanupThread.checkThreadContextClassLoader(AbandonedConnectionCleanupThread.java:123)
2021-10-01T05:19:00.970330735Z  at com.mysql.cj.jdbc.AbandonedConnectionCleanupThread.run(AbandonedConnectionCleanupThread.java:90)
2021-10-01T05:19:00.970333532Z  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
2021-10-01T05:19:00.970336527Z  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
2021-10-01T05:19:00.970339333Z  at java.lang.Thread.run(Thread.java:748)

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表