You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Tim Moloney (JIRA)" <ji...@apache.org> on 2009/10/22 17:16:59 UTC

[jira] Updated: (FELIX-1796) Add cometd/bayeux support to HTTP Service

     [ https://issues.apache.org/jira/browse/FELIX-1796?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tim Moloney updated FELIX-1796:
-------------------------------

    Attachment: FELIX-1796-AddCometdBayeuxSupport.patch

This is my first attempt to add cometd/bayeux support to the HTTP Service.

Unfortunately, it doesn't work.  The bayeux object is never created (context.getAttribute(Bayeux.ATTRIBUTE) returns null) and I can't figure out why.

I saw on the dev list that a few others have already implemented cometd on top of the HTTP Service.  Perhaps another set of eyes can see what I'm doing wrong.  Thanks.


> Add cometd/bayeux support to HTTP Service
> -----------------------------------------
>
>                 Key: FELIX-1796
>                 URL: https://issues.apache.org/jira/browse/FELIX-1796
>             Project: Felix
>          Issue Type: New Feature
>          Components: HTTP Service
>            Reporter: Tim Moloney
>         Attachments: FELIX-1796-AddCometdBayeuxSupport.patch
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


RE: [jira] Updated: (FELIX-1796) Add cometd/bayeux support to HTTP Service

Posted by "Moloney, Tim M" <Ti...@ManTech.com>.
Thanks.  I'll take a look at those links.


Tim Moloney                              I brought down the sky for you
MRSL                                     but all you did was shrug.
2015 Cattlemen Road                            Audience Of One
Sarasota, FL  34232                                  Appeal To Reason
(941) 377-6775 x208                                        Rise Against

 

> -----Original Message-----
> From: Clement Escoffier [mailto:clement.escoffier@gmail.com] 
> Sent: Tuesday, October 27, 2009 09:49
> To: dev@felix.apache.org
> Subject: Re: [jira] Updated: (FELIX-1796) Add cometd/bayeux 
> support to HTTP Service
> 
> Hi,
> 
> You will find one on 
> http://code.google.com/p/dynamokos/source/browse/#svn/trunk 
> .
> It relies on the former HTTP Service, but works pretty well. It also  
> provides a very nice feature to integrate CometD with the 
> Event Admin  
> (after all it's the same paradigm).
> 
> Clement
> 
> PS: Here are the explanation about the project:
> http://blog.akquinet.de/2009/09/14/dynamokos-dealing-with-dyna
> mism-in-osgi-distributed-web-applications/
> 
> On 27.10.2009, at 14:21, Moloney, Tim M wrote:
> 
> >
> > Last Thursday, I posted a partial patch to add cometd/bayeux to the
> > HttpService.  Unfortunately, it doesn't work since the 
> Bayeux object  
> > is
> > never created.
> >
> > Can someone with a better understanding of cometd/bayeux 
> take a look  
> > at
> > the patch to see where I went wrong?  Thanks.
> >
> > Tim Moloney                              I brought down the 
> sky for  
> > you
> > MRSL                                     but all you did was shrug.
> > 2015 Cattlemen Road                            Audience Of One
> > Sarasota, FL  34232                                  Appeal 
> To Reason
> > (941) 377-6775 x208                                        Rise  
> > Against
> >
> >
> >
> >> -----Original Message-----
> >> From: Tim Moloney (JIRA) [mailto:jira@apache.org]
> >> Sent: Thursday, October 22, 2009 11:17
> >> To: dev@felix.apache.org
> >> Subject: [jira] Updated: (FELIX-1796) Add cometd/bayeux
> >> support to HTTP Service
> >>
> >>
> >>     [
> >> https://issues.apache.org/jira/browse/FELIX-1796?page=com.atla
> >> ssian.jira.plugin.system.issuetabpanels:all-tabpanel ]
> >>
> >> Tim Moloney updated FELIX-1796:
> >> -------------------------------
> >>
> >>    Attachment: FELIX-1796-AddCometdBayeuxSupport.patch
> >>
> >> This is my first attempt to add cometd/bayeux support to the
> >> HTTP Service.
> >>
> >> Unfortunately, it doesn't work.  The bayeux object is never
> >> created (context.getAttribute(Bayeux.ATTRIBUTE) returns null)
> >> and I can't figure out why.
> >>
> >> I saw on the dev list that a few others have already
> >> implemented cometd on top of the HTTP Service.  Perhaps
> >> another set of eyes can see what I'm doing wrong.  Thanks.
> >>
> >>
> >>> Add cometd/bayeux support to HTTP Service
> >>> -----------------------------------------
> >>>
> >>>                Key: FELIX-1796
> >>>                URL:
> >> https://issues.apache.org/jira/browse/FELIX-1796
> >>>            Project: Felix
> >>>         Issue Type: New Feature
> >>>         Components: HTTP Service
> >>>           Reporter: Tim Moloney
> >>>        Attachments: FELIX-1796-AddCometdBayeuxSupport.patch
> >>>
> >>>
> >>
> >>
> >> -- 
> >> This message is automatically generated by JIRA.
> >> -
> >> You can reply to this email to add a comment to the issue online.
> >>
> >>
> 
> 

Re: [jira] Updated: (FELIX-1796) Add cometd/bayeux support to HTTP Service

Posted by Clement Escoffier <cl...@gmail.com>.
Hi,

You will find one on http://code.google.com/p/dynamokos/source/browse/#svn/trunk 
.
It relies on the former HTTP Service, but works pretty well. It also  
provides a very nice feature to integrate CometD with the Event Admin  
(after all it's the same paradigm).

Clement

PS: Here are the explanation about the project:
http://blog.akquinet.de/2009/09/14/dynamokos-dealing-with-dynamism-in-osgi-distributed-web-applications/

On 27.10.2009, at 14:21, Moloney, Tim M wrote:

>
> Last Thursday, I posted a partial patch to add cometd/bayeux to the
> HttpService.  Unfortunately, it doesn't work since the Bayeux object  
> is
> never created.
>
> Can someone with a better understanding of cometd/bayeux take a look  
> at
> the patch to see where I went wrong?  Thanks.
>
> Tim Moloney                              I brought down the sky for  
> you
> MRSL                                     but all you did was shrug.
> 2015 Cattlemen Road                            Audience Of One
> Sarasota, FL  34232                                  Appeal To Reason
> (941) 377-6775 x208                                        Rise  
> Against
>
>
>
>> -----Original Message-----
>> From: Tim Moloney (JIRA) [mailto:jira@apache.org]
>> Sent: Thursday, October 22, 2009 11:17
>> To: dev@felix.apache.org
>> Subject: [jira] Updated: (FELIX-1796) Add cometd/bayeux
>> support to HTTP Service
>>
>>
>>     [
>> https://issues.apache.org/jira/browse/FELIX-1796?page=com.atla
>> ssian.jira.plugin.system.issuetabpanels:all-tabpanel ]
>>
>> Tim Moloney updated FELIX-1796:
>> -------------------------------
>>
>>    Attachment: FELIX-1796-AddCometdBayeuxSupport.patch
>>
>> This is my first attempt to add cometd/bayeux support to the
>> HTTP Service.
>>
>> Unfortunately, it doesn't work.  The bayeux object is never
>> created (context.getAttribute(Bayeux.ATTRIBUTE) returns null)
>> and I can't figure out why.
>>
>> I saw on the dev list that a few others have already
>> implemented cometd on top of the HTTP Service.  Perhaps
>> another set of eyes can see what I'm doing wrong.  Thanks.
>>
>>
>>> Add cometd/bayeux support to HTTP Service
>>> -----------------------------------------
>>>
>>>                Key: FELIX-1796
>>>                URL:
>> https://issues.apache.org/jira/browse/FELIX-1796
>>>            Project: Felix
>>>         Issue Type: New Feature
>>>         Components: HTTP Service
>>>           Reporter: Tim Moloney
>>>        Attachments: FELIX-1796-AddCometdBayeuxSupport.patch
>>>
>>>
>>
>>
>> -- 
>> This message is automatically generated by JIRA.
>> -
>> You can reply to this email to add a comment to the issue online.
>>
>>


RE: [jira] Updated: (FELIX-1796) Add cometd/bayeux support to HTTP Service

Posted by "Moloney, Tim M" <Ti...@ManTech.com>.
Last Thursday, I posted a partial patch to add cometd/bayeux to the
HttpService.  Unfortunately, it doesn't work since the Bayeux object is
never created.

Can someone with a better understanding of cometd/bayeux take a look at
the patch to see where I went wrong?  Thanks.

Tim Moloney                              I brought down the sky for you
MRSL                                     but all you did was shrug.
2015 Cattlemen Road                            Audience Of One
Sarasota, FL  34232                                  Appeal To Reason
(941) 377-6775 x208                                        Rise Against

 

> -----Original Message-----
> From: Tim Moloney (JIRA) [mailto:jira@apache.org] 
> Sent: Thursday, October 22, 2009 11:17
> To: dev@felix.apache.org
> Subject: [jira] Updated: (FELIX-1796) Add cometd/bayeux 
> support to HTTP Service
> 
> 
>      [ 
> https://issues.apache.org/jira/browse/FELIX-1796?page=com.atla
> ssian.jira.plugin.system.issuetabpanels:all-tabpanel ]
> 
> Tim Moloney updated FELIX-1796:
> -------------------------------
> 
>     Attachment: FELIX-1796-AddCometdBayeuxSupport.patch
> 
> This is my first attempt to add cometd/bayeux support to the 
> HTTP Service.
> 
> Unfortunately, it doesn't work.  The bayeux object is never 
> created (context.getAttribute(Bayeux.ATTRIBUTE) returns null) 
> and I can't figure out why.
> 
> I saw on the dev list that a few others have already 
> implemented cometd on top of the HTTP Service.  Perhaps 
> another set of eyes can see what I'm doing wrong.  Thanks.
> 
> 
> > Add cometd/bayeux support to HTTP Service
> > -----------------------------------------
> >
> >                 Key: FELIX-1796
> >                 URL: 
> https://issues.apache.org/jira/browse/FELIX-1796
> >             Project: Felix
> >          Issue Type: New Feature
> >          Components: HTTP Service
> >            Reporter: Tim Moloney
> >         Attachments: FELIX-1796-AddCometdBayeuxSupport.patch
> >
> >
> 
> 
> -- 
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
> 
>