o I hope that this isn't already answered in a thousand other places. All
I've managed to find is that commons-logging is not suited to "bundleize".
Please be kind if I've misunderstood something badly. I'm new to both Felix
and Axis (and don't know much about logging either). ;-)
Regards,
Per-Erik Svensson
felix.
Let us know whether that helps.
regards,
Karl
On Thu, Oct 16, 2008 at 1:53 AM, Per-Erik Svensson
<[EMAIL PROTECTED]> wrote:
> Hi,
>
>
>
> I am using Felix (embedded-style) to create a small plug-in system to our
> application. I have built a bundle using Apache Ax
e and test case available to us? Furthermore,
which version of Felix are you using?
regards,
Karl
On Fri, Oct 17, 2008 at 10:35 AM, Per-Erik Svensson
<[EMAIL PROTECTED]> wrote:
> Hi and thanks for the respons,
>
> Well, your first solution seems to help with the immediate exceptio
, the current trunk - but that would need more
work because we have some api changes for embedding). We did fix some
bugs in this area since 1.0.4.
regards,
Karl
On Fri, Oct 17, 2008 at 12:14 PM, Per-Erik Svensson
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> I've put a .zip together and ma
Hi all,
Has anyone found a solution to this problem?
Regards,
Per-Erik Svensson
-Ursprungligt meddelande-
Från: Per-Erik Svensson [mailto:[EMAIL PROTECTED]
Skickat: den 17 oktober 2008 13:44
Till: users@felix.apache.org
Ämne: SV: commons-logging and Axis problems
Very kind of you! I
class loader for boot delegation.
>>
>> Without more detailed knowledge of your application and the code
>> involved, it is difficult to say if there is a better way to go about
>> this. I do know that the look and feel stuff is known to be problematic.
>>
>> ->
you building with maven?
> (if not why are you here)
>
> On 6 July 2010 17:32, Per-Erik Svensson
> wrote:
>
> > Setting the bootdelegation did work! I can see however that this might
> not
> > be a great solution seen as it might break modularization. However, are
> &g
> Subject: Re: Class loading, swingx and Felix
>
> On 7/6/10 3:32, Per-Erik Svensson wrote:
> > Setting the bootdelegation did work! I can see however that this might
> not
> > be a great solution seen as it might break modularization. However, are
> > there any other p
what) good description about how to add dependencies that match
specific patterns/criteria.
Just scroll down to the section "The following features are only available
from version 1.2.0 onwards" with the subsection "Embedding dependencies".
Hope that helps!
/Per-Erik Svensson
2010/12/2
PackageAdmin does what I think you're looking for
Pseudo
val padminService = getPackageAdminService(context);
val package = padminService.getExportedPackage("javax.swing"); //Highest
version returned
package.getExportingBundle()
I'm not sure what you want to do but the following 4 classes should
.*
would create a list with all sub-packages to
"com.sun.xml.internal.ws.api.message" when what you really want is a list
containing only that package, not its "children".
Regards,
Per-Erik Svensson
On Wed, Jan 19, 2011 at 12:28 PM, Pierre Henry Perret wrote:
> Scr try to ins
f packages that should be
(implicitly) available to all bundles. If you have tried this already, maybe
you can try specifying
org.osgi.framework.system.packages.extra
instead.
Regards,
Per-Erik Svensson
On Wed, Jan 19, 2011 at 1:19 PM, Pierre Henry Perret wrote:
> Thanks Per-Erik.
>
>
e might get the impression that OSGi
is a way to manage your jars - when it can actually cook and wash your car
too.
As said, very interesting read! In fact, it got me wondering about a few
things so I'm off asking questions in a mail list near you! Thanks! :)
Regards,
Per-Erik Svensson
't loaded
yet and thus felix informs me that it cant find the class.
So, (a) when is a class loaded, (b) is there any good "pattern" for dealing
with disposing threads in OSGi, and (c) am I completely off here? :)
Ok, (d) would it help writing "MyClass.class.getName()"?
Regards,
Per-Erik Svensson
Maven should come with
a footnote about OSGi!! :)
"Yeah, this presentation focuses on the minimum..."
And it does so good. I didn't mean to imply otherwise. I just saw what I
believed to be a few to many classloading troubleshooting pages that could
be swapped out with services. Bu
bundle.stop until all threads have finnished? What happens with
Felix's other responsibilities in the mean time? Do all "pending" service
requests and bundle events (stopping, starting..) block? What is the thread
"rules" when it comes to OSGi?
Regards,
Per-Erik Svensson
Thanks for the answers!
Regards,
Per-Erik Svensson
On Fri, Jan 21, 2011 at 4:35 PM, Richard S. Hall wrote:
> On 1/21/11 3:29, Per-Erik Svensson wrote:
>
>> Thanks! All that makes sense, and I guess the problem is that the swing
>> worker switches to its done method (to the e
asking for?
In short: bundleContext.getServiceReferences("What to type here?", "any
required filters?");
The only thing I get when searching the web is either about Equinox or
JavaDoc for the XMLParserActivator.
Regards,
Per-Erik Svensson
On Sat, Feb 12, 2011 at 9:01 PM, Simon Chemouil wrote:
> On Sat, Feb 12, 2011 at 4:37 PM, Per-Erik Svensson
> wrote:
> >
> > Hi all,
> >
> > I was wondering how to use the XMLParserActivator. I cant seem to find
> any
> > information about how it works.
I think the problem is akin to the "same origin policy" that most browsers
have. Can't have one javascript file loaded from, say,
http://www.google.comand another from
https://www.google.com or http://google.com. Same here, can't load
resources/classes from different hosts. But I might be mistaken.
anyone know who the owner of the bundle
repository implementation is and what other projects that may depend on its
somewhat awkward details? (Awkward to me that is, I'm sure there are good
reasons for keeping a parallell interface-hierarchy.)
Regards,
Per-Erik Svensson
On Thu, Mar 3, 2011 at 5:02 PM
Thanks for the clearing up Richard!
Regarding the use of the word "owner" I guess I meant "maintainer". :)
Regards,
Per-Erik Svensson
On Thu, Mar 3, 2011 at 7:46 PM, Richard S. Hall wrote:
> On 3/3/11 13:39, Per-Erik Svensson wrote:
>
>> A question to others: D
On Thu, Mar 17, 2011 at 3:30 PM, Michael Hess wrote:
> > >> Hi,
> > > Hi,
> > >
> > >> i am navie. i wanna ask a question about startlevel.
> > >> is it important that set the startlevel, i mean what will happen if
> all
> > > > bundle on the same level.
> >
> > Typically, this is not an issue. T
MEAP was great, now ship the physical variant fast!! ;)
On Wed, Mar 30, 2011 at 8:55 AM, Felix Meschberger wrote:
> Hi,
>
> Congratulations !
>
> Already downloaded it ;-)
>
> Regards
> Felix
>
> Am Montag, den 28.03.2011, 21:55 +0100 schrieb Richard S. Hall:
> > Sorry, for the blatant advertisin
in an Executor for example).
Regards,
Per-Erik Svensson
On Wed, Mar 30, 2011 at 8:52 AM, Peter Kriens wrote:
> What do you think? :-)
>
> There is often a confusion about OSGi specs. Unlike many other specs, OSGi
> specs are not made to make your life easier, they're made to
:syntax on
You using a monochrome display? :)
Regards,
Per-Erik
On Fri, Apr 1, 2011 at 9:50 PM, wrote:
> I would have said "masochists" instead of "dinosaurs" but to each his
> own...
>
>
> Quoting Jacques-Olivier Goussard :
>
> Yeah, you know, deep down in the woods out there, there are dino
nd that I understood your problem correctly. :)
Per-Erik Svensson
On Wed, Jun 15, 2011 at 12:56 AM, Justin Edelson
wrote:
> I don't understand why you're dealing with embedded at all in this
> case. com.projectB is being imported from another bundle, so what are
> you embeddi
Somewhere someone is trying to cast a String to a String[]? Don't know the
API at all but looks like gogoFunctions and/or FUNCTIONS might be culprits??
Regards,
Per-Erik Svensson
On Thu, Jun 16, 2011 at 7:35 AM, Mike Veksler wrote:
> I am trying to go through tutorial from OSGI an
is a
starter! :)
b) Our app isn't run through a command prompt so System.out, System.in isn't
really available but it would still be neat to be able to for example list
running bundles and all that good stuff. Mainly for debugging purposes that
is.
As I said, any help would be great! :)
Best regards,
Per-Erik Svensson
ally, when modularizing, you don't want to clump existing modules
together. That kind of defeats the purpose. :)
Hope this helps!
Regards,
Per-Erik Svensson
On Sun, Aug 14, 2011 at 11:55 PM, Petra Staub wrote:
>
>
>
>
>
> Hi all
>
> Is it possible to create with m
not
export everything that you embed automatically.
Regards,
Per-Erik Svensson
On Mon, Aug 15, 2011 at 1:24 AM, Per-Erik Svensson <
pererik.svens...@gmail.com> wrote:
> Hi Petra,
>
> According to maven-bundle documentation:
>
> " is now assumed to be the set of pac
r felix-eclipse.
Regards,
Per-Erik Svensson
On Mon, Aug 15, 2011 at 3:26 AM, Richard S. Hall wrote:
> On 8/14/11 13:59, Michael Arndt wrote:
>
>> Hi,
>> I'm trying to start a Project with several bundles from Eclipse. One of
>> these bundles has to use Swing, but u
spring-bundleB are the same thing (no change, no update).
Finally, trying this in gogo shell might help you see what is wired to what
and when updates actually happen!
Regards,
Per-Erik Svensson
On Tue, Aug 16, 2011 at 7:08 AM, Jim Talbut wrote:
> I've tried using refresh now (sorry
e bundle classloaders. A third
less plausible explanation is that whatever package that you export from the
bundle you updated are imported by others from some other place (so in
effect no one depends on the bundle you updated). Forthly, and maybe most
likely, I'm misinterpreting your depende
Not being able to stop the bundle is likely to mess with the refreshing that
PackageAdmin is doing. It can't stop the bundle and move it to the INSTALLED
state, and thus, it will (i presume) remain RESOLVED meaning that anyone
depending on it can still see it's classes.
Regards,
Per-Eri
(It will rather be in the state stopping but, it is resolved nontheless.)
On Tue, Aug 16, 2011 at 3:01 PM, Per-Erik Svensson <
pererik.svens...@gmail.com> wrote:
> Not being able to stop the bundle is likely to mess with the refreshing
> that PackageAdmin is doing. It can't st
and then shutdown the VM in case the thread still
hangs
[...]"
Regards,
Per-Erik Svensson
On Tue, Aug 16, 2011 at 5:00 PM, Richard S. Hall wrote:
> On 8/16/11 6:56, Jim Talbut wrote:
>
>> The xml-bundle does not contain code - but it does contain instructions
>> that tell
to CommandProcessor.createSession, I'll file a
bug for this. I'll test first if anything changes if I send in my own
inputstream (that will mostly go unused anyway, I guess).
And of course, thanks for the answer! :)
Regards,
Per-Erik Svensson
On Wed, Aug 17, 2011 at 8:14 AM, Derek Baum
http://felix.apache.org/site/downloads.html
Regards,
Per-Erik Svensson
Yes, sorry. Works here too now. Maybe was a temporary thing (strange) or
browser caching. I shall try for longer than 2 minutes next time. :)
Regards,
Per-Erik Svensson
On Sun, Sep 11, 2011 at 10:20 PM, Karl Pauls wrote:
> On Sun, Sep 11, 2011 at 7:39 PM, Richard S. Hall
> wrote:
> &
Luckily, they can all be downloaded as both zip and tarballs from
http://felix.apache.org/site/downloads :)
When I played around with it the following documentation helped (some
JavaDoc is in there, but since it is a draft I don't know how valid those
are nowadays).
http://felix.apache.org/site/r
gt; David Humeniuk
>
>
> -Original Message-
> From: Per-Erik Svensson [mailto:pererik.svens...@gmail.com]
> Sent: Tuesday, September 27, 2011 8:55 PM
> To: users@felix.apache.org
> Subject: Re: Gogo causing framework to shutdown
>
> Luckily, they can all be downl
act version.
Hope this... does not confuse you more. :(
Regards,
Per-Erik Svensson
2011/10/7 Benoît Thiébault
> Thank you Richard,
>
> Ok for the API version. I indeed compile against version 4.3:
>
>
>org.osgi
>org.osgi.core
>4.3.0
>
>
> As I sa
ng of using the Felix implementation
of the API (org.apache.felix.bundlerepository) but before commiting to this
I would like to know if that implementation is supposed to be fully
compliant with the spec and if the spec will ever get released.
Best regards,
Per-Erik Svensson
, it is maybe better to wait a few weeks
and use the things in R5 instead?
Sorry if I sound confused. I am! :)
Best regards,
Per-Erik Svensson
On Wed, Apr 18, 2012 at 2:12 PM, Neil Bartlett wrote:
> I assume you're talking about the new Resolver and Repository
> specifications that
nly to find out that there is a
standard way of doing the same thing in the pipeline of spec-writers.
Thanks for the responses!
Best regards,
Per-Erik Svensson
On Wed, Apr 18, 2012 at 5:04 PM, Richard S. Hall wrote:
> On 4/18/12 08:12 , Neil Bartlett wrote:
>
>> I assume you'r
7;t be tied to our specific LAF (it shouldn't even have to know
that we use Substance and it shouldn't have to know the internal workings of
swingx-laf addons).
Regards,
Per-Erik Svensson
for the SwingX component JXHeader under
>> the
>> Substance look and feel. Now, I'm no master at class loading and certainly
>> not at OSGi class loading. But as I understand it, the bundle/plugin gets
>> its own class loader. Is there any way to set things up so that the
>> bundle/plugin class loader can delegate the class loading to the main
>> applications class loader. I mean, since the main application has
>> org.jvnet.substance.swingx.SubstanceHeaderUI on its classpath it will be
>> able to load it (and is able to load it in all code that we use from the
>> main application).
>>
>> Hope I have explained the problem decently enough. I first thought about
>> exporting the package org.jvnet.substance.swingx from the system bundle
>> and
>> importing it from the plugin-bundle. But this is not desirable since the
>> plugin shouldn't be tied to our specific LAF (it shouldn't even have to
>> know
>> that we use Substance and it shouldn't have to know the internal workings
>> of
>> swingx-laf addons).
>>
>> Regards,
>> Per-Erik Svensson
>>
>>
>>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
> For additional commands, e-mail: users-h...@felix.apache.org
>
>
internal workings of swingx
that one normally don't have to know)?
Thanks alot for your response though!
Regards,
Per-Erik Svensson
On Thu, Jul 1, 2010 at 3:44 PM, Joel Schuster wrote:
> I always thought that it was bad form to use the bootdelegation framework
> config.
>
> An
efore the second batch of debug messages is printed. Be patient! :)
Anyway, this clearly states that felix is wiring up bundle 2 (fileinstall)
with bundle 5 (gogo command) and the package in this case is highlighted
above (org.osgi.service.log).
Can I do something about this? Filing a JIRA?
A
I created https://issues.apache.org/jira/browse/FELIX-3712.
I hope it is expressive and brief enough to describe the problem.
Thanks a bunch for the help Derek!
Regards,
Per-Erik Svensson
On Tue, Oct 16, 2012 at 12:48 PM, Derek Baum wrote:
> It looks like this is a bug in fileinst
va 7 is to just
> run
> >> it! There is no runtime incompatibility with Felix or other OSGi
> framework
> >> on Java 7.
> >>
> >> The issue you have highlighted is to do with compiling using the javac
> >> compiler from Java 7.
> >>
> &g
e. However, it isn't very "future proof". If either felix or java8 comes
with a new set of "default" packages, I have to change this property.
So, is there any way to remove only some of the default exported packages -
or is this an all-or-none affair?
Regards,
Per-Erik Svensson
Hi Daniel,
Wow, I should really follow the posts on this list more closely. Sorry for
the essential duplicate of a question.
Thanks,
Per-Erik Svensson
On Wed, Sep 11, 2013 at 7:58 PM, Daniel McGreal wrote:
> Hi Per-Erik,
> A previous post, by my colleague, prompted this discussion:
OSGi
4.4 or Java 8) since.
I assume the answer is no, but asking doesn't hurt. :)
Regards,
Per-Erik Svensson
On Wed, Sep 11, 2013 at 7:57 PM, Felix Meschberger wrote:
> Hi
>
> In Felix these packages are defined on a per-Java version basis in version
> specific properties. This
"[...]which have different methods that can be called."
This is a type problem. You can publish each service as a set of types. For
example, following Stijn's example, publish the EpsonWF2530 as an
EpsonPrinter and a Printer. Your consumers will now be able to do a
"proper" type filtering, asking
; directly implemented in the object itself (so it cannot be declared as
> service - not directly). This is the point where aspects start.
>
> JP
>
>
>
> -Message d'origine-
> De : Per-Erik Svensson [mailto:pererik.svens...@gmail.com]
> Envoyé : jeudi 19 décem
osgi.service.component.runtime"
Can anyone give any hints as to what I'm doing wrong. As I understand it, SCR
should provide the required capability (version ranges seem to check out too)?
Best regards,
Per-Erik Svensson
is not needed by the runtime to make DS Annotations
work?
SCR Ext Anno
SCR Generator
Best regards
Per-Erik Svensson
-Original Message-
From: Davi Baldin Tavares
Sent: 24 May 2019 12:48
To: users@felix.apache.org
Subject: Re: How to setup felix to enable OSGi DS Annotations
Hi, I’ve Ds running
OSGi bundles to Payara) but none of the answers has helped me resolve
this issue, which is why I'm trying here too.
Best Regards,
Per-Erik Svensson
et of bundles to make EJB+JPA+JAX-RS
work but before going that far I'd just like to get some "utility" bundles
working (such as File Install, DS and Web Console). Karaf and Aries both seem
to pull in more than I need.
Best regards,
PER-ERIK SVENSSON
Software developer
+46 (0)5
Hi,
Thanks for the help. I've never reported an issue before to Felix so I hope
this suffices and that it is reported to the correct project/component:
FELIX-6328.
I'll try the workaround. If that works, this is absolutely good enough for me.
Thanks!
Best regards,
Per-Eri
s.)
Even better of course would be if maven-bundle-plugin could expose its final
dependency graph somehow (similar maybe to how maven-dependency-plugin's "tree"
and "list/resolve" work).
Best regards,
PER-ERIK SVENSSON
Software developer
+46 (0)54 21 27 28
per-e...@2c8.
Hi,
Sorry for the late response but I will definitely check it out! Thanks for the
help.
Best regards,
Per-Erik Svensson
-Original Message-
From: Amit Mondal
Sent: 08 October 2020 23:46
To: users@felix.apache.org
Subject: AW: Where do the imports come from: maven-bundle-plugin
Hi
64 matches
Mail list logo