You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2015/07/03 17:19:04 UTC
[jira] [Resolved] (KARAF-3826) cave:repository-create command fail
if it's the first repository and with the -l option
[ https://issues.apache.org/jira/browse/KARAF-3826?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Baptiste Onofré resolved KARAF-3826.
-----------------------------------------
Resolution: Fixed
> cave:repository-create command fail if it's the first repository and with the -l option
> ---------------------------------------------------------------------------------------
>
> Key: KARAF-3826
> URL: https://issues.apache.org/jira/browse/KARAF-3826
> Project: Karaf
> Issue Type: Bug
> Components: cave-repository
> Reporter: Jean-Baptiste Onofré
> Assignee: Jean-Baptiste Onofré
> Fix For: cave-2.3.1, cave-3.0.1, cave-4.0.0
>
>
> {code}
> 2015-07-02 13:42:38,229 | ERROR | nsole user karaf | ShellUtil | 43 - org.apache.karaf.shell.core - 4.0.0 | Exception caught while executing command
> java.io.FileNotFoundException: /home/jbonofre/bin/apache-karaf-4.0.0/data/cave/repositories.properties (No such file or directory)
> at java.io.FileOutputStream.open0(Native Method)[:1.8.0_45]
> at java.io.FileOutputStream.open(FileOutputStream.java:270)[:1.8.0_45]
> at java.io.FileOutputStream.<init>(FileOutputStream.java:213)[:1.8.0_45]
> at java.io.FileOutputStream.<init>(FileOutputStream.java:162)[:1.8.0_45]
> at org.apache.karaf.cave.server.storage.CaveRepositoryServiceImpl.saveStorage(CaveRepositoryServiceImpl.java:216)[73:org.apache.karaf.cave.server.storage:4.0.0.SNAPSHOT]
> at org.apache.karaf.cave.server.storage.CaveRepositoryServiceImpl.save(CaveRepositoryServiceImpl.java:202)[73:org.apache.karaf.cave.server.storage:4.0.0.SNAPSHOT]
> at org.apache.karaf.cave.server.storage.CaveRepositoryServiceImpl.create(CaveRepositoryServiceImpl.java:95)[73:org.apache.karaf.cave.server.storage:4.0.0.SNAPSHOT]
> at org.apache.karaf.cave.server.command.RepositoryCreateCommand.doExecute(RepositoryCreateCommand.java:50)[68:org.apache.karaf.cave.server.command:4.0.0.SNAPSHOT]
> at org.apache.karaf.cave.server.command.CaveRepositoryCommandSupport.execute(CaveRepositoryCommandSupport.java:37)[68:org.apache.karaf.cave.server.command:4.0.0.SNAPSHOT]
> at org.apache.karaf.shell.impl.action.command.ActionCommand.execute(ActionCommand.java:83)[43:org.apache.karaf.shell.core:4.0.0]
> at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:67)[43:org.apache.karaf.shell.core:4.0.0]
> at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:87)[43:org.apache.karaf.shell.core:4.0.0]
> at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:480)[43:org.apache.karaf.shell.core:4.0.0]
> at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:406)[43:org.apache.karaf.shell.core:4.0.0]
> at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[43:org.apache.karaf.shell.core:4.0.0]
> at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:182)[43:org.apache.karaf.shell.core:4.0.0]
> at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:119)[43:org.apache.karaf.shell.core:4.0.0]
> at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:94)[43:org.apache.karaf.shell.core:4.0.0]
> at org.apache.karaf.shell.impl.console.ConsoleSessionImpl.run(ConsoleSessionImpl.java:267)[43:org.apache.karaf.shell.core:4.0.0]
> at java.lang.Thread.run(Thread.java:745)[:1.8.0_45]
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)