Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [concierge-dev] concierge-dev Digest, Vol 4, Issue 2

Hi,

Thank you for the replies.

Jochen - I started working with your test cases for Kura. They were very helpful in debugging the bundle start issues. The fix for Bug 436724 helped resolve the install and start of slf4j.api_1.6.4.jar. I will follow up on Bug 436725 with the kura community. I also needed to specify the kura properties in my test cases to have them run on raspberry-pi.
Eg: System.setProperty("kura.arch", "armv6_hf"); is needed by org.eclipse.soda.dk.comm.jar on rpi.

Jan - I am using an init.xargs property file for launching kura over concierge since currently kura is launched over equniox using a config.ini file. Launch from xargs file does work the same as launching from a java class. The -istart command does work for bundles, however I find that sometimes a bundle started with '-istart' will only display as 'installed'. Then calling 'start bundle_number' in the shell will result in the bundle becoming 'active'. I believe this again is due to some missing dependencies.

Tim - Kura currently uses org.eclipse.equinox.ds bundle for Declarative Services implementation which depends on org.apache.felix.scr. I haven't looked into this in detail yet. I will contact you if I have any issues.

Thanks again. Have a great week ahead!

Harini




On Fri, Jun 6, 2014 at 9:30 PM, <concierge-dev-request@xxxxxxxxxxx> wrote:
Send concierge-dev mailing list submissions to
        concierge-dev@xxxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
        https://dev.eclipse.org/mailman/listinfo/concierge-dev
or, via email, send a message with subject or body 'help' to
        concierge-dev-request@xxxxxxxxxxx

You can reach the person managing the list at
        concierge-dev-owner@xxxxxxxxxxx

When replying, please edit your Subject line so it is more specific
than "Re: Contents of concierge-dev digest..."


Today's Topics:

   1. Re: GSoC Eclipse project - Port Kura over Concierge
      (Jochen Hiller)
   2. Re: GSoC Eclipse project - Port Kura over Concierge
      (Jan S Rellermeyer)
   3. Re: GSoC Eclipse project - Port Kura over Concierge (Tim Verbelen)


----------------------------------------------------------------------

Message: 1
Date: Thu, 5 Jun 2014 18:14:43 +0200
From: Jochen Hiller <jo.hiller@xxxxxxxxxxxxxx>
To: Concierge developer discussions <concierge-dev@xxxxxxxxxxx>
Subject: Re: [concierge-dev] GSoC Eclipse project - Port Kura over
        Concierge
Message-ID:
        <CADrKXyiYfw7DLFM446_smBL2Bqw2mLzjUJn7EdyGOWHmD8XnyA@xxxxxxxxxxxxxx>
Content-Type: text/plain; charset="utf-8"

Hi Harini,

I am (also) trying to run Kura on Concierge, as part of testing some
Eclipse IoT projects running on Concierge, e.g mainly for Eclipse SmartHome.
I added two bugs, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=433624
for tracking issues with Kura/Concierge.

And: you are right: there is the bundle org.eclipse.kura.core.configuration
which refers directly to org.apache.felix.scr.
I dont know why, but it seems for me that it should better to refer to OSGi
DeclarativeServices, so either Equinox DS or Apache Felix SCR could be used
as implementation. See https://bugs.eclipse.org/bugs/show_bug.cgi?id=436729

See also the attached test cases: I have JUnit test cases which are
installing and starting bundle directly into Concierge, with xargs needs.
Simply clone Concierge, put the files to test/target folders and run it.

> Also are there any tests for measuring the performance of a bundle
running over concierge?
Maybe Jan/Tim can answer here better

Bye, Jochen




On Thu, Jun 5, 2014 at 4:52 PM, Harini Sirisena <harini.sirisena@xxxxxxxxx>
wrote:

> Hi,
>
> I am currently working on the GSoC project Port Eclipse Kura over
> Concierge
> <https://wiki.eclipse.org/Google_Summer_of_Code_2014_Ideas#Eclipse_IoT:_Port_Eclipse_Kura_over_Eclipse_Concierge_OSGi_runtime> .
> I am using the code from
> http://git.eclipse.org/c/concierge/org.eclipse.concierge.git to build my
> concierge runtime bundle. There are a few issues I come across when porting
> the kura application from equinox over to concierge. Hope someone here can
> help me.
>
> - Bundle start order : I have configured my init.xargs file to start
> bundles using -istart property. However I find that the kura bundles
> install but do not start until i issue the start command in the concierge
> shell. Is this due to a concierge implementation to conserve resources?
> - Declarative services : Kura uses org.apache.felix.scr for implementing
> declarative services. How can I best port that implementation over to
> concierge?
>
> Also are there any tests for measuring the performance of a bundle running
> over concierge?
>
>
> Thanks in advance.
>
> Harini Sirisena
> Postgraduate student,
> MSc. in AI, University of Moratuwa, Sri Lanka.
>
> _______________________________________________
> concierge-dev mailing list
> concierge-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/concierge-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dev.eclipse.org/mailman/private/concierge-dev/attachments/20140605/517a4c78/attachment.html>

------------------------------

Message: 2
Date: Fri, 6 Jun 2014 00:35:01 -0500
From: Jan S Rellermeyer <rellermeyer@xxxxxxxxxx>
To: Concierge developer discussions <concierge-dev@xxxxxxxxxxx>
Cc: concierge-dev-bounces@xxxxxxxxxxx
Subject: Re: [concierge-dev] GSoC Eclipse project - Port Kura over
        Concierge
