Yes, I also tried to only keep this in the org.ops4j.pax.url.mvn.cfg (removing
the two http related lines):
org.ops4j.pax.url.mvn.repositories= \
file:${karaf.home}/${karaf.default.repository}@id=system.repository, \
file:${karaf.data}/kar@id=kar.repository@multi
…but it still freezes with some ArtifactNotFoundException in the log.
JP
[@@ OPEN @@]
De : Andreas Kuhtz [mailto:[email protected]]
Envoyé : lundi 2 juin 2014 16:49
À : [email protected]
Objet : Re: [ANN] Apache Karaf 3.0.1 Released!
Hi,
I had the same problem and got it working by changing this property (removed
'external' repos) in /etc/org.ops4.pax.url.mvn.cfg:
org.ops4j.pax.url.mvn.repositories= \
file:${karaf.home}/${karaf.default.repository}@id=system.repository, \
file:${karaf.data}/kar@id=kar.repository@multi
2014-06-02 16:36 GMT+02:00 CLEMENT Jean-Philippe
<[email protected]<mailto:[email protected]>>:
I succeeded in starting Karaf on a system which has a regular network
connection. I expected it to download mandatory dependencies but it does not.
When back in a protected environment, Karaf still tries to find some features
and freezes.
I found no way to get Karaf running! Help is welcome :)
PS: JIRA KARAF-2920
JP
De : Ryan Moquin [mailto:[email protected]<mailto:[email protected]>]
Envoyé : mercredi 21 mai 2014 20:02
À : [email protected]<mailto:[email protected]>
Objet : RE: [ANN] Apache Karaf 3.0.1 Released!
Right, because it starts asynchronously. Karaf isn't actually crashing though,
it's blocked waiting for a core feature dependency. The only way to prevent it
is for the dependency to be available in the karaf system repo... which I
thought it would be by default since it's a core dependency... or atleast one
expected to be there on startup.
Ryan
On May 16, 2014 12:47 PM, "CLEMENT Jean-Philippe"
<[email protected]<mailto:[email protected]>>
wrote:
I have time to spend on this problem :)
After investigation it seems that Karaf installs some features at each start.
If the feature cannot be found then it crashes and freezes.
Is there a way to prevent this to happen?
JP
De : [email protected]<mailto:[email protected]>
[mailto:[email protected]]<mailto:[mailto:[email protected]]>
Envoyé : vendredi 18 avril 2014 13:50
À : [email protected]<mailto:[email protected]>;
[email protected]<mailto:[email protected]>
Objet : Re: [ANN] Apache Karaf 3.0.1 Released!
Hi JP
I'm in vacation this week. I will get back to you next week.
Regards
JB
--
Jean-Baptiste Onofré
[email protected]<mailto:[email protected]>
http://blog.nanthrax.net
Talend - http://wwx.talend.com
----- Reply message -----
From: "CLEMENT Jean-Philippe"
<[email protected]<mailto:[email protected]>>
To: "[email protected]<mailto:[email protected]>"
<[email protected]<mailto:[email protected]>>
Subject: [ANN] Apache Karaf 3.0.1 Released!
Date: Fri, Apr 18, 2014 3:49 am
I’m still stuck. Karaf 3.0.1 refuses to start and remains frozen.
So I opened a Jira: https://issues.apache.org/jira/browse/KARAF-2920
I wish someone could find a workaround :)
Regards,
JP
[@@ THALES GROUP INTERNAL @@]
De : CLEMENT Jean-Philippe
[mailto:[email protected]]<mailto:[mailto:[email protected]]>
Envoyé : mardi 15 avril 2014 09:00
À : [email protected]<mailto:[email protected]>
Objet : RE: [ANN] Apache Karaf 3.0.1 Released!
Hi Jean-Baptiste,
My comment was confusing: Karaf 3.0.1 also freezes with Java 6 (see attached
log file in my previous comment). As is, in my case, Karaf is not usable.
Regards,
JP
De : [email protected]<mailto:[email protected]>
[mailto:[email protected]]<mailto:[mailto:[email protected]]>
Envoyé : lundi 14 avril 2014 21:56
À : [email protected]<mailto:[email protected]>;
[email protected]<mailto:[email protected]>
Objet : Re: [ANN] Apache Karaf 3.0.1 Released!
Warning
Karaf 3.0.1 is not yet fully ready for jdk 1.8. I had to postpone changes and
updates as it impacts and requires changes in other projects (aries, pax web,
etc).
More other, I also postponed changes on the karaf-maven-plugin to avoid to
block the release.
I plan to do it for 3.0.2.
Regards
JB
--
Jean-Baptiste Onofré
[email protected]<mailto:[email protected]>
http://blog.nanthrax.net
Talend - http://wwx.talend.com
----- Reply message -----
From: "CLEMENT Jean-Philippe"
<[email protected]<mailto:[email protected]>>
To: "[email protected]<mailto:[email protected]>"
<[email protected]<mailto:[email protected]>>
Subject: [ANN] Apache Karaf 3.0.1 Released!
Date: Mon, Apr 14, 2014 11:56 am
Why not. But both my dev PC and the Maven repository do not have access to the
internet.
What do you call "Karaf deploy"? At present time, I downloaded Karaf 3.0.1 and
tried to start it. I did not succeed in doing anything else.
Regards,
JP
-----Message d'origine-----
De : Jamie G.
[mailto:[email protected]]<mailto:[mailto:[email protected]]>
Envoyé : lundi 14 avril 2014 17:49
À : [email protected]<mailto:[email protected]>
Objet : Re: [ANN] Apache Karaf 3.0.1 Released!
I tied starting karaf with JKD8 both with and without network access, both
times it started up to console. I did note some NPEs however after starting.
Could you setup a quick test of a Karaf deploy with out the local maven repo?
Cheers,
Jamie
On Mon, Apr 14, 2014 at 1:15 PM, CLEMENT Jean-Philippe
<[email protected]<mailto:[email protected]>>
wrote:
> Karaf is still frozen on my RHEL6 started with Java6.
>
> Log contains several exception such as "Error resolving
> artifactorg.apache.karaf.features:standard:xml:features:3.0.1:Could not find
> artifact" ...
>
> As long as with several like "ERROR | FelixStartLevel | BootFeatureInstaller
> | 24 - org.apache.karaf.features.core - 3.0.1 | Error Boot feature region not
> found"
>
> Then log ends with some XXX is waiting for namespace handlers YYY.
>
> I fear that having a local Maven is worse than not having one at all
> :S
>
> JP
>
> -----Message d'origine-----
> De : Jamie G.
> [mailto:[email protected]]<mailto:[mailto:[email protected]]>
> Envoyé : lundi 14
> avril 2014 17:35 À : [email protected]<mailto:[email protected]>
> Objet : Re: [ANN] Apache
> Karaf 3.0.1 Released!
>
> I just tested 3.0.1 with JDK 1.7 and no network connection. Karaf booted to
> console fine.
>
> I'll grab JDK8 and retest.
>
> On Mon, Apr 14, 2014 at 12:31 PM, CLEMENT Jean-Philippe
> <[email protected]<mailto:[email protected]>>
> wrote:
>> I don't have Java 7 installed but Karaf 3.0.1 also freezes with Java 6.
>>
>> My dev connection is a bit special and points to a local Maven with no
>> connection to the internet. Could it be related?
>>
>> JP
>>
>> -----Message d'origine-----
>> De : Jamie G.
>> [mailto:[email protected]]<mailto:[mailto:[email protected]]>
>> Envoyé : lundi 14
>> avril 2014 16:54 À : [email protected]<mailto:[email protected]>
>> Objet : Re: [ANN] Apache
>> Karaf 3.0.1 Released!
>>
>> To my recollection we have another Java 8 compatibility issue which will be
>> resolved by Karaf-2861:
>> https://issues.apache.org/jira/browse/KARAF-2861
>>
>> We'll prioritize on Karaf 3.0.2 for more Java 8 compatibility fixes.
>> Please report any additional Java 8 issue encountered :)
>>
>> Cheers,
>> Jamie
>>
>> On Mon, Apr 14, 2014 at 12:18 PM, cemmersb
>> <[email protected]<mailto:[email protected]>> wrote:
>>> Hi,
>>>
>>> I’ve seen a similar issue on OS X when using Java 8.
>>>
>>> Downgrading to Java 7 resolved the issue.
>>>
>>> Best,
>>>
>>> Christoph
>>>
>>> On 14 Apr 2014, at 16:40, CLEMENT Jean-Philippe
>>> <[email protected]<mailto:[email protected]>>
>>> wrote:
>>>
>>>> Hi Jamie,
>>>>
>>>> I just tested Karaf 3.0.1 and it fails to start on my RHEL6. It first
>>>> displays a parsing error "line 242: [: : integer expression expected" and
>>>> then freezes. The Java version used is "1.8.0_20-ea" (build
>>>> 1.8.0_20-ea-b05) and I have no access to internet.
>>>>
>>>> Do you have any idea why Karaf freezes or how may I check what's going on?
>>>>
>>>> Regards,
>>>> JP
>>>>
>>>>
>>>> -----Message d'origine-----
>>>> De : Jamie G.
>>>> [mailto:[email protected]]<mailto:[mailto:[email protected]]>
>>>> Envoyé : lundi 14
>>>> avril 2014 00:20 À : [email protected]<mailto:[email protected]>
>>>> Objet : [ANN] Apache
>>>> Karaf
>>>> 3.0.1 Released!
>>>>
>>>> The Karaf team is pleased to announce the release of Karaf version 3.0.1.
>>>>
>>>> Apache Karaf is a small OSGi distribution which provides a ready to use
>>>> container for server side applications.
>>>>
>>>> This is an update patch for Apache Karaf 3.0.0, containing many bug
>>>> fixes, dependency updates, and improvements. New feature highlights
>>>> include: the addition of Pax CDI to Karaf enterprise feature, monitoring
>>>> etc/user.properties with Felix fileInstall, and adding MSSQL datasource
>>>> type.
>>>>
>>>> http://karaf.apache.org/
>>>>
>>>> This release is available from
>>>> http://karaf.apache.org/index/community/download.html#Karaf3.0.1
>>>> and
>>>>
>>>> Maven:
>>>>
>>>> <dependency>
>>>> <groupId>org.apache.karaf</groupId>
>>>> <artifactId>apache-karaf</artifactId>
>>>> <version>3.0.1</version>
>>>> </dependency>
>>>>
>>>> Download Note:
>>>> Our mirrors are still syncing the new kits, if your primary mirror does
>>>> not have the kit please try another from the server mirror list.
>>>>
>>>> Apache Karaf manuals will appear soon to the website, updates are underway.
>>>>
>>>> Release Notes:
>>>>
>>>> There are 145 resolved issues included in this release, as such we've
>>>> documented them on the 3.0.1 release notes page:
>>>> http://karaf.apache.org/index/community/download/karaf-3.0.1-release.
>>>> html
>>>>
>>>> Enjoy!
>>>