You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by Jesus <so...@gmail.com> on 2012/01/18 10:58:18 UTC

DOSGi and Knopflerfish

Hello all, 

I need to develop a OSGi bundle for Knopflerfish and export a service. For
this, I want to used D-OSGi, but I can't access to my bundle through a web
service.

In my Activator code I introduce this code:

        props.put("osgi.remote.configuration.type", "wsdl");
        props.put("service.exported.interfaces", "*");
        props.put("service.exported.configs", "org.apache.cxf.ws");
        props.put("org.apache.cxf.ws.address",
"http://localhost:8080/droolstest");

But I think this is wrong.

Where can I read any example code for run D-OSGi in Knopflerfish?
Anybody have idea?

Thanks in advance, 
Jesus,

--
View this message in context: http://cxf.547215.n5.nabble.com/DOSGi-and-Knopflerfish-tp5154329p5154329.html
Sent from the cxf-dev mailing list archive at Nabble.com.

Re: DOSGi and Knopflerfish

Posted by Jesus <so...@gmail.com>.
Thanks for your response, I'm going to test with the demo 1.2

On Wed, Jan 18, 2012 at 3:23 PM, Sergey Beryozkin-5 [via CXF] <
ml-node+s547215n5154947h94@n5.nabble.com> wrote:

> Hi
> On 18/01/12 09:58, Jesus wrote:
>
> > Hello all,
> >
> > I need to develop a OSGi bundle for Knopflerfish and export a service.
> For
> > this, I want to used D-OSGi, but I can't access to my bundle through a
> web
> > service.
> >
> > In my Activator code I introduce this code:
> >
> >          props.put("osgi.remote.configuration.type", "wsdl");
> >          props.put("service.exported.interfaces", "*");
> >          props.put("service.exported.configs", "org.apache.cxf.ws");
> >          props.put("org.apache.cxf.ws.address",
> > "http://localhost:8080/droolstest");
> >
> > But I think this is wrong.
> >
> > Where can I read any example code for run D-OSGi in Knopflerfish?
> > Anybody have idea?
> >
>
> Try a greeter demo from the 1.2 distribution, a "wsdl" type will be
> supported in 1.3
> Sergey
>
> > Thanks in advance,
> > Jesus,
> >
> > --
> > View this message in context:
> http://cxf.547215.n5.nabble.com/DOSGi-and-Knopflerfish-tp5154329p5154329.html
> > Sent from the cxf-dev mailing list archive at Nabble.com.
>
>
> --
> Sergey Beryozkin
>
> Talend Community Coders
> http://coders.talend.com/
>
> Blog: http://sberyozkin.blogspot.com
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://cxf.547215.n5.nabble.com/DOSGi-and-Knopflerfish-tp5154329p5154947.html
>  To unsubscribe from DOSGi and Knopflerfish, click here<http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5154329&code=c295ZWxtYXRlb0BnbWFpbC5jb218NTE1NDMyOXwtODU2MzA5NTk1>
> .
> NAML<http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.InstantMailNamespace&breadcrumbs=instant+emails%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>


--
View this message in context: http://cxf.547215.n5.nabble.com/DOSGi-and-Knopflerfish-tp5154329p5155016.html
Sent from the cxf-dev mailing list archive at Nabble.com.

Re: DOSGi and Knopflerfish

Posted by Jesus <so...@gmail.com>.
Hi David, I'm going to revised my code, and I'll tested again

Thanks for your response!!

On Wed, Jan 18, 2012 at 8:33 PM, David Bosschaert [via CXF] <
ml-node+s547215n5155677h24@n5.nabble.com> wrote:

