java.nio.channels.ClosedSelectorException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • How to maximize the Opera browser
    via by Srividya Subramani,
  • Starting embedded server hangs for 2-3 mins with java.util.concurrent.TimeoutException. Apparently this is related to grizzly issue according to Jerome and Alexey. startDomainEmbedded: [echo] === EMBEDDED STARTING === [glassfish-embedded-start] Starting server [glassfish-embedded-start] May 20, 2010 11:20:25 AM com.sun.logging.LogDomains$1 log [glassfish-embedded-start] INFO: GlassFish v3 (Amy-private) startup time : Embedded(1002ms) startup services(593ms) total(1595ms) [glassfish-embedded-start] May 20, 2010 11:20:25 AM com.sun.logging.LogDomains$1 log [glassfish-embedded-start] INFO: enterprise_used_delegate_name [glassfish-embedded-start] May 20, 2010 11:20:25 AM com.sun.logging.LogDomains$1 log [glassfish-embedded-start] INFO: JMXStartupService: JMXConnector system is disabled, skipping. [glassfish-embedded-start] May 20, 2010 11:20:25 AM AppServerStartup run [glassfish-embedded-start] INFO: [Thread[GlassFish Kernel Main Thread,5,main]] started [glassfish-embedded-start] May 20, 2010 11:20:25 AM org.hibernate.validator.util.Version <clinit> [glassfish-embedded-start] INFO: Hibernate Validator null [glassfish-embedded-start] May 20, 2010 11:20:25 AM org.hibernate.validator.engine.resolver.DefaultTraversableResolver detectJPA [glassfish-embedded-start] INFO: Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver. [glassfish-embedded-start] May 20, 2010 11:20:26 AM com.sun.grizzly.Controller logVersion [glassfish-embedded-start] INFO: Starting Grizzly Framework 1.9.19-beta3 - Thu May 20 11:20:26 PDT 2010 [glassfish-embedded-start] May 20, 2010 11:20:26 AM com.sun.grizzly.Controller logVersion [glassfish-embedded-start] INFO: Starting Grizzly Framework 1.9.19-beta3 - Thu May 20 11:20:26 PDT 2010 [glassfish-embedded-start] May 20, 2010 11:23:46 AM org.jvnet.hk2.config.Transactions$ConfigListenerNotifier$1 call [glassfish-embedded-start] SEVERE: Config Listener notification took too long [glassfish-embedded-start] java.util.concurrent.TimeoutException [glassfish-embedded-start] at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:228) [glassfish-embedded-start] at java.util.concurrent.FutureTask.get(FutureTask.java:91) [glassfish-embedded-start] at org.jvnet.hk2.config.Transactions$ConfigListenerNotifier$1.call(Transactions.java:255) [glassfish-embedded-start] at org.jvnet.hk2.config.Transactions$ConfigListenerNotifier$1.call(Transactions.java:236) [glassfish-embedded-start] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) [glassfish-embedded-start] at java.util.concurrent.FutureTask.run(FutureTask.java:138) [glassfish-embedded-start] at org.jvnet.hk2.config.Transactions$Notifier$1.run(Transactions.java:158) [glassfish-embedded-start] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) [glassfish-embedded-start] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) [glassfish-embedded-start] at java.util.concurrent.FutureTask.run(FutureTask.java:138) [glassfish-embedded-start] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [glassfish-embedded-start] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [glassfish-embedded-start] at java.lang.Thread.run(Thread.java:637) May 20, 2010 11:27:18 AM com.sun.grizzly.SelectorHandlerRunner handleSelectException WARNING: Selector was unexpectedly closed. java.nio.channels.ClosedSelectorException at sun.nio.ch.SelectorImpl.selectedKeys(SelectorImpl.java:57) at com.sun.grizzly.TCPSelectorHandler.select(TCPSelectorHandler.java:513) at com.sun.grizzly.SelectorHandlerRunner.doSelect(SelectorHandlerRunner.java:185) at com.sun.grizzly.SelectorHandlerRunner.run(SelectorHandlerRunner.java:130) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:637) May 20, 2010 11:27:18 AM com.sun.grizzly.SelectorHandlerRunner handleSelectException SEVERE: Can not workaround Selector close. java.nio.channels.ClosedSelectorException at sun.nio.ch.SelectorImpl.keys(SelectorImpl.java:51) at com.sun.grizzly.SelectorHandlerRunner.switchToNewSelector(SelectorHandlerRunner.java:507) at com.sun.grizzly.SelectorHandlerRunner.handleSelectException(SelectorHandlerRunner.java:414) at com.sun.grizzly.SelectorHandlerRunner.doSelect(SelectorHandlerRunner.java:208) at com.sun.grizzly.SelectorHandlerRunner.run(SelectorHandlerRunner.java:130) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:637)
    via by Amy Roh,
    • java.nio.channels.ClosedSelectorException at sun.nio.ch.SelectorImpl.selectedKeys(SelectorImpl.java:74)[:1.8.0_65] at org.openhab.binding.tcp.AbstractSocketChannelBinding.execute(AbstractSocketChannelBinding.java:1347)[174:org.openhab.binding.tcp:1.8.2] at org.openhab.core.binding.AbstractActiveBinding$BindingActiveService.execute(AbstractActiveBinding.java:157)[168:org.openhab.core.compat1x:2.0.0.201605091907] at org.openhab.core.service.AbstractActiveService$RefreshThread.run(AbstractActiveService.java:173)[168:org.openhab.core.compat1x:2.0.0.201605091907]
    No Bugmate found.