org.apache.http.nio.reactor.IOReactorException: Unexpected selector failure exception for HTTP Channel with BUILT-IN Server type.
book
Article ID: KB0084595
calendar_today
Updated On:
Products
Versions
TIBCO BusinessEvents Enterprise Edition
-
Not Applicable
-
Description
Resolution: Description: ========= org.apache.http.nio.reactor.IOReactorException: Unexpected selector failure exception for HTTP Channel with BUILT-IN Server type on Solaris 10.
Environment: ========== TIBCO BusinessEvents (BE) 4.0.1 Solaris 10
Symptoms: ======== The following error is seen in be logs when running any sample involving HTTP channel with BUILT-IN Server type. +++++++++++++++++++++ Fatal [HTTP_Core_Listener_Thread] - [driver.http] Unexpected selector failure org.apache.http.nio.reactor.IOReactorException: Unexpected selector failure at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor.execute(AbstractMultiworkerIOReactor.java:311) at com.tibco.cep.driver.http.server.impl.httpcomponents.HttpCoreAsyncServer$1.run(HttpCoreAsyncServer.java:341) Caused by: java.io.IOException: Invalid argument at sun.nio.ch.DevPollArrayWrapper.poll0(Native Method) at sun.nio.ch.DevPollArrayWrapper.poll(DevPollArrayWrapper.java:170) at sun.nio.ch.DevPollSelectorImpl.doSelect(DevPollSelectorImpl.java:68) at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:69) at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:80) at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor.execute(AbstractMultiworkerIOReactor.java:307) ... 1 more +++++++++++++++++++++
Cause: ===== Bug (6782668) on Solaris 10 with java:classes_nio. Reference: http://bugs.sun.com/view_bug.do;jsessionid=a01f6a8c97fd4fffffffff011c396e1259bb?bug_id=6782668
Resolution: ========= Setting ulimit -n to 1024 (or 8129)