On Mon, 2018-08-13 at 16:20 +0200, Jörg Hoh wrote:
> Hi Robert,
>
> this 3rd party library is a bit complicated ... from what I
> understood it
> hasn't been developed with OSGI in mind (but rather for application
> server
> use), and fiddles around with classloaders etc. I was told that the
> thi
Hi Robert,
this 3rd party library is a bit complicated ... from what I understood it
hasn't been developed with OSGI in mind (but rather for application server
use), and fiddles around with classloaders etc. I was told that the this
library internally internally loads classes from the JVM, effecti
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
At first hand, if there is a difference in javax.activation.datahandler
package version (JVM vs Sling), you can restrict that to use only the
version needed by third-part library to work properly.
Best wishes,
On 08/10/2018 03:06 AM, Jörg Hoh wrote:
> Hi,
>
> We run an OSGI-based application wi
Hi,
We run an OSGI-based application with Apache Sling, and there we use the
org.apache.sling.javax.activation bundle (see [1] for the reason why it has
been introduced). Now we are required to update a third-party library,
which started to use the javax.activation.datahandler package; and it turn
_value;
> > > > > }
> > > > > }
> > > > >
> > > > >
> > > > > As you can see, the class (from my test fragment bundle) DIRECTLY
> > > > > refers to classes fr
ses are loaded by the same class loader as the
classes in the host to which they are attached, so they should have the same
visibility to other classes.
-> richard
Rgds Neil
Sent from my iPhone
On 14 Mar 2012, at 08:35, Christopher BROWNmailto:br...@reflexe.fr)> wrote:
Hello,
));
> > > assertEquals(1, fa.getUsageCount());
> > > }
> > > ____
> > >
> > > If I drop the use of "MockStringModel" and comment out the direct
> > > references to FreeMarker, it works. I use a similar
y the same class loader as the
classes in the host to which they are attached, so they should have the same
visibility to other classes.
-> richard
Rgds Neil
Sent from my iPhone
On 14 Mar 2012, at 08:35, Christopher BROWNwrote:
Hello,
The software I'm creating uses Felix
ichard S. Hall wrote:
>> On 3/14/12 05:00 , Neil Bartlett wrote:
>>>
>>> It certainly is possible to use fragments this way, it fact it's almost
>>> the sole purpose of fragments. So there must be something else going on.
>>> Please show what kind of
ard
>
>
>>
>> Rgds Neil
>>
>> Sent from my iPhone
>>
>> On 14 Mar 2012, at 08:35, Christopher BROWN wrote:
>>
>>> Hello,
>>>
>>> The software I'm creating uses Felix to separate one API bundle (a set
>>> of &quo
at we're free to
change over time. There's only a few JARs we've " promoted" or shared
as proper bundles.
Our testing strategy involves binding fragment bundles with tests, and
I hit a problem, given the approach outlined above. In short, although
the fragment bundle is in
we require, as we want to be
> able to keep them as hidden implementation details that we're free to
> change over time. There's only a few JARs we've " promoted" or shared
> as proper bundles.
>
> Our testing strategy involves binding fragment bundles with t
able to keep them as hidden implementation details that we're free to
change over time. There's only a few JARs we've " promoted" or shared
as proper bundles.
Our testing strategy involves binding fragment bundles with tests, and
I hit a problem, given the approach ou
se installation
order is taken into account when determining priority of candidates (older
bundles have higher priority).
So, in short, if it is working even when it complains, then there is nothing to
worry about.
-> richard
On 5/21/11 14:39, Eric Yung wrote:
Hi,
I have tried to use
y).
>>>
>>> So, in short, if it is working even when it complains, then there is
>>> nothing to worry about.
>>>
>>> -> richard
>>>
>>> On 5/21/11 14:39, Eric Yung wrote:
>>>> Hi,
>>>>
>>>>
le and several fragment bundles. But I found a strange
behavior when starting the Felix framework when the Guice bundles and my bundle
deployed in the /bundle directory and the my bundle is deployed before the
Guice bundles.
The framework may complain about the following error but it does NOT
en it complains, then there is nothing
> to worry about.
>
> -> richard
>
> On 5/21/11 14:39, Eric Yung wrote:
>> Hi,
>>
>> I have tried to use the Google Guice 3.0 bundles in Felix 3.2.1, the bundles
>> includes one main bundle and several fragmen
ain bundle and several fragment bundles. But I found a strange
behavior when starting the Felix framework when the Guice bundles and my bundle
deployed in the /bundle directory and the my bundle is deployed before the
Guice bundles.
The framework may complain about the following error but it d
Hi,
I have tried to use the Google Guice 3.0 bundles in Felix 3.2.1, the bundles
includes one main bundle and several fragment bundles. But I found a strange
behavior when starting the Felix framework when the Guice bundles and my bundle
deployed in the /bundle directory and the my bundle is
On Fri, Dec 4, 2009 at 11:30 AM, Charles Moulliard wrote:
> Why such info is not provided to the console's user
That's what I want as well :)
> Surprisingly, using equinox as osgi platform on Apache Felix Karaf allow to
> bind the same Hibernate bundles without any issues !!
equinox implemen
Thx.
Adding the property : felix.log.level= 4 in config.properties file of Apache
Felix Karaf helps me
It should be interesting to add it by default as non commented property in
the file otherwise people have to dig Internet ???
Here is the result :
DEBUG: Excluding fragment com.springsource.or
On Fri, Dec 4, 2009 at 8:13 AM, Charles Moulliard wrote:
> I have tested with logging defined as DEBUG or TRACE but no particular info
> has been reported in the log.
>
> For me, that was working before.
I tried one of my fragment bundle and it works on 2.0.0 and 2.0.1.
If you provide log informa
bernate.ejb/
> > 3.4.0.GA
> >
> > and the two bundles involved
> >
> > [ 86] [Installed ] [] [ ] [ 60] JBoss Hibernate
> > Entity
> > Manager (3.4.0.GA) // Fragment bundle
> > [ 89] [Active ] [] [
] JBoss Hibernate
> Entity
> Manager (3.4.0.GA) // Fragment bundle
> [ 89] [Active ] [] [ ] [ 60] JBoss Hibernate
> Object-Relational Mapper (3.3.2.GA) // its host
>
> using the command
>
> osgi:refresh 89
>
> does not affect the host bundle. Th
ent bundle
[ 89] [Active ] [] [ ] [ 60] JBoss Hibernate
Object-Relational Mapper (3.3.2.GA) // its host
using the command
osgi:refresh 89
does not affect the host bundle. The list of packages of the fragment
bundles are not at all exported.
Regards,
Charles Moulliard
Sen
host bundle. The list of packages of the fragment
bundles are not at all exported.
Regards,
Charles Moulliard
Senior Enterprise Architect
Apache Camel Committer
*
blog : http://cmoulliard.blogspot.com
twitter : http://twitter.com/cmoulliard
Linkedlin : http
On 5/19/09 2:09 PM, derekv wrote:
FilippoDiotalevi wrote:
per specification:
"When an attached fragment bundle is updated, the content of the previous
fragment must remain attached to its host bundle. The new content of the
updated fragment must not be allowed to attach to the host bundle
ferent host bundle.
> "
>
So does the File Install service refresh the host bundle automatically in
order for it to pick up the changes in the fragment bundle? Sure would be
nice if it did.
thanks.
--
View this message in context:
http://www.nabble.com/updating-fragment-bundles-tp23
On Tue, May 19, 2009 at 7:46 PM, derekv wrote:
>
> Lets say i have bundle A and fragment bundle B that is associated with bundle
> A.
> Lets say i am using the File Install service.
> If i need to update a class in fragment bundle B can i simply drop the new
> jar file in the folder and everything
This is fairly similar to performing any update. If a bundle is wired to
some bundle, updating the target of the wire will not be seen by the
source unless a refresh is performed. This is no different for packages
or fragments.
So, to answer your question, you will need to refresh. However, I
:
http://www.nabble.com/updating-fragment-bundles-tp23621182p23621182.html
Sent from the Apache Felix - Users mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
For additional commands
peter.doornbosch wrote:
Hi Richard,
On 15 Apr , 2008, at 18:19 , Richard S. Hall wrote:
peter.doornbosch wrote:
Could it be the case the Felix does not support Fragment bundles?
It is definitely the case that Felix does NOT support fragment
bundles yet. :-)
I see ;-).
In that case, may
Hi Richard,
On 15 Apr , 2008, at 18:19 , Richard S. Hall wrote:
peter.doornbosch wrote:
Could it be the case the Felix does not support Fragment bundles?
It is definitely the case that Felix does NOT support fragment
bundles yet. :-)
I see ;-).
In that case, may i suggest that felix
peter.doornbosch wrote:
Could it be the case the Felix does not support Fragment bundles?
It is definitely the case that Felix does NOT support fragment bundles
yet. :-)
We have started to make some inroads in this direction, but I personally
don't expect to put any serious amount of
Hi,
Could it be the case the Felix does not support Fragment bundles?
Regards,
Peter
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Thanks for the answer.
But I'm really in love with Apache Felix. If fragment bundles
are not yet implemented, I'll wait and figure out myself in
another way.
Right now I'm struggling with Apache libraries, but every other
aspect is working nicely. Apache Felix is a very nice p
Hi Rodrigo,
On 26/09/2007, Rodrigo Madera <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> Does anyone have an example of how to create fragment bundles with
> maven-bundle-plugin?
>
> I have a bundle called Greeter-1.0.jar that needs some .properties files
> that wi
Hello,
Does anyone have an example of how to create fragment bundles with
maven-bundle-plugin?
I have a bundle called Greeter-1.0.jar that needs some .properties files
that will be read using Java standard ResourceBundles.
I read that this can be accomplished by using fragment bundles to add the
39 matches
Mail list logo