keycloak installation failure: WFLYCTL0212: Duplicate resource

2,681 views
Skip to first unread message

Paolo Marcheschi

unread,
May 31, 2017, 11:51:03 AM5/31/17
to dcm4che
Hi
I'm trying to follow
https://github.com/dcm4che/dcm4chee-arc-light/wiki/Installation-and-Configuration

but when I try to execute point 5 I got


./jboss-cli.sh --file=keycloak-install.cli

{
    "outcome" => "failed",
    "failure-description" => "WFLYCTL0212: Duplicate resource [
    (\"subsystem\" => \"datasources\"),
    (\"data-source\" => \"KeycloakDS\")
]",
    "rolled-back" => true
}

What is the problem ?

Thank you
Paolo

vrinda...@j4care.com

unread,
Jun 1, 2017, 6:18:10 AM6/1/17
to dcm4che
Hi,

The error indicates that there is already a Keycloak Datasource in your Wildfly configuration. Is this a new Installation that you are trying to do or is it some upgrade from and earlier version?

Paolo Marcheschi

unread,
Jun 6, 2017, 10:54:52 AM6/6/17
to dcm4che
Hi Vrinda,
I'm so sorry for the delay
this is a new installation, I'm trying to make it work installing dcm4che-arc-light secure  from bash script, but with no luck .
 when i try to reach localhost:8080/dcm4chee-arc/ui2/ it says "forbidden"

I can access the keycloack console at:
localhost:8080/auth
and I have the dcm4che realm.

Paolo

vrinda...@j4care.com

unread,
Jun 9, 2017, 4:20:35 AM6/9/17
to dcm4che
Hi,

Can you check the values in the wildfly configuration keycloak subsystem section? The values should match exactly with what you have set in realm/clients in your keycloak admin.
Also since version 5.10.2, you need to check the war name that you have in wildfly configuration file. For eg. it should be dcm4chee-arc-ui2-5.10.2-secure.war and not dcm4chee-arc-ui-5.10.2-secure.war

Paolo Marcheschi

unread,
Jun 9, 2017, 8:40:27 AM6/9/17
to dcm4che
exactly this was the problem !!
I downloaded the new file from github (was 5.10.3 instead 5.10.2)

Now it works !!

Thank you very much
Paolo
Reply all
Reply to author
Forward
0 new messages