[osgi-dev] objectClass=org.osgi.service.component.ComponentFactory missing

2019-03-08 Thread Paul F Fraser via osgi-dev
Hi, The following resolve fail is occuring in my enRoute application bndrun, but I think this service should be provided by felx scr (2.1.14) Resolution failed. Capabilities satisfying the following requirements could not be found:     [<>]   ? osgi.identity:

Re: [osgi-dev] Checking index project APP for rebuild

2019-03-06 Thread Paul F Fraser via osgi-dev
Hi Tim, On 6/03/2019 8:41 pm, Tim Ward wrote: Hi Paul, Firstly - this sounds like something for the Bndtools list rather than the OSGi developer list, in that your asking a question about the Bndtools M2E integration, rather than a question about OSGi enRoute. Not sure I understand this

[osgi-dev] Checking index project APP for rebuild

2019-03-05 Thread Paul F Fraser via osgi-dev
With about 30 modules in an enRoute project it is spending a long time in "Checking index project APP for rebuild" APP is the name of the project application. Is this normal or have I missed a setting somewhere? Eclipse 2018-12, bndtools 4.3.0.DEV Paul Fraser

[osgi-dev] A mess No More

2019-03-05 Thread Paul F Fraser via osgi-dev
Hi, Thanks to Ray for fixing the Jetty metadata problem and Carsten for pointing out it's release. Also to whoever upgraded felix scr to 2.1.14. For some reason the debug problem with source code has gone away and enRoute is defaulting to the latest versions of jetty and scr. My system now

[osgi-dev] Upgrade enRoute dependencies

2019-03-03 Thread Paul F Fraser via osgi-dev
Hi, What needs to be done to upgrade enRoute to use felix scr 2.1.14 and felix.jetty 4.0.8 as defaults? Paul Fraser ___ OSGi Developer Mail List osgi-dev@mail.osgi.org https://mail.osgi.org/mailman/listinfo/osgi-dev

Re: [osgi-dev] Oh, What a Mess

2019-03-03 Thread Paul F Fraser via osgi-dev
On 3/03/2019 7:59 pm, Carsten Ziegeler via osgi-dev wrote: Hi have a look at http://repo1.maven.org/maven2/org/apache/felix/org.apache.felix.http.jetty/4.0.8/ It's released since some days Thanks Carsten, It does not show up in a maven central search, only 4.0.6, that's why I was not

[osgi-dev] Oh, What a Mess

2019-03-02 Thread Paul F Fraser via osgi-dev
Hi, My code runs OK in a bnd workspace using R6 and bndtools 4.2 and it HAS (at the moment) to use org.apache.felix.jetty 4.0.6 . This setup resolves and runs OK with the missing metadata in 4.0.6. This setup has the problem with Felix SCR not removing prototype references on shutdown using

Re: [osgi-dev] Vaadin flow works in bnd workspace, fails in enRoute project

2019-02-15 Thread Paul F Fraser via osgi-dev
On 16/01/2019 10:51 pm, Tim Ward wrote: Is there a bug repot filed for this bug? Otherwise we should do that. https://issues.apache.org/jira/browse/FELIX-6029 It would appear that http.jetty-4.08 fixes this but I cannot find v4.08. Where should I look? Thanks Paul Fraser

Re: [osgi-dev] enRoute workspace debugging

2019-02-01 Thread Paul F Fraser via osgi-dev
Thomas, Thank goodness someone else has experienced this. I thought it was my problem only. I mentioned this on this list previously but so far no response. Paul On 2/02/2019 3:54 am, Thomas Driessen via osgi-dev wrote: Hi, now that I'm using the enroute maven workspace I stumbled upon

Re: [osgi-dev] Move from bnd workspace to maven (enroute) workspace

2019-01-31 Thread Paul F Fraser via osgi-dev
Hi Thomas, I have been going through the same trauma as you with a fond attachment to the bnd workspace and a dislike of maven. I think you also have an interest in Vaadin. Vaadin has been the catalyst for me having to get to know and use the new enRoute. The ease of using Vaadin addons and

Re: [osgi-dev] Loading xxxApp contents has encountererd NPE

2019-01-30 Thread Paul F Fraser via osgi-dev
leading up to it. Best Regards, Tim On 30 Jan 2019, at 06:04, Paul F Fraser via osgi-dev wrote: Hi, Now heavily into new enRoute, I am getting quite regularly (multiple) NPEs during build. Does not seem to affect runtime. Is this a normal situation or should I look for a problem in my code? Any

Re: [osgi-dev] Limks to R7 ionline spec

