You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "David Bosschaert (JIRA)" <ji...@apache.org> on 2009/08/21 15:06:14 UTC
[jira] Created: (FELIX-1516) Child instances require use stuff from
the /etc directory in the root
Child instances require 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
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.
[jira] Updated: (FELIX-1516) Child instances use stuff from the
/etc directory in the root
Posted by "David Bosschaert (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-1516?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Bosschaert updated FELIX-1516:
------------------------------------
Summary: Child instances use stuff from the /etc directory in the root (was: Child instances require use stuff from the /etc directory in the root)
> 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
>
> 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.
[jira] Resolved: (FELIX-1516) Child instances use stuff from the
/etc directory in the root
Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
[ 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.