Java SocketException:参数无效:如果访问red5主页,则无进一步信息

Java SocketException:参数无效:如果访问red5主页,则无进一步信息,java,windows,windows-server-2003,red5,socketexception,Java,Windows,Windows Server 2003,Red5,Socketexception,我刚刚在Windows server上安装了red5,现在尝试访问它的主页5080 我在访问时看到了输出 [ERROR] [http-m.y.i.p-5080-Acceptor-0] org.apache.tomcat.util.net.NioEndpoint - java.net.SocketException: Invalid argument: no further information at sun.nio.ch.Net.setIntOption0(Native Met

我刚刚在Windows server上安装了red5,现在尝试访问它的主页5080

我在访问时看到了输出

[ERROR] [http-m.y.i.p-5080-Acceptor-0] org.apache.tomcat.util.net.NioEndpoint - java.net.SocketException: Invalid argument: no further information
        at sun.nio.ch.Net.setIntOption0(Native Method) ~[na:1.7.0_25]
        at sun.nio.ch.Net.setSocketOption(Unknown Source) ~[na:1.7.0_25]
        at sun.nio.ch.SocketChannelImpl.setOption(Unknown Source) ~[na:1.7.0_25]
        at sun.nio.ch.SocketAdaptor.setIntOption(Unknown Source) ~[na:1.7.0_25]
        at sun.nio.ch.SocketAdaptor.setTrafficClass(Unknown Source) ~[na:1.7.0_25]
        at org.apache.tomcat.util.net.SocketProperties.setProperties(SocketProperties.java:184) ~[tomcat-coyote-6.0.36.jar:6.0.36]
        at org.apache.tomcat.util.net.NioEndpoint.setSocketOptions(NioEndpoint.java:1089) ~[tomcat-coyote-6.0.36.jar:6.0.36]
        at org.apache.tomcat.util.net.NioEndpoint$Acceptor.run(NioEndpoint.java:1314) ~[tomcat-coyote-6.0.36.jar:6.0.36]
        at java.lang.Thread.run(Unknown Source) ~[na:1.7.0_25]
[ERROR] [http-m.y.i.p-5080-Acceptor-0] org.apache.tomcat.util.net.NioEndpoint - java.net.SocketException: Invalid argument: no further information
        at sun.nio.ch.Net.setIntOption0(Native Method) ~[na:1.7.0_25]
        at sun.nio.ch.Net.setSocketOption(Unknown Source) ~[na:1.7.0_25]
        at sun.nio.ch.SocketChannelImpl.setOption(Unknown Source) ~[na:1.7.0_25]
        at sun.nio.ch.SocketAdaptor.setIntOption(Unknown Source) ~[na:1.7.0_25]
        at sun.nio.ch.SocketAdaptor.setTrafficClass(Unknown Source) ~[na:1.7.0_25]
        at org.apache.tomcat.util.net.SocketProperties.setProperties(SocketProperties.java:184) ~[tomcat-coyote-6.0.36.jar:6.0.36]
        at org.apache.tomcat.util.net.NioEndpoint.setSocketOptions(NioEndpoint.java:1089) ~[tomcat-coyote-6.0.36.jar:6.0.36]
        at org.apache.tomcat.util.net.NioEndpoint$Acceptor.run(NioEndpoint.java:1314) ~[tomcat-coyote-6.0.36.jar:6.0.36]
        at java.lang.Thread.run(Unknown Source) ~[na:1.7.0_25]
strtup时没有错误

我在互联网上发现,解决方案是设置
HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\disableuserbootting=0
并重新启动机器

但我无法重新启动机器,因为它正在使用中

这个错误的本质是什么

有没有办法在Windows Server上安装
red5
,而不重新启动它


可能是降级Java或red5?

似乎正在设置套接字选项,但我不确定这将发生在何处或原因。据我所知,我们没有为tomcat设置任何设置。您可以尝试切换jee-container.xml中的连接器

    Blocking I/O:
    <constructor-arg type="java.lang.String" value="org.apache.coyote.http11.Http11Protocol" />
    Non-blocking I/O:
    <constructor-arg type="java.lang.String" value="org.apache.coyote.http11.Http11NioProtocol" />  
阻塞I/O:
非阻塞I/O:

网上的其他评论说,Tomcat 7的最新版本解决了这个问题。因此,您必须“仅”升级Tomcat,无需关闭机器。我不使用Tomcat:)它是red5--一个单独的服务器:)好的,如果您查看堆栈跟踪,您可以看到red5在核心使用Tomcat;)是的,因为它是叉子。如果您建议使用新的Tomcat部件升级部分
red5
,请详细解释。Tomcat是可用于处理red5中web请求的JEE容器之一;这不是唯一的选择。