Hi Sigmund,
On 29 September 2016 at 11:08, Sigmund Lee wrote:
> Hi all,
>
> I'm on my way reading OSGi core spec 6.0 right now. here are some
> questions confused me:
>
> 1. What's the relationship between a bundle's Bundle-Version manifest
> header and attribute version of Export-Package manife
Hi Sigmund,
Yes that's the only reason.
Internally in the OSGi framework everything is translated into the generic
requirements and capabilities. So if you use the Wiring API to obtain the
capabilities of a bundle [1] you get all of them using namespaces,
including the osgi.wiring.package etc, bu
Hi SvS,
I would file a bug with Felix [1] ideally with a small testcase attached.
The most likely thing is that there is some typo or other malformatting
issue. The Bundle-ClassPath is tested by the OSGi CT and Felix passes that.
So the best thing would be a small testcase to reproduce it. Then it
Yeah, the RBAC support that's there now is quite pluggable. You can
basically use anything to set the roles in the current
javax.security.auth.Subject. Currently JAAS is one way to do it, but
you can also do it using other technologies and/or use your own custom
roles (instead of the Karaf built-in
I wrote a blog article about how RBAC for OSGi services in Karaf can
be used:
http://coderthoughts.blogspot.com/2013/10/role-based-access-control-for-karaf.html
Currently all the roles are specified using Config Admin, i.e. via
.cfg files in the etc directory.
On the annotation support, I know th
Or alternatively you can also write an little OSGi bundle that talks
directly to the MBean Server via
ManagementFactory.getPlatformMBeanServer() and does whatever it wants
to do when the desired state has been reached.
BTW do note that when using this with Karaf 3 you need to provide
login credent
Hi Ryan,
I'll look at it on Monday. AFAIK there are no special ACLs for the
instance commands (at least not by default). So you might have
possibly found a bug...
Cheers,
David
On 20 December 2013 21:47, Ryan Moquin wrote:
> Hi, I ran into a problem recently as I was working on some code where
Thanks for fixing this, JB!
David
On 21 December 2013 15:42, Jean-Baptiste Onofré wrote:
> I think I fixed your problem with KARAF-2645.
>
> Regards
> JB
>
>
> On 12/21/2013 04:18 PM, Ryan Moquin wrote:
>>
>> If you don't mind cloning my cellar fork and building it you can see the
>> error. I'm
It sounds like you're manually adding a package to the system bundle
exports without actually providing the package classes. Would it not
be better to simply install a bundle that exports the package you
need? That means that you don't need to manually edit config files
etc...
While it's generally
Hi Paul,
This could be an omission on my part. When I worked on the command
security I didn't really focus at the client command, but mainly
worked with the bin/karaf command and SSH access.
I can look into this. Would you like to file a bug for it?
In the mean time, if you need the bin/client c
Karaf 3.0.0 is based on Apache Felix 4.2.1, which implements some
functionality from the OSGi Core R5 spec, but that is not fully
complete. AFAIK it does implement full OSGi Core R4.3 functionality.
Best regards,
David
On 21 March 2014 16:30, asookazian2 wrote:
> Which version of the OSGi spec
Hi Florian,
If you are looking for what the benefits of OSGi in general are, the
following presentation might be helpful:
http://www.slideshare.net/bosschaert/benefits-of-osgi-in-practise
Best regards,
David
On 16 June 2014 22:37, lionceau wrote:
> Hi,
>
> To build a modular software.
>
> What
Hi Bob,
Another place where you can look for practical examples of little OSGi
bundles developed using a variety of build tools is here:
http://wiki.osgi.org/wiki/ToolChains
No graphical stuff with buttons. Most hello world examples are
text-only, but there are various blogs etc on the web that s
Hi all,
Just wondering whether this is possible. I'm using a Karaf feature at
runtime and want to make sure that at build time I'm picking up all
the dependencies exactly like they are in the feature (i.e. same
bundles at compile time as at runtime).
So I was wondering is there a way to use a Kar
ards
> JB
>
>
> On 07/15/2014 06:46 PM, David Bosschaert wrote:
>>
>> Hi all,
>>
>> Just wondering whether this is possible. I'm using a Karaf feature at
>> runtime and want to make sure that at build time I'm picking up all
>> the depen
Hi Doug,
Would the classloader for a specific bundle help here? It would give
you access to what the bundle can see plus what it contains itself.
You can obtain the bundle's classloader in two ways:
1. The easiest way is via the Bundle Wiring. If you have a bundle
object, you can call bundle.adapt
+1 this looks like a very useful set of components!
On 14 October 2014 17:17, Matt Sicker wrote:
> I never heard of a decanter before, but now that I have, it's an awesome
> name.
>
> On 14 October 2014 11:06, Krzysztof Sobkowiak
> wrote:
>>
>> +1
>>
>> I think it's a good idea. It's good to ha
I think the service dependency to a service published by the same
blueprint container will work if that dependency is marked optional.
Basically the problem is that Blueprint will not initialize its
component if the mandatory dependencies aren't available. If you make
that dependency optional you s
In general it is possible to have multiple versions of the same
library installed, this is totally fine in OSGi and therefore also in
Karaf. Depending on your import version range you are wired to one or
the other.
I just wanted to note that if you do an update of a bundle that this
does not autom
Hi all,
Apologies for posting to the Karaf list as this is not really a Karaf
issue, but I this list may contain people that might have come across
this issue as well.
I have some code that runs in OSGi that uses
javax.activation.DataHandler. As this is javax... you should be able
to provide your
eers,
> Jamie
>
> On Tue, Apr 21, 2015 at 10:53 AM, David Bosschaert
> wrote:
>> Hi all,
>>
>> Apologies for posting to the Karaf list as this is not really a Karaf
>> issue, but I this list may contain people that might have come across
>> this iss
bundle to pick up your
> classes first?
>
> I know that's a bit of a hack around, but if it works at least you can
> continue on...
>
> Cheers,
> Jamie
>
> On Tue, Apr 21, 2015 at 11:13 AM, David Bosschaert
> wrote:
>> I guess what I'm looking for is a
Inc.
> FuseSource is now part of Red Hat
>
>
>
> On 2015-4-21, at 下午9:23, David Bosschaert wrote:
>
> Hi all,
>
> Apologies for posting to the Karaf list as this is not really a Karaf
> issue, but I this list may contain people that might have come across
This seems more of a Felix Framework issue rather than a Karaf issue.
What version of Felix is running Karaf? You might want to try
switching to the latest Framework (version 5.2.0) as a lot of work has
gone into the resolver recently...
Cheers,
David
On 31 August 2015 at 20:04, Benson Margulies
Hi Benson,
Could it be that the configuration with pid com.basistech.worker.service is
missing? Or otherwise one of the services that it depends on isn't there
(or isn't visible)?
Cheers,
David
25 matches
Mail list logo