5 Replies Latest reply on Nov 23, 2018 7:52 AM by mayerw01

    Error on Http

    aman.jaiswal

      /home/ubuntu/keycloak/keycloak-2.1.0.Final/bin/standalone.sh --server-config=standalone-ha.xml -b=$ip -Djboss.default.jgroups.stack=s3 -Djgroups.s3.bucket=keycloak-dev -Djgroups.s3.access_key=AKIAJLZZOFCWT37CYAXQ -Djgroups.s3.secret_access_key=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 -Djgroups.management.address=$ip

      =========================================================================

       

       

        JBoss Bootstrap Environment

       

       

        JBOSS_HOME: /home/ubuntu/keycloak/keycloak-2.1.0.Final

       

       

        JAVA: java

       

       

        JAVA_OPTS:  -server -Xms64m -Xmx512m -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true

       

       

      =========================================================================

       

       

      05:17:39,625 INFO  [org.jboss.modules] (main) JBoss Modules version 1.5.1.Final

      05:17:39,882 INFO  [org.jboss.msc] (main) JBoss MSC version 1.2.6.Final

      05:17:39,966 INFO  [org.jboss.as] (MSC service thread 1-2) WFLYSRV0049: Keycloak 2.1.0.Final (WildFly Core 2.0.10.Final) starting

      05:17:41,394 INFO  [org.jboss.as.controller.management-deprecated] (ServerService Thread Pool -- 22) WFLYCTL0028: Attribute 'default-stack' in the resource at address '/subsystem=jgroups' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.

      05:17:41,648 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating http management service using socket-binding (management-http)

      05:17:41,669 INFO  [org.xnio] (MSC service thread 1-2) XNIO version 3.3.4.Final

      05:17:41,696 INFO  [org.xnio.nio] (MSC service thread 1-2) XNIO NIO Implementation Version 3.3.4.Final

      05:17:41,757 INFO  [org.jboss.remoting] (MSC service thread 1-2) JBoss Remoting version 4.0.18.Final

      05:17:41,977 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 32) WFLYCLINF0001: Activating Infinispan subsystem.

      05:17:41,997 INFO  [org.wildfly.extension.io] (ServerService Thread Pool -- 31) WFLYIO001: Worker 'default' has auto-configured to 4 core threads with 32 task threads based on your 2 available processors

      05:17:42,018 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 28) WFLYJCA0005: Deploying non-JDBC-compliant driver class com.mysql.jdbc.Driver (version 5.1)

      05:17:42,042 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 28) WFLYJCA0004: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)

      05:17:42,060 INFO  [org.jboss.as.connector] (MSC service thread 1-4) WFLYJCA0009: Starting JCA Subsystem (WildFly/IronJacamar 1.3.2.Final)

      05:17:42,068 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-4) WFLYJCA0018: Started Driver service with driver-name = h2

      05:17:42,068 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-3) WFLYJCA0018: Started Driver service with driver-name = mysql

      05:17:42,068 INFO  [org.jboss.as.clustering.jgroups] (ServerService Thread Pool -- 36) WFLYCLJG0001: Activating JGroups subsystem.

      05:17:42,150 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 46) WFLYSEC0002: Activating Security Subsystem

      05:17:42,159 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 42) WFLYNAM0001: Activating Naming Subsystem

      05:17:42,151 INFO  [org.jboss.as.jsf] (ServerService Thread Pool -- 39) WFLYJSF0007: Activated the following JSF Implementations: [main]

      05:17:42,182 INFO  [org.jboss.as.security] (MSC service thread 1-2) WFLYSEC0001: Current PicketBox version=4.9.4.Final

      05:17:42,266 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 48) WFLYUT0003: Undertow 1.3.15.Final starting

      05:17:42,275 INFO  [org.jboss.as.naming] (MSC service thread 1-3) WFLYNAM0003: Starting Naming Service

      05:17:42,266 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0003: Undertow 1.3.15.Final starting

      05:17:42,294 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-2) WFLYMAIL0001: Bound mail session [java:jboss/mail/Default]

      05:17:42,479 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 48) WFLYUT0014: Creating file handler for path '/home/ubuntu/keycloak/keycloak-2.1.0.Final/welcome-content' with options [directory-listing: 'false', follow-symlink: 'false', case-sensitive: 'true', safe-symlink-paths: '[]']

      05:17:42,484 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0012: Started server default-server.

      05:17:42,566 INFO  [org.jboss.as.ejb3] (MSC service thread 1-3) 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.

      05:17:42,567 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-3) WFLYUT0018: Host default-host starting

      05:17:42,566 INFO  [org.jboss.as.ejb3] (MSC service thread 1-1) 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.

      05:17:42,636 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC000001: Failed to start service jboss.undertow.listener.ajp: org.jboss.msc.service.StartException in service jboss.undertow.listener.ajp: Could not start http listener

        at org.wildfly.extension.undertow.ListenerService.start(ListenerService.java:142)

        at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)

        at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

        at java.lang.Thread.run(Thread.java:745)

      Caused by: java.net.BindException: Address already in use

        at sun.nio.ch.Net.bind0(Native Method)

        at sun.nio.ch.Net.bind(Net.java:433)

        at sun.nio.ch.Net.bind(Net.java:425)

        at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)

        at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)

        at org.xnio.nio.NioXnioWorker.createTcpConnectionServer(NioXnioWorker.java:190)

        at org.xnio.XnioWorker.createStreamConnectionServer(XnioWorker.java:243)

        at org.wildfly.extension.undertow.AjpListenerService.startListening(AjpListenerService.java:64)

        at org.wildfly.extension.undertow.ListenerService.start(ListenerService.java:138)

        ... 5 more

       

       

      05:17:42,654 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC000001: Failed to start service jboss.undertow.listener.default: org.jboss.msc.service.StartException in service jboss.undertow.listener.default: Could not start http listener

        at org.wildfly.extension.undertow.ListenerService.start(ListenerService.java:142)

        at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)

        at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

        at java.lang.Thread.run(Thread.java:745)

      Caused by: java.net.BindException: Address already in use

        at sun.nio.ch.Net.bind0(Native Method)

        at sun.nio.ch.Net.bind(Net.java:433)

        at sun.nio.ch.Net.bind(Net.java:425)

        at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)

        at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)

        at org.xnio.nio.NioXnioWorker.createTcpConnectionServer(NioXnioWorker.java:190)

        at org.xnio.XnioWorker.createStreamConnectionServer(XnioWorker.java:243)

        at org.wildfly.extension.undertow.HttpListenerService.startListening(HttpListenerService.java:126)

        at org.wildfly.extension.undertow.ListenerService.start(ListenerService.java:138)

        ... 5 more

       

       

      05:17:42,905 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) WFLYJCA0001: Bound data source [java:jboss/datasources/ExampleDS]

      05:17:42,906 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-1) WFLYJCA0001: Bound data source [java:jboss/datasources/KeycloakDS]

      05:17:43,022 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0027: Starting deployment of "keycloak-server.war" (runtime-name: "keycloak-server.war")

      05:17:43,082 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC000001: Failed to start service jboss.serverManagement.controller.management.http: org.jboss.msc.service.StartException in service jboss.serverManagement.controller.management.http: WFLYSRV0083: Failed to start the http-interface service

        at org.jboss.as.server.mgmt.UndertowHttpManagementService.start(UndertowHttpManagementService.java:271)

        at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)

        at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

        at java.lang.Thread.run(Thread.java:745)

      Caused by: java.lang.RuntimeException: java.net.BindException: Address already in use

        at org.jboss.as.domain.http.server.ManagementHttpServer.start(ManagementHttpServer.java:157)

        at org.jboss.as.server.mgmt.UndertowHttpManagementService.start(UndertowHttpManagementService.java:237)

        ... 5 more

      Caused by: java.net.BindException: Address already in use

        at sun.nio.ch.Net.bind0(Native Method)

        at sun.nio.ch.Net.bind(Net.java:433)

        at sun.nio.ch.Net.bind(Net.java:425)

        at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)

        at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)

        at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:67)

        at org.xnio.nio.NioXnioWorker.createTcpConnectionServer(NioXnioWorker.java:192)

        at org.xnio.XnioWorker.createStreamConnectionServer(XnioWorker.java:243)

        at org.jboss.as.domain.http.server.ManagementHttpServer.start(ManagementHttpServer.java:144)

        ... 6 more

       

       

      05:17:43,659 WARN  [org.jgroups.protocols.UDP] (MSC service thread 1-4) JGRP000015: the send buffer of socket ManagedDatagramSocketBinding was set to 1MB, but the OS only allocated 212.99KB. This might lead to performance problems. Please set your max send buffer in the OS correctly (e.g. net.core.wmem_max on Linux)

      05:17:43,660 WARN  [org.jgroups.protocols.UDP] (MSC service thread 1-4) JGRP000015: the receive buffer of socket ManagedDatagramSocketBinding was set to 20MB, but the OS only allocated 212.99KB. This might lead to performance problems. Please set your max receive buffer in the OS correctly (e.g. net.core.rmem_max on Linux)

      05:17:43,660 WARN  [org.jgroups.protocols.UDP] (MSC service thread 1-4) JGRP000015: the send buffer of socket ManagedMulticastSocketBinding was set to 1MB, but the OS only allocated 212.99KB. This might lead to performance problems. Please set your max send buffer in the OS correctly (e.g. net.core.wmem_max on Linux)

      05:17:43,661 WARN  [org.jgroups.protocols.UDP] (MSC service thread 1-4) JGRP000015: the receive buffer of socket ManagedMulticastSocketBinding was set to 25MB, but the OS only allocated 212.99KB. This might lead to performance problems. Please set your max receive buffer in the OS correctly (e.g. net.core.rmem_max on Linux)

      05:17:44,260 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service thread 1-1) ISPN000078: Starting JGroups channel hibernate

      05:17:44,260 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service thread 1-3) ISPN000078: Starting JGroups channel keycloak

      05:17:44,260 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service thread 1-4) ISPN000078: Starting JGroups channel ejb

      05:17:44,262 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service thread 1-2) ISPN000078: Starting JGroups channel server

      05:17:44,275 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service thread 1-3) ISPN000094: Received new cluster view for channel keycloak: [ip-10-1-3-93|15] (2) [ip-10-1-3-93, ip-10-1-3-93]

      05:17:44,279 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service thread 1-3) ISPN000079: Channel keycloak local address is ip-10-1-3-93, physical addresses are [127.0.0.1:55201]

      05:17:44,280 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service thread 1-1) ISPN000094: Received new cluster view for channel hibernate: [ip-10-1-3-93|15] (2) [ip-10-1-3-93, ip-10-1-3-93]

      05:17:44,281 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service thread 1-1) ISPN000079: Channel hibernate local address is ip-10-1-3-93, physical addresses are [127.0.0.1:55201]

      05:17:44,280 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service thread 1-4) ISPN000094: Received new cluster view for channel ejb: [ip-10-1-3-93|15] (2) [ip-10-1-3-93, ip-10-1-3-93]

      05:17:44,280 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service thread 1-2) ISPN000094: Received new cluster view for channel server: [ip-10-1-3-93|15] (2) [ip-10-1-3-93, ip-10-1-3-93]

      05:17:44,282 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service thread 1-2) ISPN000079: Channel server local address is ip-10-1-3-93, physical addresses are [127.0.0.1:55201]

      05:17:44,282 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service thread 1-4) ISPN000079: Channel ejb local address is ip-10-1-3-93, physical addresses are [127.0.0.1:55201]

      05:17:44,363 INFO  [org.infinispan.factories.GlobalComponentRegistry] (MSC service thread 1-1) ISPN000128: Infinispan version: Infinispan 'Mahou' 8.1.0.Final

      05:17:44,363 INFO  [org.infinispan.factories.GlobalComponentRegistry] (MSC service thread 1-2) ISPN000128: Infinispan version: Infinispan 'Mahou' 8.1.0.Final

      05:17:44,398 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service thread 1-1) ISPN000078: Starting JGroups channel web

      05:17:44,410 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service thread 1-1) ISPN000094: Received new cluster view for channel web: [ip-10-1-3-93|15] (2) [ip-10-1-3-93, ip-10-1-3-93]

      05:17:44,411 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service thread 1-1) ISPN000079: Channel web local address is ip-10-1-3-93, physical addresses are [127.0.0.1:55201]

      05:17:44,920 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 56) WFLYCLINF0002: Started realms cache from keycloak container

      05:17:44,941 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 55) WFLYCLINF0002: Started users cache from keycloak container

      05:17:45,037 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 51) WFLYCLINF0002: Started loginFailures cache from keycloak container

      05:17:45,051 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 53) WFLYCLINF0002: Started offlineSessions cache from keycloak container

      05:17:45,053 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 50) WFLYCLINF0002: Started work cache from keycloak container

      05:17:45,055 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 54) WFLYCLINF0002: Started sessions cache from keycloak container

      05:17:45,285 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([

          ("core-service" => "management"),

          ("management-interface" => "http-interface")

      ]) - failure description: {

          "WFLYCTL0080: Failed services" => {"jboss.serverManagement.controller.management.http" => "org.jboss.msc.service.StartException in service jboss.serverManagement.controller.management.http: WFLYSRV0083: Failed to start the http-interface service

          Caused by: java.lang.RuntimeException: java.net.BindException: Address already in use

          Caused by: java.net.BindException: Address already in use"},

          "WFLYCTL0288: One or more services were unable to start due to one or more indirect dependencies not being available." => {

              "Services that were unable to start:" => ["jboss.serverManagement.controller.management.http.shutdown"],

              "Services that may be the cause:" => ["jboss.remoting.remotingConnectorInfoService.http-remoting-connector"]

          }

      }

      05:17:45,288 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([("deployment" => "keycloak-server.war")]) - failure description: {"WFLYCTL0288: One or more services were unable to start due to one or more indirect dependencies not being available." => {

          "Services that were unable to start:" => [

              "jboss.deployment.unit.\"keycloak-server.war\".component.\"com.sun.faces.config.ConfigureListener\".START",

              "jboss.deployment.unit.\"keycloak-server.war\".component.\"javax.faces.webapp.FacetTag\".START",

              "jboss.deployment.unit.\"keycloak-server.war\".component.\"javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV\".START",

              "jboss.deployment.unit.\"keycloak-server.war\".component.\"javax.servlet.jsp.jstl.tlv.ScriptFreeTLV\".START",

              "jboss.deployment.unit.\"keycloak-server.war\".component.\"org.jboss.resteasy.plugins.server.servlet.HttpServlet30Dispatcher\".START",

              "jboss.deployment.unit.\"keycloak-server.war\".component.\"org.keycloak.services.filters.KeycloakSessionServletFilter\".START",

              "jboss.deployment.unit.\"keycloak-server.war\".component.\"org.keycloak.services.listeners.KeycloakSessionDestroyListener\".START",

              "jboss.deployment.unit.\"keycloak-server.war\".deploymentCompleteService",

              "jboss.deployment.unit.\"keycloak-server.war\".ejb3.client-context.registration-service",

              "jboss.undertow.deployment.default-server.default-host./auth",

              "jboss.undertow.deployment.default-server.default-host./auth.UndertowDeploymentInfoService"

          ],

         "Services that may be the cause:" => ["jboss.remoting.remotingConnectorInfoService.http-remoting-connector"]

      }}

      05:17:45,289 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([

          ("subsystem" => "undertow"),

          ("server" => "default-server"),

          ("ajp-listener" => "ajp")

      ]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.undertow.listener.ajp" => "org.jboss.msc.service.StartException in service jboss.undertow.listener.ajp: Could not start http listener

          Caused by: java.net.BindException: Address already in use"}}

      05:17:45,294 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([

          ("subsystem" => "undertow"),

          ("server" => "default-server"),

          ("http-listener" => "default")

      ]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.undertow.listener.default" => "org.jboss.msc.service.StartException in service jboss.undertow.listener.default: Could not start http listener

          Caused by: java.net.BindException: Address already in use"}}

      05:17:45,296 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([("subsystem" => "ejb3")]) - failure description: {"WFLYCTL0288: One or more services were unable to start due to one or more indirect dependencies not being available." => {

          "Services that were unable to start:" => [

              "jboss.ejb.default-local-ejb-receiver-service",

              "jboss.ejb3.ejbClientContext.default",

              "jboss.ejb3.localEjbReceiver.value"

          ],

          "Services that may be the cause:" => ["jboss.remoting.remotingConnectorInfoService.http-remoting-connector"]

      }}

      05:17:45,298 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([

          ("subsystem" => "ejb3"),

          ("service" => "remote")

      ]) - failure description: {"WFLYCTL0180: Services with missing/unavailable dependencies" => ["jboss.ejb3.connector is missing [jboss.remoting.remotingConnectorInfoService.http-remoting-connector]"]}

      05:17:45,350 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 49) WFLYSRV0010: Deployed "keycloak-server.war" (runtime-name : "keycloak-server.war")

      05:17:45,351 INFO  [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report

      WFLYCTL0184:    New missing/unsatisfied dependencies:

            service jboss.remoting.remotingConnectorInfoService.http-remoting-connector (missing) dependents: [service jboss.ejb3.connector]

      WFLYCTL0186:  Services which failed to start:      service jboss.undertow.listener.default: org.jboss.msc.service.StartException in service jboss.undertow.listener.default: Could not start http listener

            service jboss.serverManagement.controller.management.http: org.jboss.msc.service.StartException in service jboss.serverManagement.controller.management.http: WFLYSRV0083: Failed to start the http-interface service

            service jboss.undertow.listener.ajp: org.jboss.msc.service.StartException in service jboss.undertow.listener.ajp: Could not start http listener

       

       

      05:17:45,523 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0063: Http management interface is not enabled

      05:17:45,523 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0054: Admin console is not enabled

      05:17:45,524 ERROR [org.jboss.as] (Controller Boot Thread) WFLYSRV0026: Keycloak 2.1.0.Final (WildFly Core 2.0.10.Final) started (with errors) in 6292ms - Started 438 of 833 services (19 services failed or missing dependencies, 581 services are lazy, passive or on-demand)

      ^C05:18:01,783 INFO  [org.jboss.as.server] (Thread-2) WFLYSRV0220: Server shutdown has been requested.

      05:18:01,821 INFO  [org.jboss.modcluster] (ServerService Thread Pool -- 54) MODCLUSTER000002: Initiating mod_cluster shutdown

      05:18:01,836 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service thread 1-3) ISPN000080: Disconnecting JGroups channel server

      05:18:01,836 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service thread 1-3) ISPN000082: Stopping the RpcDispatcher for channel server

      05:18:01,838 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-1) WFLYJCA0010: Unbound data source [java:jboss/datasources/KeycloakDS]

      05:18:01,843 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0019: Host default-host stopping

      05:18:01,844 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service thread 1-1) ISPN000080: Disconnecting JGroups channel web

      05:18:01,857 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service thread 1-4) ISPN000080: Disconnecting JGroups channel hibernate

      05:18:01,857 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service thread 1-2) ISPN000080: Disconnecting JGroups channel ejb

      05:18:01,858 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service thread 1-4) ISPN000082: Stopping the RpcDispatcher for channel hibernate

      05:18:01,858 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service thread 1-2) ISPN000082: Stopping the RpcDispatcher for channel ejb

      05:18:01,857 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-3) WFLYJCA0010: Unbound data source [java:jboss/datasources/ExampleDS]

      05:18:01,870 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-4) WFLYJCA0019: Stopped Driver service with driver-name = mysql

      05:18:01,867 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0004: Undertow 1.3.15.Final stopping

      05:18:01,857 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service thread 1-1) ISPN000082: Stopping the RpcDispatcher for channel web

      05:18:01,884 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-2) WFLYJCA0019: Stopped Driver service with driver-name = h2

      05:18:01,904 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 22) WFLYCLINF0003: Stopped sessions cache from keycloak container

      05:18:01,904 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 20) WFLYCLINF0003: Stopped users cache from keycloak container

      05:18:01,911 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 54) WFLYCLINF0003: Stopped realms cache from keycloak container

      05:18:01,910 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 23) WFLYCLINF0003: Stopped loginFailures cache from keycloak container

      05:18:01,905 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 25) WFLYCLINF0003: Stopped offlineSessions cache from keycloak container

      05:18:01,905 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 19) WFLYCLINF0003: Stopped work cache from keycloak container

      05:18:01,915 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service thread 1-2) ISPN000080: Disconnecting JGroups channel keycloak

      05:18:01,915 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service thread 1-2) ISPN000082: Stopping the RpcDispatcher for channel keycloak

      05:18:01,936 INFO  [org.hibernate.validator.internal.util.Version] (MSC service thread 1-4) HV000001: Hibernate Validator 5.2.3.Final

      ^C05:18:02,048 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0028: Stopped deployment keycloak-server.war (runtime-name: keycloak-server.war) in 246ms

      05:18:02,057 INFO  [org.jboss.as] (MSC service thread 1-1) WFLYSRV0050: Keycloak 2.1.0.Final (WildFly Core 2.0.10.Final) stopped in 217ms

       

       

      ubuntu@ip-10-1-3-93:~$

        • 1. Re: Error on Http
          mayerw01

          >>>> Caused by: java.net.BindException: Address already in use

          Apparently there is already another (WildFly) instance started which occupies this port

           

          • 2. Re: Error on Http
            aman.jaiswal

            Hi

            How to start keyclock server on debug mode ?

            • 3. Re: Error on Http
              mayerw01

              Like any othe WildFly instance the keyclock can be started in debug mode via

              standalone.sh  --debug

              But you can check if another instance is using this port via

              fuser -n tcp  8080

              • 4. Re: Error on Http
                marlowa42

                Indeed. I wish the error message mentioned which port number. Port 8080 tends to get used for loads of things so I always pick a different one when using wildfly. However, I am still getting this error and would like confirmation as to which port number it is trying to use.

                • 5. Re: Error on Http
                  mayerw01

                  In your standalone.xml (standalone-ha.xml) you can check the <socket-binding-group> section. The entries should be like:

                   

                  socket-binding-group name="standard-sockets" default-interface="public" port-offset="${jboss.socket.binding.port-offset:0}">

                          <socket-binding name="management-http" interface="management" port="${jboss.management.http.port:9990}"/>

                          <socket-binding name="management-https" interface="management" port="${jboss.management.https.port:9993}"/>

                          <socket-binding name="ajp" port="${jboss.ajp.port:8009}"/>

                          <socket-binding name="http" port="${jboss.http.port:8080}"/>

                          <socket-binding name="https" port="${jboss.https.port:8443}"/>

                          <socket-binding name="txn-recovery-environment" port="4712"/>

                          <socket-binding name="txn-status-manager" port="4713"/>

                          <outbound-socket-binding name="mail-smtp">

                              <remote-destination host="localhost" port="25"/>

                          </outbound-socket-binding>

                      </socket-binding-group>

                   

                  So in this example the default http application port is 8080 and the defaullt http management port is 9990.

                  But you should make sure that no ports mentionen in this section (or overwritten in the start up) are occupied ba another process.