0 Replies Latest reply on Aug 25, 2017 8:29 AM by cyiqiang RSS
    cyiqiang Newbie

    Tomcat stop,but FileTransferEviction-1 can not stop ?

    Hi,all, We recently see log like list below:

     

    25-Aug-2017 15:41:46.296 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory /usr/share/tomcat8/8.0.43/webapps/host-manager

    25-Aug-2017 15:41:46.330 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory /usr/share/tomcat8/8.0.43/webapps/host-manager has finished in 34 ms

    25-Aug-2017 15:41:46.331 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory /usr/share/tomcat8/8.0.43/webapps/examples

    25-Aug-2017 15:41:46.581 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory /usr/share/tomcat8/8.0.43/webapps/examples has finished in 250 ms

    25-Aug-2017 15:41:46.588 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]

    25-Aug-2017 15:41:46.619 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 15497 ms

    25-Aug-2017 15:43:17.043 INFO [main] org.apache.catalina.core.StandardServer.await A valid shutdown command was received via the shutdown port. Stopping the Server instance.

    25-Aug-2017 15:43:17.043 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-8080"]

    25-Aug-2017 15:43:17.044 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service Catalina

    25-Aug-2017 15:43:19.264 WARNING [localhost-startStop-2] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [Thingworx] appears to have started a thread named [FileTransferEviction-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:1067)

    java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127)

    java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

    java.lang.Thread.run(Thread.java:748)

     

    Why FileTransferEviction-1 can not stop?