2019-01-30 Thread Paul F Fraser via osgi-dev
wrote: Hi Paul, If I follow the Download links from there I end up at the actual page that contains the specs: https://www.osgi.org/release-7-1/ That page contains both the PDFs as well as the online ones... Best regards, David On Wed, 30 Jan 2019 at 00:00, Paul F Fraser via osgi-dev

[osgi-dev] Loading xxxApp contents has encountererd NPE

2019-01-29 Thread Paul F Fraser via osgi-dev
Hi, Now heavily into new enRoute, I am getting quite regularly (multiple) NPEs during build. Does not seem to affect runtime. Is this a normal situation or should I look for a problem in my code? Any clues? Paul Fraser ___ OSGi Developer Mail

[osgi-dev] Limks to R7 ionline spec

2019-01-29 Thread Paul F Fraser via osgi-dev
Hi, Who or how do I tell someone that the page https://www.osgi.org/developer/specifications/ needs links to the online spec. The bugs and issues area  seems difficult to use without further study. A low friction way to report these, relatively minor, but annoying aspects of the search for

Re: [osgi-dev] OSGi Http Client Missing Requirement

2019-01-24 Thread Paul F Fraser via osgi-dev
correctly? Paul On 24/01/2019 8:39 pm, Paul F Fraser via osgi-dev wrote: One query, I am finding in my system, after running resolve, the app sometimes needs to be saved manually after the resolve other times it is saved auto. Is this normal? Paul

Re: [osgi-dev] OSGi Http Client Missing Requirement

2019-01-24 Thread Paul F Fraser via osgi-dev
Thanks, Ray, Things are starting to look promising :-) One query, I am finding in my system, after running resolve, the app sometimes needs to be saved manually after the resolve other times it is saved auto. Is this normal? Paul On 22/01/2019 3:16 pm, Raymond Auge wrote: _clientBuilder_

Re: [osgi-dev] OSGi Http Client Missing Requirement

2019-01-21 Thread Paul F Fraser via osgi-dev
On 21/01/2019 7:57 pm, Tim Ward wrote: As a separate question - is there a reason that you are trying to use the Apache HttpClient? OSGi enRoute makes use of the JAX-RS Whiteboard which includes a simple way to access the JAX-RS specification client implementation. If it’s possible for you to

[osgi-dev] Problems with new enRoute

2019-01-17 Thread Paul F Fraser via osgi-dev
Hi, Not sure if the problem is due to me, but I have been having major problems with the bare project archetype. Most of the errors I was getting made mention of not being able to find my bundles in the sonartype repo. Removing the sonartype repo from the eclipse maven repos and relying

Re: [osgi-dev] Vaadin flow works in bnd workspace, fails in enRoute project

2019-01-16 Thread Paul F Fraser via osgi-dev
and opening the issue :) Thomas -- Originalnachricht -- Von: "Tim Ward" mailto:tim.w...@paremus.com>> An: "Thomas Driessen" mailto:thomas.driessen...@gmail.com>> Cc: "Paul F Fraser" mailto:pa...@a2zliving.com>>; "OSGi Developer Mail List"

[osgi-dev] Reconcile Vaadin Flow pom with enRoute ds pom

2019-01-09 Thread Paul F Fraser via osgi-dev
Hi, When attempting to create a ds-component for a Vaadin Flow bundle in enRoute I have run up against some problems reconciling the 2 different approaches. Adding appropriate parts of the vaadin pom to the enRoute pom causes problems between enRoute osgi-api pom and the osgi bundles used by

Re: [osgi-dev] Disposing component instances

2018-08-21 Thread Paul F Fraser via osgi-dev
On 22/08/2018 5:40 AM, Paul F Fraser via osgi-dev wrote: On 21/08/2018 10:00 PM, Tim Ward via osgi-dev wrote: Have you looked at what the OSC project does? It uses Vaadin, and uses the ViewProvider interface to provide view instances. These automatically have a detach listener added on creation

Re: [osgi-dev] Disposing component instances

2018-08-21 Thread Paul F Fraser via osgi-dev
On 21/08/2018 10:00 PM, Tim Ward via osgi-dev wrote: Have you looked at what the OSC project does? It uses Vaadin, and uses the ViewProvider interface to provide view instances. These automatically have a detach listener added on creation so that they get correctly disposed when their parent

[osgi-dev] OSGi Logging

2018-07-10 Thread Paul F Fraser via osgi-dev
Somewhere in an Eclipsecon video or some other source I came across some info on the new logging setup which I cannot find now. It might have been David and Carsten, but not sure. The spec will be most valuable once I understand what is going on! Anyway, to the point, is there an approach

Re: [osgi-dev] OSGi enRoute R7 examples

