Hello,
I want to include more than one service into a bundle, so it seems like
I have to make a use of declarative services.
I'm building a test bundle with maven + maven-bundle-plugin and
generating the ds descriptor with maven-scr-plugin, so it looks like this:
?xml version=1.0
Try to add immediate=“true” to your component definition. This should result in
something like
?xml version=1.0 encoding=UTF-8?components
xmlns:scr=http://www.osgi.org/xmlns/scr/v1.0.0;
scr:component immediate=“true” name=ru.multicabinet.gateway.ExampleDS
implementation
Fascinated to hear why you need this, by the way! OSGi R3 was superseded by R4
more than ten years ago…
Neil
On 20 Jan 2015, at 10:05, Bulu b...@romandie.com wrote:
Dear Felix DM users
Is it possible to use Felix DM on OSGi 3?
I hope it is :-)
Regards Philipp
Neil: You are right. The service gets registered also when the Component is
not yet active.
(See OSGI Enterprise Spec R4 112.2.2/112.2.3)
On Tue, Jan 20, 2015 at 1:39 PM, Milen Dyankov milendyan...@gmail.com
wrote:
Also make sure that apart from generating the descriptor(s) it adds the
Dear Felix DM users
Is it possible to use Felix DM on OSGi 3?
I hope it is :-)
Regards Philipp
-
To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
For additional commands, e-mail: users-h...@felix.apache.org
Also make sure that apart from generating the descriptor(s) it adds the
correct 'Service-Component' header in your manifest. I recall some problems
when both 'maven-bundle-plugin' and 'maven-scr-plugin' are used together. I
personally try to avoid using 'maven-scr-plugin' and add
Yes, don't tell me... I'm working with the ZB4O project which insists on
using OSGi 3 (presumably, because it uses less resources on constraint
devices).
Regards Philipp
On 20.01.2015 13:21, Neil Bartlett wrote:
Fascinated to hear why you need this, by the way! OSGi R3 was superseded by R4
Good question. The first release at Felix was already using R4 (2.0.1 that is).
I must say that I have a hard time finding any “older” code. After a lot of
digging in personal archives, I did manage to find a very old R3 version. It
probably makes sense to contact me off-list if you want a
Hello
In my gogo commands, I use simple System.println(...) calls to output
things to the gogo shell. (is that the correct way?)
I then access gogo through telnet (Felix Remote Shell 1.1.2). Sometimes
(rarely), certain of my commands do no longer output to the shell,
instead the output is
I installed felix scr bundle into my host osgi application and tried to
obtain a list of active services by visiting a controller of my spring
application which calls osgi code and it threw the following error:
| Error java.lang.NoClassDefFoundError:
Felix SCR does not interfere with Spring loading. SCR has nothing to do with
Spring. This error has come from your own class in your bundle… by installing
SCR you have now for the first time loaded the class (or rather, attempted to
load it), so now you see the problem for the first time.
The
Hello,
I'm using a remote obr repository for installing bundles into my
application and periodically I release updates of that bundles into the
repo. How can my application find out if there is an update available for a
bundle? Is there some conventional way of doing that?
Thank you
Sent
12 matches
Mail list logo