-
Bug
-
Resolution: Done
-
Critical
-
7.0.7.CR3
-
None
Issue:
Removing/Unregistering of the worker is causing IOException.
Issue was spotted only on solaris.
Reproducer:
- Set up EAP7 as balancer with Eap7 as worker.
- 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
- If exception is not present try it few times, tests show that exception is it there almost every time
- clones
-
JBEAP-6582 File descriptor in bad state
- Closed
- incorporates
-
XNIO-299 Disable Solaris' sun.nio.ch.EventPortSelectorProvider by default
- Resolved
- is incorporated by
-
JBEAP-13007 [GSS](7.0.z) Upgrade XNIO from 3.4.6 to 3.4.7
- Closed