You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by ivoleitao <Iv...@gmail.com> on 2018/03/01 23:06:04 UTC

Karaf Cave Release addressing KARAF-5555

Hi,

I was planning to use karaf cave in my CI workflow however
https://issues.apache.org/jira/browse/KARAF-5555 blocks completely the usage
of Cave.

Besides others mentioned in the issue not being able to access rest nor
maven endpoints are the worst ones.

Any workarounds that I can apply to address this issues. I've tried to
change the alias and to change the cxf configuration all to no avail :-(

Tnks in advance,
Best Regards



--
Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html

Re: Karaf Cave Release addressing KARAF-5555

Posted by ivoleitao <Iv...@gmail.com>.
Ok JB,

Tnks a lot,
Regards,
Ivo Leitão



--
Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html

Re: Karaf Cave Release addressing KARAF-5555

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi Alex,

I'm just back from vacation, I will do the Cave Jira triage, and I will
prepare the release. I keep you posted.

Regards
JB

On 28/08/2018 14:45, Alex Weirig wrote:
> Hello,
> 
> is there anything new in regards to this issue?
> 
> Has a fix been released yet that I might have missed?
> 
> Many thanks in advance
> 
> Mat frëndleche Gréiss, Mit freundlichen Grüßen, Meilleures salutations,
> Kind regards,
> Alex Weirig
> Responsable Technique Ville de Luxembourg Service Enseignement Centre
> Technolink *Tel* +352 4796 - 6127 <tel:+35247966127> *Fax* +352 42 88 81
> *Email* alex.weirig@technolink.lu <ma...@technolink.lu>
> www.vdl.lu <http://www.vdl.lu> // www.technolink.lu
> <http://www.technolink.lu> Centre Technolink 2, rue Charles de Tornaco
> L-2623 LUXEMBOURG
> 
> On 10/03/2018 20:13, Jean-Baptiste Onofré wrote:
>> Hi
>>
>> Yes but I have other fixes and new features on the fly. I will cut a
>> release as soon as it's done. Roughly I plan a release in a couple of
>> weeks.
>>
>> Regards
>> JB
>> Le 10 mars 2018, à 12:02, ivoleitao <Ivo.leitao@gmail.com
>> <ma...@gmail.com>> a écrit:
>>
>>     Hi,
>>
>>     Sorry JB missed that one. Any plans for cutting a new release ?
>>
>>     Regards and once more thank you for your help,
>>     Ivo Leitão
>>
>>
>>
>>
>>     --
>>     Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html
>>

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Re: Karaf Cave Release addressing KARAF-5555

Posted by Alex Weirig <al...@technolink.lu>.
Hello,

is there anything new in regards to this issue?

Has a fix been released yet that I might have missed?

Many thanks in advance

Mat frëndleche Gréiss, Mit freundlichen Grüßen, Meilleures salutations, 
Kind regards,
Alex Weirig
Responsable Technique Ville de Luxembourg Service Enseignement Centre 
Technolink *Tel* +352 4796 - 6127 <tel:+35247966127> *Fax* +352 42 88 81 
*Email* alex.weirig@technolink.lu <ma...@technolink.lu> 
www.vdl.lu <http://www.vdl.lu> // www.technolink.lu 
<http://www.technolink.lu> Centre Technolink 2, rue Charles de Tornaco 
L-2623 LUXEMBOURG

On 10/03/2018 20:13, Jean-Baptiste Onofré wrote:
> Hi
>
> Yes but I have other fixes and new features on the fly. I will cut a 
> release as soon as it's done. Roughly I plan a release in a couple of 
> weeks.
>
> Regards
> JB
> Le 10 mars 2018, à 12:02, ivoleitao <Ivo.leitao@gmail.com 
> <ma...@gmail.com>> a écrit:
>
>     Hi,
>
>     Sorry JB missed that one. Any plans for cutting a new release ?
>
>     Regards and once more thank you for your help,
>     Ivo Leitão
>
>
>
>
>     --
>     Sent from:http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html
>

Re: Karaf Cave Release addressing KARAF-5555

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi

Yes but I have other fixes and new features on the fly. I will cut a release as soon as it's done. Roughly I plan a release in a couple of weeks.

Regards
JB

Le 10 mars 2018 à 12:02, à 12:02, ivoleitao <Iv...@gmail.com> a écrit:
>Hi,
>
>Sorry JB missed that one. Any plans for cutting a new release ?
>
>Regards and once more thank you for your help,
>Ivo Leitão
>
>
>
>
>--
>Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html

Re: Karaf Cave Release addressing KARAF-5555

Posted by ivoleitao <Iv...@gmail.com>.
Hi,

Sorry JB missed that one. Any plans for cutting a new release ?

Regards and once more thank you for your help,
Ivo Leitão




--
Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html

Re: Karaf Cave Release addressing KARAF-5555

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

that's another issue, see:

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

I fixed that already.

Regards
JB

On 10/03/2018 02:12, ivoleitao wrote:
> I can confirm that, however I've also installed cave-maven and I'm not seeing
> the maven endpoint.
> 
> The output of http:list is the following:
> 
> 
> ID  │ Servlet             │ Servlet-Name               │ State       │ Alias
> │ Url
> ────┼─────────────────────┼────────────────────────────┼─────────────┼─────────────────────┼────────────────────────
> 36   │ CXFNonSpringServlet │ cxf-osgi-transport-servlet │ Deployed    │ /cxf
> │ [/cxf/*]
> 52   │ CaveHttpServlet     │ ServletModel-7             │ Deployed    │
> /cave/http          │ [/cave/http/*]
> 52   │ CaveHttpServlet     │ ServletModel-5             │ Undeployed  │
> /cave/http          │ [/cave/http/*]
> 129 │ KarafOsgiManager    │ ServletModel-12            │ Undeployed  │
> /system/console     │ [/system/console/*]
> 55   │ CaveRestServlet     │ ServletModel-9             │ Deployed    │
> /cave/rest          │ [/cave/rest/*]
> 129 │ ResourceServlet     │ /system/console/res:/res   │ Deployed    │
> /system/console/res │ [/system/console/res/*]
> 129 │ KarafOsgiManager    │ ServletModel-16            │ Deployed    │
> /system/console     │ [/system/console/*]
> 
> Regards,
> Ivo Leitão
> 
> 
> 
> --
> Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html
> 

Re: Karaf Cave Release addressing KARAF-5555

Posted by ivoleitao <Iv...@gmail.com>.
I can confirm that, however I've also installed cave-maven and I'm not seeing
the maven endpoint. 

The output of http:list is the following:


ID  │ Servlet             │ Servlet-Name               │ State       │ Alias              
│ Url                        
────┼─────────────────────┼────────────────────────────┼─────────────┼─────────────────────┼────────────────────────    
36   │ CXFNonSpringServlet │ cxf-osgi-transport-servlet │ Deployed    │ /cxf               
│ [/cxf/*]                   
52   │ CaveHttpServlet     │ ServletModel-7             │ Deployed    │
/cave/http          │ [/cave/http/*]             
52   │ CaveHttpServlet     │ ServletModel-5             │ Undeployed  │
/cave/http          │ [/cave/http/*]             
129 │ KarafOsgiManager    │ ServletModel-12            │ Undeployed  │
/system/console     │ [/system/console/*]        
55   │ CaveRestServlet     │ ServletModel-9             │ Deployed    │
/cave/rest          │ [/cave/rest/*]             
129 │ ResourceServlet     │ /system/console/res:/res   │ Deployed    │
/system/console/res │ [/system/console/res/*]    
129 │ KarafOsgiManager    │ ServletModel-16            │ Deployed    │
/system/console     │ [/system/console/*]  

Regards,
Ivo Leitão



--
Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html

Re: Karaf Cave Release addressing KARAF-5555

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
By the way, another easier workaround is, instead of doing feature:install
cave-server, you do:

feature:install cave-storage
feature:install cave-http
feature:install cave-rest

Then, it will work.

Regards
JB

On 03/06/2018 11:39 AM, ivoleitao wrote:
> Ok JB,
> 
> Tnks a lot for your help,
> Regards,
> Ivo Leitão
> 
> 
> 
> --
> Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html
> 

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Re: Karaf Cave Release addressing KARAF-5555

Posted by ivoleitao <Iv...@gmail.com>.
Ok JB,

Tnks a lot for your help,
Regards,
Ivo Leitão



--
Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html

Re: Karaf Cave Release addressing KARAF-5555

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
FYI, I'm able to reproduce your issue: it's a race condition on the HttpService.

A workaround is to restart the Cave Rest bundle.

I'm fixing that right now.

Regards
JB

On 03/06/2018 12:13 AM, ivoleitao wrote:
> Hi,
> 
> Were you able to reproduce the bug ? I'm concerned that this could be some
> local problem on my side. 
> 
> Regards,
> Ivo Leitão
> 
> 
> 
> --
> Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html
> 

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Re: Karaf Cave Release addressing KARAF-5555

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
I fixed another issue, I'm working on KARAF-5555 today.

I keep you posted (via Jira).

Regards
JB

On 03/06/2018 12:13 AM, ivoleitao wrote:
> Hi,
> 
> Were you able to reproduce the bug ? I'm concerned that this could be some
> local problem on my side. 
> 
> Regards,
> Ivo Leitão
> 
> 
> 
> --
> Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html
> 

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Re: Karaf Cave Release addressing KARAF-5555

Posted by ivoleitao <Iv...@gmail.com>.
Hi,

Were you able to reproduce the bug ? I'm concerned that this could be some
local problem on my side. 

Regards,
Ivo Leitão



--
Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html

Re: Karaf Cave Release addressing KARAF-5555

Posted by ivoleitao <Iv...@gmail.com>.
Hello,

I'm using 4.1.3.

Regards,



--
Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html

Re: Karaf Cave Release addressing KARAF-5555

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
By the way, what's your Karaf version ?

Regards
JB

On 03/02/2018 11:49 AM, ivoleitao wrote:
> Hello,
> 
> Yes if I stop and start it works however the same does not work for the
> maven servlet (endpoint /cave/maven). No mater what I do it does not go up
> (it does not appear when I issue a http:list).
> 
> Regards,
> Ivo Leitão
> 
> 
> 
> --
> Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html
> 

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Re: Karaf Cave Release addressing KARAF-5555

Posted by ivoleitao <Iv...@gmail.com>.
Hello,

Yes if I stop and start it works however the same does not work for the
maven servlet (endpoint /cave/maven). No mater what I do it does not go up
(it does not appear when I issue a http:list).

Regards,
Ivo Leitão



--
Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html

Re: Karaf Cave Release addressing KARAF-5555

Posted by Francois Papon <fr...@openobject.fr>.
Hi,

Did you tried to stop and start the bundle after install ?

Francois


Le 02/03/2018 à 03:06, ivoleitao a écrit :
> Hi,
>
> I was planning to use karaf cave in my CI workflow however
> https://issues.apache.org/jira/browse/KARAF-5555 blocks completely the usage
> of Cave.
>
> Besides others mentioned in the issue not being able to access rest nor
> maven endpoints are the worst ones.
>
> Any workarounds that I can apply to address this issues. I've tried to
> change the alias and to change the cxf configuration all to no avail :-(
>
> Tnks in advance,
> Best Regards
>
>
>
> --
> Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html


Re: Karaf Cave Release addressing KARAF-5555

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

I'm on Cave today (couple of issue to fix including KARAF-5555). I keep you posted.

Regards
JB

On 03/02/2018 12:06 AM, ivoleitao wrote:
> Hi,
> 
> I was planning to use karaf cave in my CI workflow however
> https://issues.apache.org/jira/browse/KARAF-5555 blocks completely the usage
> of Cave.
> 
> Besides others mentioned in the issue not being able to access rest nor
> maven endpoints are the worst ones.
> 
> Any workarounds that I can apply to address this issues. I've tried to
> change the alias and to change the cxf configuration all to no avail :-(
> 
> Tnks in advance,
> Best Regards
> 
> 
> 
> --
> Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html
> 

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com