2018-07-03 Thread Paul F Fraser via osgi-dev
Tim, Would this problem be related? "Error: Could not find or load main class aQute.launcher.Launcher" Also is the enRoute documentation still to be followed as is, for instance settings.xml and the cli archetype commands? Paul On 3/07/2018 7:05 PM, Tim Ward via osgi-dev wrote: Hi all,

Re: [osgi-dev] Vaadin and New enRoute

2018-07-02 Thread Paul F Fraser via osgi-dev
e best learning method. Thanks, Paul On 2 Jul 2018, at 10:47, Paul F Fraser via osgi-dev <mailto:osgi-dev@mail.osgi.org>> wrote: Thanks to the clues obtained from code in the OpenSecurityController project I am making some serious progress in handling the Vaadin OSGi situation. The one

Re: [osgi-dev] Vaadin and New enRoute

2018-07-02 Thread Paul F Fraser via osgi-dev
Thanks to the clues obtained from code in the OpenSecurityController project I am making some serious progress in handling the Vaadin OSGi situation. The one sticking point now is related to creating the instances of PROTOTYPE services. In the code below, when the component is activated the

Re: [osgi-dev] Vaadin and New enRoute

2018-06-29 Thread Paul F Fraser via osgi-dev
Tim, Thanks for the pointer to OpenSecurityController. It covers many aspects of the service model not well explained anywhere else that I have been able to find. A couple of questions... The MainUI references all of the ComponentServiceObjects used in the project. Could you suggest how

[osgi-dev] Non OSGi jars

2018-06-27 Thread Paul F Fraser via osgi-dev
There has been some discussion in the bndtools list about handling 3rd part non OSGi jars. How can this be done in the new maven enRoute, if possible? Paul Fraser ___ OSGi Developer Mail List osgi-dev@mail.osgi.org

[osgi-dev] Vaadin and New enRoute

2018-06-25 Thread Paul F Fraser via osgi-dev
At last I have a working vaadin UI in the new enRoute environment. https://github.com/QNENet/vaadin-osgi-enRoute The code is based on work by Mirjan Merruko of Vaadin in preparation for possible inclusion in an upcoming Vaadin release. I have no yet tried any themes other than the default

[osgi-dev] enRoute, Vaadin and Karaf

2018-06-21 Thread Paul F Fraser via osgi-dev
After researching the situation with Vaadin and OSGi I have decided to ask for help from anyone interested in the subject I have created a Github repo with a readme that explains the problems and added 2 videos,  first video is an intro to the new enRoute and the other a demo of the Vaadin

[osgi-dev] enRoute spending long time Checking index project

2018-06-20 Thread Paul F Fraser via osgi-dev
A few questions about work environment. Build automatically.. On or Off Bndtools perspective.. Y or N Paul ___ OSGi Developer Mail List osgi-dev@mail.osgi.org https://mail.osgi.org/mailman/listinfo/osgi-dev

[osgi-dev] Using a Vaadin Application Archetype as a Maven Module in the reactor

2018-06-20 Thread Paul F Fraser via osgi-dev
Vaadin instructions for OSGi-fying a Vaadin application is at https://vaadin.com/docs/v8/framework/advanced/advanced-osgi.html The reactor pom seems to handle most of the info suggested by Vaadin to be placed in a bnd file. Bundle-Name: ${project.name} Bundle-Version: ${project.version}

[osgi-dev] Where is logback referenced in enRoute project artifact

2018-06-20 Thread Paul F Fraser via osgi-dev
I added slf4j as a managed dependency in the reactor and logback disappeared from the index. Removed it and logback was back. Searched my workspace and only found logback mysteriously appearing in the the app index. Where should I look to find where logback is introduced? Paul Fraser

[osgi-dev] How best to refer to New enRoute and Classic enRoute

2018-06-20 Thread Paul F Fraser via osgi-dev
Any opinions on how we should refer to the two versions? Perhaps "enRoute" for the new and "Classic enRoute" for the original. Or enroute1 and enRoute2? Or is there a formal naming? Paul Fraser ___ OSGi Developer Mail List osgi-dev@mail.osgi.org

Re: [osgi-dev] Adding a Vaadin dependency causes trouble-solved

2018-06-19 Thread Paul F Fraser via osgi-dev
Just before giving up on the new enRoute system I decided to go back to the start and follow the quickstart tutorial exactly as outlined in the documents. I had tried to be too clever and use the bare project...wrong. Using the full project artifact solved all of the problems. I deleted my .m2

Re: [osgi-dev] Adding a Vaadin dependency causes trouble

2018-06-18 Thread Paul F Fraser via osgi-dev
On further investigation It is not related to dependencies in the reactor. It happens in modules as well. jsoup seems ok vaadin server 8.4.3 causes errors vaadin osgi integration bundle 8.4.3 causes errors all other vaadin bundles seem ok. Paul On 18/06/2018 7:05 PM, Paul F Fraser via osgi-dev

