8 Replies Latest reply on Oct 2, 2019 2:41 AM by b69

    wildfly 17.1 configuration remote access to application and console

    b69 Newbie

      first of all, I do JEE since more than 10 or 15 years. I used glassfish 4 and websphere 8.5. Glassfish is dead, hence I try to migrate to wildfly. But I get stuck at every step!

      The web is full of all kind of hints. Most don't work!

      Here is my case:

      Windows 10 64, jdk 11 version 4, wildfly 17.1 installed, as well as eclipse JEE 1909! Working with standalone configuration only. For now only development an test of an existing application is intended. jdbc driver for mariadb deployed, db can be accessed! Rather by accident, but by clean step by step setup, the helloworld application, as well as the management console can be accessed through https. Even the certificate signed by the enterprise ca is installed and shows the green padlock! helas! But it works only by setting the signed servername to localhost within the etc/host file! Not exactly the intension of the inventor!

      I tried a lot of hints like this:

      <interfaces>
              <interface name="management">
                        <inet-address value="${jboss.bind.address.management:192.168.1.227}"/>
               </interface>
               <interface name="public">
                         <inet-address value="${jboss.bind.address:192.168.1.227}"/>
               </interface>
      </interfaces>

      To allow remote access. No chance, the startup log shows 127.0.0.1!!!!

      10:55:32,809 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-6) WFLYUT0006: Undertow HTTP listener default listening on 127.0.0.1:8080

      10:55:33,107 INFO  [org.jboss.as.ejb3] (MSC service thread 1-4) WFLYEJB0493: EJB subsystem suspension complete

      10:55:33,539 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-8) WFLYUT0006: Undertow HTTPS listener https listening on 127.0.0.1:8443

      and of course no remote access is possible!

      The application running on glassfish 4.1 and Websphere 8.5 is not trivial, using EJB's and 2 roles user and roles defined web modules. I get frustrated loosing so much time on the most trivial things. How can it be possible to setup for the mentioned application if even the most simple parts don't work!

      Of course I'm tempted to forget wildfly for ever, using rather glassfish 5.1. Unfortunately the latter, as oracle origin, still doesn't work with java 11 and even worse didn't make any progress since end of last year! dead, as already mentioned above!