On 9/21/2016 9:02 AM, Vlasta Ramik wrote:
Hi all,
I've tried a migration of keycloak-server.json to keycloak-server
subsystem following [1].
I had to remove the default content of keycloak-server subsystem to make
it work.
<subsystem xmlns="urn:jboss:domain:keycloak-server:1.1">
<web-context>auth</web-context>
</subsystem>
That's correct. The migrate-json tool is meant to be used
when you are
migrating from an older version of the server. To do that, you would
copy your old standalone.xml to the new server and then run migrate-json.
You wouldn't migrate a standalone.xml that already has the new subsystem
declarations.
This probably needs to be made more clear in the documentation.
When I left the content unchanged I got
[standalone@embedded /] /subsystem=keycloak-server/:migrate-json
{
"outcome" => "failed",
"failure-description" => "WFLYCTL0212: Duplicate resource [
(\"subsystem\" => \"keycloak-server\"),
(\"theme\" => \"defaults\")
]",
"rolled-back" => true
}
The question is if it is required step. If so it should be added to the
docs [1], if not I'll create a jira.
Vlasta
[1]
https://keycloak.gitbooks.io/server-adminstration-guide/content/v/2.2/top...
_______________________________________________
keycloak-dev mailing list
keycloak-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-dev