On Wed, 2021-10-13 at 11:17 -0400, Raymond Augé wrote:
> I don't think "readiness" is something you completely do inside an
> app to
> begin with. (assist with? sure!)
>
> This is why I proposed Condition Service; to model the details
> required for
> your application to be "ready", hoist that int
after the timer fires if the mandatory components are not available -
> abort
I am aware that this is somewhat of an edge case and not fully mapped
on the OSGi model, but I kind of like OSGi so I'm exploring different
scenarios with it.
Thanks,
Robert
>
>
> On Tue, 12 Oct
(as the name implies) using OSGi service filters.
>
> [1]
> https://osgi.github.io/osgi/cmpn/service.component.html#service.component-satisfying.condition
> [2]
> https://search.maven.org/artifact/org.apache.felix/org.apache.felix.scr/2.2.0-RC1/bundle
>
> On Tue, Oct 12, 2021 at
Hi,
I have written a couple of small OSGi apps where if a single top-level
DS component, let's call it T, cannot start then the application should
shut down immediately. One example are HTTP services where the HTTP
server port cannot be bound to.
The causes of failures I have seen are:
- T activa
Hi,
I was looking for a nicer version of the Felix logo and went to
https://apache.org/logos/#felix . The logo there, although much larger,
is different from the one on https://felix.apache.org/ .
Which is the right one? And how can I get access to a large version of
the right one?
Thanks,
Rob
pache/felix-dev/blob/master/healthcheck/generalchecks/src/main/java/org/apache/felix/hc/generalchecks/FrameworkStartCheck.java#L46
> > > > Maybe Georg can help with more clear instructions.
> > > >
> > > > We should also add a systemready tag to the Felix HCs.
Hi,
I am using the old systemready bundle and I configured a component to
react a component when the system ready by reacting when the
SystemReady service becomes available.
How can I do the same with the new healtchecks bundle? I tried the
README [1] and the migration guide [2] but got no ideas.
e the port in the Dockerfile
EXPOSE
5. Publish the port when running the application
$ docker run -p
Now I have a working remote shell without a TTY.
Thanks Ray and Bernd for you help.
Robert
> HTH
> - Ray
>
> On Thu, Feb 13, 2020 at 9:27 AM Robert Munteanu
>
apache.felix/org.apache.felix.shell.remote/1.2.0
Thanks,
Robert
> Gruss
> Bernd
>
>
> --
> http://bernd.eckenfels.net
>
> Von: Robert Munteanu
> Gesendet: Wednesday, February 12, 2020 11:26:32 AM
> An: users@felix.apache.org
> Betreff: Gogo sh
Hi,
I am trying to open up access to the gogo shell via telnet without
allocating a TTY.
The problem with the TTY is that is there is none the shell will get an
interrupt, therefore shutting down the OSGi framework. I am running on
a container platform, so no much luck in getting that changed.
I
no idea this was possible.
Robert
>
> Robert Munteanu 于2019年8月6日周二 下午4:40写道:
>
> > Hi Duan,
> >
> > On Tue, 2019-08-06 at 16:36 +0800, duan2ping DL• wrote:
> > > Hi!
> > >
> > > I have some questions about Export-Package.
>
Hi Duan,
On Tue, 2019-08-06 at 16:36 +0800, duan2ping DL• wrote:
> Hi!
>
> I have some questions about Export-Package.
>
> Example:
>
>
>org.apache.felix
>maven-bundle-plugin
>
>
>
> com.duan2ping.api.model;ex
Hi Davi,
On Thu, 2019-04-04 at 11:19 -0300, Davi Baldin Tavares wrote:
> Hello,
>
> I’m trying to move to DS Annotation.
>
> My Class:
>
> import org.osgi.service.component.annotations.Component;
>
> @Component(name = "ZPluginProvider Service", immediate = true,
> service = ZPluginProvider.cla
On Tue, 2019-01-15 at 09:51 -0500, Raymond Auge wrote:
> Yes, precisely!
>
> I was long struggling with it but I think in the spirit of
> felix.logback
> trying to just make logging work super well with minimal setup, I
> just
> embedded to JUL bridge directly into it and it will automatically be
Hi Ray,
On Sun, 2018-11-25 at 11:55 -0500, Raymond Auge wrote:
> On Tue, Nov 6, 2018 at 7:50 AM Robert Munteanu
> wrote:
>
> > Hi,
> >
> > I am looking into using the felix logback module. The main setup
> works
> > just fine, and anything using slf4j routes
Hi,
I am looking into using the felix logback module. The main setup works
just fine, and anything using slf4j routes its logging through this
module.
In my application one bundle (aries-spi-fly) uses java.util.logging
APIs. Digging through the felix.logback tests I discovered that there
are two
. I was looking on the main Felix site and found
nothing there.
Robert
>
> Hope this helps.
> - Andrei
>
> On Wed, Oct 31, 2018, 16:15 Robert Munteanu
> wrote:
>
> > Hi,
> >
> > Is there any user-facing documentation for systemready? I'm
> > in
Hi,
Is there any user-facing documentation for systemready? I'm interested
in seeing what 'gates' I can configure and maybe how to add my own.
Thanks,
Robert
-
To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
For add
as not our
> plan).
>
> Do you see any other option we can try?
>
>
>
>
>
>
>
>
>
>
> Am Mo., 13. Aug. 2018 um 11:05 Uhr schrieb Robert Munteanu <
> romb...@apache.org>:
>
> > Hi Jörg,
> >
> > On Fri, 2018-08-10 at
Hi Jörg,
On Fri, 2018-08-10 at 11:06 +0200, Jörg Hoh wrote:
> and it turns
> it that this library uses both the JVM-provided classes as well as
> the
> classes provided by the sling bundle, thus failing to run properly.
What error do you get? Is it the cheerful uses constraints violation?
One pos
s this change must be
> reflected by a change in the version number, therefore the baseline
> detection is doing the right thing in this case.
>
> Regards,
>
> Tim
>
>
> > On 2 Aug 2017, at 16:20, Robert Munteanu
> > wrote:
> >
> > Hi,
> &g
Hi,
I am trying to migrate a project from the bnd versioning annotation to
the OSGi ones. I am stuck with the maven-bundle-plugin complaining when
baselining runs since the annotations have changed:
[INFO] --- maven-bundle-plugin:3.3.0:baseline (baseline) @ oak-api ---
[INFO] Baseline Report - Ge
On Tue, Nov 17, 2015 at 10:19 PM, Ferry Huberts wrote:
> For bnd you really do need the @Activate and @Deactivate annotations,
> otherwise the component XML doesn't specify them
To my understanding they don't have to be in the component XML.
See 112.5.8 - Activate Method and 112.5.15 - Deactiva
On Tue, Nov 17, 2015 at 9:47 PM, Benson Margulies wrote:
> On Tue, Nov 17, 2015 at 2:43 PM, Robert Munteanu wrote:
>> Hi Benson,
>>
>> On Tue, Nov 17, 2015 at 8:00 PM, Benson Margulies
>> wrote:
>>> I'm feeling a bit sad; I have a family of 12 very
Hi Benson,
On Tue, Nov 17, 2015 at 8:00 PM, Benson Margulies wrote:
> I'm feeling a bit sad; I have a family of 12 very similar services,
> but I can't put the @Reference, @Activate, and @Deactivate into the
> base class, I have to copy and paste it into each component class.
>
> Have I missed an
On Fri, 2015-08-28 at 08:29 -0400, Benson Margulies wrote:
> I hope that this is a Felix question and not an Aries question ...
>
> I have a managed service. I want to write a test that tries it out
> with several different configurations. So, my pax-exam test @Injects
> the service, and @Injects
Hi,
Try downgrading your Maven version.
Robert
On Jun 16, 2015 4:36 AM, "飞颜" wrote:
> I following
> http://felix.apache.org/documentation/development/building-felix.html to
> build felix but failed
>
> 1. Maven environment
> Apache Maven 3.3.3 (7994120775791599e205a5524ec3e0dfe41d4a06;
> 2015-0
Hi Benson,
On Thu, 2014-12-11 at 12:38 -0500, Benson Margulies wrote:
> So, here I am, setting up an application that embeds Felix. I need it
> to contain a certain collection of bundles -- and then some
> dependencies of those bundles.
>
> Plain-old-maven can't help very much with managing those
Hi,
On Mon, Nov 10, 2014 at 10:23 PM, mit_jones wrote:
> Hi,
>
> I have been experimenting with the maven-bundle-plugin baseline Mojo. I
> can't find much documentation so not sure if I am seeing the expected
> behaviour but it appears to be different than what I see in a 'native'
> Eclipse bnd e
> uses an API incompatible with asm-all used in scr. Is there a way to ask scr
> validator not to check too far? :-)
Maybe @Component(inherit=false) ?
Robert
>
> On 10 Mar 2014, at 10:49, Robert Munteanu wrote:
>
>> Maybe there's a clash between the ASM version used by
vautil
> 3.1.1
> compile
>
>
> asm
> asm
> 3.3.1
> compile
>
>
>
>
> On 10 Mar 2014, at 10:32, Robert Munteanu wrote:
>
>> Hi Nicolas,
>>
Hi Nicolas,
On Sun, Mar 9, 2014 at 11:08 PM, Nicolas Peltier wrote:
> Hi,
>
> while compiling a rather simple project with a one method interface, i get
> the scr package phasis failing [0] , apparently when processing the only
> reference i use in my project [1]. I’m out of ideas and hope th
Hi,
I see this message logged at an ERROR level for one of my components.
I traced it back to
org.apache.felix.scr.impl.manager.RegistrationManager, but I'm not
sure:
- what impact it has, except for delaying component deactivation
- what triggers it, so I can fix the underlying cause
Any help
Hi,
On Sun, Dec 22, 2013 at 2:27 AM, wrote:
> Hello, i am trying to OSGify a non-OSGi library which is relying on loading
> resources from root of itself, resources which are not in any package, using
> something like
> Thread.currentThread().getContextClassLoader().getResourceAsStream("nifty.vs
Hi Stephan,
On Thu, 2013-12-12 at 15:48 +0100, Stephan Burkard wrote:
Hi Felix users
>
> I have an embedded JAR in my bundle that has a dependency to the package
> "com.sun.script.javascript" from rt.jar.
>
> How can I "activate" and use the classes from this package in my OSGi
> bundle since this
Hi Andriy,
On Thu, Nov 14, 2013 at 4:30 PM, Andriy Polishchuk
wrote:
> After
> $ java -jar felix.jar
> it just runs and prints nothing, and doesn't respond to any input.
> Tried java7-openjdk(1.7.0_25) and java8(1.8.0-ea-b115).
1. Is this the felix jar contained in the distribution from [1]?
2.
e of declaring a Reference on a field is that you
don't have to declare the name and interfaceReference properties,
which are inferred from the field. For more details, see [1].
Robert
[1]:
http://felix.apache.org/documentation/subprojects/apache-felix-maven-scr-plugin/scr-annotations.html#reference
>
on behind it, but I think that the
Felix-specific SCR annotations predate the OSGi spec for annotations.
Robert
>
> Best, Dan.
>
>
> On 2 Nov 2013, at 13:43, Robert Munteanu wrote:
>
>> Hi Dan,
>>
>> On Sat, Nov 2, 2013 at 3:12 PM, Daniel McGreal wrote:
>>&
Hi Dan,
On Sat, Nov 2, 2013 at 3:12 PM, Daniel McGreal wrote:
> Hi Felix users,
> I wonder if anyone knows why the Felix @Reference annotations are valid on
> fields, but not methods, whereas the opposite is true for the OSGi standard
> @Reference annotation.
> I would very much like to have a
On Fri, Oct 18, 2013 at 6:29 PM, mcheung63 wrote:
> thank you Christian.
>
> if i let felix to start my app, seems not many people doing in this way. i
> think embedding felix is my best choice.
What makes you say that?
Robert
>
>
> thanks
> from Peter
>
> 原有訊息
> 由: Christian
On Tue, Sep 3, 2013 at 1:42 AM, Nicolas Lalevée
wrote:
>
> Le 2 sept. 2013 à 18:15, Murad Mamedov a écrit :
>
>> Hello, I'm newbie here, but using OSGi for long time.
>>
>> From my understanding of your problem:
>> - you expect some bundles to have build.xml
>> - you are a build system that does
Hi,
Has anyone tried integrating the maven-scr-plugin with a Tycho build?
I'm currently maintaining the SCR descriptor files by hand and it's a
pain.
The main issue that I face is that I would need to get the scr
annotations jar into a p2 repository to convince the toolchain (
Eclipse IDE include
Hi Lissuan,
> Is possible load ResourceBundle inside a OSGi bundle? , because every time
> I do , a resource Missing Exception is throw , somebody help me?
What have you tried, and how did it fail?
Robert
-
To unsubscribe, e-
or the pointer, I saw the issue comment after I posted this
mail. I'll just revert to a SCR 1.6.0 until 1.8.0 is out.
Robert
>
> Regards
> Felix
>
> Am 28.05.2013 um 16:52 schrieb Robert Munteanu:
>
>> Hi,
>>
>> I've noticed a behaviour change when up
Hi,
I've noticed a behaviour change when upgrading from SCR 1.6.0 to 1.6.2 .
In the Apache Sling project we have a component which binds service
references in its own activate method, and expects them to be bound to
itself later on ( see [0], near the end of the activate method ).
With SCR 1.6.0
> >>> ...The reason I need to hold on to the bundle is to load classes
> >>> using that its classloader at a later point in time...
> >>
> >> Can't you do that using getClass().getClassLoader() on a class that's
> >> inside that bundle?
> >>
> >> I *think* keeping references to Bundle objects is fi
> > ...The reason I need to hold on to the bundle is to load classes using
> > that its classloader at a later point in time...
>
> Can't you do that using getClass().getClassLoader() on a class that's inside
> that bundle?
>
> I *think* keeping references to Bundle objects is fine if you track t
Hi,
Is it safe to retain references to OSGi bundles and - even more - use them as
map keys?
I make sure that I don't retain references to stale bundles by using a
BundleTracker, but I haven't found anywhere whether this is safe to do or not.
The reason I need to hold on to the bundle is to loa
Hi Benjamin,
> -Original Message-
> From: Benjamin Wulff [mailto:bwu...@uos.de]
> Sent: Wednesday, March 06, 2013 8:18 PM
> To: users@felix.apache.org
> Subject: /SPAM!/ [51%] No accessors generated
>
> Hi all,
>
> I'm using the SCR Maven Plugin and SCR Annotations in my project for over
> -Original Message-
> From: Benoît Thiébault [mailto:thieba...@artenum.com]
> Sent: Tuesday, May 22, 2012 11:51 AM
> To: users@felix.apache.org
> Subject: ClassNotFoundException: sun.awt.X11.XToolkit
>
> Hi everyone,
>
> When running Felix 4.0.2 with an application I am developing, I a
ASM?
>
> cheers,
> Caspar
>
>
> On 13 April 2012 14:03, Robert Munteanu wrote:
>
> > Hi Caspar,
> >
> > Thanks for your reply. I've glanced over
> > http://www.osgi.org/download/osgi-early-draft-2011-09.pdf and noticed
> > that the annot
le at Runtime
>
> Hi Robert,
>
> In a broader scope this will happen for RFC 0172 Declarative Services
> Annotations (runtime processing of SCR components), however this brings
> with it standardised annotations.
>
> cheers,
> Caspar
>
>
> On 13 April 2012 13:
Hi,
I've noticed that the annotations from org.apache.felix.scr.annotations are
declared with @Retention(RetentionPolicy.SOURCE) . I think the following use
cases would benefit from the annotations being available at runtime .
1. Configuring component instances outside a OSGi container
I often
verticalsite.version}
> compile
>
>
>
> com.tivoli.am.fim
> common
> ${tfim.version}
> provided
>
>
>
> com.tivoli.am.fim
> sts
> ${tfim
> -Original Message-
> Problem 1)
>
> Reading the docs, I should use packaging "bundle". This does not work,
> and throws the following error
>
> Unknown packaging: bundle @ line 12, column 16
>
> I just switched to "jar", and it seems to work ok just the same,
> manifest.mf is created w
55 matches
Mail list logo