> Hi Jesus,
>
> I'm not aware it was ever tried, however the same demo that Sergey
> mentiones does work on the Equinox, Felix and JBoss OSGi Frameworks (I
> have tried it on all these) so if it doesn't work with Knopflerfish it
> might be an issue relating to that framework...
>
> Best regards,
>
> David
>
> On 18 January 2012 16:37, Jesus <[hidden email]<http://user/SendEmail.jtp?type=node&node=5155677&i=0>>
> wrote:
>
> > I develop a bundle like thats, but the result is the same: I can't
> access to
> > my bundle :(
> >
> > Do you know if D-OSGi run in Knopflerfish??
> >
> > Thanks in advance.
> >
> > --
> > View this message in context:
> http://cxf.547215.n5.nabble.com/DOSGi-and-Knopflerfish-tp5154329p5155307.html
>
> > Sent from the cxf-dev mailing list archive at Nabble.com.
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://cxf.547215.n5.nabble.com/DOSGi-and-Knopflerfish-tp5154329p5155677.html
>  To unsubscribe from DOSGi and Knopflerfish, click here<http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5154329&code=c295ZWxtYXRlb0BnbWFpbC5jb218NTE1NDMyOXwtODU2MzA5NTk1>
> .
> NAML<http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.InstantMailNamespace&breadcrumbs=instant+emails%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>


--
View this message in context: http://cxf.547215.n5.nabble.com/DOSGi-and-Knopflerfish-tp5154329p5157044.html
Sent from the cxf-dev mailing list archive at Nabble.com.

Re: DOSGi and Knopflerfish

Posted by David Bosschaert <da...@gmail.com>.
Hi Jesus,

I'm not aware it was ever tried, however the same demo that Sergey
mentiones does work on the Equinox, Felix and JBoss OSGi Frameworks (I
have tried it on all these) so if it doesn't work with Knopflerfish it
might be an issue relating to that framework...

Best regards,

David

On 18 January 2012 16:37, Jesus <so...@gmail.com> wrote:
> I develop a bundle like thats, but the result is the same: I can't access to
> my bundle :(
>
> Do you know if D-OSGi run in Knopflerfish??
>
> Thanks in advance.
>
> --
> View this message in context: http://cxf.547215.n5.nabble.com/DOSGi-and-Knopflerfish-tp5154329p5155307.html
> Sent from the cxf-dev mailing list archive at Nabble.com.

Re: DOSGi and Knopflerfish

Posted by Jesus <so...@gmail.com>.
I develop a bundle like thats, but the result is the same: I can't access to
my bundle :(

Do you know if D-OSGi run in Knopflerfish??

Thanks in advance.

--
View this message in context: http://cxf.547215.n5.nabble.com/DOSGi-and-Knopflerfish-tp5154329p5155307.html
Sent from the cxf-dev mailing list archive at Nabble.com.

Re: DOSGi and Knopflerfish

Posted by Jesus <so...@gmail.com>.
Ah, sorry, I didn't understand you :)

On Wed, Jan 18, 2012 at 4:41 PM, Sergey Beryozkin-5 [via CXF] <
ml-node+s547215n5155159h66@n5.nabble.com> wrote:

>
> http://svn.apache.org/repos/asf/cxf/dosgi/tags/cxf-dosgi-ri-1.2/samples/greeter/
>
> By the way, I'm redirecting to the users list
>
> Sergey
>
>
> On 18/01/12 14:53, Jesus wrote:
>
> > Sorry Sergey,
> >
> > what demo do you said?
> >
> > Actual version of D-OSGi is 1.2
> >
> > On Wed, Jan 18, 2012 at 3:23 PM, Sergey Beryozkin-5 [via CXF]<
> > [hidden email] <http://user/SendEmail.jtp?type=node&node=5155159&i=0>>
>  wrote:
> >
> >> Hi
> >> On 18/01/12 09:58, Jesus wrote:
> >>
> >>> Hello all,
> >>>
> >>> I need to develop a OSGi bundle for Knopflerfish and export a service.
> >> For
> >>> this, I want to used D-OSGi, but I can't access to my bundle through a
> >> web
> >>> service.
> >>>
> >>> In my Activator code I introduce this code:
> >>>
> >>>           props.put("osgi.remote.configuration.type", "wsdl");
> >>>           props.put("service.exported.interfaces", "*");
> >>>           props.put("service.exported.configs", "org.apache.cxf.ws");
> >>>           props.put("org.apache.cxf.ws.address",
> >>> "http://localhost:8080/droolstest");
> >>>
> >>> But I think this is wrong.
> >>>
> >>> Where can I read any example code for run D-OSGi in Knopflerfish?
> >>> Anybody have idea?
> >>>
> >>
> >> Try a greeter demo from the 1.2 distribution, a "wsdl" type will be
> >> supported in 1.3
> >> Sergey
> >>
> >>> Thanks in advance,
> >>> Jesus,
> >>>
> >>> --
> >>> View this message in context:
> >>
> http://cxf.547215.n5.nabble.com/DOSGi-and-Knopflerfish-tp5154329p5154329.html
> >>> Sent from the cxf-dev mailing list archive at Nabble.com.
> >>
> >>
> >> --
> >> Sergey Beryozkin
> >>
> >> Talend Community Coders
> >> http://coders.talend.com/
> >>
> >> Blog: http://sberyozkin.blogspot.com
> >>
> >>
> >> ------------------------------
> >>   If you reply to this email, your message will be added to the
> discussion
> >> below:
> >>
> >>
>
> >> .
> >> NAML<
> http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.InstantMailNamespace&breadcrumbs=instant+emails%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
> >>
> >
> >
> > --
> > View this message in context:
> http://cxf.547215.n5.nabble.com/DOSGi-and-Knopflerfish-tp5154329p5155042.html
>
> > Sent from the cxf-dev mailing list archive at Nabble.com.
>
>
> --
> Sergey Beryozkin
>
> Talend Community Coders
> http://coders.talend.com/
>
> Blog: http://sberyozkin.blogspot.com
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://cxf.547215.n5.nabble.com/DOSGi-and-Knopflerfish-tp5154329p5155159.html
>  To unsubscribe from DOSGi and Knopflerfish, click here<http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5154329&code=c295ZWxtYXRlb0BnbWFpbC5jb218NTE1NDMyOXwtODU2MzA5NTk1>
> .
> NAML<http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.InstantMailNamespace&breadcrumbs=instant+emails%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>


--
View this message in context: http://cxf.547215.n5.nabble.com/DOSGi-and-Knopflerfish-tp5154329p5155172.html
Sent from the cxf-dev mailing list archive at Nabble.com.

Re: DOSGi and Knopflerfish

Posted by Sergey Beryozkin <sb...@gmail.com>.
http://svn.apache.org/repos/asf/cxf/dosgi/tags/cxf-dosgi-ri-1.2/samples/greeter/

By the way, I'm redirecting to the users list

Sergey


On 18/01/12 14:53, Jesus wrote:
> Sorry Sergey,
>
> what demo do you said?
>
> Actual version of D-OSGi is 1.2
>
> On Wed, Jan 18, 2012 at 3:23 PM, Sergey Beryozkin-5 [via CXF]<
> ml-node+s547215n5154947h94@n5.nabble.com>  wrote:
>
>> Hi
>> On 18/01/12 09:58, Jesus wrote:
>>
>>> Hello all,
>>>
>>> I need to develop a OSGi bundle for Knopflerfish and export a service.
>> For
>>> this, I want to used D-OSGi, but I can't access to my bundle through a
>> web
>>> service.
>>>
>>> In my Activator code I introduce this code:
>>>
>>>           props.put("osgi.remote.configuration.type", "wsdl");
>>>           props.put("service.exported.interfaces", "*");
>>>           props.put("service.exported.configs", "org.apache.cxf.ws");
>>>           props.put("org.apache.cxf.ws.address",
>>> "http://localhost:8080/droolstest");
>>>
>>> But I think this is wrong.
>>>
>>> Where can I read any example code for run D-OSGi in Knopflerfish?
>>> Anybody have idea?
>>>
>>
>> Try a greeter demo from the 1.2 distribution, a "wsdl" type will be
>> supported in 1.3
>> Sergey
>>
>>> Thanks in advance,
>>> Jesus,
>>>
>>> --
>>> View this message in context:
>> http://cxf.547215.n5.nabble.com/DOSGi-and-Knopflerfish-tp5154329p5154329.html
>>> Sent from the cxf-dev mailing list archive at Nabble.com.
>>
>>
>> --
>> Sergey Beryozkin
>>
>> Talend Community Coders
>> http://coders.talend.com/
>>
>> Blog: http://sberyozkin.blogspot.com
>>
>>
>> ------------------------------
>>   If you reply to this email, your message will be added to the discussion
>> below:
>>
>> http://cxf.547215.n5.nabble.com/DOSGi-and-Knopflerfish-tp5154329p5154947.html
>>   To unsubscribe from DOSGi and Knopflerfish, click here<http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5154329&code=c295ZWxtYXRlb0BnbWFpbC5jb218NTE1NDMyOXwtODU2MzA5NTk1>
>> .
>> NAML<http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.InstantMailNamespace&breadcrumbs=instant+emails%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>
>
> --
> View this message in context: http://cxf.547215.n5.nabble.com/DOSGi-and-Knopflerfish-tp5154329p5155042.html
> Sent from the cxf-dev mailing list archive at Nabble.com.


-- 
Sergey Beryozkin

Talend Community Coders
http://coders.talend.com/

Blog: http://sberyozkin.blogspot.com

Re: DOSGi and Knopflerfish

Posted by Sergey Beryozkin <sb...@gmail.com>.
http://svn.apache.org/repos/asf/cxf/dosgi/tags/cxf-dosgi-ri-1.2/samples/greeter/

By the way, I'm redirecting to the users list

Sergey


On 18/01/12 14:53, Jesus wrote:
> Sorry Sergey,
>
> what demo do you said?
>
> Actual version of D-OSGi is 1.2
>
> On Wed, Jan 18, 2012 at 3:23 PM, Sergey Beryozkin-5 [via CXF]<
> ml-node+s547215n5154947h94@n5.nabble.com>  wrote:
>
>> Hi
>> On 18/01/12 09:58, Jesus wrote:
>>
>>> Hello all,
>>>
>>> I need to develop a OSGi bundle for Knopflerfish and export a service.
>> For
>>> this, I want to used D-OSGi, but I can't access to my bundle through a
>> web
>>> service.
>>>
>>> In my Activator code I introduce this code:
>>>
>>>           props.put("osgi.remote.configuration.type", "wsdl");
>>>           props.put("service.exported.interfaces", "*");
>>>           props.put("service.exported.configs", "org.apache.cxf.ws");
>>>           props.put("org.apache.cxf.ws.address",
>>> "http://localhost:8080/droolstest");
>>>
>>> But I think this is wrong.
>>>
>>> Where can I read any example code for run D-OSGi in Knopflerfish?
>>> Anybody have idea?
>>>
>>
>> Try a greeter demo from the 1.2 distribution, a "wsdl" type will be
>> supported in 1.3
>> Sergey
>>
>>> Thanks in advance,
>>> Jesus,
>>>
>>> --
>>> View this message in context:
>> http://cxf.547215.n5.nabble.com/DOSGi-and-Knopflerfish-tp5154329p5154329.html
>>> Sent from the cxf-dev mailing list archive at Nabble.com.
>>
>>
>> --
>> Sergey Beryozkin
>>
>> Talend Community Coders
>> http://coders.talend.com/
>>
>> Blog: http://sberyozkin.blogspot.com
>>
>>
>> ------------------------------
>>   If you reply to this email, your message will be added to the discussion
>> below:
>>
>> http://cxf.547215.n5.nabble.com/DOSGi-and-Knopflerfish-tp5154329p5154947.html
>>   To unsubscribe from DOSGi and Knopflerfish, click here<http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5154329&code=c295ZWxtYXRlb0BnbWFpbC5jb218NTE1NDMyOXwtODU2MzA5NTk1>
>> .
>> NAML<http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.InstantMailNamespace&breadcrumbs=instant+emails%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>
>
> --
> View this message in context: http://cxf.547215.n5.nabble.com/DOSGi-and-Knopflerfish-tp5154329p5155042.html
> Sent from the cxf-dev mailing list archive at Nabble.com.


-- 
Sergey Beryozkin

Talend Community Coders
http://coders.talend.com/

Blog: http://sberyozkin.blogspot.com

Re: DOSGi and Knopflerfish

Posted by Jesus <so...@gmail.com>.
Sorry Sergey,

what demo do you said?

Actual version of D-OSGi is 1.2

On Wed, Jan 18, 2012 at 3:23 PM, Sergey Beryozkin-5 [via CXF] <
ml-node+s547215n5154947h94@n5.nabble.com> wrote:

> Hi
> On 18/01/12 09:58, Jesus wrote:
>
> > Hello all,
> >
> > I need to develop a OSGi bundle for Knopflerfish and export a service.
> For
> > this, I want to used D-OSGi, but I can't access to my bundle through a
> web
> > service.
> >
> > In my Activator code I introduce this code:
> >
> >          props.put("osgi.remote.configuration.type", "wsdl");
> >          props.put("service.exported.interfaces", "*");
> >          props.put("service.exported.configs", "org.apache.cxf.ws");
> >          props.put("org.apache.cxf.ws.address",
> > "http://localhost:8080/droolstest");
> >
> > But I think this is wrong.
> >
> > Where can I read any example code for run D-OSGi in Knopflerfish?
> > Anybody have idea?
> >
>
> Try a greeter demo from the 1.2 distribution, a "wsdl" type will be
> supported in 1.3
> Sergey
>
> > Thanks in advance,
> > Jesus,
> >
> > --
> > View this message in context:
> http://cxf.547215.n5.nabble.com/DOSGi-and-Knopflerfish-tp5154329p5154329.html
> > Sent from the cxf-dev mailing list archive at Nabble.com.
>
>
> --
> Sergey Beryozkin
>
> Talend Community Coders
> http://coders.talend.com/
>
> Blog: http://sberyozkin.blogspot.com
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://cxf.547215.n5.nabble.com/DOSGi-and-Knopflerfish-tp5154329p5154947.html
>  To unsubscribe from DOSGi and Knopflerfish, click here<http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5154329&code=c295ZWxtYXRlb0BnbWFpbC5jb218NTE1NDMyOXwtODU2MzA5NTk1>
> .
> NAML<http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.InstantMailNamespace&breadcrumbs=instant+emails%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>


--
View this message in context: http://cxf.547215.n5.nabble.com/DOSGi-and-Knopflerfish-tp5154329p5155042.html
Sent from the cxf-dev mailing list archive at Nabble.com.

Re: DOSGi and Knopflerfish

Posted by Sergey Beryozkin <sb...@gmail.com>.
Hi
On 18/01/12 09:58, Jesus wrote:
> Hello all,
>
> I need to develop a OSGi bundle for Knopflerfish and export a service. For
> this, I want to used D-OSGi, but I can't access to my bundle through a web
> service.
>
> In my Activator code I introduce this code:
>
>          props.put("osgi.remote.configuration.type", "wsdl");
>          props.put("service.exported.interfaces", "*");
>          props.put("service.exported.configs", "org.apache.cxf.ws");
>          props.put("org.apache.cxf.ws.address",
> "http://localhost:8080/droolstest");
>
> But I think this is wrong.
>
> Where can I read any example code for run D-OSGi in Knopflerfish?
> Anybody have idea?
>

Try a greeter demo from the 1.2 distribution, a "wsdl" type will be 
supported in 1.3
Sergey

> Thanks in advance,
> Jesus,
>
> --
> View this message in context: http://cxf.547215.n5.nabble.com/DOSGi-and-Knopflerfish-tp5154329p5154329.html
> Sent from the cxf-dev mailing list archive at Nabble.com.


-- 
Sergey Beryozkin

Talend Community Coders
http://coders.talend.com/

Blog: http://sberyozkin.blogspot.com