java.nio.channels.ClosedSelectorException

Java.net JIRA | Amy Roh | 7 years ago
  1. 0

    [GLASSFISH-11962] Starting embedded server hangs with TimeoutException - Java.net JIRA

    java.net | 5 months ago
    java.nio.channels.ClosedSelectorException
  2. 0

    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)

    Java.net JIRA | 7 years ago | Amy Roh
    java.nio.channels.ClosedSelectorException
  3. 0

    MemcachedServers created by CouchbaseMock not working?

    GitHub | 5 years ago | magro
    java.nio.channels.ClosedSelectorException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How to maximize the Opera browser

    Google Groups | 4 years ago | Srividya Subramani
    java.nio.channels.ClosedSelectorException
  6. 0

    NullPointerException on closing OmmConsumer

    GitHub | 2 months ago | leichtundkross
    java.nio.channels.ClosedSelectorException

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.nio.channels.ClosedSelectorException

      No message provided

      at sun.nio.ch.SelectorImpl.selectedKeys()
    2. Java RT
      SelectorImpl.selectedKeys
      1. sun.nio.ch.SelectorImpl.selectedKeys(SelectorImpl.java:57)
      1 frame
    3. Grizzly WS
      SelectorHandlerRunner.run
      1. com.sun.grizzly.TCPSelectorHandler.select(TCPSelectorHandler.java:513)
      2. com.sun.grizzly.SelectorHandlerRunner.doSelect(SelectorHandlerRunner.java:185)
      3. com.sun.grizzly.SelectorHandlerRunner.run(SelectorHandlerRunner.java:130)
      3 frames