0 Replies Latest reply on May 26, 2014 5:55 AM by Marius Gherghief

    Wildfly 8.1.0 RC2 https listener problem

    Marius Gherghief Newbie

      Hi all,

       

      I am using wildfly 8.1.0 RC2 with undertow https listener enabled. This is the configuration:

       

      <security-realm name="MySecurityRealm">

                      <server-identities>

                       <ssl protocol="TLSv1">

                           <keystore path="server.keystore" relative-to="jboss.server.config.dir" keystore-password="123456" key-password="123456"/>

                       </ssl>

                      </server-identities>

      </security-realm>

      .

      .

      <buffer-cache name="default"/>

      <server name="default-server">

                      <http-listener name="default" socket-binding="http"/>

                      <https-listener name="https" socket-binding="https" security-realm="MySecurityRealm"/>

                      <host name="default-host" alias="localhost">

                          <location name="/" handler="welcome-content"/>

                          <filter-ref name="server-header"/>

                          <filter-ref name="x-powered-by-header"/>

                      </host>

      </server>

       

      After using a web application deployed on this server for 12 hours or so, i start getting this error:

       

      [0m [31m11:11:17,520 ERROR [org.xnio.listener] (default I/O-2) XNIO001007: A channel event listener threw an exception: java.lang.IllegalArgumentException: XNIO000300: Socket buffer is too small

        at org.xnio.ssl.JsseSslConduitEngine.<init>(JsseSslConduitEngine.java:149) [xnio-api-3.2.2.Final.jar:3.2.2.Final]

        at org.xnio.ssl.JsseSslStreamConnection.<init>(JsseSslStreamConnection.java:71) [xnio-api-3.2.2.Final.jar:3.2.2.Final]

        at org.xnio.ssl.JsseAcceptingSslStreamConnection.accept(JsseAcceptingSslStreamConnection.java:45) [xnio-api-3.2.2.Final.jar:3.2.2.Final]

        at org.xnio.ssl.JsseAcceptingSslStreamConnection.accept(JsseAcceptingSslStreamConnection.java:37) [xnio-api-3.2.2.Final.jar:3.2.2.Final]

        at org.xnio.ssl.AbstractAcceptingSslChannel.accept(AbstractAcceptingSslChannel.java:187) [xnio-api-3.2.2.Final.jar:3.2.2.Final]

        at org.xnio.ChannelListeners$10.handleEvent(ChannelListeners.java:289) [xnio-api-3.2.2.Final.jar:3.2.2.Final]

        at org.xnio.ChannelListeners$10.handleEvent(ChannelListeners.java:286) [xnio-api-3.2.2.Final.jar:3.2.2.Final]

        at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92) [xnio-api-3.2.2.Final.jar:3.2.2.Final]

        at org.xnio.ChannelListeners$DelegatingChannelListener.handleEvent(ChannelListeners.java:1092) [xnio-api-3.2.2.Final.jar:3.2.2.Final]

        at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92) [xnio-api-3.2.2.Final.jar:3.2.2.Final]

        at org.xnio.nio.NioTcpServerHandle.handleReady(NioTcpServerHandle.java:53) [xnio-nio-3.2.2.Final.jar:3.2.2.Final]

        at org.xnio.nio.WorkerThread.run(WorkerThread.java:539) [xnio-nio-3.2.2.Final.jar:3.2.2.Final]

       

      After this error, the server is unreachable. And at any attempt to load the page, the error is thrown again. Also, I have no JSSE configuration specified in the standalone.xml.

       

      Can anyone help me on this?

       

      Thank you in advance!