[jira] [Commented] (KARAF-3738) Karaf client should be able to read environment variables
[ https://issues.apache.org/jira/browse/KARAF-3738?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14558215#comment-14558215 ] Korenev Artem commented on KARAF-3738: -- Yes, I think that's related. However that doesn't solve my problem because I want to use SSH params that was specified as environment variables in setenv file. > Karaf client should be able to read environment variables > - > > Key: KARAF-3738 > URL: https://issues.apache.org/jira/browse/KARAF-3738 > Project: Karaf > Issue Type: Bug >Affects Versions: 3.0.3 >Reporter: Korenev Artem > > Now the client can only get the properties from org.apache.karaf.shell.cfg > and doesn't look up in environment variables. > So specifying in org.apache.karaf.shell.cfg file something different from raw > values will cause similar exception: > 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:481) > at java.lang.Integer.parseInt(Integer.java:527) > at org.apache.karaf.client.ClientConfig.(ClientConfig.java:46) > at org.apache.karaf.client.Main.main(Main.java:51) -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (KARAF-3738) Karaf client should be able to read environment variables
[ https://issues.apache.org/jira/browse/KARAF-3738?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Korenev Artem updated KARAF-3738: - Priority: Major (was: Minor) Issue Type: Bug (was: Improvement) > Karaf client should be able to read environment variables > - > > Key: KARAF-3738 > URL: https://issues.apache.org/jira/browse/KARAF-3738 > Project: Karaf > Issue Type: Bug >Affects Versions: 3.0.3 >Reporter: Korenev Artem > > Now the client can only get the properties from org.apache.karaf.shell.cfg > and doesn't look up in environment variables. > So specifying in org.apache.karaf.shell.cfg file something different from raw > values will cause similar exception: > 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:481) > at java.lang.Integer.parseInt(Integer.java:527) > at org.apache.karaf.client.ClientConfig.(ClientConfig.java:46) > at org.apache.karaf.client.Main.main(Main.java:51) -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (KARAF-3738) Karaf client should be able to read environment variables
Korenev Artem created KARAF-3738: Summary: Karaf client should be able to read environment variables Key: KARAF-3738 URL: https://issues.apache.org/jira/browse/KARAF-3738 Project: Karaf Issue Type: Improvement Affects Versions: 3.0.3 Reporter: Korenev Artem Priority: Minor Now the client can only get the properties from org.apache.karaf.shell.cfg and doesn't look up in environment variables. So specifying in org.apache.karaf.shell.cfg file something different from raw values will cause similar exception: 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:481) at java.lang.Integer.parseInt(Integer.java:527) at org.apache.karaf.client.ClientConfig.(ClientConfig.java:46) at org.apache.karaf.client.Main.main(Main.java:51) -- This message was sent by Atlassian JIRA (v6.3.4#6332)