Is there something in server log when you start the server? Especially
look at logged lines from "ExportImportManager" and "ImportUtils"
categories.
Could you also try to use absolute path for the file (just for sure?).
You used "paas.json", but later you mentioned "pass.json", but I
believe
this is just typo in email rather than bad file path?
Marek
On 31/08/15 15:16, Nangunoori, Srinivas wrote:
Hi Experts,
I am trying to import multiple relams info through single json file
using following command, here pass.json has multiple realm info. But,
only last realm is getting imported in keycloak
bin/standalone.sh -c standalone-ha.xml -b=<server name>
-bmanagement=<server name> -Djboss.node.name=<server name>
-Dkeycloak.migration.action=import
-Dkeycloak.migration.provider=singleFile
-Dkeycloak.migration.file=paas.json
Here pass.json has multiple realm info. But, only last realm is
getting imported in keycloak.
JSON has info.,
[
{
"realm" : "Test1",
-----
},
{
"realm" : "Test2",
-----
}
]
In this case, always “Test2” is getting imported not the “Test1”.
Regards,
Srini
_______________________________________________
keycloak-user mailing list
keycloak-user(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user