转换服务器在 5-6 个月后停机。服务器停止后,tomcat\temp 中的临时文件未释放事件。所以我们只有一个选择是重启服务器。
15-Nov-2018 14:33:48.919 WARNING [localhost-startStop-2] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [transformation-server] appears to have started a thread named [Directory Watcher (12345678Somefilename.version.pdf.11_(CE)56804616958243633347789395989933437100.pdf)] 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.LinkedBlockingDeque.pollFirst(LinkedBlockingDeque.java:522)
java.util.concurrent.LinkedBlockingDeque.poll(LinkedBlockingDeque.java:684)
sun.nio.fs.AbstractWatchService.poll(AbstractWatchService.java:108)
com.some.com.alfresco.transformation.transformer.external.esmonitor.DirectoryWatcher.watch(DirectoryWatcher.java:86)
com.some.com.alfresco.transformation.transformer.external.esmonitor.DirectoryWatcher.run(DirectoryWatcher.java:48)
java.lang.Thread.run(Thread.java:748)
15-Nov-2018 14:33:49.028 WARNING [localhost-startStop-2] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [transformation-server] appears to have started a thread named [Thread-2021] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
sun.nio.fs.WindowsNativeDispatcher.GetQueuedCompletionStatus0(Native Method)
sun.nio.fs.WindowsNativeDispatcher.GetQueuedCompletionStatus(WindowsNativeDispatcher.java:1007)
sun.nio.fs.WindowsWatchService$Poller.run(WindowsWatchService.java:571)
java.lang.Thread.run(Thread.java:748)
15-Nov-2018 14:33:49.028 WARNING [localhost-startStop-2] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [transformation-server] appears to have started a thread named [Directory Watcher (12345678Somefilename.version.pdf.13_(CE)72889340369927099637716823898807491840.pdf)] 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.LinkedBlockingDeque.pollFirst(LinkedBlockingDeque.java:522)
java.util.concurrent.LinkedBlockingDeque.poll(LinkedBlockingDeque.java:684)
sun.nio.fs.AbstractWatchService.poll(AbstractWatchService.java:108)
com.some.com.alfresco.transformation.transformer.external.esmonitor.DirectoryWatcher.watch(DirectoryWatcher.java:86)
com.some.com.alfresco.transformation.transformer.external.esmonitor.DirectoryWatcher.run(DirectoryWatcher.java:48)
java.lang.Thread.run(Thread.java:748)
15-Nov-2018 14:33:49.028 WARNING [localhost-startStop-2] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [transformation-server] appears to have started a thread named [Thread-2028] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
sun.nio.fs.WindowsNativeDispatcher.GetQueuedCompletionStatus0(Native Method)
sun.nio.fs.WindowsNativeDispatcher.GetQueuedCompletionStatus(WindowsNativeDispatcher.java:1007)
sun.nio.fs.WindowsWatchService$Poller.run(WindowsWatchService.java:571)
java.lang.Thread.run(Thread.java:748)
15-Nov-2018 14:33:49.028 WARNING [localhost-startStop-2] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [transformation-server] appears to have started a thread named [Directory Watcher (12345678Somefilename.version.pdf.15_(CE)63650266326795937045488961376688239135.pdf)] 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.LinkedBlockingDeque.pollFirst(LinkedBlockingDeque.java:522)
java.util.concurrent.LinkedBlockingDeque.poll(LinkedBlockingDeque.java:684)
sun.nio.fs.AbstractWatchService.poll(AbstractWatchService.java:108)
com.some.com.alfresco.transformation.transformer.external.esmonitor.DirectoryWatcher.watch(DirectoryWatcher.java:86)
com.some.com.alfresco.transformation.transformer.external.esmonitor.DirectoryWatcher.run(DirectoryWatcher.java:48)
java.lang.Thread.run(Thread.java:748)
15-Nov-2018 14:33:49.028 WARNING [localhost-startStop-2] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [transformation-server] appears to have started a thread named [Thread-2029] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
sun.nio.fs.WindowsNativeDispatcher.GetQueuedCompletionStatus0(Native Method)
sun.nio.fs.WindowsNativeDispatcher.GetQueuedCompletionStatus(WindowsNativeDispatcher.java:1007)
sun.nio.fs.WindowsWatchService$Poller.run(WindowsWatchService.java:571)
java.lang.Thread.run(Thread.java:748)
15-Nov-2018 14:33:49.028 WARNING [localhost-startStop-2] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [transformation-server] appears to have started a thread named [Directory Watcher (12345678Somefilename.version.pdf.13_(CE)72889340369927099637716823898807491840.pdf)] 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.LinkedBlockingDeque.pollFirst(LinkedBlockingDeque.java:522)
java.util.concurrent.LinkedBlockingDeque.poll(LinkedBlockingDeque.java:684)
sun.nio.fs.AbstractWatchService.poll(AbstractWatchService.java:108)
com.some.com.alfresco.transformation.transformer.external.esmonitor.DirectoryWatcher.watch(DirectoryWatcher.java:86)
com.some.com.alfresco.transformation.transformer.external.esmonitor.DirectoryWatcher.run(DirectoryWatcher.java:48)
java.lang.Thread.run(Thread.java:748)
15-Nov-2018 14:33:49.028 WARNING [localhost-startStop-2] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [transformation-server] appears to have started a thread named [Thread-2033] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
sun.nio.fs.WindowsNativeDispatcher.GetQueuedCompletionStatus0(Native Method)
sun.nio.fs.WindowsNativeDispatcher.GetQueuedCompletionStatus(WindowsNativeDispatcher.java:1007)
sun.nio.fs.WindowsWatchService$Poller.run(WindowsWatchService.java:571)
java.lang.Thread.run(Thread.java:748)
15-Nov-2018 14:33:49.028 WARNING [localhost-startStop-2] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [transformation-server] appears to have started a thread named [Directory Watcher (12345678Somefilename.version.pdf.13_(CE)72889340369927099637716823898807491840.pdf)] 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.LinkedBlockingDeque.pollFirst(LinkedBlockingDeque.java:522)
java.util.concurrent.LinkedBlockingDeque.poll(LinkedBlockingDeque.java:684)
sun.nio.fs.AbstractWatchService.poll(AbstractWatchService.java:108)
com.some.com.alfresco.transformation.transformer.external.esmonitor.DirectoryWatcher.watch(DirectoryWatcher.java:86)
com.some.com.alfresco.transformation.transformer.external.esmonitor.DirectoryWatcher.run(DirectoryWatcher.java:48)
java.lang.Thread.run(Thread.java:748)
15-Nov-2018 14:33:49.028 WARNING [localhost-startStop-2] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [transformation-server] appears to have started a thread named [Thread-2034] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
sun.nio.fs.WindowsNativeDispatcher.GetQueuedCompletionStatus0(Native Method)
sun.nio.fs.WindowsNativeDispatcher.GetQueuedCompletionStatus(WindowsNativeDispatcher.java:1007)
sun.nio.fs.WindowsWatchService$Poller.run(WindowsWatchService.java:571)
java.lang.Thread.run(Thread.java:748)
15-Nov-2018 14:33:49.075 INFO [WrapperListener_stop_runner] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-8080"]
15-Nov-2018 14:33:49.153 INFO [WrapperListener_stop_runner] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-8443"]
15-Nov-2018 14:33:49.262 INFO [WrapperListener_stop_runner] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["ajp-nio-8009"]
Destroying 2 processes
Destroying process..
Destroying process..
Destroyed 2 processes
Launching a JVM...
JVM exited while loading the application.
Launching a JVM...
JVM exited while loading the application.
Launching a JVM...
JVM exited while loading the application.
Launching a JVM...
JVM exited while loading the application.
Launching a JVM...
JVM exited while loading the application.
There were 5 failed launches in a row, each lasting less than 300 seconds. Giving up.
There may be a configuration problem: please check the logs.
<-- Wrapper Stopped
转换服务器在 5-6 个月后停机。服务器停止后,tomcat\temp 中的临时文件未释放事件。所以我们只有一个选择是重启服务器。任何见解或建议将不胜感激。