Hello community;
I am facing an issue concerning Felix, Split packages and Fragment
bundles.
Here is my use case:
1/ We have some bundles with (unfortunately) some esoteric "split
packages" which are not supported by OSGI.
For instance:
b1.jar exports package "com.p" with com.p.C1
b2.jar
Hello everyone;
We are using the felix OBR (1.0.0) for deploying bundles into our
application server.
So, we store all our bundles into an OBR http server, and we uses a GUI
obr browser which allows to install some bundles from the OBR into the
application server.
Now, assuming that the
for the Import-Service: B2 requirement ... and it will
only install B2Impl.jar.
Is that right ?
/Pierre.
Pierre De Rop wrote:
Thanks Richard;
Fortunately, we are also using bindex; and I have made a quick test
which seems to work:
* I have inserted the header Import-Service: ... in B1.jar
Dienstag, den 25.03.2008, 21:48 +0100 schrieb Pierre De Rop:
Hello every one;
I am wondering if it's possible to reconfigure a Service Component
without restarting it at all !
Here is my use case: I have a Service Component which is activated by
the Declarative Service. The corresponding DS xml
. The classload should
not be done using the classloader of your bundle but the jdk is using
it anyways -- hence, we detect that situation and bootdelegate for you
:-)
regards,
Karl
On Mon, Jun 2, 2008 at 7:28 AM, Pierre De Rop
[EMAIL PROTECTED] wrote:
Hello every one;
We are using Knopflerfish
Hi there ...
When starting the Felix fwk, we use our own bundle installer which is in
charge of installing required bundles dynamically (using
BundleContext.installBundle() method).
Our Installer installs bundles with the start level service; and each
bundle is installed with some dedicated
.
Unless you always expect it to be installed (such as via the
auto-start properties), then I think it might work correctly.
- richard
Pierre De Rop wrote:
Hi there ...
When starting the Felix fwk, we use our own bundle installer which is
in charge of installing required bundles dynamically
Hi everyone;
I recently noticed a strange behaviour with Declarative Services.
Sometimes (rarely, but it happens), I see that my SCR components are
activated twice at jvm startup time.
Did anyone came across the same problem ?
I know that a component must expect to be deactivated/reactivated
.
Regards
Felix
Pierre De Rop schrieb:
Hi everyone;
I recently noticed a strange behaviour with Declarative Services.
Sometimes (rarely, but it happens), I see that my SCR components are
activated twice at jvm startup time.
Did anyone came across the same problem ?
I know that a component must
candidates, but I don't think that's
the case.
- richard
Pierre De Rop wrote:
Hi all;
1) I have a bundle *B* which imports the following package:
* Import-Package: javax.xml.bind
2) The System bundle re-exports the* jdk1.6 *javax.xml.bind with
version 1.6.0, (see felix.properties):
jre-1.6
Hi;
Maybe you should first check if the package sun.io package is
referenced by the jre-1.5 and jre-1.6 parameters (in the felix
config.properties file).
By default, these parameters re-export all jdk packages to other
bundles, but I don't think that sun.io is re-exported.
If not, then just
H João;
I have asked the same question, and you can refer to the following post:
http://www.mail-archive.com/users@felix.apache.org/msg01120.html
FYI, at Alcatel-Lucent, we don't use conf admin, especially because it
sounds like it is not possible to
easily reconfigure SCR componenst without
Hi Kevin;
Well, maybe the better way to understand what is going on is looking at
the source code of the XMLInputFactory.newInstance().
I guess this method do something like the following:
1. If the Thread Context ClassLoader is set, then use that class
loader in order to lookup the
regards,
Karl
On Wed, Oct 8, 2008 at 1:57 PM, Pierre De Rop
[EMAIL PROTECTED] wrote:
Hello everyone,
I have a bundle which provides a
org.osgi.service.url.URLStreamHandlerService with protocol http and
https.
but, when I use java.net.HttpURLConnection, my handlers are not invoked.
I use
Hello everyone,
I have a bundle which provides a
org.osgi.service.url.URLStreamHandlerService with protocol http and
https.
but, when I use java.net.HttpURLConnection, my handlers are not invoked.
I use SCR in order to provide my stream handlers. Here is he SCR.xml:
, Richard S. Hall [EMAIL PROTECTED] wrote:
Apparently, this part of the spec has been weakened for the next release
since neither Equinox nor KF actually enforced it.
Perhaps we should add an option for allowing overriding too.
- richard
Pierre De Rop wrote:
Karl,
Yes, It should work fine
, 2008 at 10:48 AM, Pierre De Rop
[EMAIL PROTECTED] wrote:
Hi Karl,
I come back to you on this problem.
I understand it's possible to provide an http/https URLStream handler, by
exposing some classes along with the classpath (like you suggested).
But the point is: we have implemented the http
Hi Karl;
It works, and the issue FELIX-756 is OK (I'll close it).
Thanks a lot !
/pierre
Karl Pauls wrote:
Ups, sorry, I missed something when cleaning up after cutting the
release. Could you svn up and try again please :-)
regards,
Karl
On Fri, Nov 7, 2008 at 12:43 PM, Pierre De Rop
[EMAIL
Hi all,
I am trying to recompile the latest felix trunk in order to validate the
fixed jira issue
FELIX-756 (Allow URLStreamHandler services to override built-in handlers).
But I have the following errors when running ant on top of the
felix-trunk dir ...
Did I miss something, or is there
Hi everyone;
I am playing with the interesting DependencyManager toolkit for our
dependency injection, and
I would like to provide a feedback concerning Auto Configuration ...
Indeed, I have observed that, when a required dependency is satisfied,
DependencyManager
always initialize Pojo's
Hi everyone,
I am testing hot deployment on our app server (with Felix 1.4.0) and I
discovered that, after a couple of bundle updates,
then I end up with the following fwk exception:
- ERROR: JarContent: Unable to open JAR file.
(java.util.zip.ZipException: error in opening zip file)
Pierre De Rop wrote:
Hi Richard;
It was somewhat hard to track, but I think I have found something ...
Here it is:
1- I start my app server
2- I perform the touch command on one of my bundles (let us call it
bundle A).
Bundle A exports some packages to other bundles (let's call them B,
C).
3
if you use something like
DynamicImport-Package: com.* ?
- richard
Pierre De Rop wrote:
Hello everyone,
One of our appserver user is currently facing a strange issue (which
I can't reproduce for now ... :-( , bu I will managed to do it, if I
can ...)
(We are running with jdk 1.5 on linux
Hi all,
For some of our service components, we are using the SCR for dependency
management, but we are not all using maven ...
Now, I am wondering if we are definitely forced to use maven, when using
the scr plugin, or if there is any ant task, or even a standalone script
which we could use
ok, Carsten, thanks for the info.
/pierre
Carsten Ziegeler wrote:
Pierre De Rop wrote:
Hi all,
For some of our service components, we are using the SCR for dependency
management, but we are not all using maven ...
Now, I am wondering if we are definitely forced to use maven, when using
constraint violations,
then you will get a BundleException saying the bundle could not resolve.
For dynamic imports, you may also see these messages, but in this case
if no candidates can be resolved then it is ignored and the dynamic
import is not satisfied.
- richard
Pierre De Rop wrote:
Hi
Our internal Alcatel-Lucent application server is also using Felix
(We started with Knopflerfish two years ago, and now we are on top of
Felix :-) )
BR
/pierre
Guillaume Sauthier wrote:
The OW2 consortium is using Felix in JOnAS and EasyBeans.
In fact, JOnAS is only tested using Felix, not
Ok, got it.
Thanks Stuart
/pierre
Stuart McCulloch wrote:
2009/3/6 Pierre De Rop pierre.de_...@alcatel-lucent.fr
Hello everyone;
I have read the Richard's osgi presentation from
http://cwiki.apache.org/FELIX/presentations.data/osgi-berlin-20070321.pdf
and there is something in the slide
Hello Mike,
Don't forget to set the felix property ds.loglevel=debug
This property is directly used by SCR when logging debug traces.
/pierre
Stuart McCulloch wrote:
2009/3/21 Michael Greifeneder mik...@gmx.net
Hello,
I use declarative services with bundle org.apache.felix.scr
Is there
Hello everyone,
I just discovered that invoking Bundle.update() method may fire a
framework event PACKAGES_REFRESHED event.
In the trunk, I see, in Felix.java, line 1691, that the update method
may invoke the refreshPackage(null) method, which then fires the event.
Is is a normal behavior ?
discover from the registry an old version of the B1Service interface
(the old version before the update) ...
Am I correct ? If true, then I am wondering what does the FileInstall
tool, from Peter Kriens ?
Richard S. Hall wrote:
On 4/9/09 10:14 AM, Pierre De Rop wrote:
Hello everyone,
I just
/site/apache-felix-osgi-faq.html for more on
the why.
regards,
Karl
On Fri, Apr 10, 2009 at 7:40 AM, Pierre De Rop
pierre.de_...@alcatel-lucent.fr wrote:
Richard,
Before posting an issue into osgi-dev about this subject, I would like to
check with you if it really makes sense to wait
sense ?
/pierre
Richard S. Hall wrote:
On 4/9/09 10:14 AM, Pierre De Rop wrote:
Hello everyone,
I just discovered that invoking Bundle.update() method may fire a
framework event PACKAGES_REFRESHED event.
In the trunk, I see, in Felix.java, line 1691, that the update
method may invoke
();
}
}
};
_bctx.addFrameworkListener(listener);
_pkgAdmin.refresh(null); // asynchronous
latch.await();
_bctx.removeFrameworkListener(listener);
for (Bundle b : bundles) {
b.start();
}
}
}
so, is it ok ?
/pierre
Pierre De Rop wrote:
I have looked into the code
to PackageAdmin before you could do it. :-(
But, assuming you know what is going on, I think this approach should
be reasonably safe.
- richard
On 4/10/09 1:57 PM, Pierre De Rop wrote:
I'm sorry, in the previous sample code, I forgot to remove the fwk
listener after the refresh, so here is the good fix
Hello everyone,
I am using Ant, as well as Bnd, with the following Bnd directives in order
to allow my bundles to import APIs using a version range (because I have
some multi-version requirements).
-versionpolicy [${version;==;$...@}},${version;+;$...@}})*
- This clause allows a Using Service
sharing
them among bundles ...)
maybe this would be the best and easiest solution ... correct ?
/pierre
On Fri, Feb 5, 2010 at 8:16 AM, Pierre De Rop pierre.de...@gmail.comwrote:
Hello everyone,
I am using Ant, as well as Bnd, with the following Bnd directives in order
to allow my bundles
Thanks a lot, Stuart, I did not know about the bundle-symbolic-name clause:
that's so simple !
/pierre
On Fri, Feb 5, 2010 at 9:02 AM, Stuart McCulloch mccu...@gmail.com wrote:
On 5 February 2010 15:52, Pierre De Rop pierre.de...@gmail.com wrote:
Replying to myself ...
I could also
Hello everyone;
For now, we are using our own GUI for configuring our bundles (we use Config
Admin). So, the GUI loads property meta informations (labels, default
values) from a proprietary configuration file which is embedded in the
bundle (META-INF).
But now, we would like to be able to expose
Hi Nima,
I uses VisualVM (https://visualvm.dev.java.net/) with the following jvm
options:
-Dcom.sun.management.jmxremote.port= \
-Dcom.sun.management.jmxremote.ssl=false \
-Dcom.sun.management.jmxremote.authenticate=false \
-Djava.rmi.server.hostname=HOST \
(replace HOST by your host name).
Hello Ivanhoe;
As an addition to Marcel's response, here is the same version of the Servlet
example, but using DM annotations:
@AspectService(ranking=1)
public class ServletAspect implements Servlet {
volatile Servlet m_servlet; // real/original servlet
private long m_counter;
public void
Hello Matthias,
Yes, it's a know problem, which still has to be fixed.
The DependencyManager sub-project is still in flux, so, please, just comment
the test module in dependencymanager/pom.xml,
or just run maven with the -Dmaven.*test*.*skip*=true option.
Kind Regards;
/pierre
On Fri, Apr 16,
Hi Alexander;
Are you using the dependencymanager from the trunk ?
If so, then I assume that you are also using the dependencymanager
compatibility bundle, because I see that you are using the old
org.apache.felix.dependencymanager package ?
In this case, you might have found a bug from the DM
Hi Vladimir,
I'm not sure to understand: when you are talking about AspectService, are
you talking about DependencyManager AspectService ?
if true, then I don't think it works in your case, because DM AspectService
only work if you track MetadataProvider with DependencyManager
ServiceDependency.
Hi David,
Indeed I have also reproduce the problem you are describing.
I think I have a working patch; so I will create a JIRA issue and will
attach the patch to it.
kind regards;
/Pierre
On Fri, Aug 26, 2011 at 11:58 PM, david.humen...@l-3com.com wrote:
It looks like part of the problem is
David,
I created the FELIX-3090 issue, and attached a patch to it.
can you test it ? thanks.
/pierre
On Sat, Aug 27, 2011 at 11:50 PM, Pierre De Rop pierre.de...@gmail.comwrote:
Hi David,
Indeed I have also reproduce the problem you are describing.
I think I have a working patch; so I
Hi Cristiano;
The following link describe the service properties which must be provided
by gogo commands:
https://cwiki.apache.org/FELIX/rfc-147-overview.html
kind regards;
/Pierre
On Sat, Jan 14, 2012 at 8:31 PM, Cristiano Gavião cvgav...@gmail.comwrote:
Hi Felix,
I'm not using the DS
,
Mohica
On Thu, Jan 12, 2012 at 10:42 AM, Pierre De Rop pierre.de...@gmail.comwrote:
Hi Mohica,
Good to know that you found how to debug using eclipse, may be you have
read the following link ?
https://cwiki.apache.org/FELIX/integrating-felix-with-eclipse.html
Now, I have tried to reproduce
Hi Mohica,
Assuming that service2 needs configuration from service1.pid and
service2.pid, then there are two cases:
1) case 1: if both services (service1/service2) are packaged in the same
bundle, then yes, service2 may define two configuration dependencies on
both pids, for instance like this:
Hi Mohica,
I think I have reproduced the issue you describe, and after having checked,
the root cause of the problem is probably the following:
By default, fileinstall listens to configuration updates, using the
ConfigAdmin interface org.osgi.service.cm.ConfigurationListener interface.
So, when
: +
config);
}
}
kind regards;
/Pierre
On Tue, Jan 31, 2012 at 10:33 AM, Pierre De Rop pierre.de...@gmail.comwrote:
Hi Mohica,
This sounds like a bug, I will investigate asap.
regards
/pierre
On Mon, Jan 30, 2012 at 9:56 PM, Mohica Jasha mohica.ja...@gmail.comwrote:
On Mon, Jan 30, 2012
Hi Caspar,
The SCR from the Felix trunk is compiled with compendium 4.3.
Can you recompile scr from trunk and do a test with it ?
I think it should work.
regards;
/Pierre
On Thu, Oct 4, 2012 at 7:40 PM, Caspar MacRae ear...@gmail.com wrote:
Hello,
Is there a version of Felix SCR that works
Hi Bokie,
I did a quick test with a simple DM activator, using a
ConfigurationDependnecy, and also using osgi.cmpn-4.3.1.jar, but I could
not reproduce the problem.
Can you please give us the list of the bundles you are using ?
From my side, I used the following bundles (with
Hi Bokie,
I reproduced the problem with config-admin 1.6.0. Are you also using it ?
Anyway, Felix found the root cause: it's because of a duplicate export of
the CM api (org.osgi.service.cm package):
1) config-admin 1.6.0 exports org.osgi.service.cm with version=1.5 (because
it implements the
Hello Adam;
I don't know when David or Felix plans to cut a release, but looking at
your trace, it seems that your maven crashed ?
Maybe you ran out of memory ?
Can you retry with more memory, using MAVEN_OPTS=-Xmx512m -Xms512m
-server ?
if some tests are still failing, can you then provide the
Hi Christiano,
I think that Felix was talking about adding the following property in your
framework conf/config.properties:
org.osgi.framework.system.packages.extra=org.w3c.dom.traversal;
version=...
You can refer to
Hi Tim,
I don't know if gemini BP is compatible with CM from OSGi compendium 4.3,
but using a 4.3 CM allows to share the same configuration PID across
multiple bundles if the configuration is created using a specific ?
location binding (see 104.4.1 chapter, in compendium 4.3).
Technically,
Hi Jean-Philippe,
in addition to the responses made by Felix and Roland, you can also refer
to configuration admin specification, especially in the chapter 104.4.1 of
the 4.3 OSGi compendium, which explains what is a configuration location
binding (the second parameter of the
Hi Dave,
Could you give a try to the trunk version of the SCR (I think that the code
changed a lot in the trunk since 1.6.2).
regards;
/Pierre
On Wed, Sep 18, 2013 at 10:09 PM, Dave Smith dave.sm...@candata.com wrote:
1.6.2
Dave Smith
Candata Ltd.
416-493-9020x2413
Direct: 416-855-2413
Hi Marcel,
Nice articles, I will look into them with pleasure.
As Bram suggested, I also added the links in Felix documentation:
http://felix.apache.org/documentation/subprojects/apache-felix-dependency-manager/apache-felix-dependency-manager-resources.html
best regards;
/Pierre
On Tue, Oct
Hi David,
I'm not sure whether I fully understand or not, can you please clarify and
describe with more details the circular dependency involved in this problem
?
As far as I understand what you are describing:
- C is immediate, enabled, and has two required references on both A, B.
- A is
Hello Clement,
I'm also working on some benchmark related to dependency manager,
declarative service, and after reading this post, I tried to incorporate a
scenario using iPojo in my benchmark.
And it seems that I'm also observing a performance problem.
I will try to commit somewhere my
De Rop (pierre.de...@gmail.com) wrote:
Hello Clement,
I'm also working on some benchmark related to dependency manager,
declarative service, and after reading this post, I tried to incorporate a
scenario using iPojo in my benchmark.
And it seems that I'm also observing a performance problem
, ...):
http://felix.apache.org/ipojo/api/1.11.0/org/apache/felix/ipojo/api/ComponentType.html#createInstance(java.util.Dictionary)
Thanks
—G
Le 25 juin 2014 à 12:05:29, Pierre De Rop (pierre.de...@gmail.com) a
écrit:
Hi Clement,
I finally committed a stress test for dependency manager 4 in
https
substitution in the filter of the dependency
The value will be substituted automatically.
You can use any property name of your component , they will be recognized.
—G
Le 25 juin 2014 à 16:12:05, Pierre De Rop (pierre.de...@gmail.com) a
écrit:
Hi Guillaume;
Thanks for reviewing;
But if I
Hello Andras;
just to say I saw your post. I'm just lacking of time this week, but I will
look into your problem this WE;
in the mean time, it would be helpful if you could confirm that you also
have the problem with the dm and shell trunk versions ?
thanks;
kind regards;
/Pierre
On Wed, Jun
on a release?
thanks!
Andras
On 27 June 2014 08:42, Pierre De Rop pierre.de...@gmail.com wrote:
Hello Andras;
just to say I saw your post. I'm just lacking of time this week, but I
will
look into your problem this WE;
in the mean time, it would be helpful if you could confirm
Hi Philipp;
I'm using DM and DS in some large applications (~400 bundles, ~1000
services), and I confirm that both DM and DS are fast.
If you want to give a try to DM java API, you can take a look at [1]. it's
a simple but powerful API, which allows to not only declare simple
services, but also
The Apache Felix team is pleased to announce the release of Felix
Dependency Manager 3.2.0,
Dependency Manager Shell 3.2.0, Dependency Manager Annotation 3.2.0, and
Dependency Manager Runtime 3.2.0
This is a maintenance release with several bug fixes and with some
improvements made in the
Hello Philipp,
So, let's see if I understand you correctly:
- you have N Device services (each having a device.id service propery).
- then you have N corresponding DeviceParameter instances, each one also
having a device.id service property, matching a corresponding Device.
- and you want to
in the lifecycle
methods
( start(Component c) ). Can I get the actual object (here the Consumer
instance) from this Component?
Regards Philipp
On 22.09.2014 17:41, Pierre De Rop wrote:
Hello Philipp,
So, let's see if I understand you correctly:
- you have N Device services (each
)
- createAdapter creates a new component *for each* tracked service which
appears. (n to n relation)
Note: I'm on DM 3.2 for now, so Component.getService() is what I was
looking for.
Thanks regards Philipp
On 23.09.2014 08:41, Pierre De Rop wrote:
Hi Philipp;
so; regarding your first question
Hi Philipp;
see my response, inlined below:
On Wed, Sep 24, 2014 at 4:46 PM, Bulu b...@romandie.com wrote:
Hello all
If the published property of a service is based on a value in the actual
service object, and that value later changes, how can I update the
properties using DM?
Example:
with
incomplete properties, and just update them in the init method when the
values are present. But that seems like a hack... Is there a better way?
Thanks Philipp
On 24.09.2014 18:09, Pierre De Rop wrote:
Hi Philipp;
see my response, inlined below:
On Wed, Sep 24, 2014 at 4:46 PM, Bulu b
);
props.put(EventConstants.EVENT_FILTER,(device.id=xxx)); // xxx comes
from the Device instance
mgr.add(createAdapterService(Device.class,null)
.setImplementation(DeviceConsumerImpl.class)
.setInterface(EventHandler.class.getName(), props);
Philipp
On 25.09.2014 10:53, Pierre De Rop wrote:
Hi
Hello Philipp,
I don't know if this may help, but if you are using DM 3.2.0, please don't
forget that if you are declaring some extra-service dependencies from your
init() methods (in your adapter for example), then you have to declare them
as instance bound dependencies: you have to make a call
()
.setInstanceBound(true)
.setService(OtherService2.class, (name=yyy))
.setRequired(true))
);
}
}
kind regards;
/pierre
Regards Philipp
On 30.09.2014 23:03, Pierre De Rop wrote:
Hello Philipp,
I don't know if this may help, but if you
Hello Philipp,
I think that currently, it is not possible to specify a third party
callback object to be notified when the adaptee services properties are
changed, and only your adapter will be notified.
One possible alternative could consist in letting the adapter impl provide
an adapted
The Felix team is pleased to announce the release of the Apache Felix
Dependency Manager 4 top-level release R2.
This R2 release provides an important fix for the previous R1 release which
had a bug regarding Iterable autoconfig fields.
This release is available from:
Hello Bernd,
Sorry for this, indeed I just reproduced the issue with bndtools 2.4.1 (but
as far as I remember, the tutorial worked fine with previous bndtools
versions, or may be there is a regression somewhere).
I will investigate this and will get back to you asap.
PS: if you are using Apache
, Pierre De Rop pierre.de...@gmail.com
wrote:
Hello Bernd,
Sorry for this, indeed I just reproduced the issue with bndtools 2.4.1
(but as far as I remember, the tutorial worked fine with previous bndtools
versions, or may be there is a regression somewhere).
I will investigate
On Thu, Mar 26, 2015 at 12:46 PM, Bernd Prager be...@prager.ws wrote:
Thank you very much Pierre for the quick response. Good job.
Sent from my iPhone
On Mar 26, 2015, at 7:30 AM, Pierre De Rop pierre.de...@gmail.com
wrote:
Ok, Bernd;
I understand what is going on: now with BndTools
cool !
:-)
On Thu, Mar 26, 2015 at 4:17 PM, Bernd Prager be...@prager.ws wrote:
I confirm, it's working.
Thank you!
On 26.03.2015 08:26, Pierre De Rop wrote:
I just created a jira issue (FELIX-4836) and committed a candidate fix in
revision 1669348.
Also, I had to fix some wrong
Hello Thomas,
if you are using DM annotations, you can try to add the service property
mentioned by Raymond using the following:
@Component(properties = @Property(name = osgi.http.whiteboard.listener,
value = true))
public class MyContextListener implements ServletContextListener {
...
}
And if
- org.osgi.useradmin.1.1.0 -
osgi.enterprise.4.2.0 - felix.http.jetty.2.2.2
Is this an intended behaviour?
Best regards ant thanks for your patience,
Thomas
2015-05-12 15:43 GMT+02:00 Pierre De Rop pierre.de...@gmail.com:
Hello Thomas,
if you are using DM annotations, you can try
|Apache Felix Log Service (1.0.1)
14|Active |1|Apache Felix Metatype Service (1.0.12)
/Pierre
On Tue, May 12, 2015 at 5:30 PM, Pierre De Rop pierre.de...@gmail.com
wrote:
Thomas,
I suggest to not include the api bundles in the runtime (osgi.enterprise,
and osgi.residential), which
The Felix team is pleased to announce the release of the Apache Felix
Dependency Manager 4 top-level release R5.
This release is available from:
http://felix.apache.org/site/downloads.cgi
The instructions to build the Dependency Manager from the source
distribution can be found here:
Hello Simon,
DM, like DS does not implement a private service registry to intra-bundle
components (well, except for optimized DM filter indices, but this is
another story).
I think Ipojo do support what you are describing, but I prefer to let other
people respond about this since I'm not enough
Hello Thomas,
Just a remark, when you define a DM @Component annotation on a class which
implements an interface, then the interface is automatically registered in
the OSGi service registry. So, in the case of your MyManualServlet, since
you are registering it manually from the @Start method,
The Felix team is pleased to announce the release of the Apache Felix
Dependency Manager 4 top-level release R3.
This release is available from:
http://felix.apache.org/site/downloads.cgi
The instructions to build the Dependency Manager from the source
distribution can be found here:
Hello Ken,
oops, yes, Marcel is right: I forgot to remove the dependencymanager from
the toplevel pom.xml (DM is now built using bndtools instead of maven).
I just committed in rv 1692952 the toplevel pom.xml.
I also added the resolver module in the toplevel pom.xml (the framework is
now
Hello Hubert,
This is an old documentation. We are now using BndTools and Gradle and the
latest documentation is located at [1]. More specifically, how to build DM
is described at [2]
Don't hesitate to ping here if you need more helps.
cheers;
/Pierre
[1]
r: package aQute.bnd.osgi does not exist
> import aQute.bnd.osgi.Clazz;
> ^
>
> E:\dependencymanager\org.apache.felix.dependencymanager.annotation\src\org\apache\felix\dm\annotation\plugin\bnd\AnnotationCollector.java:55:
> error: package aQute.bnd.osgi.Des
Hi Hubert;
I don't understand how this is possible, because a DM component initial
state is Inactive, and remains in this state until you add it to a
DependencyManager object.
So, your service implementation can not be called in start() before you add
the component to the dm object.
Ok, in
ams that the latest release is DM 4.1.1
> But this is not available in
>
> http://mvnrepository.com/artifact/org.apache.felix/org.apache.felix.dependencymanager
>
>
> The latest release there is 4.1.0
>
>
> If 4.1.1 is released, could somebody please make 4.1.1 available o
> import aQute.bnd.osgi.ClassDataCollector;
> > ^
> >
> >
>
> E:\dependencymanager\org.apache.felix.dependencymanager.annotation\src\org\apache\felix\dm\annotation\plugin\bnd\AnnotationCollector.java:54:
> > error: package aQute.bnd.osgi does not
ter adding the service dependency.
> In my opinion DM should not try to start the service before I finally add
> the component
> to DM, but now it tries to start the service, as soon as add a
> ServiceDependency.
>
> Tested with DM 4.1.0
>
> Thank you again
> Hubert
>
The Felix team is pleased to announce the release of the Apache Felix
Dependency Manager release R6.
This release is available from:
http://felix.apache.org/site/downloads.cgi
The instructions to build the Dependency Manager from the source
distribution can be found here:
e:
> Pierre,
>
> I've tested with trunk that seems to work for me :) You are quick, fixing
> the issue took you less time than it took me figuring out what was
> happening ..
>
> Thanks!
>
> Bram
>
> On Thu, May 26, 2016 at 3:45 PM Pierre De Rop <pierre.de...@gma
The Felix team is pleased to announce the release of SCR Tooling Bnd
Plugin 1.5.0
This release is available from http://felix.apache.org/site/downloads.cgi
Release Notes:
Changes from 1.4.0 to 1.5.0
---
** Improvement
* [FELIX-5108] - scr bnd plugin: Add option to
1 - 100 of 141 matches
Mail list logo