0 Replies Latest reply on Oct 19, 2016 7:38 AM by ajanz

    WildFly 9 only https no http

    ajanz

      Hi,

      we use WildFly 9 in full profile for our application.

       

      due to security reasons we want the server only availiable via https

       

      so we configured https in standalone-full.xml an everything works fine.

       

      but  of course the http port is still availiable. so we try to deactivate it.

       

      but then our application doesn't work any more. some even don't get deployed.

       

      first error we get is

       

      Okt 19, 2016 12:27:24 PM org.jboss.ejb.client.EJBClient <clinit>

      INFO: JBoss EJB Client version 2.1.1.Final

      Okt 19, 2016 12:27:24 PM org.xnio.Xnio <clinit>

      INFO: XNIO version 3.3.1.Final

      Okt 19, 2016 12:27:24 PM org.xnio.nio.NioXnio <clinit>

      INFO: XNIO NIO Implementation Version 3.3.1.Final

      Okt 19, 2016 12:27:24 PM org.jboss.remoting3.EndpointImpl <clinit>

      INFO: JBoss Remoting version 4.0.9.Final

      Okt 19, 2016 12:27:24 PM org.jboss.ejb.client.remoting.ConfigBasedEJBClientConte

      xtSelector setupEJBReceivers

      WARN: Could not register a EJB receiver for connection to pc-100-137:8443

      1. java.lang.RuntimeException: java.io.EOFException: XNIO000812: Connection closed

      unexpectedly

              at org.jboss.ejb.client.remoting.IoFutureHelper.get(IoFutureHelper.java:

      92)

              at org.jboss.ejb.client.remoting.ConnectionPool.getConnection(Connection

      1. Pool.java:80)

              at org.jboss.ejb.client.remoting.RemotingConnectionManager.getConnection

      (RemotingConnectionManager.java:51)

              at org.jboss.ejb.client.remoting.ConfigBasedEJBClientContextSelector.set

      upEJBReceivers(ConfigBasedEJBClientContextSelector.java:158)

              at org.jboss.ejb.client.remoting.ConfigBasedEJBClientContextSelector.get

      Current(ConfigBasedEJBClientContextSelector.java:115)

              at org.jboss.ejb.client.remoting.ConfigBasedEJBClientContextSelector.get

      Current(ConfigBasedEJBClientContextSelector.java:47)

              at org.jboss.ejb.client.EJBClientContext.getCurrent(EJBClientContext.jav

      a:279)

              at org.jboss.ejb.client.EJBClientContext.requireCurrent(EJBClientContext

      .java:289)

              at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandl

      1. er.java:178)

              at org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler

      .java:146)

       

      our xml is