Re: Karaf does not startup on Windows 7

2014-07-03 Thread Jean-Baptiste Onofré

Hi Sapna,

it seems that I'm able to reproduce your problem at least with Karaf 
3.0.1 on a Windows 7 machine.

Karaf 2.3.5 works fine, but Karaf 3.0.1 seems to be stuck at startup.

I gonna check bin/karaf.bat.

I keep you posted.

Regards
JB

On 06/30/2014 11:10 AM, SapnaB wrote:

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


Re: Karaf does not startup on Windows 7

2014-07-03 Thread SapnaB
Hi JB,

I didnt mention it in the forum, but exactly as you said, 3.0.1 gets stuck
while starting. 
The background processes of loading the bundles goes on, because I could see
the log file and instance.properties getting updated, but it just doesn't
start up.

I havent tried 2.3.5 yet. 2.3.2 still gives the same problem for me, even
after installing the JDK 7 in a separate folder with no spaces.

Regards,
Sapna



--
View this message in context: 
http://karaf.922171.n3.nabble.com/Karaf-does-not-startup-on-Windows-7-tp4033876p4033976.html
Sent from the Karaf - Dev mailing list archive at Nabble.com.


Re: Karaf does not startup on Windows 7

2014-07-03 Thread Jean-Baptiste Onofré

FYI, in order to track the issue:

https://issues.apache.org/jira/browse/KARAF-3099

Regards
JB

On 07/03/2014 11:57 AM, SapnaB wrote:

Hi JB,

I didnt mention it in the forum, but exactly as you said, 3.0.1 gets stuck
while starting.
The background processes of loading the bundles goes on, because I could see
the log file and instance.properties getting updated, but it just doesn't
start up.

I havent tried 2.3.5 yet. 2.3.2 still gives the same problem for me, even
after installing the JDK 7 in a separate folder with no spaces.

Regards,
Sapna



--
View this message in context: 
http://karaf.922171.n3.nabble.com/Karaf-does-not-startup-on-Windows-7-tp4033876p4033976.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


Re: Karaf does not startup on Windows 7

2014-07-01 Thread Christoph Gritschenberger
Can you tell us which java-version you are using?
Is JAVA_HOME set?

kind regards,
Christoph

On 30/06/14 19:50, SapnaB wrote:
 Hi JB,
 
 Yes, thats how I start the Karaf instance. Both versions(2.3.2, 3.0.1) work
 fine in linux, but im unable to get them working in Windows 7.
 
 Thanks,
 Sapna
 
 
 
 --
 View this message in context: 
 http://karaf.922171.n3.nabble.com/Karaf-does-not-startup-on-Windows-7-tp4033876p4033880.html
 Sent from the Karaf - Dev mailing list archive at Nabble.com.
 




smime.p7s
Description: S/MIME Cryptographic Signature


Re: Karaf does not startup on Windows 7

2014-07-01 Thread SapnaB
Hi Christoph,

Im using JDK 1.6. JAVA_HOME is set to : C:\Program Files\Java\jdk1.6.0_24

Regards,
Sapna



--
View this message in context: 
http://karaf.922171.n3.nabble.com/Karaf-does-not-startup-on-Windows-7-tp4033876p4033902.html
Sent from the Karaf - Dev mailing list archive at Nabble.com.


Re: Karaf does not startup on Windows 7

2014-07-01 Thread Christoph Gritschenberger
Is your application tied to this exact java-version or can you try at
least a more recent version of Java6 [1]?

[1]
http://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase6-419409.html

On 01/07/14 10:42, SapnaB wrote:
 Hi Christoph,
 
 Im using JDK 1.6. JAVA_HOME is set to : C:\Program Files\Java\jdk1.6.0_24
 
 Regards,
 Sapna
 
 
 
 --
 View this message in context: 
 http://karaf.922171.n3.nabble.com/Karaf-does-not-startup-on-Windows-7-tp4033876p4033902.html
 Sent from the Karaf - Dev mailing list archive at Nabble.com.
 