Message-ID:
        <OF97AE3692.F6F2B04A-ON86257CEF.001DF03B-86257CEF.001EAC55@xxxxxxxxxx>
Content-Type: text/plain; charset="iso-8859-1"


Hi Harini,

great to see that you are working on bringing Kura up on Concierge and
welcome to the Concierge community!

As Jochen said, he is also looking into this and will quite possibly be
able to help you.

Regarding xargs, this is a bit of a legacy thing. I used it for Concierge
R3 to have a drop-in replacement for Knopflerfish. Currently I more often
use a launcher Java class but in principle the xargs mechanism should still
work. I will check why bundles don't start when using -istart.

Regarding performance, I have some older performance tests but really need
to write some new tests. Right now my main focus is on fixing the last few
test cases to be fully R5 compliant but quantifying the runtime behavior to
guide optimization is right next on my agenda. I would say that right now
Concierge is already pretty fast especially on smaller devices where I have
tested it a lot but there are still some areas where I think we can do
(even) better.

Best regards,

Jan.



From:   Harini Sirisena <harini.sirisena@xxxxxxxxx>
To:     concierge-dev@xxxxxxxxxxx
Date:   06/05/2014 09:53 AM
Subject:        [concierge-dev] GSoC Eclipse project - Port Kura over Concierge
Sent by:        concierge-dev-bounces@xxxxxxxxxxx



Hi,

I am currently working on the GSoC project Port Eclipse Kura over Concierge
. I am using the code from
http://git.eclipse.org/c/concierge/org.eclipse.concierge.git?to build my
concierge runtime bundle. There are a few issues I come across when porting
the kura application from equinox over to concierge. Hope someone here can
help me.

- Bundle start order : I have configured my init.xargs file to start
bundles using -istart property. However I find that the kura bundles
install but do not start until i issue the start command in the concierge
shell. Is this due to a concierge implementation to conserve resources?
- Declarative services : Kura uses org.apache.felix.scr for implementing
declarative services. How can I best port that implementation over to
concierge?

Also are there any tests for measuring the performance of a bundle running
over concierge?


Thanks in advance.

Harini Sirisena
Postgraduate student,
MSc. in AI, University of Moratuwa, Sri Lanka.
_______________________________________________
concierge-dev mailing list
concierge-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/concierge-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dev.eclipse.org/mailman/private/concierge-dev/attachments/20140606/ef2a08c7/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
URL: <https://dev.eclipse.org/mailman/private/concierge-dev/attachments/20140606/ef2a08c7/attachment.gif>

------------------------------

Message: 3
Date: Fri, 06 Jun 2014 08:34:12 +0200
From: Tim Verbelen <tim.verbelen@xxxxxxxxxxxxxx>
To: concierge-dev@xxxxxxxxxxx
Subject: Re: [concierge-dev] GSoC Eclipse project - Port Kura over
        Concierge
Message-ID: <539160E4.1050503@xxxxxxxxxxxxxx>
Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"

Hi Harini,

I have got the org.apache.felix.scr DS implementation running on
Concierge, so you should be able to use it for Kura. If you have
specific problems regarding this, just let me know.

Best regards,

Tim

On 06/05/2014 04:52 PM, Harini Sirisena wrote:
> Hi,
>
> I am currently working on the GSoC project Port Eclipse Kura over
> Concierge
> <https://wiki.eclipse.org/Google_Summer_of_Code_2014_Ideas#Eclipse_IoT:_Port_Eclipse_Kura_over_Eclipse_Concierge_OSGi_runtime> .
> I am using the code from
> http://git.eclipse.org/c/concierge/org.eclipse.concierge.git to build
> my concierge runtime bundle. There are a few issues I come across when
> porting the kura application from equinox over to concierge. Hope
> someone here can help me.
>
> - Bundle start order : I have configured my init.xargs file to start
> bundles using -istart property. However I find that the kura bundles
> install but do not start until i issue the start command in the
> concierge shell. Is this due to a concierge implementation to conserve
> resources?
> - Declarative services : Kura uses org.apache.felix.scr for
> implementing declarative services. How can I best port that
> implementation over to concierge?
>
> Also are there any tests for measuring the performance of a bundle
> running over concierge?
>
>
> Thanks in advance.
>
> Harini Sirisena
> Postgraduate student,
> MSc. in AI, University of Moratuwa, Sri Lanka.
>
>
> _______________________________________________
> concierge-dev mailing list
> concierge-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/concierge-dev


--
Tim Verbelen
Department of Information Technology
Broadband Communication Networks (IBCN)
Ghent University - iMinds
Gaston Crommenlaan 8 (Bus 201), B-9050 Gent, Belgium
T: +32 9 33 14940 ; T Secr: +32 9 33 14900
F: +32 9 33 14899
E: tim.verbelen@xxxxxxxxxxxxxx
W : www.ibcn.intec.UGent.be

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dev.eclipse.org/mailman/private/concierge-dev/attachments/20140606/e3dba75a/attachment.html>

------------------------------

_______________________________________________
concierge-dev mailing list
concierge-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/concierge-dev


End of concierge-dev Digest, Vol 4, Issue 2
*******************************************


Back to the top