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
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
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,
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
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.
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
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:
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.
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
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,
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
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
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 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
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
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,
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
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
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.
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
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
21 matches
Mail list logo