smime.p7s
Description: S/MIME Cryptographic Signature


Re: Karaf does not startup on Windows 7

2014-07-01 Thread Jean-Baptiste Onofré

Is it a Sun/Oracle JDK ?

Regards
JB

On 01/07/2014 10:42, SapnaB wrote:

Hi Christoph,

Im using JDK 1.6. JAVA_HOME is set to : C:\Program Files\Java\jdk1.6.0_24

Regards,
Sapna



--
View this message in context: 
http://karaf.922171.n3.nabble.com/Karaf-does-not-startup-on-Windows-7-tp4033876p4033902.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


Re: Karaf does not startup on Windows 7

2014-07-01 Thread SapnaB
Sorry, I should have mentioned that too.
Yes its Sun/Oracle JDK.

Regards,
Sapna



--
View this message in context: 
http://karaf.922171.n3.nabble.com/Karaf-does-not-startup-on-Windows-7-tp4033876p4033906.html
Sent from the Karaf - Dev mailing list archive at Nabble.com.


Re: Karaf does not startup on Windows 7

2014-07-01 Thread SapnaB
Hi Christoph,

I tried with Sun JDK 1.7 by setting the JAVA_HOME to C:\Program
Files\Java\jdk1.7.0_60.

I still get the same error:
D:\OSGi\apache-karaf-2.3.2bin\karaf.bat
karaf.bat: Ignoring predefined value for KARAF_HOME
Unable to update instance pid: Child instance started but no root registered
in D:\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:\OSGi\apache-karaf-2.3.2\mvn:org.apache.felix\org.apache.
felix.framework\4.2.1

Do you want me to specifically try with another java 6 version?

Regards,
Sapna



--
View this message in context: 
http://karaf.922171.n3.nabble.com/Karaf-does-not-startup-on-Windows-7-tp4033876p4033907.html
Sent from the Karaf - Dev mailing list archive at Nabble.com.


Re: Karaf does not startup on Windows 7

2014-07-01 Thread Achim Nierbeck
Especially this sentence:

Karaf can't startup, make sure the log file can be accessed and written by
 the user starting Karaf :


sounds fishy to me. Do you have the right access rights in the file-system?
Or do you try to run it as another user?
Maybe a run-as Administrator helps.

regards, Achim




2014-07-01 12:26 GMT+02:00 SapnaB sapnabhargava...@gmail.com:

 Hi Christoph,

 I tried with Sun JDK 1.7 by setting the JAVA_HOME to C:\Program
 Files\Java\jdk1.7.0_60.

 I still get the same error:
 D:\OSGi\apache-karaf-2.3.2bin\karaf.bat
 karaf.bat: Ignoring predefined value for KARAF_HOME
 Unable to update instance pid: Child instance started but no root
 registered
 in D:\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:\OSGi\apache-karaf-2.3.2\mvn:org.apache.felix\org.apache.
 felix.framework\4.2.1

 Do you want me to specifically try with another java 6 version?

 Regards,
 Sapna



 --
 View this message in context:
 http://karaf.922171.n3.nabble.com/Karaf-does-not-startup-on-Windows-7-tp4033876p4033907.html
 Sent from the Karaf - Dev mailing list archive at Nabble.com.




-- 

Apache Member
Apache Karaf http://karaf.apache.org/ Committer  PMC
OPS4J Pax Web http://wiki.ops4j.org/display/paxweb/Pax+Web/ Committer 
Project Lead
blog http://notizblog.nierbeck.de/

Software Architect / Project Manager / Scrum Master


Re: Karaf does not startup on Windows 7

2014-07-01 Thread SapnaB
Hi Achim,

I tried running as an admin.. No luck, gives me the same error. Is Maven a
prerequisite? I havent installed that in my system. What does the error
highlighted below mean? Looks to me to be reference to maven repository. 
 
