It's because the user has defined KARAF_HOME variable "outside" of the script.

Regards
JB

On 07/01/2014 10:10 PM, Christian Schneider wrote:
I just also tried to replicate the problem using windows 7 and jdk7.
I renamed my maven installation as well as the .m2 dir. Still karaf
started normally.

I also tried to use spaces in the karaf dir but it still worked.

I wonder what the error Ignoring predefined valeu for KARAF_HOME means.

Christian

Am 30.06.2014 11:10, schrieb SapnaB:
Hi All,

Im trying to start the Apache Karaf(both 2.3.2 and 3.0.1) from Windows 7,
but keep getting the following error message:

karaf.bat: Ignoring predefined value for KARAF_HOME
Unable to update instance pid: Child instance started but no root
registered
in D:\Softwares\OSGi\apache-karaf-2.3.2\instances\instance.properties
Karaf can't startup, make sure the log file can be accessed and
written by
the user starting Karaf :
D:\Softwares\OSGi\apache-karaf-2.3.2\mvn:org.apache.felix\org.apache.felix.framework\4.2.1


Can someone explain what the error means and how can I resolve it?

Thanks,
Sapna



--
View this message in context:
http://karaf.922171.n3.nabble.com/Karaf-does-not-startup-on-Windows-7-tp4033876.html

Sent from the Karaf - Dev mailing list archive at Nabble.com.



--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to