Re: [osgi-dev] enRoute Reactor question

2018-06-18 Thread Paul F Fraser via osgi-dev
frameworks, and therefore require indexes. You can see that they create indexes because they enable the bnd-indexer-maven-plugin. Best Regards, Tim On 18 Jun 2018, at 06:15, Paul F Fraser via osgi-dev wrote: Is it intended that all modules listed in the reactor are indexed. In my case

[osgi-dev] enRoute Reactor question

2018-06-17 Thread Paul F Fraser via osgi-dev
Is it intended that all modules listed in the reactor are indexed. In my case for some reason, only those referenced in the application start module(?) are indexed. Paul Fraser ___ OSGi Developer Mail List osgi-dev@mail.osgi.org

[osgi-dev] Adding a Vaadin dependency causes trouble

2018-06-17 Thread Paul F Fraser via osgi-dev
Hi, Building with (new) enRoute, all is well until I add a Vaadin dependency. Video of problem https://youtu.be/MQX8ICmUHdc Part of error report The default package '.' is not permitted by the Import-Package syntax.  This can be caused by compile errors in Eclipse because Eclipse creates

[osgi-dev] New enRoute Artifacts

2018-06-14 Thread Paul F Fraser via osgi-dev
When creating new maven modules the default module package is set as org. + the artifactId Could this be changed to use groupId  + artifactId instead? Or is there a reason for not doing this? Paul Fraser ___ OSGi Developer Mail List

Re: [osgi-dev] New enRoute Using jars from Maven Central--Solved

2018-06-10 Thread Paul F Fraser via osgi-dev
Hi Christian, Thanks for confirmation. Paul On 10/06/2018 5:18 PM, Christian Schneider wrote: Type bundle never makes sense for maven dependencies. It is just a setting the maven-bundle-plugin uses while creating the bundle. I also had lots of issues with this as m2e like to set the type

[osgi-dev] New enRoute Using jars from Maven Central--Solved

2018-06-09 Thread Paul F Fraser via osgi-dev
The problem I was having was with a maven central artifact that was classified as "bundle". Maven build was reporting it as not found so the build failed and of course indexes not updated. Change it to "jar" and everything works beautifully. I have no idea if the change to jar will cause any

[osgi-dev] New enRoute Using jars from Maven Central

2018-06-08 Thread Paul F Fraser via osgi-dev
Probably an obvious answer, but how are jar dependencies added to the repository from maven central? If I add a dependency which is in maven central the maven build does not find it. The microservice tutorial says:- By adding the following dependencies inside the||section of the

[osgi-dev] Where is repo01

2018-06-07 Thread Paul F Fraser via osgi-dev
enRoute app module has a standalone repo called repo01. I cannot find where the relationship between rep01 and target/index.xml is established. Any clues? Paul ___ OSGi Developer Mail List osgi-dev@mail.osgi.org

[osgi-dev] Moving from bndtools 3.3 to 4.0.0 with new enRoute

2018-05-20 Thread Paul F Fraser via osgi-dev
Hi, After many hours immersing myself in youtube maven videos and working through the new enRoute documentation I am slowly gaining an appreciation for the techniques involved. The problem at the moment is handling the indexing and setting up the bndrun files. When working through the

Re: [osgi-dev] enRoute Quickstart Maven Build Failure

2018-05-18 Thread Paul F Fraser via osgi-dev
On 18/05/2018 5:20 PM, Tim Ward wrote: My guess is that you either haven’t done a pull of master, or that you have the old R7 branch (used to do the initial R7 development) checked out. Hi Tim, Your guess is 100% accurate. I thought I was smart and would work on the R7 branch. :-[ Paul

Re: [osgi-dev] enRoute Quickstart Maven Build Failure

2018-05-17 Thread Paul F Fraser via osgi-dev
On 17/05/2018 2:08 AM, BJ Hargrave via osgi-dev wrote: I made a PR to change to change to 4.0.0 from snapshot. -- The enRoute tutorial commands do not work for me with a fresh download from github. mvn verify and this command fail, even with the -SNAPSHOT removed from the end. |mvn -s

Re: [osgi-dev] enRoute Quickstart Maven Build Failure

2018-05-15 Thread Paul F Fraser via osgi-dev
On 8/05/2018 8:08 PM, Tim Ward via osgi-dev wrote: The enRoute project has now been updated to use the released R7 API as well as released versions of Declarative Services, Config Admin, Http Whiteboard, JPA Service, Transaction Control, and Configurator. The one remaining snapshot

Re: [osgi-dev] Bndtools 3.3 enRoute distro update Jetty

2018-05-15 Thread Paul F Fraser via osgi-dev
On 15/05/2018 6:43 PM, Tim Ward wrote: The correct link is https://github.com/osgi/osgi.enroute/blob/deprecated/osgi.enroute.pom.distro/distro-pom.xml This does not work for me and the link to the distro pom is dead. Is it still possible to alter the distro now that we have the new enRoute?

Re: [osgi-dev] Bndtools 3.3 enRoute distro update Jetty

2018-05-15 Thread Paul F Fraser via osgi-dev
/osgi.enroute.pom.distro/distro-pom.xml) Kind regards, Peter Kriens On 1 Dec 2017, at 07:32, Paul F Fraser via osgi-dev <osgi-dev@mail.osgi.org <mailto:osgi-dev@mail.osgi.org>> wrote: Hi, The jetty bundles in the current distro (the one I have)  are version 3.1 which imports jetty 9.2.10. The