Karaf can't startup, make sure the log file can be accessed and written by
the user starting Karaf :
*D:\OSGi\apache-karaf-2.3.2\mvn:org.apache.felix\org.apache.felix.framework\4.2.1*

Regards,
Sapna



--
View this message in context: 
http://karaf.922171.n3.nabble.com/Karaf-does-not-startup-on-Windows-7-tp4033876p4033909.html
Sent from the Karaf - Dev mailing list archive at Nabble.com.


Re: Karaf does not startup on Windows 7

2014-07-01 Thread Jean-Baptiste Onofré

Are you sure about the JAVA_HOME ?

I tried on my Windows7 VM and I have no problem.

Regards
JB

On 01/07/2014 13:01, SapnaB wrote:

Hi Achim,

I tried running as an admin.. No luck, gives me the same error. Is Maven a
prerequisite? I havent installed that in my system. What does the error
highlighted below mean? Looks to me to be reference to maven repository.

Karaf can't startup, make sure the log file can be accessed and written by
the user starting Karaf :
*D:\OSGi\apache-karaf-2.3.2\mvn:org.apache.felix\org.apache.felix.framework\4.2.1*

Regards,
Sapna



--
View this message in context: 
http://karaf.922171.n3.nabble.com/Karaf-does-not-startup-on-Windows-7-tp4033876p4033909.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


Re: Karaf does not startup on Windows 7

2014-07-01 Thread Achim Nierbeck
Yes, I think now we're heading in the right direction.
You'll need to configure Karaf to work without Maven as it usually is used
in
conjunction. Especially since all optional bundles/features are installed
via maven.

regards, Achim


2014-07-01 13:01 GMT+02:00 SapnaB sapnabhargava...@gmail.com:

 Hi Achim,

 I tried running as an admin.. No luck, gives me the same error. Is Maven a
 prerequisite? I havent installed that in my system. What does the error
 highlighted below mean? Looks to me to be reference to maven repository.

 Karaf can't startup, make sure the log file can be accessed and written by
 the user starting Karaf :

 *D:\OSGi\apache-karaf-2.3.2\mvn:org.apache.felix\org.apache.felix.framework\4.2.1*

 Regards,
 Sapna



 --
 View this message in context:
 http://karaf.922171.n3.nabble.com/Karaf-does-not-startup-on-Windows-7-tp4033876p4033909.html
 Sent from the Karaf - Dev mailing list archive at Nabble.com.




-- 

Apache Member
Apache Karaf http://karaf.apache.org/ Committer  PMC
OPS4J Pax Web http://wiki.ops4j.org/display/paxweb/Pax+Web/ Committer 
Project Lead
blog http://notizblog.nierbeck.de/

Software Architect / Project Manager / Scrum Master


Re: Karaf does not startup on Windows 7

2014-07-01 Thread SapnaB
Hi JB, Achim,

Iv installed Maven now and tried to start karaf 2.3.2. Same error. Here are
snippets from the cmd:

C:\Users\sapbhargmvn --version
Apache Maven 3.2.2 (45f7c06d68e745d05611f7fd14efb6594181933e;
2014-06-17T19:21:4
2+05:30)
Maven home: C:\Program Files\Apache\apache-maven-3.2.2
Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
Java home: C:\Program Files\Java\jdk1.6.0_24\jre
Default locale: en_US, platform encoding: Cp1252
OS name: windows 7, version: 6.1, arch: amd64, family: windows

D:\OSGi\apache-karaf-2.3.2bin\karaf.bat
karaf.bat: Ignoring predefined value for KARAF_HOME
Unable to update instance pid: Child instance started but no root registered
in D:\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:\OSGi\apache-karaf-2.3.2\mvn:org.apache.felix\org.apache.felix.framework\4.2.1

D:\OSGi\apache-karaf-2.3.2echo %Path%
;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;*C:\Program
Files\Java\jdk1.6.0_24\bin*;C:\Program
Files\TortoiseSVN\bin;D:\Softwares\ANT\apache-ant-1.9.2\bin;C:\Program
Files\Apache\apache-maven-3.2.2\bin

