java - Glassfish: The thread pool's task queue is full -


in glassfish 4.1 have following error:

[2016-08-24t04:00:45.586+0200] [glassfish 4.1] [severe] []     [org.glassfish.grizzly.nio.selectorrunner] [tid: _threadid=34 _threadname=http-listener-1-kernel(1) selectorrunner] [timemillis: 1472004045586] [levelvalue: 1000] [[ doselect exception java.util.concurrent.rejectedexecutionexception: thread pool's task queue full, limit: 4096     @ org.glassfish.grizzly.threadpool.abstractthreadpool.ontaskqueueoverflow(abstractthreadpool.java:490)     @ org.glassfish.grizzly.threadpool.queuelimitedthreadpool.execute(queuelimitedthreadpool.java:81)     @ org.glassfish.grizzly.threadpool.grizzlyexecutorservice.execute(grizzlyexecutorservice.java:161)     @ org.glassfish.grizzly.strategies.workerthreadiostrategy.executeioevent(workerthreadiostrategy.java:100)     @ org.glassfish.grizzly.strategies.abstractiostrategy.executeioevent(abstractiostrategy.java:89)     @ org.glassfish.grizzly.nio.selectorrunner.iteratekeyevents(selectorrunner.java:415)     @ org.glassfish.grizzly.nio.selectorrunner.iteratekeys(selectorrunner.java:384)     @ org.glassfish.grizzly.nio.selectorrunner.doselect(selectorrunner.java:348)     @ org.glassfish.grizzly.nio.selectorrunner.run(selectorrunner.java:279)     @ org.glassfish.grizzly.threadpool.abstractthreadpool$worker.dowork(abstractthreadpool.java:591)     @ org.glassfish.grizzly.threadpool.abstractthreadpool$worker.run(abstractthreadpool.java:571)     @ java.lang.thread.run(unknown source) ]] 

do u know it's possible problem?

take @ this issue in glassfish's official jira. affects same version have (it created version 4.1_b10, actual 4.1.1 too) , not solved yet. may post exception's artifacts comment issue, solve problem.

the solution provided (but not recommended though), configure server's http-thread-pool, make unlimited changing max-queue-size size value -1, as

<thread-pools>     ...     <thread-pool name="http-thread-pool" max-queue-size="-1"></thread-pool>     ... </thread-pools> 

but sure, may cause other issues, since may run out of maximum available resources.


Comments

Popular posts from this blog

amazon web services - S3 Pre-signed POST validate file type? -

c# - Check Keyboard Input Winforms -