8 Replies Latest reply on Nov 7, 2019 4:07 AM by Wolfgang Mayer

    Can't access the wildfly admin console.

    淳哉 大原 Newbie

      I'm setting up Wildfly 17.0 Final on Redhat 7.

      The top page is correctly displayed.(http://ServerIP:8080)

      But Administration Console page isn't displayed.

      Please let me know the possible cause?

      I've already changed the ip address in standalone.xml.

      And the situation is not improved when I start wildfly by standalone.sh with -b=0.0.0.0 and -bmanagement=0.0.0.0

       

      Thank you,

        • 1. Re: Can't access the wildfly admin console.
          Vladimir Zhuravlevich Newbie

          Hi,

           

          netstat -nap | grep 8080 ?

           

          Thanks,

          Vlad

          • 2. Re: Can't access the wildfly admin console.
            Wolfgang Mayer Master

            Do you get any messages on your screen?
            I'd suggest that you post your server.log

            • 3. Re: Can't access the wildfly admin console.
              淳哉 大原 Newbie

              Thank you for your response,

              I got the result of ss -ltu.

               

              Netid  State      Recv-Q Send-Q    Local Address:Port                     Peer Address:Port

              udp    UNCONN     0      0             127.0.0.1:323                                 *:*

              udp    UNCONN     0      0                 [::1]:323                              [::]:*

              tcp    LISTEN     0      100           127.0.0.1:smtp                                *:*

              tcp    LISTEN     0      128       10.234.200.58:pcsync-https                        *:*

              tcp    LISTEN     0      50        10.234.200.58:osm-appsrvr                         *:*

              tcp    LISTEN     0      128       10.234.200.58:webcache                            *:*

              tcp    LISTEN     0      128                   *:ssh                                 *:*

              tcp    LISTEN     0      100               [::1]:smtp                             [::]:*

              tcp    LISTEN     0      128                [::]:ssh                              [::]:*

              • 4. Re: Can't access the wildfly admin console.
                淳哉 大原 Newbie

                Thank you for your response.

                Server.log is below.

                 

                 

                2019-11-06 13:39:40,479 INFO  [org.jboss.modules] (main) JBoss Modules version 1.9.1.Final
                2019-11-06 13:39:40,877 INFO  [org.jboss.msc] (main) JBoss MSC version 1.4.8.Final
                2019-11-06 13:39:40,885 INFO  [org.jboss.threads] (main) JBoss Threads version 2.3.3.Final
                2019-11-06 13:39:41,053 INFO  [org.jboss.as] (MSC service thread 1-2) WFLYSRV0049: WildFly Full 17.0.1.Final (WildFly Core 9.0.2.Final) starting
                2019-11-06 13:39:41,060 DEBUG [org.jboss.as.config] (MSC service thread 1-2) Configured system properties:

                2019-11-06 13:39:41,062 DEBUG [org.jboss.as.config] (MSC service thread 1-2) VM Arguments: -D[Standalone] -Xms64m -Xmx512m -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true --add-exports=java.base/sun.nio.ch=ALL-UNNAMED --add-exports=jdk.unsupported/sun.misc=ALL-UNNAMED --add-exports=jdk.unsupported/sun.reflect=ALL-UNNAMED -Dorg.jboss.boot.log.file=/opt/wildfly-17.0.1.Final/standalone/log/server.log -Dlogging.configuration=file:/opt/wildfly-17.0.1.Final/standalone/configuration/logging.properties
                2019-11-06 13:39:41,916 INFO  [org.wildfly.security] (ServerService Thread Pool -- 28) ELY00001: WildFly Elytron version 1.9.1.Final
                2019-11-06 13:39:42,594 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/core-service=management/management-interface=http-interface' is deprecated, and may be removed in a future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
                2019-11-06 13:39:42,645 INFO  [org.jboss.as.controller.management-deprecated] (ServerService Thread Pool -- 35) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/subsystem=undertow/server=default-server/https-listener=https' is deprecated, and may be removed in a future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
                2019-11-06 13:39:42,713 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating http management service using socket-binding (management-http)
                2019-11-06 13:39:42,741 INFO  [org.xnio] (MSC service thread 1-3) XNIO version 3.7.2.Final
                2019-11-06 13:39:42,749 INFO  [org.xnio.nio] (MSC service thread 1-3) XNIO NIO Implementation Version 3.7.2.Final
                2019-11-06 13:39:42,796 INFO  [org.jboss.remoting] (MSC service thread 1-1) JBoss Remoting version 5.0.12.Final
                2019-11-06 13:39:42,833 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 64) WFLYNAM0001: Activating Naming Subsystem
                2019-11-06 13:39:42,843 INFO  [org.wildfly.extension.microprofile.metrics.smallrye] (ServerService Thread Pool -- 62) WFLYMETRICS0001: Activating Eclipse MicroProfile Metrics Subsystem
                2019-11-06 13:39:42,829 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 51) WFLYCLINF0001: Activating Infinispan subsystem.
                2019-11-06 13:39:42,863 INFO  [org.jboss.as.jaxrs] (ServerService Thread Pool -- 53) WFLYRS0016: RESTEasy version 3.7.0.Final
                2019-11-06 13:39:42,878 INFO  [org.jboss.as.jsf] (ServerService Thread Pool -- 58) WFLYJSF0007: Activated the following JSF Implementations: [main]
                2019-11-06 13:39:42,840 INFO  [org.jboss.as.naming] (MSC service thread 1-2) WFLYNAM0003: Starting Naming Service
                2019-11-06 13:39:42,831 WARN  [org.jboss.as.txn] (ServerService Thread Pool -- 72) WFLYTX0013: The node-identifier attribute on the /subsystem=transactions is set to the default value. This is a danger for environments running multiple servers. Please make sure the attribute value is unique.
                2019-11-06 13:39:42,894 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 70) WFLYSEC0002: Activating Security Subsystem
                2019-11-06 13:39:42,909 INFO  [org.wildfly.extension.microprofile.health.smallrye] (ServerService Thread Pool -- 61) WFLYHEALTH0001: Activating Eclipse MicroProfile Health Subsystem
                2019-11-06 13:39:42,910 INFO  [org.wildfly.extension.microprofile.config.smallrye._private] (ServerService Thread Pool -- 60) WFLYCONF0001: Activating WildFly MicroProfile Config Subsystem
                2019-11-06 13:39:42,911 INFO  [org.wildfly.extension.microprofile.opentracing] (ServerService Thread Pool -- 63) WFLYTRACEXT0001: Activating MicroProfile OpenTracing Subsystem
                2019-11-06 13:39:42,914 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 43) WFLYJCA0004: Deploying JDBC-compliant driver class org.h2.Driver (version 1.4)
                2019-11-06 13:39:42,925 INFO  [org.jboss.as.webservices] (ServerService Thread Pool -- 74) WFLYWS0002: Activating WebServices Extension
                2019-11-06 13:39:42,960 INFO  [org.wildfly.extension.io] (ServerService Thread Pool -- 52) WFLYIO001: Worker 'default' has auto-configured to 4 core threads with 32 task threads based on your 2 available processors
                2019-11-06 13:39:42,954 INFO  [org.jboss.as.security] (MSC service thread 1-2) WFLYSEC0001: Current PicketBox version=5.0.3.Final
                2019-11-06 13:39:42,990 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0003: Undertow 2.0.21.Final starting
                2019-11-06 13:39:43,036 INFO  [org.jboss.as.connector] (MSC service thread 1-3) WFLYJCA0009: Starting JCA Subsystem (WildFly/IronJacamar 1.4.16.Final)
                2019-11-06 13:39:43,068 INFO  [io.smallrye.metrics] (MSC service thread 1-4) Converted [2] config entries and added [4] replacements
                2019-11-06 13:39:43,055 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 73) WFLYUT0014: Creating file handler for path '/opt/wildfly-17.0.1.Final/welcome-content' with options [directory-listing: 'false', follow-symlink: 'false', case-sensitive: 'true', safe-symlink-paths: '[]']
                2019-11-06 13:39:43,102 INFO  [io.smallrye.metrics] (MSC service thread 1-4) Converted [3] config entries and added [18] replacements
                2019-11-06 13:39:43,244 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-3) WFLYJCA0018: Started Driver service with driver-name = h2
                2019-11-06 13:39:43,283 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-3) WFLYMAIL0001: Bound mail session [java:jboss/mail/Default]
                2019-11-06 13:39:43,313 INFO  [org.jboss.as.ejb3] (MSC service thread 1-1) WFLYEJB0481: Strict pool slsb-strict-max-pool is using a max instance size of 32 (per class), which is derived from thread worker pool sizing.
                2019-11-06 13:39:43,316 INFO  [org.jboss.as.ejb3] (MSC service thread 1-4) WFLYEJB0482: Strict pool mdb-strict-max-pool is using a max instance size of 8 (per class), which is derived from the number of CPUs on this host.
                2019-11-06 13:39:43,420 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0012: Started server default-server.
                2019-11-06 13:39:43,439 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0018: Host default-host starting
                2019-11-06 13:39:43,526 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-3) WFLYUT0006: Undertow HTTP listener default listening on 10.234.200.58:8080
                2019-11-06 13:39:43,690 INFO  [org.jboss.as.patching] (MSC service thread 1-2) WFLYPAT0050: WildFly Full cumulative patch ID is: base, one-off patches include: none
                2019-11-06 13:39:43,713 WARN  [org.jboss.as.domain.management.security] (MSC service thread 1-1) WFLYDM0111: Keystore /opt/wildfly-17.0.1.Final/standalone/configuration/application.keystore not found, it will be auto generated on first use with a self signed certificate for host localhost
                2019-11-06 13:39:43,731 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-3) WFLYDS0013: Started FileSystemDeploymentService for directory /opt/wildfly-17.0.1.Final/standalone/deployments
                2019-11-06 13:39:43,750 INFO  [org.jboss.as.ejb3] (MSC service thread 1-3) WFLYEJB0493: EJB subsystem suspension complete
                2019-11-06 13:39:43,790 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-4) WFLYJCA0001: Bound data source [java:jboss/datasources/ExampleDS]
                2019-11-06 13:39:43,832 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0006: Undertow HTTPS listener https listening on 10.234.200.58:8443
                2019-11-06 13:39:43,894 INFO  [org.jboss.ws.common.management] (MSC service thread 1-2) JBWS022052: Starting JBossWS 5.3.0.Final (Apache CXF 3.3.2)
                2019-11-06 13:39:44,008 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0212: Resuming server
                2019-11-06 13:39:44,010 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://10.234.200.58:9990/management
                2019-11-06 13:39:44,010 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://10.234.200.58:9990
                2019-11-06 13:39:44,010 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Full 17.0.1.Final (WildFly Core 9.0.2.Final) started in 3880ms - Started 314 of 576 services (369 services are lazy, passive or on-demand)

                • 5. Re: Can't access the wildfly admin console.
                  Vladimir Zhuravlevich Newbie

                  H,

                   

                  Looking at your logs and results from console, I dislike 2 things:

                  1. 2019-11-06 13:39:43,526 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-3) WFLYUT0006: Undertow HTTP listener default listening on 10.234.200.58:8080
                  2. nothing about 8080 after executing ss -ltu

                  In my case I see the following

                  • ./standalone.sh -b=0.0.0.0

                  0:09:31,816 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-6) WFLYUT0006: Undertow HTTP listener default listening on 0.0.0.0:8080

                  • netstat -nap | grep 8080

                  (Not all processes could be identified, non-owned process info

                  will not be shown, you would have to be root to see it all.)

                  tcp        0      0 0.0.0.0:8080            0.0.0.0:*              LISTEN      9094/java

                   

                  Could you have a look at WildFly Admin Guide one more time and probably share <interface> in the standalone.xml

                   

                  Thanks,

                  Vlad

                  • 7. Re: Can't access the wildfly admin console.
                    淳哉 大原 Newbie

                    The error message "page not found" is displayed on browser with error code  INET_E_RESOURCE_NOT_FOUND.

                     

                    Thank you.

                    • 8. Re: Can't access the wildfly admin console.
                      Wolfgang Mayer Master

                      Which browser are you using and is this browser also running under Redhat?
                      Do you get this message also when using another browser and clearing the cache?