D:\OSGi\apache-karaf-2.3.2echo %JAVA_HOME%
C:\Program Files\Java\jdk1.6.0_24

Wonder what Im doing wrong.

Regards,
Sapna



--
View this message in context: 
http://karaf.922171.n3.nabble.com/Karaf-does-not-startup-on-Windows-7-tp4033876p4033914.html
Sent from the Karaf - Dev mailing list archive at Nabble.com.


Re: Karaf does not startup on Windows 7

2014-07-01 Thread Kevin Carr
Do you have admin privileges to write outside of your home folder?

I run Apache 3.0.1 from my Home folder fine, I did see issues like this if
I ran outside my home folder though.


On Mon, Jun 30, 2014 at 4:10 AM, SapnaB sapnabhargava...@gmail.com wrote:

 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.




-- 
Scott Carr


Re: Karaf does not startup on Windows 7

2014-07-01 Thread Rajbir Saini
I am not a Windows user any more. However, I remember it was generally 
advised to keep the Java in folder not having spaces. I am not sure if 
this is not an issue in the latest Windows or Java versions. You can 
give it a try.


Raj

On Tuesday 01 July 2014 10:31 PM, SapnaB wrote:

Hi JB, Achim,

Iv installed Maven now and tried to start karaf 2.3.2. Same error. Here are
snippets from the cmd:

C:\Users\sapbhargmvn --version
Apache Maven 3.2.2 (45f7c06d68e745d05611f7fd14efb6594181933e;
2014-06-17T19:21:4
2+05:30)
Maven home: C:\Program Files\Apache\apache-maven-3.2.2
Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
Java home: C:\Program Files\Java\jdk1.6.0_24\jre
Default locale: en_US, platform encoding: Cp1252
OS name: windows 7, version: 6.1, arch: amd64, family: windows

D:\OSGi\apache-karaf-2.3.2bin\karaf.bat
karaf.bat: Ignoring predefined value for KARAF_HOME
Unable to update instance pid: Child instance started but no root registered
in D:\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:\OSGi\apache-karaf-2.3.2\mvn:org.apache.felix\org.apache.felix.framework\4.2.1

D:\OSGi\apache-karaf-2.3.2echo %Path%
;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;*C:\Program
Files\Java\jdk1.6.0_24\bin*;C:\Program
Files\TortoiseSVN\bin;D:\Softwares\ANT\apache-ant-1.9.2\bin;C:\Program
Files\Apache\apache-maven-3.2.2\bin

D:\OSGi\apache-karaf-2.3.2echo %JAVA_HOME%
C:\Program Files\Java\jdk1.6.0_24

Wonder what Im doing wrong.

Regards,
Sapna



--
View this message in context: 
http://karaf.922171.n3.nabble.com/Karaf-does-not-startup-on-Windows-7-tp4033876p4033914.html
Sent from the Karaf - Dev mailing list archive at Nabble.com.





Re: Karaf does not startup on Windows 7

2014-07-01 Thread Jean-Baptiste Onofré

Hi Sapna,

IMHO, the problem is on your system (permission, user, whatever).

I'm not able to reproduce your issue on my Win7 VM.

Maybe we can have a session together (Skype or whatever) allowing me to 
check your system.


Regards
JB

On 07/01/2014 07:01 PM, SapnaB wrote:

Hi JB, Achim,

Iv installed Maven now and tried to start karaf 2.3.2. Same error. Here are
snippets from the cmd:

C:\Users\sapbhargmvn --version
Apache Maven 3.2.2 (45f7c06d68e745d05611f7fd14efb6594181933e;
2014-06-17T19:21:4
2+05:30)
Maven home: C:\Program Files\Apache\apache-maven-3.2.2
Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
Java home: C:\Program Files\Java\jdk1.6.0_24\jre
Default locale: en_US, platform encoding: Cp1252
OS name: windows 7, version: 6.1, arch: amd64, family: windows

