The error is fixed, if the following value is added to Windows registry:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Tcpip\Parameters\DisableUserTOSSetting

(DWORD with value 0)

The bug/issue/feature with setTrafficClass on Windows platform is
described here:http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4696356


2012/11/28 supercomp <[email protected]>

> when I click the red5.bat  on windows 7 and windows server 2003 , it run
> ok.Open the site http://localhost:5080/openmeetings/ on the windows 7 is
> OK,  however, on the windows server 2003,it show the error.
>
>
> [WARN] [NioSocketAcceptor-1] org.apache.mina.util.DefaultExceptionMonitor
> - Unex
> pected exception.
> org.apache.mina.core.RuntimeIoException: java.net.SocketException: Invalid
> argum
> ent: no further information
>         at
> org.apache.mina.transport.socket.nio.NioSocketSession$SessionConfigIm
> pl.setTrafficClass(NioSocketSession.java:227) ~[mina-core-2.0.5.jar:na]
>         at
> org.apache.mina.transport.socket.AbstractSocketSessionConfig.doSetAll
> (AbstractSocketSessionConfig.java:68) ~[mina-core-2.0.5.jar:na]
>         at
> org.apache.mina.core.session.AbstractIoSessionConfig.setAll(AbstractI
> oSessionConfig.java:63) ~[mina-core-2.0.5.jar:na]
>         at
> org.apache.mina.transport.socket.nio.NioSocketSession.<init>(NioSocke
> tSession.java:62) ~[mina-core-2.0.5.jar:na]
>         at
> org.apache.mina.transport.socket.nio.NioSocketAcceptor.accept(NioSock
> etAcceptor.java:176) ~[mina-core-2.0.5.jar:na]
>         at
> org.apache.mina.transport.socket.nio.NioSocketAcceptor.accept(NioSock
> etAcceptor.java:51) ~[mina-core-2.0.5.jar:na]
>         at
> org.apache.mina.core.polling.AbstractPollingIoAcceptor$Acceptor.proce
> ssHandles(AbstractPollingIoAcceptor.java:520) ~[mina-core-2.0.5.jar:na]
>         at
> org.apache.mina.core.polling.AbstractPollingIoAcceptor$Acceptor.run(A
> bstractPollingIoAcceptor.java:461) ~[mina-core-2.0.5.jar:na]
>         at
> org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnabl
> e.java:64) [mina-core-2.0.5.jar:na]
>         at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
> java:1110) [na:1.7.0_09]
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
> .java:603) [na:1.7.0_09]
>         at java.lang.Thread.run(Thread.java:722) [na:1.7.0_09]
> Caused by: java.net.SocketException: Invalid argument: no further
> information
>         at sun.nio.ch.Net.setIntOption0(Native Method) ~[na:1.7.0_09]
>         at sun.nio.ch.Net.setSocketOption(Net.java:279) ~[na:1.7.0_09]
>         at
> sun.nio.ch.SocketChannelImpl.setOption(SocketChannelImpl.java:175) ~[
> na:1.7.0_09]
>         at sun.nio.ch.SocketAdaptor.setIntOption(SocketAdaptor.java:300)
> ~[na:1.
> 7.0_09]
>         at
> sun.nio.ch.SocketAdaptor.setTrafficClass(SocketAdaptor.java:400) ~[na
> :1.7.0_09]
>         at
> org.apache.mina.transport.socket.nio.NioSocketSession$SessionConfigIm
> pl.setTrafficClass(NioSocketSession.java:225) ~[mina-core-2.0.5.jar:na]
>         ... 11 common frames omitted
>
>
> any one come across the problem?
>
>
> feiyuliu
>

Reply via email to