[osgi-dev] OSGi and Webjars

2018-03-30 Thread Paul F Fraser via osgi-dev
Hi, Webjars, a whole new world to me. Can they be used in an OSGi container without OSGi manifest headers, or has OSGi missed the boat in this technology? Most, if not all webjars, contain no OSGi metadata. Paul Fraser ___ OSGi Developer Mail

Re: [osgi-dev] Vaadin 10 OSGi Support

2018-03-23 Thread Paul F Fraser via osgi-dev
The beta4 release (today) has issue 455 as a known limitation. Someone might be listening. I have added a comment and nice to see Timothy J has also commented. Paul On 22/03/2018 11:07 PM, Thomas Driessen via osgi-dev wrote: Hi, as some people already wrote about Vaadin in OSGi applications

Re: [osgi-dev] Fwd: Fwd: Vaadin 8.2 in OSGi: ClassNotFound

2018-01-18 Thread Paul F Fraser via osgi-dev
On 19/01/2018 2:15 AM, Thomas Driessen wrote: Hello, just for other people that are trying to get Vaadin 8 to work within an OSGi environment: Hi Thomas, Good to hear that you are on the way. Are you now using all Vaadin OSGi  bundles and none of the enRoute bundles? Are you developing in

[osgi-dev] Fwd: Fwd: Vaadin 8.2 in OSGi: ClassNotFound

2018-01-16 Thread Paul F Fraser via osgi-dev
Forwarded with permission-- Forwarded Message Subject:Fwd: [osgi-dev] Vaadin 8.2 in OSGi: ClassNotFound Date: Tue, 16 Jan 2018 22:24:18 +0100 From: Pierre De Rop <pierre.de...@gmail.com> To: Paul F Fraser <pa...@a2zliving.com> Hello Paul; I'm

Re: [osgi-dev] Vaadin 8.2 in OSGi: ClassNotFound

2018-01-16 Thread Paul F Fraser via osgi-dev
On 17/01/2018 1:52 AM, Thomas Driessen via osgi-dev wrote: I also asked this question in the Vaadin forum. I just thought that maybe another OSGi developer already had the same problems and am therefore posting this question here too: I just tried to run a simple Hello World Vaadin app in an

Re: [osgi-dev] Off the mark for 2018

2017-12-31 Thread Paul F Fraser via osgi-dev
"Off the Mark" was not the term I intended for getting going in 2018, after checking it's meaning "a long way from an intended target". Oh well it can only get better. Paul ___ OSGi Developer Mail List osgi-dev@mail.osgi.org

[osgi-dev] Off the mark for 2018

2017-12-31 Thread Paul F Fraser via osgi-dev
Hi, Might be of interest to the OSGi community. I have just published 2 medium articles about my project. I have mentioned in one of the articles that my system is comprised  100% of OSGi modules. https://twitter.com/qnenet/status/947580369779548160 and

Re: [osgi-dev] enRoute Tutorial Maven Repositories

2017-12-15 Thread Paul F Fraser via osgi-dev
for something more fully written up. I hope this helps, Tim On 15 Dec 2017, at 04:26, Paul F Fraser via osgi-dev <osgi-dev@mail.osgi.org> wrote: Hi, I have been dragged, kicking and screaming into the bnd/maven world. Putting it off any longer is now, not an option. Running eclipse

[osgi-dev] enRoute Tutorial Maven Repositories

2017-12-14 Thread Paul F Fraser via osgi-dev
Hi, I have been dragged, kicking and screaming into the bnd/maven world. Putting it off any longer is now, not an option. Running eclipse Oxygen Sept 2017 with bndtools 3.5 Venturing into the enRoute "Tutorial to work with Maven Repositories"  the question arises, how current is the

[osgi-dev] Bndtools 3.3 enRoute distro update Jetty

