karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Taeschner (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-3378) bin\client.bat on Windows fails to read SSH_PORT from env causing a NumberFormatException
Date Fri, 22 May 2015 09:15:17 GMT

    [ https://issues.apache.org/jira/browse/KARAF-3378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14555865#comment-14555865
] 

Michael Taeschner commented on KARAF-3378:
------------------------------------------

Is this related (and fixed by) KARAF-3494?

> bin\client.bat on Windows fails to read SSH_PORT from env causing a NumberFormatException
> -----------------------------------------------------------------------------------------
>
>                 Key: KARAF-3378
>                 URL: https://issues.apache.org/jira/browse/KARAF-3378
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 2.4.0, 3.0.2
>         Environment: Windows
>            Reporter: Claus Ibsen
>            Priority: Minor
>
> If you run Karaf on windows and define the SSH_PORT as a env variable, then if you want
to use bin/client.bat to have a shell for the running karaf, then it fails with a 
> {code}
> C:\mykaraf>bin\client.bat
> Exception in thread "main" java.lang.NumberFormatException: For input string: "${ssh.port}"
>         at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
>         at java.lang.Integer.parseInt(Integer.java:569)
>         at java.lang.Integer.parseInt(Integer.java:615)
>         at org.apache.karaf.client.Main.main(Main.java:58)
> {code}
> The ENV variable has been set with
> {code}
> SSH_PORT=50123
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message