[keycloak-user] Keycloak Server boot has failed in an unrecoverable manner

Dmitry Telegin dt at acutus.pro
Mon Jul 2 16:14:46 EDT 2018


Salam,

Running bin/standalone.sh doesn't restart server, it starts another
instance (which obviously fails to boot due to ports occupied by
previous instance). If you're using Docker, you can simply restart a
corresponding container.

Dmitry Telegin
CTO, Acutus s.r.o.
Keycloak Consulting and Training

Pod lipami street 339/52, 130 00 Prague 3, Czech Republic
+ 42 (022) 888-30-71
E-mail: info at acutus.pro

On Mon, 2018-07-02 at 14:34 +0530, Shaik Salam wrote:
> Hi,
> 
> I feel its known issue. Could you please respond anyone this.
> Thanks for valuable time.
> 
> BR
> Salam
> 
> 
> -----keycloak-user-bounces at lists.jboss.org wrote: -----
> To: keycloak-user at lists.jboss.org
> From: Shaik Salam 
> Sent by: keycloak-user-bounces at lists.jboss.org
> Date: 06/29/2018 01:00PM
> Cc: Murali Kottakota <murali.kottakota at tcs.com>
> Subject: Re: [keycloak-user] Keycloak Server boot has failed in an	
> unrecoverable manner
> 
> Hi,
> 
> 
> 
> We have installed docker on linux operating system in vm and running
> keycloak server as container.
> 
> Tying to restart server(ex: ./bin.standalone.sh) but boot is failed
> due to following port conflicts.
> 
> Could you please let us know is any modifications needed on ports or
> interface's ip address for respective files(ex:
> standalone.xml,host.xml etc).
> 
> Please provide suitable solution and in which files modification
> needs to do, to rectify following errors and find log file for more
> information. 
> 
> Thanks in advance.
> 
> 
> 
> 
> 11:10:48,087 ERROR [org.jboss.msc.service.fail] (MSC service thread
> 1-5) MSC000001: Failed to start service
> org.wildfly.undertow.listener.default:
> org.jboss.msc.service.StartException in service
> org.wildfly.undertow.listener.default: Address already in use
> /127.0.0.1:8080
>         at
> org.wildfly.extension.undertow.ListenerService.start(ListenerService.
> java:179)
>         at
> org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(Se
> rviceControllerImpl.java:2032)
>         at
> org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceCont
> rollerImpl.java:1955)
>         at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
> java:1149)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
> .java:624)
>         at java.lang.Thread.run(Thread.java:748)
> 
>   11:10:48,325 ERROR [org.jboss.msc.service.fail] (MSC service thread
> 1-6) MSC000001: Failed to start service
> org.wildfly.management.http.extensible:
> org.jboss.msc.service.StartException in service
> org.wildfly.management.http.extensible: java.net.BindException:
> Address already in use /127.0.0.1:9990
>         at
> org.jboss.as.server.mgmt.UndertowHttpManagementService.start(Undertow
> HttpManagementService.java:340)
>         at
> org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(Se
> rviceControllerImpl.java:2032)
>         at
> org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceCont
> rollerImpl.java:1955)
>         at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
> java:1149)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
> .java:624)
>         at java.lang.Thread.run(Thread.java:748)
> 
> 11:10:48,388 ERROR [org.jboss.msc.service.fail] (MSC service thread
> 1-6) MSC000001: Failed to start service
> org.wildfly.undertow.listener.https:
> org.jboss.msc.service.StartException in service
> org.wildfly.undertow.listener.https: Address already in use
> /127.0.0.1:8443
>         at
> org.wildfly.extension.undertow.ListenerService.start(ListenerService.
> java:179)
>         at
> org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(Se
> rviceControllerImpl.java:2032)
>         at
> org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceCont
> rollerImpl.java:1955)
>         at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
> java:1149)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
> .java:624)
>         at java.lang.Thread.run(Thread.java:748)
>  failure description: {
>     "WFLYCTL0080: Failed services" =>
> {"org.wildfly.management.http.extensible" => "java.net.BindException:
> Address already in use /127.0.0.1:9990"},
>     "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:" =>
> ["org.wildfly.management.http.extensible.shutdown"],
>         "Services that may be the cause:" =>
> ["jboss.remoting.remotingConnectorInfoService.http-remoting-
> connector"]
>     }
> }
> 11:10:49,024 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.discovery.\"keycloak-server.war\"",
>         "jboss.deployment.unit.\"keycloak-
> server.war\".component.\"com.sun.faces.config.ConfigureListener\".STA
> RT",
>         "jboss.deployment.unit.\"keycloak-
> server.war\".component.\"javax.faces.webapp.FacetTag\".START",
>         "jboss.deployment.unit.\"keycloak-
> server.war\".component.\"javax.servlet.jsp.jstl.tlv.PermittedTaglibsT
> LV\".START",
>         "jboss.deployment.unit.\"keycloak-
> server.war\".component.\"javax.servlet.jsp.jstl.tlv.ScriptFreeTLV\".S
> TART",
>         "jboss.deployment.unit.\"keycloak-
> server.war\".component.\"org.jboss.resteasy.plugins.server.servlet.Ht
> tpServlet30Dispatcher\".START",
>         "jboss.deployment.unit.\"keycloak-
> server.war\".component.\"org.keycloak.services.filters.KeycloakSessio
> nServletFilter\".START",
>         "jboss.deployment.unit.\"keycloak-
> server.war\".component.\"org.keycloak.services.listeners.KeycloakSess
> ionDestroyListener\".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"
>     ],
>     "Services that may be the cause:" =>
> ["jboss.remoting.remotingConnectorInfoService.http-remoting-
> connector"]
> }}
> 
> 
> 
> 
> BR
> 
> Salam
> 
>  
> =====-----=====-----=====
> Notice: The information contained in this e-mail
> message and/or attachments to it may contain 
> confidential or privileged information. If you are 
> not the intended recipient, any dissemination, use, 
> review, distribution, printing or copying of the 
> information contained in this e-mail message 
> and/or attachments to it are strictly prohibited. If 
> you have received this communication in error, 
> please notify us by reply e-mail or telephone and 
> immediately and permanently delete the message 
> and any attachments. Thank you
> 
> 
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user


More information about the keycloak-user mailing list