2017-11-30 Thread Paul F Fraser via osgi-dev
Hi, The jetty bundles in the current distro (the one I have)  are version 3.1 which imports jetty 9.2.10. The latest felix bundle is 3.4.6 which imports jetty 9.3.9. What needs to be done to upgrade the distro or how can I force the resolver to ignore the old version and work from a version

Re: [osgi-dev] Class.forName Hell

2017-10-30 Thread Paul F Fraser
Thanks to everyone for replies, For the benefit of others stuck in this hole, using info in http://njbartlett.name/2010/08/30/osgi-readiness-loading-classes.html and clues provided by Timothy and others, I have been able to get  a working solution. As suggested by Neil in his blog, it is as

[osgi-dev] enRoute Test Projects

2017-10-06 Thread Paul F Fraser
Hi, Using Bndtools 3.3, If I try to use the the annotations @BeforeClass, @AfterClass etc. using the standard enRoute test project template, they are ignored. The only annotation recognized is @Test. Am I missing something or is this intended when running the JUnit Launcher? Paul Fraser

[osgi-dev] Class.forName Hell

2017-09-14 Thread Paul F Fraser
Hi, I do not have the slightest idea if this situation can be handled, but perhaps some kind person can assist. Vaadin uses forName in the following situation and the classes are not found when used in OSGi project.

Re: [osgi-dev] OSGi ServiceLoader support for obtaining Lets Encrypt Certificates

2017-07-13 Thread Paul F Fraser
PM, David Bosschaert wrote: Hi Paul, On 12 July 2017 at 13:12, Paul F Fraser <pa...@a2zliving.com <mailto:pa...@a2zliving.com>> wrote: Hi David, I had a quick look at the examples but did not get far as some/most of the examples are poms and I did not proceed. I will have

Re: [osgi-dev] JPM4J missing in new install as per enRoute Tutorrial

2016-12-06 Thread Paul F Fraser
send me a private message and i am happy to discuss the details. Cheers Daghan Sent by MailWise <http://www.mail-wise.com/installation/2> – See your emails as clean, short chats. Original Message From: Paul F Fraser <pa..

[osgi-dev] Reference Filters

2016-11-10 Thread Paul F Fraser
Hi, A previous discussion in this list @Component public class Component { @Reference(target = "(alias = ${alias})" public void bindService(Service service) } and the solution proposed was to use .target as a property. Are there any code examples available that provide more info on this

Re: [osgi-dev] Restart EnRoute Executable Jar after reboot Carried over from off topic Bndtools Discussion

2016-07-22 Thread Paul F Fraser
logy if my top post upsets you :-) On 23/07/2016 6:50 AM, Robert Munteanu wrote: Hi Paul, On Fri, Jul 22, 2016 at 11:44 PM, Paul F Fraser <pa...@a2zliving.com> wrote: In asking about things like Java Service Wrapper for auto restart of an executable jar created from bndtools it seems th

[osgi-dev] Restart EnRoute Executable Jar after reboot Carried over from off topic Bndtools Discussion

2016-07-22 Thread Paul F Fraser
In asking about things like Java Service Wrapper for auto restart of an executable jar created from bndtools it seems that the world may have moved on. I do not understand why there has not been more discussion about OSGi restarts after a reboot as the normal (not developer) user of a system,

Re: [osgi-dev] EnRoute Name for Utility Bundles

2016-07-01 Thread Paul F Fraser
g suffixes: .lib, .util a bundle where the API === implementation. E.g. ASM Any more ideas? Future OSGi enRoute templates should use the new template system. (I need to convert the existing to this model.) Kind regards, Peter Kriens On 28 jun. 2016, at 09:

Re: [osgi-dev] Attempt to import and run Karaf Features code

2016-06-17 Thread Paul F Fraser
Sorry, Peter, Have a look in the play branch, Paul On 17/06/2016 7:30 PM, Peter Kriens wrote: I am missing a bndrun file? (Or bnd.bnd with an initial requirement) Kind regards, Peter Kriens On 17 jun. 2016, at 09:58, Paul F Fraser <pa...@a2zliving.com> wrote: Hi, Fol

[osgi-dev] Attempt to import and run Karaf Features code

2016-06-17 Thread Paul F Fraser
Hi, Following discussion on this list about methods for implementing features and a suggestion from Guillaume Nodet about Karaf features in version 4. I have attempted to bring the Karaf features code into the bndtools environment. Everything seems to compile OK but I cannot get over the

Re: [osgi-dev] Bundle usage counting

2016-06-15 Thread Paul F Fraser
to it (uninstallation, installation, refreshes, etc...), and apply those actions. And I agree with Peter, it's quite difficult to implement correctly, so I definitely would not recommend rewriting such a thing from scratch, unless you have quite some time to spend on it. 2016-06-15 13:29 GMT+02:0

