[keycloak-user] Executing kcadmin - missing jansi64 library

Kevin Hirschmann khirschmann at huebinet.de
Tue May 23 05:28:48 EDT 2017


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 at huebinet.de>
kevin.hirschmann at 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.

 

 

 



More information about the keycloak-user mailing list