D:\OSGi\apache-karaf-2.3.2bin\karaf.bat
karaf.bat: Ignoring predefined value for KARAF_HOME
Unable to update instance pid: Child instance started but no root registered
in D:\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:\OSGi\apache-karaf-2.3.2\mvn:org.apache.felix\org.apache.felix.framework\4.2.1

D:\OSGi\apache-karaf-2.3.2echo %Path%
;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;*C:\Program
Files\Java\jdk1.6.0_24\bin*;C:\Program
Files\TortoiseSVN\bin;D:\Softwares\ANT\apache-ant-1.9.2\bin;C:\Program
Files\Apache\apache-maven-3.2.2\bin

D:\OSGi\apache-karaf-2.3.2echo %JAVA_HOME%
C:\Program Files\Java\jdk1.6.0_24

Wonder what Im doing wrong.

Regards,
Sapna



--
View this message in context: 
http://karaf.922171.n3.nabble.com/Karaf-does-not-startup-on-Windows-7-tp4033876p4033914.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


Re: Karaf does not startup on Windows 7

2014-07-01 Thread Jean-Baptiste Onofré
One thing: can you try to move the JDK in another folder than Program 
Files (without spaces).


Regards
JB

On 07/01/2014 07:01 PM, SapnaB wrote:

Hi JB, Achim,

Iv installed Maven now and tried to start karaf 2.3.2. Same error. Here are
snippets from the cmd:

C:\Users\sapbhargmvn --version
Apache Maven 3.2.2 (45f7c06d68e745d05611f7fd14efb6594181933e;
2014-06-17T19:21:4
2+05:30)
Maven home: C:\Program Files\Apache\apache-maven-3.2.2
Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
Java home: C:\Program Files\Java\jdk1.6.0_24\jre
Default locale: en_US, platform encoding: Cp1252
OS name: windows 7, version: 6.1, arch: amd64, family: windows

D:\OSGi\apache-karaf-2.3.2bin\karaf.bat
karaf.bat: Ignoring predefined value for KARAF_HOME
Unable to update instance pid: Child instance started but no root registered
in D:\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:\OSGi\apache-karaf-2.3.2\mvn:org.apache.felix\org.apache.felix.framework\4.2.1

D:\OSGi\apache-karaf-2.3.2echo %Path%
;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;*C:\Program
Files\Java\jdk1.6.0_24\bin*;C:\Program
Files\TortoiseSVN\bin;D:\Softwares\ANT\apache-ant-1.9.2\bin;C:\Program
Files\Apache\apache-maven-3.2.2\bin

D:\OSGi\apache-karaf-2.3.2echo %JAVA_HOME%
C:\Program Files\Java\jdk1.6.0_24

Wonder what Im doing wrong.

Regards,
Sapna



--
View this message in context: 
http://karaf.922171.n3.nabble.com/Karaf-does-not-startup-on-Windows-7-tp4033876p4033914.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


Re: Karaf does not startup on Windows 7

2014-07-01 Thread Christian Schneider

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.



--
 
Christian Schneider

http://www.liquid-reality.de

Open Source Architect
Talend Application Integration Division http://www.talend.com



Karaf does not startup on Windows 7

2014-06-30 Thread 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.


Re: Karaf does not startup on Windows 7

2014-06-30 Thread Jean-Baptiste Onofré

Hi Sapna,

how do you start the root instance ? bin/karaf.bat ?

Regards
JB

On 06/30/2014 11:10 AM, SapnaB wrote:

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


Re: Karaf does not startup on Windows 7

2014-06-30 Thread SapnaB
Hi JB,

Yes, thats how I start the Karaf instance. Both versions(2.3.2, 3.0.1) work
fine in linux, but im unable to get them working in Windows 7.

Thanks,
Sapna



--
View this message in context: 
http://karaf.922171.n3.nabble.com/Karaf-does-not-startup-on-Windows-7-tp4033876p4033880.html
Sent from the Karaf - Dev mailing list archive at Nabble.com.