Re: [osgi-dev] Bundle usage counting

2016-06-15 Thread Paul F Fraser
required in a very reliable way because it uses the OSGi resolver to actually compute the wiring. Guillaume 2016-06-15 13:18 GMT+02:00 Paul F Fraser <pa...@a2zliving.com <mailto:pa...@a2zliving.com>>: Thanks Marcel, Neil and Peter, From Peter's comment "I think it i

Re: [osgi-dev] Bundle usage counting

2016-06-15 Thread Paul F Fraser
nd regards, Peter Kriens On 15 jun. 2016, at 12:39, Paul F Fraser <pa...@a2zliving.com> wrote: Actually I probably should be talking about required count. Feature A requires bundle 1, 3 and 5 Feature B requires bundle 3, 5 and 7 Feature C requires bundles 1 and 8 bundle 1 is requir

Re: [osgi-dev] Bundle usage counting

2016-06-15 Thread Paul F Fraser
by 1 features bundle 8 is required by 1 features if feature C is stopped bundle 8 can be stopped and possibly uninstalled bundle 1 count drops to 1 but remains running to serve Feature A Paul On 15/06/2016 8:28 PM, Neil Bartlett wrote: On 15 Jun 2016, at 11:19, Paul F Fraser <

Re: [osgi-dev] Bundle usage counting

2016-06-15 Thread Paul F Fraser
can adapt the bundle to a BundleWiring object and call getProvidedWires. Bear in mind that there will be duplicates and the bundle could also wire to itself (or reference its own services). Neil On 15 Jun 2016, at 10:53, Paul F Fraser <pa...@a2zliving.com> wrote: Hi, Is there an

[osgi-dev] Bundle usage counting

2016-06-15 Thread Paul F Fraser
Hi, Is there an existing ability in the OSGi environment to keep a bundle usage count? It is not difficult to create my own method and storage, but if something already exists! I did think I could use the Bundle data area but it seems that different frameworks lay it out differently.

[osgi-dev] Using EnRoute Logging

2016-06-13 Thread Paul F Fraser
Hi, I have looked through the osgi logging bundles and the example logging bundle but cannot yet work out what I need to do to use EnRoute logging in my project. Are the rotating logger and the simple logger meant to work together? Presumably, I use slf4j in each class but what then?

Re: [osgi-dev] EnRoute Video Site error

2016-06-12 Thread Paul F Fraser
Now it is not Paul On 13/06/2016 8:53 AM, Paul F Fraser wrote: Hi, http://enroute.osgi.org/videos/chuck-boecking-persistence.html is giving error establishing database connection Regards Paul Fraser ___ OSGi Developer Mail List osgi-dev

Re: [osgi-dev] Importing Project into EnRoute Workspace

