java.util.concurrent.RejectedExecutionException: The thread pool's task queue is full, limit: 4096

Stack Overflow | Tom | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Glassfish: The thread pool's task queue is full

    Stack Overflow | 6 months ago | Tom
    java.util.concurrent.RejectedExecutionException: The thread pool's task queue is full, limit: 4096

    1 unregistered visitors

    Root Cause Analysis

    1. java.util.concurrent.RejectedExecutionException

      The thread pool's task queue is full, limit: 4096

      at org.glassfish.grizzly.threadpool.AbstractThreadPool.onTaskQueueOverflow()
    2. Grizzly
      AbstractThreadPool$Worker.run
      1. org.glassfish.grizzly.threadpool.AbstractThreadPool.onTaskQueueOverflow(AbstractThreadPool.java:490)
      2. org.glassfish.grizzly.threadpool.QueueLimitedThreadPool.execute(QueueLimitedThreadPool.java:81)
      3. org.glassfish.grizzly.threadpool.GrizzlyExecutorService.execute(GrizzlyExecutorService.java:161)
      4. org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.executeIoEvent(WorkerThreadIOStrategy.java:100)
      5. org.glassfish.grizzly.strategies.AbstractIOStrategy.executeIoEvent(AbstractIOStrategy.java:89)
      6. org.glassfish.grizzly.nio.SelectorRunner.iterateKeyEvents(SelectorRunner.java:415)
      7. org.glassfish.grizzly.nio.SelectorRunner.iterateKeys(SelectorRunner.java:384)
      8. org.glassfish.grizzly.nio.SelectorRunner.doSelect(SelectorRunner.java:348)
      9. org.glassfish.grizzly.nio.SelectorRunner.run(SelectorRunner.java:279)
      10. org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:591)
      11. org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:571)
      11 frames
    3. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame