You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Steinar Bang <sb...@dod.no> on 2020/09/10 11:03:34 UTC

Re: Problems running on the karaf 4.2.9 docker image

>>>>> Jean-Baptiste Onofre <jb...@nanthrax.net>:

> Hi Steinar,
> Karaf 4.2.9 image is little bit different from previous as it’s based on adoptopenjdk:11-jre-hotspot.

> The rest is the same. Do you want me to push like the old style (openjdk8 based) ?

No, I've completely converted to Java 11 on the build dev side.

And I definitely want Java 11 (if you see the link to what failed on
when I ran the app on 4.2.8). :-)

But there wasn't much to go on in where it stopped...

The app starts and run fine on karaf 4.2.9 on Java 11 when I run it locally.


Re: Problems running on the karaf 4.2.9 docker image

Posted by Jean-Baptiste Onofre <jb...@nanthrax.net>.
Hi Steinar,

Thanks for the update, it’s what I thought ;)

Regards
JB

> Le 12 sept. 2020 à 12:46, Steinar Bang <sb...@dod.no> a écrit :
> 
>>>>>> Steinar Bang <sb...@dod.no>:
>> I saw that myself and just thought of why: I replace the file loading
>> boot features with one that adds my application feature.
> 
>> And I've based this file on the boot features file of the karaf 4.2.8
>> distribution.
> 
>> And of course, that won't work! :-)
> 
>> Once I replace the file with same file from the 4.2.9 distro I suspect
>> things will start working again.
> 
> Update: Once I had replaced the org.apache.karaf.features.cfg with a
> file yanked from the karaf 4.2.9 distro instead of karaf 4.2.8, then the
> docker image with my application started working.
> 
> 


Re: Problems running on the karaf 4.2.9 docker image

Posted by Steinar Bang <sb...@dod.no>.
>>>>> Steinar Bang <sb...@dod.no>:
> I saw that myself and just thought of why: I replace the file loading
> boot features with one that adds my application feature.

> And I've based this file on the boot features file of the karaf 4.2.8
> distribution.

> And of course, that won't work! :-)

> Once I replace the file with same file from the 4.2.9 distro I suspect
> things will start working again.

Update: Once I had replaced the org.apache.karaf.features.cfg with a
file yanked from the karaf 4.2.9 distro instead of karaf 4.2.8, then the
docker image with my application started working.



Re: Problems running on the karaf 4.2.9 docker image

Posted by Steinar Bang <sb...@dod.no>.
>>>>> Jean-Baptiste Onofre <jb...@nanthrax.net>:

> Hi,
> Understood.

> Did you see my previous email about that I see 4.2.8 feature in your docker logs. Is that normal ?

I saw that myself and just thought of why: I replace the file loading
boot features with one that adds my application feature.

And I've based this file on the boot features file of the karaf 4.2.8
distribution.

And of course, that won't work! :-)

Once I replace the file with same file from the 4.2.9 distro I suspect
things will start working again.

My bad!  Sorry about the noise! :-)


Re: Problems running on the karaf 4.2.9 docker image

Posted by Jean-Baptiste Onofre <jb...@nanthrax.net>.
Hi,

Understood.

Did you see my previous email about that I see 4.2.8 feature in your docker logs. Is that normal ?

Regards
JB

> Le 10 sept. 2020 à 13:03, Steinar Bang <sb...@dod.no> a écrit :
> 
>>>>>> Jean-Baptiste Onofre <jb...@nanthrax.net>:
> 
>> Hi Steinar,
>> Karaf 4.2.9 image is little bit different from previous as it’s based on adoptopenjdk:11-jre-hotspot.
> 
>> The rest is the same. Do you want me to push like the old style (openjdk8 based) ?
> 
> No, I've completely converted to Java 11 on the build dev side.
> 
> And I definitely want Java 11 (if you see the link to what failed on
> when I ran the app on 4.2.8). :-)
> 
> But there wasn't much to go on in where it stopped...
> 
> The app starts and run fine on karaf 4.2.9 on Java 11 when I run it locally.
>