[
https://issues.apache.org/jira/browse/FELIX-1516?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Guillaume Nodet resolved FELIX-1516.
------------------------------------
Resolution: Fixed
Assignee: Guillaume Nodet
URL: http://svn.apache.org/viewvc?rev=807374&view=rev
Log:
FELIX-1516: Child instances use stuff from the /etc directory in the root
Modified:
felix/trunk/karaf/main/src/main/java/org/apache/felix/karaf/main/Bootstrap.java
felix/trunk/karaf/main/src/main/java/org/apache/felix/karaf/main/Main.java
felix/trunk/karaf/main/src/main/java/org/apache/felix/karaf/main/Utils.java
> Child instances use stuff from the /etc directory in the root
> -------------------------------------------------------------
>
> Key: FELIX-1516
> URL: https://issues.apache.org/jira/browse/FELIX-1516
> Project: Felix
> Issue Type: Bug
> Components: Karaf
> Affects Versions: karaf-1.0.0
> Environment: Windows
> Reporter: David Bosschaert
> Assignee: Guillaume Nodet
>
> I create a new instance with admin:create.
> Then, to make sure it only uses its own configuration, I temporary rename the
> etc directory in the parent.
> Now I start up the child instance and get an exception:
> K:\assembly\target\apache-felix-karaf-1.2.0-SNAPSHOT\instances\too>bin\karaf.bat
> karaf.bat: Ignoring predefined value for KARAF_HOME
> java.io.FileNotFoundException:
> K:\assembly\target\apache-felix-karaf-1.2.0-SNAPSHOT\etc\config.properties
> at
> org.apache.felix.karaf.main.Bootstrap.updateClassLoader(Bootstrap.java:57)
> at org.apache.felix.karaf.main.Bootstrap.main(Bootstrap.java:38)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.