ICEfaces
  1. ICEfaces
  2. ICE-10908

Server warning when removing showcase from Tomcat 8 after using mobi native demos

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 4.1
    • Fix Version/s: EE-4.1.0.GA
    • Labels:
      None
    • Environment:
      Tomcat 8, android 6.0.1
    • Assignee Priority:
      P2

      Description

      Server warning when removing showcase from Tomcat 8. I was able to produce these warnings by testing only the native demos such as camera, camcorder, fetch-contact etc. then removing the .war file from the server. This appears different from the usual server warnings occasionally seen when removing showcase from the server.
      21-Dec-2015 10:41:07.544 WARNING [ContainerBackgroundProcessor[StandardEngine[Ca
      talina]]] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThread
      s The web application [showcase] 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.park(LockSupport.java:186)
       java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Abs
      tractQueuedSynchronizer.java:2043)
       java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(Schedule
      dThreadPoolExecutor.java:1079)
       java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(Schedule
      dThreadPoolExecutor.java:807)
       java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1068)
       java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)

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

       java.lang.Thread.run(Thread.java:745)
      21-Dec-2015 10:41:07.544 WARNING [ContainerBackgroundProcessor[StandardEngine[Ca
      talina]]] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThread
      s The web application [showcase] appears to have started a thread named [pool-1-
      thread-2] 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:186)
       java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Abs
      tractQueuedSynchronizer.java:2043)
       java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(Schedule
      dThreadPoolExecutor.java:1079)
       java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(Schedule
      dThreadPoolExecutor.java:807)
       java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1068)
       java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)

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

       java.lang.Thread.run(Thread.java:745)
      21-Dec-2015 10:41:07.544 WARNING [ContainerBackgroundProcessor[StandardEngine[Ca
      talina]]] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThread
      s The web application [showcase] appears to have started a thread named [pool-1-
      thread-3] 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:186)
       java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Abs
      tractQueuedSynchronizer.java:2043)
       java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(Schedule
      dThreadPoolExecutor.java:1085)
       java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(Schedule
      dThreadPoolExecutor.java:807)
       java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1068)
       java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)

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

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

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #47049 Mon Feb 01 13:05:51 MST 2016 mircea.toma ICE-10908 Capture the NoClassDefFoundError error in QueueConsumerTask.run that occurs when application is removed from file system and QueueConsumerTask is not disposed yet by the servlet's container context disposed event.
        Files Changed
        Commit graph MODIFY /icepush/trunk/icepush/core/src/main/java/org/icepush/LocalPushGroupManager.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #47048 Mon Feb 01 13:02:13 MST 2016 mircea.toma ICE-10908 Replaced SynchronizationMonitorObject instances with String object instances to avoid NoClassDefFoundError errors when application was removed from the file system and the web context was not yet fully disposed.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/core/src/main/java/org/icefaces/impl/application/WindowScopeManager.java

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Liana Munroe
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: