Karaf console should gracefully handle errors due to the history file being
read only.
--------------------------------------------------------------------------------------
Key: KARAF-477
URL: https://issues.apache.org/jira/browse/KARAF-477
Project: Karaf
Issue Type: New Feature
Components: console
Affects Versions: 2.1.4
Reporter: Hiram Chirino
Assignee: Hiram Chirino
Fix For: 3.0.0
see exception:
{code}
Exception in thread "main" java.io.FileNotFoundException:
/usr/games/.karaf/karaf.history (No such file or directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
at java.io.FileWriter.<init>(FileWriter.java:73)
at jline.History.setHistoryFile(History.java:45)
at org.apache.karaf.shell.console.jline.Console.<init>(Console.java:103)
{code}
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira