[keycloak-user] issue with jboss/keycloak:4.8.3.Final image
Lorenzo Luconi Trombacchi
lorenzo.luconi at iit.cnr.it
Thu Feb 7 08:09:28 EST 2019
> Il giorno 7 feb 2019, alle ore 14:06, Meissa M'baye Sakho <msakho at redhat.com> ha scritto:
>
> Lorenzo,
> you have to type something one connected to the cli. Just after your command.
yes, anyway I tried also your command.
> try this one for example (or any other):
> /core-service=platform-mbean/type=runtime:read-attribute(name=system-properties)
[standalone at localhost:9990 /] /core-service=platform-mbean/type=runtime:read-attribute(name=system-properties)
{
"outcome" => "success",
"result" => {
"[Standalone]" => "",
"awt.toolkit" => "sun.awt.X11.XToolkit",
"file.encoding" => "UTF-8",
"file.encoding.pkg" => "sun.io",
"file.separator" => "/",
"java.awt.graphicsenv" => "sun.awt.X11GraphicsEnvironment",
"java.awt.headless" => "true",
"java.awt.printerjob" => "sun.print.PSPrinterJob",
"java.class.path" => "/opt/jboss/keycloak/jboss-modules.jar",
"java.class.version" => "52.0",
"java.endorsed.dirs" => "/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.191.b12-0.el7_5.x86_64/jre/lib/endorsed",
"java.ext.dirs" => "/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.191.b12-0.el7_5.x86_64/jre/lib/ext:/usr/java/packages/lib/ext",
"java.home" => "/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.191.b12-0.el7_5.x86_64/jre",
"java.io.tmpdir" => "/tmp",
"java.library.path" => "/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib",
"java.naming.factory.url.pkgs" => "org.jboss.as.naming.interfaces",
"java.net.preferIPv4Stack" => "true”,
…..
Lorenzo
>
>
> MEISSA SAKHO
> ARCHITECT EMEA TECH SPECIALIST
> Red Hat <https://www.redhat.com/>
> M: +33 (0) 6 9559 7778
>
> <https://red.ht/sig> TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>
>
> Le jeu. 7 févr. 2019 à 13:58, Lorenzo Luconi Trombacchi <lorenzo.luconi at iit.cnr.it <mailto:lorenzo.luconi at iit.cnr.it>> a écrit :
> For me it works:
>
> $ docker run -it --rm --name keycloak jboss/keycloak:4.8.3.Final
>
> $ docker exec -it keycloak /opt/jboss/keycloak/bin/jboss-cli.sh --connect
> [standalone at localhost:9990 /]
>
> Lorenzo
>
> > Il giorno 7 feb 2019, alle ore 13:49, Meissa M'baye Sakho <msakho at redhat.com <mailto:msakho at redhat.com>> ha scritto:
> >
> > I'm trying to connect to the cli inside a docker container built on the
> > keycloak:4.8.3.Final docker image.
> > When I'm inside the container, once I execute the following command i the
> > keycloak bin directory.
> > ./jboss-cli.sh --connect
> > I'm getting the following eroors when I try to type anything.
> > [standalone at localhost:9990 /] Exception in thread "CLI Terminal Connection
> > (uninterruptable)" java.lang.ArithmeticException: / by zero
> > at org.aesh.readline.Buffer.printInsertedData(Buffer.java:582)
> > at org.aesh.readline.Buffer.insert(Buffer.java:231)
> > at
> > org.aesh.readline.AeshConsoleBuffer.writeChar(AeshConsoleBuffer.java:130)
> > at
> > org.aesh.readline.Readline$AeshInputProcessor.parse(Readline.java:262)
> > at
> > org.aesh.readline.Readline$AeshInputProcessor.access$100(Readline.java:174)
> > at org.aesh.readline.Readline.readInput(Readline.java:95)
> > at org.aesh.readline.Readline.access$1000(Readline.java:57)
> > at
> > org.aesh.readline.Readline$AeshInputProcessor.lambda$start$1(Readline.java:333)
> > at org.aesh.terminal.EventDecoder.accept(EventDecoder.java:118)
> > at org.aesh.terminal.EventDecoder.accept(EventDecoder.java:31)
> > at org.aesh.io.Decoder.write(Decoder.java:133)
> > at
> > org.aesh.readline.tty.terminal.TerminalConnection.openBlocking(TerminalConnection.java:216)
> > at
> > org.aesh.readline.tty.terminal.TerminalConnection.openBlocking(TerminalConnection.java:203)
> > at
> > org.jboss.as.cli.impl.ReadlineConsole$CLITerminalConnection.lambda$null$1(ReadlineConsole.java:176)
> > Any advice?
> >
> > MEISSA SAKHO
> > _______________________________________________
> > keycloak-user mailing list
> > keycloak-user at lists.jboss.org <mailto:keycloak-user at lists.jboss.org>
> > https://lists.jboss.org/mailman/listinfo/keycloak-user <https://lists.jboss.org/mailman/listinfo/keycloak-user>
>
More information about the keycloak-user
mailing list