Keycloak start fails after restart
See original GitHub issueAfter restart keycloak server it fails to start:
=========================================================================
JBoss Bootstrap Environment
JBOSS_HOME: /opt/jboss/keycloak
JAVA: /usr/lib/jvm/java/bin/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
=========================================================================
15:35:47,483 INFO [org.jboss.modules] (main) JBoss Modules version 1.6.0.Final
15:35:47,910 INFO [org.jboss.msc] (main) JBoss MSC version 1.2.7.SP1
15:35:48,102 INFO [org.jboss.as] (MSC service thread 1-7) WFLYSRV0049: Keycloak 3.3.0.CR2 (WildFly Core 3.0.1.Final) starting
15:35:49,916 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 future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
15:35:49,950 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 18) WFLYCTL0013: Operation ("add") failed - address: ([
("subsystem" => "datasources"),
("jdbc-driver" => "postgresql")
]) - failure description: "WFLYCTL0212: Duplicate resource [
(\"subsystem\" => \"datasources\"),
(\"jdbc-driver\" => \"postgresql\")
]"
15:35:49,957 INFO [org.wildfly.security] (ServerService Thread Pool -- 4) ELY00001: WildFly Elytron version 1.1.1.Final
15:35:49,988 INFO [org.jboss.as.controller.management-deprecated] (ServerService Thread Pool -- 24) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/subsystem=undertow/server=default-server/https-listener=https' 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.
15:35:50,090 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) "WFLYCTL0193: Failed executing subsystem datasources boot operations"
15:35:50,092 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("parallel-subsystem-boot") failed - address: ([]) - failure description: "\"WFLYCTL0193: Failed executing subsystem datasources boot operations\""
15:35:50,099 FATAL [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0056: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details.
steps to reproduce:
- run CHE in multi user mode:
docker run --rm -it -v /var/run/docker.sock:/var/run/docker.sock \
-v /Users/roman/development/codenvy_projects/.che_multi:/data \
-e CHE_MULTIUSER=true \
eclipse/che-cli:nightly start
please note that we use nightly
tags as we already in master
- restart keycloak server
docker restart <KEYCLOAK_CONTAINER_ID>
OR stop codenvy with CLI and start it again
Issue Analytics
- State:
- Created 6 years ago
- Comments:13 (12 by maintainers)
Top Results From Across the Web
Keycloak Docker container fails to start after restarting the ...
They want to concentrate on a workflow where a container is removed and recreated, not started and stopped. They agreed with the general...
Read more >[keycloak-user] Keycloak Server boot has ... - Jboss List Archives
Salam, Running bin/standalone.sh doesn't restart server, it starts another instance (which obviously fails to boot due to ports occupied by ...
Read more >Keycloak docker container cannot be restarted once ...
1. Start a docker keycloak container with env DB_VENDOR=postgres. 2. Stop the container. 3. Restart the container.
Read more >How to start keycloak automatically on server reboot
How can i automate this so it runs when ubuntu starts. ... You can do this with init.d or systemd scripts. Keycloak already...
Read more >Configuring distributed caches
The current distributed cache implementation is built on top of Infinispan, ... When you start Keycloak in production mode, by using the start...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@riuvshin : he restarted the build but it failed on their CI. I notified him and also asked for a new tag. He should answer very soon tonight or tomorrow.
Hi, i know it is along time ago, but do you remember what was the issue? Thnx.