Very unusual why this should only occur when performing the second call,
but not also with the first one.
Looks like org.fusesource.jansi tries to load a native library but it's
looking for non-existing library. The question is why.
Could you open a JIRA?
On Tue, May 23, 2017 at 11:28 AM, Kevin Hirschmann <khirschmann(a)huebinet.de>
wrote:
Hello,
when running a windows batch file
call kcadm.bat create realms -s realm=%realmName% -s enabled=true -s
loginTheme=xxx
ECHO Realm created
REM update security-admin-client
set endpointSecurityClient=clients/465f668f-cefc-4d42-9bc0-0b62b6784b18
call kcadm.bat update %endpointSecurityClient% -r %realmName% -s
directAccessGrantsEnabled=true
The last line produces the following stacktrace:
New clientId is 465f668f-cefc-4d42-9bc0-0b62b6784b18
Exception in thread "main" java.lang.UnsatisfiedLinkError: Could not load
librar
y. Reasons: [no jansi64-2.5.4.Final in java.library.path, no
jansi-2.5.4.Final i
n java.library.path, no jansi in java.library.path, Die Syntax für den
Dateiname
n, Verzeichnisnamen oder die Datenträgerbezeichnung ist falsch]
at org.fusesource.hawtjni.runtime.Library.doLoad(Library.java:182)
at org.fusesource.hawtjni.runtime.Library.load(Library.java:140)
at org.fusesource.jansi.internal.Kernel32.<clinit>(Kernel32.
java:37)
at
org.fusesource.jansi.WindowsAnsiOutputStream.<clinit>(WindowsAnsiOutp
utStream.java:52)
at
org.jboss.aesh.terminal.WindowsTerminal.init(WindowsTerminal.java:63)
at org.jboss.aesh.console.Console.init(Console.java:190)
at org.jboss.aesh.console.Console.<init>(Console.java:118)
at
org.jboss.aesh.console.AeshConsoleImpl.<init>(AeshConsoleImpl.java:98
)
at
org.jboss.aesh.console.AeshConsoleBuilder.create(AeshConsoleBuilder.j
ava:160)
at org.keycloak.client.admin.cli.KcAdmMain.main(KcAdmMain.java:64)
This happens on Windows 8 and Windows 2012 Server
Keycloak 2.5.4
Wildfly 10.0.0
Has anyone an idea what configuration is missing?
Kind regards and thanks for your help
Kevin Hirschmann
HUEBINET Informationsmanagement GmbH & Co. KG
E-Mail: <mailto:kevin.hirschmann@huebinet.de>
kevin.hirschmann(a)huebinet.de
Internet: <
http://www.huebinet.de/> www.huebinet.de
HUEBINET Informationsmanagement GmbH & Co. KG
An der Königsbach 8
56075 Koblenz
Sitz und Registergericht: Koblenz HRA 5329
Persönlich haftender Gesellschafter der KG:
HUEBINET GmbH;
Sitz und Registergericht: Koblenz HRB 6857
Geschäftsführung:
Dr. Carsten Schöpp; Michael Biemer; Michael Ewertz
------------------------------------------------------------
----------------
------------------------------------------------------------
----------------
----------------
Der Nachrichtenaustausch mit HUEBINET Informationsmanagement GmbH & Co. KG,
Koblenz via E-Mail dient lediglich zu Informationszwecken.
Rechtsgeschäftliche Erklärungen mit verbindlichem Inhalt können über dieses
Medium nicht ausgetauscht werden, da die Manipulation von E-Mails durch
Dritte nicht ausgeschlossen werden kann.
Email communication with HUEBINET Informationsmanagement GmbH & Co. KG is
only intended to provide information of a general kind, and shall not be
used for any statement with binding contents in respect to legal relations.
It is not totally possible to prevent a third party from manipulating
emails
and email contents.
_______________________________________________
keycloak-user mailing list
keycloak-user(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user