sbrandt68
Returning Observer

fs-cli mit Java 11 ausführen

Jump to solution

Hallo

kann man die fs-cli auch mit Java 11 ausführen oder gibt es dort Probleme.

Ich bekomme die folgende Fehlermeldung:

2019-03-05 12:47:26,879  INFO Cli - Build for FirstSpirit version 5.2.181206

2019-03-05 12:47:26,894 DEBUG ReflectionUtils - Found annotated method for description for class com.espirit.moddev.cli.commands.export.ExportCommand

2019-03-05 12:47:26,894 DEBUG ReflectionUtils - Dynamic description found and used for class com.espirit.moddev.cli.commands.export.ExportCommand

2019-03-05 12:47:27,035  INFO Cli - Executing ExportCommand

2019-03-05 12:47:27,050 DEBUG ConnectionBuilder - Create connection for FirstSpirit server at 'staging.fs52.cms.iv.local:80' with user 'sbrandt'...

2019-03-05 12:47:27,549 ERROR FSHttpClientImpl - FSHttpClient error - javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)

2019-03-05 12:47:28,563 ERROR Cli - Exception occurred during context initialization or command execution

Connection closed

    at com.espirit.moddev.cli.CliContextImpl.openConnection(CliContextImpl.java:106)

    at com.espirit.moddev.cli.CliContextImpl.<init>(CliContextImpl.java:79)

    at com.espirit.moddev.cli.Cli.getCliContextOrNull(Cli.java:260)

    at com.espirit.moddev.cli.Cli.executeCommand(Cli.java:220)

    at com.espirit.moddev.cli.Cli.execute(Cli.java:132)

    at com.espirit.moddev.cli.Cli.main(Cli.java:105)

    at com.espirit.moddev.cli.Main.main(Main.java:11)

Labels (1)
Tags (1)
0 Kudos
1 Solution

Accepted Solutions
sbrandt68
Returning Observer

Re: fs-cli mit Java 11 ausführen

Jump to solution

Hallo, ich habe mal weiter getestet. Das ging auch nicht.

Aber eine Lösung habe ich trotzdem gefunden. Es lag an der verwendeten fs-access.jar. Diese (2019-01) war eine Version älter als die FS-Server Version (2019-02).

Mit der passenden fs-access.jar aus version 2019-02 ging die Verbindung wieder.

Die ausgegebene Fehlermeldung (FSHttpClientImpl - FSHttpClient error - javax.net.ssl.SSLHandshakeException) war hier sehr irreführend.

Nun hat es mit Java 11 und Java 8 funktioniert.

View solution in original post

0 Kudos
2 Replies

Re: fs-cli mit Java 11 ausführen

Jump to solution

Hallo,

versuch mal zwischen HTTP und Socket Verbindungsmodus zu wechseln (als Workaround).

Gruß,

Phillip.

0 Kudos
sbrandt68
Returning Observer

Re: fs-cli mit Java 11 ausführen

Jump to solution

Hallo, ich habe mal weiter getestet. Das ging auch nicht.

Aber eine Lösung habe ich trotzdem gefunden. Es lag an der verwendeten fs-access.jar. Diese (2019-01) war eine Version älter als die FS-Server Version (2019-02).

Mit der passenden fs-access.jar aus version 2019-02 ging die Verbindung wieder.

Die ausgegebene Fehlermeldung (FSHttpClientImpl - FSHttpClient error - javax.net.ssl.SSLHandshakeException) war hier sehr irreführend.

Nun hat es mit Java 11 und Java 8 funktioniert.

0 Kudos