2016-06-10 Thread Paul F Fraser
them into the bnd workspace. It is highly recommended by Eclipse (and for good reasons) to mix the git==bnd workspace and the Eclipse workspace. It does suck a bit however :-( Kind regards, Peter Kriens On 10 jun. 2016, at 12:46, Paul F Fraser <pa...@a2zliving.com <mailto:pa...@a2zlivi

[osgi-dev] Importing Project into EnRoute Workspace

2016-06-10 Thread Paul F Fraser
Hi, With the spit setup for EnRoute with eclipse workspace containing very little and the actual code in a git directory. If I import an existing project into eclipse with the normal process it end up in the eclipse workspace, as I suppose I should expect. How do I import an existing

Re: [osgi-dev] H2 Database DataSourceFactory

2016-06-09 Thread Paul F Fraser
nymore. Instead it also uses the one from the OSGi alliance I mentioned. Btw. Strange that jpm does not find the official one. Christian On 09.06.2016 13:27, Paul F Fraser wrote: Thanks, Christian, JPM finds org.ops4j.pax.jdbc b

Re: [osgi-dev] H2 Database DataSourceFactory

2016-06-09 Thread Paul F Fraser
. http://search.maven.org/#artifactdetails|org.osgi|org.osgi.service.jdbc|1.0.0|jar Christian On 09.06.2016 12:41, Paul F Fraser wrote: Hi, I have been using the H2 DataSourceFactory which requires osgi.enterprise without any obvious problems. H2 Docs The standard H2 jar can be dropped

Re: [osgi-dev] EnRoute and Vaadin

2016-06-06 Thread Paul F Fraser
ting. In this case /poo works and the whiteboard constant is ignored. Paul On 7/06/2016 9:08 AM, Paul F Fraser wrote: Brilliant, Thanks Peter, It works, now I need to get my head into all that is going on. From first glance at the code it seems that this example covers a very wide range of EnRoute

[osgi-dev] EnRoute and Vaadin

2016-06-04 Thread Paul F Fraser
Hi, Past OSGi examples for Vaadin used a staticResources bundle which looked through all bundles to find Vaadin resources. Using EnRoute should I investigate (ask for help!) developing an extension annotation to perform this task or should I stick with the staticResources approach? It

[osgi-dev] Use of Debug instead of Run in EnRoute Docs

2016-06-03 Thread Paul F Fraser
Hi, In much of the EnRoute documentation, the instruction to run a bndrun file says to click on the Debug Icon. Why Debug rather than Run Icon? Is it to enable adding a breakpoint if necessary, while keeping the system running for hot changes in code etc.. Regards Paul Fraser

Re: [osgi-dev] Eclipse Format settings for EnRoute

2016-06-03 Thread Paul F Fraser
on this list. Regards Paul Fraser On 3/06/2016 8:56 PM, Neil Bartlett wrote: Another satisfied customer... On 3 Jun 2016 11:39 a.m., "Paul F Fraser" <pa...@a2zliving.com <mailto:pa...@a2zliving.com>> wrote: Peter and Neil, You have both ruined my day ;-) (night ac

Re: [osgi-dev] Eclipse Format settings for EnRoute

2016-06-03 Thread Paul F Fraser
, at 00:42, Paul F Fraser <pa...@a2zliving.com> wrote: Hi, Getting down to the nitty gritty now ! Out of the box preferences in (my) eclipse (Mars) do not maintain attractive, readable formatting for @Component annotation properties etc.. How do the experts set up eclipse to look nice wit

[osgi-dev] Eclipse Format settings for EnRoute

2016-06-02 Thread Paul F Fraser
Hi, Getting down to the nitty gritty now ! Out of the box preferences in (my) eclipse (Mars) do not maintain attractive, readable formatting for @Component annotation properties etc.. How do the experts set up eclipse to look nice with OSGi code? Paul Fraser

Re: [osgi-dev] Workflow to Clone Enroute From Github

2016-06-02 Thread Paul F Fraser
workspace and bnd workspace. Any efforts to help me to improve this are highly appreciated by me and your successors. Kind regards, Peter Kriens On 2 jun. 2016, at 12:23, Paul F Fraser <pa...@a2zliving.com <mailto:pa...@a2zliving.com>> wrote: Hi Peter, Oh, Oh. I was trying to im

Re: [osgi-dev] Workflow to Clone Enroute From Github

2016-06-02 Thread Paul F Fraser
to this page so others can take advantage. Thanks. Kind regards, Peter Kriens On 2 jun. 2016, at 01:13, Paul F Fraser <pa...@a2zliving.com <mailto:pa...@a2zliving.com>> wrote: Hi, I clone osgi.enroute into my local git directory OK. I think I need a clean eclipse workspa

[osgi-dev] Use of Auto Resolve on Save in Enroute

2016-06-01 Thread Paul F Fraser
Hi, Is there any downside to selecting Auto Resolve on Save in Enroute? Paul Fraser ___ OSGi Developer Mail List osgi-dev@mail.osgi.org https://mail.osgi.org/mailman/listinfo/osgi-dev

[osgi-dev] Workflow to Clone Enroute From Github

2016-06-01 Thread Paul F Fraser
Hi, I clone osgi.enroute into my local git directory OK. I think I need a clean eclipse workspace dedicated to osgi.enroute and another clean workspace for osgi.enroute.bundles. If I have a new clean workspace, how do I set up the clean workspace to import the local git repo? If I preset

[osgi-dev] A few questions about Enroute Tutorials

2016-06-01 Thread Paul F Fraser
Hi, In the past I think using the run tab in bnd.bnd was frowned upon and from memory I think it did not work properly. Is it now normal procedure? It seems that when using run.bndrun, Debug OSGi is used to run the system instead of the Run OSGi button. Is there a reason for this? The

[osgi-dev] Event Dictionary Data Types

2016-05-31 Thread Paul F Fraser
Hi, The event admin OSGi spec (113.3.2) recommends using the 8 java primitive data types only. Probably, arrays of the primitive types are not considered acceptable due to mutability concerns. If possible, what technique(s) could be used to include or reference a serialized object in an

Re: [osgi-dev] Clarify usage of ServiceTracker

2016-04-15 Thread Paul F Fraser
What we need is a good book :-) https://www.indiegogo.com/projects/effective-osgi#/ Paul On 16/04/2016 5:51 AM, chris.g...@kiffer.be wrote: Scripsit Raymond: -1% - blueprint (we have a test that fails the build if someone tries to Personally I would make this -100% :-) I don't regard DS