2.4.5 WAR 发布docker tomcat
本帖最后由 Deo 于 2021-10-1 13:35 编辑本地一切正常 但把项目 通过war形式 打包至docker tomcat内 就报错了
有偿请高手赐教 微信 18516265258
2021-10-01T05:18:30.617879996Z 01-Oct-2021 13:18:30.614 INFO org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["ajp-nio-8009"]
2021-10-01T05:18:31.464903301Z 01-Oct-2021 13:18:31.452 INFO 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 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 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 org.apache.catalina.startup.VersionLoggerListener.log OS Name: Linux
2021-10-01T05:18:31.464938671Z 01-Oct-2021 13:18:31.460 INFO 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 org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64
2021-10-01T05:18:31.464944885Z 01-Oct-2021 13:18:31.460 INFO 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 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 INFOo.s.scheduling.quartz.SchedulerFactoryBean:727 - Starting Quartz Scheduler now
2021-10-01T05:18:56.354545988Z 2021-10-01 13:18:56.354 INFOo.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 INFOo.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 INFOorg.quartz.core.QuartzScheduler:547 - Scheduler MyScheduler_$_20a813c355101633065529963 started.
2021-10-01T05:18:56.420912914Z 2021-10-01 13:18:56.419 INFOorg.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 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 org.apache.catalina.core.StandardContext.startInternal Context startup failed due to previous errors
2021-10-01T05:18:56.753957111Z 01-Oct-2021 13:18:56.750 WARNING org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application appears to have started a thread named but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
2021-10-01T05:18:56.753983850Zsun.misc.Unsafe.park(Native Method)
2021-10-01T05:18:56.753988785Zjava.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
2021-10-01T05:18:56.753992211Zjava.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078)
2021-10-01T05:18:56.753995504Zjava.util.concurrent.LinkedBlockingQueue.poll(LinkedBlockingQueue.java:467)
2021-10-01T05:18:56.753999023Zio.netty.util.concurrent.SingleThreadEventExecutor.takeTask(SingleThreadEventExecutor.java:256)
2021-10-01T05:18:56.754002161Zio.netty.util.concurrent.DefaultEventExecutor.run(DefaultEventExecutor.java:64)
2021-10-01T05:18:56.754005092Zio.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
2021-10-01T05:18:56.754008253Zio.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
2021-10-01T05:18:56.754011274Zio.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
2021-10-01T05:18:56.754014525Zjava.lang.Thread.run(Thread.java:748)
2021-10-01T05:18:56.754029258Z 01-Oct-2021 13:18:56.751 WARNING org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application appears to have started a thread named but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
2021-10-01T05:18:56.754032710Zjava.lang.Object.wait(Native Method)
2021-10-01T05:18:56.754035692Zjava.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143)
2021-10-01T05:18:56.754038540Zcom.mysql.cj.jdbc.AbandonedConnectionCleanupThread.run(AbandonedConnectionCleanupThread.java:91)
2021-10-01T05:18:56.754041531Zjava.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
2021-10-01T05:18:56.754044587Zjava.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
2021-10-01T05:18:56.754047503Zjava.lang.Thread.run(Thread.java:748)
2021-10-01T05:18:56.764077894Zsun.misc.Unsafe.park(Native Method)
2021-10-01T05:18:56.764080888Zjava.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
2021-10-01T05:18:56.764085976Zjava.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078)
2021-10-01T05:18:56.764089198Zjava.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1093)
2021-10-01T05:18:56.764092445Zjava.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:809)
2021-10-01T05:18:56.764095690Zjava.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074)
2021-10-01T05:18:56.764098753Zjava.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)
2021-10-01T05:18:56.764101956Zjava.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
2021-10-01T05:18:56.764105044Zjava.lang.Thread.run(Thread.java:748)
2021-10-01T05:18:56.764108966Z 01-Oct-2021 13:18:56.762 SEVERE org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web application created a ThreadLocal with key of type (value ) and a value of type (value ) 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 org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive has finished in ms
2021-10-01T05:18:56.777880506Z 01-Oct-2021 13:18:56.775 INFO org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory
2021-10-01T05:18:56.818455652Z 01-Oct-2021 13:18:56.817 INFO org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory has finished in ms
2021-10-01T05:18:56.823887707Z 01-Oct-2021 13:18:56.820 INFO org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]
2021-10-01T05:18:56.829206417Z 01-Oct-2021 13:18:56.828 INFO org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8009"]
2021-10-01T05:18:56.832747136Z 01-Oct-2021 13:18:56.831 INFO 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 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.970307820Zjava.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.970312915Zat org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading(WebappClassLoaderBase.java:1305)
2021-10-01T05:19:00.970324774Zat org.apache.catalina.loader.WebappClassLoaderBase.getResource(WebappClassLoaderBase.java:986)
2021-10-01T05:19:00.970327964Zat com.mysql.cj.jdbc.AbandonedConnectionCleanupThread.checkThreadContextClassLoader(AbandonedConnectionCleanupThread.java:123)
2021-10-01T05:19:00.970330735Zat com.mysql.cj.jdbc.AbandonedConnectionCleanupThread.run(AbandonedConnectionCleanupThread.java:90)
2021-10-01T05:19:00.970333532Zat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
2021-10-01T05:19:00.970336527Zat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
2021-10-01T05:19:00.970339333Zat java.lang.Thread.run(Thread.java:748)
页:
[1]