Re: Aw: [INFO] Apache Karaf 3.0.2 will be OSGi r4.3

2014-07-01 Thread Achim Nierbeck
+1, I second Guillaume on this. 2.3 and 3.0.x r4.3 2.4, 3.1 or 4.0 as r5 I'm not sure if we really should go for a 3.1 since we seem to have master (aka 4.0) in a good shape, so I'd rather see a 4.0 in favor of a 3.1 release. regards, Achim 2014-07-01 7:54 GMT+02:00 Guillaume Nodet

Re: Aw: [INFO] Apache Karaf 3.0.2 will be OSGi r4.3

2014-07-01 Thread Achim Nierbeck
As long as we are upgrading to Pax Web 4.0 with Karaf 2.4, it's fine with me :) regards, Achim 2014-07-01 8:59 GMT+02:00 Jean-Baptiste Onofré j...@nanthrax.net: It sounds good to me, so I will update Karaf 2.x to r5 and new framework, and see the impacts on dependency projects (Pax Web

Re: Aw: [INFO] Apache Karaf 3.0.2 will be OSGi r4.3

2014-07-01 Thread Guillaume Nodet
The 2.x and 4.x branches are already using r5 afaik. 2014-07-01 8:59 GMT+02:00 Jean-Baptiste Onofré j...@nanthrax.net: It sounds good to me, so I will update Karaf 2.x to r5 and new framework, and see the impacts on dependency projects (Pax Web especially). Regards JB On 01/07/2014

Re: Aw: [INFO] Apache Karaf 3.0.2 will be OSGi r4.3

2014-07-01 Thread Jean-Baptiste Onofré
No, 2.x is osgi.core 4.3.1 and equinox 3.8.x (not 3.9.1). It's just using Felix 4.4.0. I'm upgrading. Regards JB On 01/07/2014 09:20, Guillaume Nodet wrote: The 2.x and 4.x branches are already using r5 afaik. 2014-07-01 8:59 GMT+02:00 Jean-Baptiste Onofré j...@nanthrax.net: It sounds

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

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

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:

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

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,

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

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

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:

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

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

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,

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

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

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.