On 10/27/16 12:03 , Peter Kriens wrote:
Neil Bartlett added JLine to the enRoute Gogo shell. Maybe this is causing the
problem in your environment. You could add the standard Gogo shell to a repo
and use that one.
The latest Gogo release also has JLine integration, although I think the
Hello,
That is interesting and tools and visualizations to help in this area
are certainly needed. However, depending on your OSGi framework you can
get a pretty precise description of a uses constraint violation. For
example, both the Felix framework and Equinox use the same resolver
which
...@mail.osgi.org on behalf of Richard S. Hall
he...@ungoverned.org
*Sent:* Tuesday, August 11, 2015 9:30 AM
*To:* OSGi Developer Mail List
*Subject:* Re: [osgi-dev] Resolving OSGi Uses Constraint Violations
Using Anzo
Hello,
That is interesting and tools and visualizations to help in this area
On 5/4/15 10:54 , Christian Schneider wrote:
I just went through the process of getting access to the OSGi tcks at
apache. In the end after signing an agreement and explaining what I
need to
test I got access to the tck jars.
Getting them to work against in my case aries blueprint required
On 5/4/15 11:07 , Christian Schneider wrote:
On 04.05.2015 16:59, Richard S. Hall wrote:
On 5/4/15 10:54 , Christian Schneider wrote:
After running the blueprint tests I got 28 test failures. I am not
sure how well I will be able to work with these as I do not have the
test sources. So
On 3/9/15 11:29 , elias vasylenko wrote:
So the MyFum service might be used by other bundles too, but MyFoo
will always only use MyFum, not any Fum implementations from other
bundles? Why even use the service registry at all when MyFoo fetches
its implementation of a Fum? If it will only
On 2/13/15 11:37 , Christian Schneider wrote:
I had a longer discussion with Guillaume Nodet about how to shut down
bundles cleanly. The main question was if you can cleanly shut down
bundles with just the OSGi APIs or if we are missing something.
So the thing to define is: what does clean
On 9/25/14 09:16 , Raymond Auge wrote:
On Thu, Sep 25, 2014 at 9:08 AM, Peter Kriens peter.kri...@aqute.biz
mailto:peter.kri...@aqute.biz wrote:
Somebody in your system must do the schema migration. This bundle
should create a synthetic bundle with the capability that
describes
to use it or not...and unfortunately, they end up using it
whether they need to or not.
- richard
On Thu, Sep 25, 2014 at 9:39 AM, BJ Hargrave hargr...@us.ibm.com
mailto:hargr...@us.ibm.com wrote:
From: Richard S. Hall he...@ungoverned.org
mailto:he...@ungoverned.org
I would
On 11/26/13, 02:21 , Anacristing wrote:
Hello,
I'm studying osgi.core-5.0 specification.
I don't understand step 6 of search order in the section 3.9.4.
It says:
If the class or resource is in a package that is exported by the
bundle or the package is imported by
the bundle (using
On 10/9/13 05:39 , Christian Schneider wrote:
Nowadays dependency injection technologies like blueprint, ds and
spring dm are used a lot in OSGi. All these have in common that they
are extender based. So instead of using an activator you have an
extender that detects if you use such a
On 10/9/13 08:42 , Christian Schneider wrote:
On 09.10.2013 14:24, Richard S. Hall wrote:
On 10/9/13 05:39 , Christian Schneider wrote:
Nowadays dependency injection technologies like blueprint, ds and
spring dm are used a lot in OSGi. All these have in common that they
are extender based. So
On 10/9/13 09:12 , David Bosschaert wrote:
Well at this stage I think we're really talking about requirements. I
think one of the core requirements is to find out in a more standard
way whether a particular extender completed its work successfully.
Actually, a specific mechanism was proposed
On 10/9/13 09:59 , Christian Schneider wrote:
On 09.10.2013 15:50, Richard S. Hall wrote:
On 10/9/13 09:15 , Christian Schneider wrote:
On 09.10.2013 14:50, Richard S. Hall wrote:
Again, the extender can already do this with no extra support from
the framework, simply implement an activator
On 10/9/13 11:21 , Felix Meschberger wrote:
Hi
Am 09.10.2013 um 05:24 schrieb Richard S. Hall:
On 10/9/13 05:39 , Christian Schneider wrote:
Nowadays dependency injection technologies like blueprint, ds and
spring dm are used a lot in OSGi. All these have in common that they
are extender
Resending my reply from yesterday since my original message didn't seem
to go through...
Yes, you can do some of these sorts of things with iPOJO.
First, iPOJO has the notion of a service-level service dependency as
well as an implementation-level service dependency (which is the level
Yes, you can do some of these sorts of things with iPOJO.
First, iPOJO has the notion of a service-level service dependency as
well as an implementation-level service dependency (which is the level
of DS dependencies). Second, iPOJO caches services references within a
service method
On 6/27/12 09:44 , Felix Mayerhuber wrote:
Hi @all,
I've got a question concering the Weaving Hook class modification
possibility. I use a Weaving Hook to enhance some classes which have a
specific annotation. I add an interface to the classes and add the
implementations for the methods for
/1/11 Richard S. Hall he...@ungoverned.org
mailto:he...@ungoverned.org
On 1/11/12 12:47 , Guillaume Sauthier (OW2) wrote:
Our use case involves FileInstall for starting Bundles in a
directory.
When runned within Felix, we end up with a RESOLVED lazy bundle
triggered to load
a Bundle ?
The framework doesn't arbitrarily make start/stop decisions. That is the
job of the management agent.
- richard
--G
2012/1/11 Richard S. Hall he...@ungoverned.org
mailto:he...@ungoverned.org
On 1/11/12 11:24 , Guillaume Sauthier (OW2) wrote:
With Felix, we experienced
by DS and iPOJO.
Neil
On Wednesday, 11 January 2012 at 17:20, Richard S. Hall wrote:
On 1/11/12 12:04 , Neil Bartlett wrote:
Guillaume,
In this case the bundle will be fully started, i.e. forced to start without
regard for its policy. Because of this I recommend that you *always* start
that eager activation should always be possible, but
following the bundle's policy makes most sense to me as a default.
Neil
On Wednesday, 11 January 2012 at 17:45, Richard S. Hall wrote:
On 1/11/12 12:34 , Neil Bartlett wrote:
Unfortunately I have seen many errors with bundles that assume
or not classes
have already been loaded from it.
Felix implements (1) and Equinox implements (2), I believe.
So, you could also see differences here, but not sure if this is
impacting you.
- richard
--G
2012/1/11 Richard S. Hall he...@ungoverned.org
mailto:he...@ungoverned.org
On 1/11
On 9/29/11 1:26 PM, Neil Bartlett wrote:
Swing and OSGi generally work together fine, give or take a few little
oddities with dynamic changes. Angelo's blog post documents how to
work around those.
I also found issues with custom controls and custom look-and-feel
classes, since those are
On 8/4/11 1:27 PM, david.humen...@l-3com.com wrote:
Isn't that the point of the transient to mark items of a serializable
class that can't be serialized? Is there a reason that shouldn't be done?
I'm personally fine with it.
- richard
David Humeniuk
*From:*Richard S. Hall [mailto:he
On 6/8/11 11:20, Felix Meschberger wrote:
Hi,
Am Mittwoch, den 08.06.2011, 17:12 +0200 schrieb Eugen Reiswich:
Hi folks,
I need to restart an OSGi application programmatically in Java. How can I do
this?
AFAICT the official way is to call Bundle.update() on the system
bundle.
True.
BUT:
On 6/8/11 11:43, Felix Meschberger wrote:
In fact, what we do in the Sling launcher is that we create root class
loader to load the framework with and on framework restart we throw away
the old one and create a new one.
I think this further helps PermGen GC --- but I would be happy to learn
On 5/5/11 21:41, Ikuo Yamasaki wrote:
Hi OSGi Experts,
I have a question(confirmation) on Package Admin Service Spec in R4.2
Core Spec.
==
[Precondition]
Bundle-A exports package p (version 1.0).
Bundle-B imports package p (version 1.0).
[Then]
1.
On 4/21/11 0:21, Ikuo Yamasaki wrote:
Hi all,
OSGi R4.2 CT is based on bnd. I have several questions on it:
Q1. Is the CT (and bnd) designed for running on CDC FP1.1 ?
(under the condition that the Implementation to be tested can cun on CDC
FP1.1.)
Q2. If Q1 is yes (it should run), how can I
On 04/21/2011 06:31 PM, Ikuo Yamasaki wrote:
Hi Richard,
Thank you for the information.
That page seems useful. I'll try it as written later.
However, I had a private mail which recommends me to ask the question to
not to OSGi DEV ML but OSGi members' ML because the CT is not
public to non
On 4/13/11 5:03, Holger Hoffstätte wrote:
On 13.04.2011 05:49, David Erickson wrote:
I'm working on an application where performance is critical, but we'd
like to take advantage of the dynamism inherent in OSGi to allow in
place updates and feature additions. I've played with Spring DM and
There is no way for a bundle to get the framework to abort startup.
The best you can do is have your bundle run in a lower start level than
all other bundles and have the framework start up in this lower start
level first. Then once the framework started (i.e., your bundle gets the
framework
On 3/9/11 11:49, Andrea Zoppello wrote:
Hi All,
Thx for the answers,... very interestin.
It's clear to me that the System.exit( ) is evil, is not a solution
BTW i want to avoid, because i use equinox within servlet bridge and
System.exit() will
cause problem in that situation..
The
On 2/22/11 14:23, Scott Lewis wrote:
But I'm sort of wondering...why couldn't/shouldn't every
ServiceFactory be considered 'wacky'? :)
In the good old days, bundles did not register services for other
bundles, thus all service factories came from the bundle providing the
service. Such
On 1/30/11 15:39, Lindsay Smith wrote:
Hi everyone,
Section 3.8.4 of the osgi core spec 'Overall Search Order' describes
the order that classes are loaded by the bundle class loader.
I'd like to understand better the rule that the Import-Package list
has precedence of the bundle's embedded
On 1/3/11 13:54, Michael Köndling wrote:
H. Cervantes and R.S. Hall write in Beanome: A Component Model for the
OSGi Framework
http://www.humbertocervantes.net/papers/VIVIAN2002.pdf that there
are three types of dependencies in OSGi:
Bundle-to-package
Bundle-to-service
Service-to-service
I
On 1/3/11 14:02, Neil Bartlett wrote:
DS principally defines *components*. A component can depend on a
service by declaring areference element in its XML descriptor (or
if you're using the cool Bnd annotations, an @Reference annotation in
the Java source).
In addition a component can itself
On 12/27/2010 10:12 PM, Bhumana, Kiran wrote:
Referring to r4.core spec; In section 4.4.6.2 that describes lazy
activation policy, there is an exclude directive (list of classes)
that can be provided . What does it mean? How is it expected to be used?
I believe it is used to exclude
activator but just exports packages
(like a library bundle use case) ?
Yes.
Are there other use cases?
No.
- richard
Thanks,
Kiran.
*From:*osgi-dev-boun...@mail.osgi.org
[mailto:osgi-dev-boun...@mail.osgi.org] *On Behalf Of *Richard S. Hall
*Sent:* Monday, December 27, 2010 7:25 PM
On 12/7/10 11:37, BJ Hargrave wrote:
OK, the official Planet OSGi feed is now available at
http://www.osigi.org/Planet/Feed. Subscribe and read...
All these years and you still can't spell OSGi...
--
*BJ Hargrave*
Senior Technical Staff Member, IBM
OSGi Fellow and CTO of the _OSGi Alliance_
Seems like you'd be better off breaking the one-component-per-bundle
model and instead map many components into a single bundle.
- richard
On 12/6/10 14:02, Martin Petzold wrote:
Hi Simon.
For my thesis I'm working on a dynamic distributed simulation
architecture based on OSGi and with
, then you shouldn't need to
lose any dynamism, since service are more lightweight dynamic than
bundles. Just enable/disable the component.
- richard
Am 06.12.2010 20:19, schrieb Richard S. Hall:
Seems like you'd be better off breaking the one-component-per-bundle
model and instead map many
not sure the performance
strain will be worth it.
- richard
Am 06.12.2010 21:09, schrieb Richard S. Hall:
On 12/6/10 14:33, Martin Petzold wrote:
Thanks for any feedback! This is already possible, it's up to the
modeler, but you then lose some dynamism. The modeling formalism is
based on a class
On 12/2/10 9:59, Jeff McAffer wrote:
You are making a particular assumption about the definition of utility class.
Is the expectation that util classes never appear in API? It's not clear that everyone
on this thread is working with that assumption (might just be me who is/was not).
On 12/2/10 13:04, Jeff McAffer wrote:
Can you not see that Path would be defined as a utility or not by the bundle
that uses it?
Give me some credit. Of course.
Well, you appear to be wanting to classify a given class as globally a
utility or not, but this depends on how it is used.
If
To be clear, DS == Declarative Services.
The core OSGi API allows you to manually track service dependencies, but
does not automate this process for you. For automated service dependency
tracking, you need a service-oriented component framework, like DS,
iPOJO, or Blueprint.
- richard
On
A simple library bundle would likely just export the packages it wishes
to share.
Not all bundles need to provide services. Services decouple bundles from
implementation details, enabling multiple providers and dynamism.
Package sharing is another valid form of bundle collaboration, it is
Services are more dynamic than packages; they can come and go at will,
package wiring cannot. Once a bundle is wired to a given package, it
will not wire to another provider until the framework is refreshed.
Performing an update is not sufficient. You must always refresh the
framework to
On 3/11/10 9:29, Simon J Archer wrote:
Jeff is right. A DS component factory is used to programmatically
manufacture multiple DS components from the same component XML. Of
course each manufactured DS component can interact with
ConfigurationAdmin as defined by the DS spec and described in
This is not really a topic for the osgi-dev mailing list...so responses
should probably stay confined to the Felix mailing list.
- richard
On 2/28/10 4:46 PM, Tony Anecito wrote:
Hi,
I am looking for a simple stand alone client example using Felix. I have a core
jar, services jar and then
On 12/4/09 10:06, Alan Keane wrote:
Hi Tom,
Thanks for the reply.. makes sense
I was just a bit confused by the statement -/* *'if an exported
package/ /of the bundle it references has been updated or removed'/ by
refreshPackages() - along with some differences I have noticed between
felix
]);
+moduleList.add(dependents[depIdx]);
}
Thanks,
Alan
-Original Message-
From: osgi-dev-boun...@mail.osgi.org
[mailto:osgi-dev-boun...@mail.osgi.org] On Behalf Of Richard S. Hall
Sent: 04 December 2009 15:11
To: OSGi Developer Mail List
Subject: Re: [osgi-dev] RequiredBundle
Web Start and OSGi serve different purposes, although (if I recall
correctly) there is some overlap with service orientation.
Web Start's main focus is making it easy to deploy and use Java-based
apps off of the web and onto your desktop. OSGi does not really address
this. Assuming you have
On 11/16/09 11:55, David Bosschaert wrote:
Alan D. Cabrera wrote:
On Nov 13, 2009, at 7:51 AM, BJ Hargrave wrote:
If you optionally import the cm package and don't get it when you
resolve, then you will never see CA, so just use the defaults.
I'm wondering if this is true. Can't another
If you run with security enabled, then you just don't grant them that
permission.
- richard
On 9/13/09 20:06, Abhishek kapoor wrote:
Dear Members,
Is there any way to stop bundle from un-installing other bundles in the
framework ?
Many Thanks
Sunny
You can break the common bundle down into more bundles to lessen the
impact. If you can separate the interfaces to put them into the
implementation bundles, then you should be able to separate them into
different common bundles.
Then only the bundles dependent upon a particular interface will
Circular dependencies are supported in OSGi.
- richard
On 8/28/09 14:30, cato kato wrote:
Hi,
I have a simple problem, but because i am newbei i cannot find the solution :)
I have two (or more) bundles. Lets say A and B. Both A (db pool mech.)
and B (snmp and alarm) depends each other.
So
On 8/28/09 14:54, Craig Phillips wrote:
Hi,
First of all... Legacy stuff needs to be fixed and remove this phenomenon...
From Grady Booch and prior / recent, there should be ZERO TOLERANCE for
circular dependencies amongst packages PERIOD;
Second, NO ONE should be designing bundles with
Ever since the early days of Service Binder, the static policy has meant
that the component ignores service additions after activation (i.e., it
doesn't deactivate/reactivate), the only changes that impact a component
with static policies are removal of services being used by the component
(at
On 7/27/09 12:13 PM, Felix Meschberger wrote:
Hi
Ikuo Yamasaki schrieb:
If how the current DS impl of Equinox works is not a bug,
I agree with Stoyan. Otherwise, unfortunately I would way the current DS
impl of Equinox has a bug.
I would like to know how other DS impl, felix,
On 7/27/09 2:30 PM, Felix Meschberger wrote:
Hi,
Richard S. Hall schrieb:
To be clear, any additions with static policy should be ignored, not
just 1..1. For example, static 0..n would not see newly arriving
services after the component was activated, no matter if it was started
with 0
On 7/27/09 3:07 PM, Felix Meschberger wrote:
Hi,
Richard S. Hall schrieb:
On 7/27/09 2:30 PM, Felix Meschberger wrote:
Hi,
Richard S. Hall schrieb:
To be clear, any additions with static policy should be ignored, not
just 1..1. For example, static 0..n would not see newly
On 7/3/09 5:00 PM, Alan D. Cabrera wrote:
On Jul 1, 2009, at 4:17 PM, BJ Hargrave wrote:
Consider init() to be the first part of starting the framework which
leaves the system bundle in the STARTING state at start level 0 with
a valid BundleContext. start() then completes starting the
On 6/19/09 8:31 AM, Guillaume Nodet wrote:
Let's say I have the following bundles:
foo-1.0:
Export-Package: a;version=1.0
Import-Package: a;version=1.0
foo-2.0:
Export-Package: a;version=2.0
Import-Package: a;version=2.0
I first install foo-2.0 on the runtime, then bundle foo-1.0.
Reading
No. It only looks at the native libraries of the bundle doing the
loadLibrary().
Require-Bundle imports everything the other bundle exports. Bundles only
export packages, not native libraries.
- richard
On 5/14/09 5:18 PM, Obele, Azubuko wrote:
Does the Bundle Native-Code mechanism use
.
Regards,
Alan
On Apr 14, 2009, at 8:13 PM, Richard S. Hall wrote:
Maybe the JavaDoc needs to be
updated to more closely resemble
the spec text
I think you are not correct.
If a bundle has no wire to the package, which system bundle shouldn't
since it cannot import, then it should get back all service references.
I think the spec assumes you are using reflection if you have no wire to
the package. I cannot remember if this behavior
Maybe the JavaDoc needs to be updated to more closely resemble the spec
text.
- richard
On 4/14/09 10:44 PM, Stuart McCulloch wrote:
2009/4/15 Richard S. Hall he...@ungoverned.org
mailto:he...@ungoverned.org
I think you are not correct.
If a bundle has no wire to the package, which
Alan D. Cabrera wrote:
When a bundle updates, I guess it can switch from being a fragment
bundle to a host bundle depending on the contents of the updated
bundle. Can the symbolic name change so long we there is no other
bundle with that name and version? I don't see where it says that it
Alan D. Cabrera wrote:
On Jan 15, 2009, at 8:02 PM, Richard S. Hall wrote:
Alan D. Cabrera wrote:
When a bundle updates, I guess it can switch from being a fragment
bundle to a host bundle depending on the contents of the updated
bundle. Can the symbolic name change so long we
Alan D. Cabrera wrote:
On Dec 26, 2008, at 11:49 AM, Richard S. Hall wrote:
Old revision:
exports foo v1, bar v1, cdr v1
New revision:
exports cdr v2, car v1
imports foo v1 (from old revision), bar v1 (from old revision)
So, it seems that we have bundles within bundles.
Each bundle may
Niclas Hedhman wrote:
On Wed, Dec 17, 2008 at 11:45 PM, Richard S. Hall he...@ungoverned.org wrote:
For the most part, I believe what you describe is possible with what OSGi
provides. Clearly, a lot of legacy code makes this difficult, but that is
not the fault of OSGi (nor the legacy code
Richard S. Hall wrote:
I don't see any reason why you cannot obfuscate your bundle's content,
but you cannot obfuscate the names of packages your bundle imports or
exports.
I guess I could extend that to say, unless your imports and exports are
only among bundles which you have similarly
Niclas Hedhman wrote:
On Tue, Aug 12, 2008 at 1:44 PM, Richard S. Hall [EMAIL PROTECTED] wrote:
Well, we are talking about ones you should expect to see...NCDFE are
reasonably common when loading classes, especially for beginners in the OSGi
environment. So, assuming that there is no value
that the spec allows the way
we implement it in Felix.
regards,
Karl
Tom
Niclas Hedhman ---08/12/2008 01:17:05 AM---On Tue, Aug 12, 2008 at
1:44
PM, Richard S. Hall [EMAIL PROTECTED] wrote: Well, we are talkin
From:
Niclas Hedhman [EMAIL PROTECTED]
To:
OSGi Developer Mail List osgi
BJ Hargrave wrote:
NoClassDefFoundError is an Error which is unchecked and can be thrown
anywhere. Given that Bundle.loadClass is patterned after
ClassLoader.loadClass, one should expect similar results.
I agree that it should be possible to throw it from Bundle.loadClass(),
but the fact
Alan Cabrera wrote:
On Aug 2, 2008, at 10:27 AM, BJ Hargrave wrote:
So we have:
foo:
Export-Package: a,b;uses=a
Import-Package: a
bar:
Import-Package: a, b
car:
Export-Package: a
Thus we have 2 exporters for a and one for b. Who ever imports should
use the same a that foo uses.
So we
Thomas Watson wrote:
Hmmm... I stand corrected on my last post about the specification not
allowing bundles to wire to exports from uninstalled bundles. I will
have to look back at the CPEG discussions. I really do remember us
discussing that exports from uninstalled bundles should not be
james wallis wrote:
Anyone tell how to get off of this mailing list? I no longer need it.
I think if you click on that link in the footer of the message, then it
will give you some clues.
- richard
- Original Message
From: Thomas Watson [EMAIL PROTECTED]
To: OSGi Developer
Colin Fleming wrote:
Great, thanks for all the advice. We're actually thinking about using
Felix as our RI, that's probably the way to go for us.
We would certainly be happy if you use Felix, but keep in mind that
neither iPOJO nor our DS implementation require the Felix framework;
they
Colin Fleming wrote:
Ok, thanks! I thought I remembered reading that DS couldn't be
implemented as a generic bundle - that it required access to internal
classes to perform it's magic, and thus the implementation was tied to
the framework? I can't remember the details though...
That was true
Ikuo Yamasaki wrote:
Hi, OSGi Experts
It seems to me that, in OSGi, it would be important to decouple a
service object and the service properties when registering a service in
order to increasie re-usability of components by adopting some
declarative ways.
I wonder if it is possible to set
BJ Hargrave wrote:
I don't think you have demonstrated that you need to use fragments
here. Fragments should only be used when necessary and there is no
better way.
You can easily have the base bundle export the package with the base
class. A second bundle can import that package, extend
Sinisha Djukic wrote:
Can osgi go with J2ME ?
Is there any compatibility between osgi and j2me?
OSGi does not need many things from the JVM, but one thing it does
need is classloaders. J2ME, or CLDC, generally does not support that,
so running OSGi on such an execution environment
84 matches
Mail list logo