ICEfaces-EE
  1. ICEfaces-EE
  2. IPCK-42

IllegalStateException during application shutdown

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.2 Beta
    • Fix Version/s: 1.8.2.GA
    • Component/s: Enterprise Push Server
    • Labels:
      None
    • Environment:
      ICEfaces Enterprise Push Server

      Description

      INFO: Illegal access: this web application instance has been stopped already. Could not load edu.emory.mathcs.backport.java.util.Arrays. The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
      java.lang.IllegalStateException
      at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1273)
      at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:399)
      at edu.emory.mathcs.backport.java.util.PriorityQueue.toArray(PriorityQueue.java:435)
      at edu.emory.mathcs.backport.java.util.concurrent.DelayQueue.toArray(DelayQueue.java:327)
      at edu.emory.mathcs.backport.java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.toArray(ScheduledThreadPoolExecutor.java:621)
      at edu.emory.mathcs.backport.java.util.concurrent.ScheduledThreadPoolExecutor.cancelUnwantedTasks(ScheduledThreadPoolExecutor.java:246)
      at edu.emory.mathcs.backport.java.util.concurrent.ScheduledThreadPoolExecutor.shutdown(ScheduledThreadPoolExecutor.java:539)
      at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.finalize(ThreadPoolExecutor.java:1048)
      at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
      at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:83)
      at java.lang.ref.Finalizer.access$100(Finalizer.java:14)
      at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:160)

        Activity

        Hide
        Jack Van Ooststroom added a comment -
        Show
        Jack Van Ooststroom added a comment - This one is related to http://jira.icefaces.org/browse/ICE-5155
        Hide
        Jack Van Ooststroom added a comment -

        Changed Fix Version(s) to 1.8.2

        Show
        Jack Van Ooststroom added a comment - Changed Fix Version(s) to 1.8.2
        Hide
        Jack Van Ooststroom added a comment -

        Added the same "strange hack" to the Push Servlet as was done for ICE-5155:

        // Strange hack to ensure classes are loaded for shutdown (ICE-5155)

        { ScheduledThreadPoolExecutor disposableExecutor = new ScheduledThreadPoolExecutor(1); disposableExecutor.shutdownNow(); }

        Marking this one as FIXED.

        Show
        Jack Van Ooststroom added a comment - Added the same "strange hack" to the Push Servlet as was done for ICE-5155 : // Strange hack to ensure classes are loaded for shutdown ( ICE-5155 ) { ScheduledThreadPoolExecutor disposableExecutor = new ScheduledThreadPoolExecutor(1); disposableExecutor.shutdownNow(); } Marking this one as FIXED.

          People

          • Assignee:
            Jack Van Ooststroom
            Reporter:
            Jack Van Ooststroom
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: