XMLWordPrintable

    Details

    • Target Release:
    • Workaround:
      Workaround Exists
    • Workaround Description:
      Hide

      Add the following lines to the end of your standalone.conf, domain.conf, and/or appclient.conf:

      # Work around JDK bug on Solaris
      JAVA_OPTS="$JAVA_OPTS -Dxnio.nio.selector.main=sun.nio.ch.DevPollSelectorImpl"
      
      Show
      Add the following lines to the end of your standalone.conf , domain.conf , and/or appclient.conf : # Work around JDK bug on Solaris JAVA_OPTS="$JAVA_OPTS -Dxnio.nio.selector.main=sun.nio.ch.DevPollSelectorImpl"
    • Affects Testing:
      Blocks Testing

      Description

      Issue:
      Removing/Unregistering of the worker is causing IOException.
      Issue was spotted only on solaris.
      Reproducer:

      1. Set up EAP7 as balancer with Eap7 as worker.
      2. Shutdown the worker and look for exception in balancer log
        2016-10-14 04:32:09,567 ERROR [stderr] (default I/O-30) Exception in thread "default I/O-30" java.lang.InternalError: java.io.IOException: File descriptor in bad state
        2016-10-14 04:32:09,569 ERROR [stderr] (default I/O-30) 	at sun.nio.ch.EventPortWrapper.release(EventPortWrapper.java:235)
        2016-10-14 04:32:09,569 ERROR [stderr] (default I/O-30) 	at sun.nio.ch.EventPortSelectorImpl.implDereg(EventPortSelectorImpl.java:144)
        2016-10-14 04:32:09,570 ERROR [stderr] (default I/O-30) 	at sun.nio.ch.SelectorImpl.processDeregisterQueue(SelectorImpl.java:149)
        2016-10-14 04:32:09,571 ERROR [stderr] (default I/O-30) 	at sun.nio.ch.EventPortSelectorImpl.doSelect(EventPortSelectorImpl.java:75)
        2016-10-14 04:32:09,572 ERROR [stderr] (default I/O-30) 	at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:86)
        2016-10-14 04:32:09,573 ERROR [stderr] (default I/O-30) 	at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:97)
        2016-10-14 04:32:09,573 ERROR [stderr] (default I/O-30) 	at org.xnio.nio.WorkerThread.run(WorkerThread.java:528)
        2016-10-14 04:32:09,575 ERROR [stderr] (default I/O-30) Caused by: java.io.IOException: File descriptor in bad state
        2016-10-14 04:32:09,576 ERROR [stderr] (default I/O-30) 	at sun.nio.ch.SolarisEventPort.port_dissociate(Native Method)
        2016-10-14 04:32:09,577 ERROR [stderr] (default I/O-30) 	at sun.nio.ch.EventPortWrapper.release(EventPortWrapper.java:233)
        2016-10-14 04:32:09,578 ERROR [stderr] (default I/O-30) 	... 6 more
        
      3. If exception is not present try it few times, tests show that exception is it there almost every time

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dmlloyd David Lloyd
              Reporter:
              bsikora Bogdan Sikora (Inactive)
              Tester:
              Richard Janik Richard Janik
              Votes:
              0 Vote for this issue
              Watchers:
              20 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: