Yes, that appears to be it.  We reset the lab box, and it helped. 
 
thanks!

However, rlim_fd_max on the developer workstation is set to 4096, and it
works fine there. 


satish viswanatham-2 wrote:
> 
> Did you see the following issue?
> 
> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6433853
> 
> On 8/28/07, janya <[EMAIL PROTECTED]> wrote:
>>
>>
>> Hello,
>>
>> I am trying to get our first MINA 1.1.2 server application to work.   It
>> runs fine on developer workstation, but when we try to run it in the lab,
>> we
>> get the following exception scrolling out over and over on startup, and
>> the
>> server never binds to the port.
>>
>> In our code:
>> import java.util.concurrent.ThreadPoolExecutor;
>> SocketAcceptor acceptor = new SocketAcceptor(numAcceptorThreads,
>> Executors.newCachedThreadPool());
>>
>> at java.lang.Thread.run(Thread.java:595)
>> 12:40:49,024  WARN DefaultExceptionMonitor:43 - Unexpected exception.
>> java.io.IOException: Invalid argument
>>         at sun.nio.ch.DevPollArrayWrapper.poll0(Native Method)
>>         at sun.nio.ch.DevPollArrayWrapper.poll(DevPollArrayWrapper.java
>> :158)
>>         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 sun.nio.ch.SelectorImpl.select(SelectorImpl.java:84)
>>         at
>> org.apache.mina.transport.socket.nio.SocketAcceptor$Worker.run(
>> SocketAcceptor.java:222)
>>         at
>> org.apache.mina.util.NamePreservingRunnable.run(
>> NamePreservingRunnable.java:39)
>>         at
>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
>> ThreadPoolExecutor.java:650)
>>         at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java
>> :675)
>>         at java.lang.Thread.run(Thread.java:595)
>>
>>
>> None of our classes are listed in the stack trace.
>> Any suggestions?
>>
>> thanks
>> -jane
>> --
>> View this message in context:
>> http://www.nabble.com/exception-on-start-up-in-SocketAcceptor-tf4344196s16868.html#a12376050
>> Sent from the Apache MINA Support Forum mailing list archive at
>> Nabble.com
>> .
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/exception-on-start-up-in-SocketAcceptor-tf4344196s16868.html#a12376632
Sent from the Apache MINA Support Forum mailing list archive at Nabble.com.

Reply via email to