commons-logging and Axis problems

2008-10-15 Thread Per-Erik Svensson
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

RE: commons-logging and Axis problems

2008-10-17 Thread 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

SV: commons-logging and Axis problems

2008-10-17 Thread Per-Erik Svensson
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

SV: commons-logging and Axis problems

2008-10-17 Thread Per-Erik Svensson
, 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

SV: commons-logging and Axis problems

2008-10-22 Thread Per-Erik Svensson
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

Re: Class loading, swingx and Felix

2010-07-06 Thread Per-Erik Svensson
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. >> >> ->

Re: Class loading, swingx and Felix

2010-07-06 Thread Per-Erik Svensson
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

Re: Class loading, swingx and Felix

2010-07-07 Thread Per-Erik Svensson
> 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

Re: Easily embed dependency all transitive with maven-bundle-plugin

2010-12-27 Thread Per-Erik Svensson
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

Re: How to find an exporting bundle for a certain package?

2011-01-03 Thread Per-Erik Svensson
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

Re: NoClassDefFoundError

2011-01-19 Thread Per-Erik Svensson
.* 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

Re: NoClassDefFoundError

2011-01-19 Thread Per-Erik Svensson
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. > >

Re: New OSGi presentation

2011-01-20 Thread Per-Erik Svensson
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

Question regarding time of class loading and OSGi-threading tips

2011-01-20 Thread 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

Re: New OSGi presentation

2011-01-20 Thread 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

Re: Question regarding time of class loading and OSGi-threading tips

2011-01-21 Thread Per-Erik Svensson
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

Re: Question regarding time of class loading and OSGi-threading tips

2011-01-21 Thread 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

XMLParserActivator

2011-02-12 Thread Per-Erik Svensson
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

Re: XMLParserActivator

2011-02-13 Thread 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.

Re: Java 6 Update 24 breaks Felix

2011-02-25 Thread Per-Erik Svensson
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.

Re: GUI to control installing bundles from an OBR

2011-03-03 Thread Per-Erik Svensson
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

Re: GUI to control installing bundles from an OBR

2011-03-03 Thread Per-Erik Svensson
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

Re: About the startlevel

2011-03-17 Thread Per-Erik Svensson
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

Re: [ANN] OSGi in Action book

2011-03-30 Thread Per-Erik Svensson
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

Re: Eventadmin and producer consumer pattern

2011-03-30 Thread Per-Erik Svensson
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

Re: Just a quick question

2011-04-01 Thread Per-Erik Svensson
: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

Re: Felix maven-bundle-plugin transitive dependency issue

2011-06-15 Thread Per-Erik Svensson
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

Re: gogo: ClassCastException: java.lang.String cannot be cast to [Ljava.lang.String;

2011-06-16 Thread Per-Erik Svensson
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

Gogo Swing?

2011-08-14 Thread Per-Erik Svensson
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

Re: Export-Package for creating a dependecy bundle

2011-08-14 Thread 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

Re: Export-Package for creating a dependecy bundle

2011-08-15 Thread Per-Erik Svensson
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

Re: Felix based OSGi Project with javax.swing dependency using the Eclipse-Plugin

2011-08-15 Thread Per-Erik Svensson
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

Re: Help understanding OSGi class loading

2011-08-16 Thread Per-Erik Svensson
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

Re: Help understanding OSGi class loading

2011-08-16 Thread Per-Erik Svensson
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

Re: Help understanding OSGi class loading

2011-08-16 Thread Per-Erik Svensson
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

Re: Help understanding OSGi class loading

2011-08-16 Thread Per-Erik Svensson
(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

Re: Help understanding OSGi class loading

2011-08-16 Thread Per-Erik Svensson
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

Re: Gogo Swing?

2011-08-17 Thread Per-Erik Svensson
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

Downloads link broken?

2011-09-11 Thread Per-Erik Svensson
http://felix.apache.org/site/downloads.html Regards, Per-Erik Svensson

Re: Downloads link broken?

2011-09-11 Thread 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: > &

Re: Gogo causing framework to shutdown

2011-09-27 Thread Per-Erik Svensson
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

Re: Gogo causing framework to shutdown

2011-09-28 Thread Per-Erik Svensson
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

Re: How to know what version of the framework is available?

2011-10-07 Thread Per-Erik Svensson
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

Bundle Repository

2012-04-18 Thread Per-Erik Svensson
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

Re: Bundle Repository

2012-04-18 Thread 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

Re: Bundle Repository

2012-04-18 Thread Per-Erik Svensson
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

Class loading, swingx and Felix

2010-07-01 Thread Per-Erik Svensson
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

Re: Class loading, swingx and Felix

2010-07-01 Thread 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 > >

Re: Class loading, swingx and Felix

2010-07-01 Thread Per-Erik Svensson
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

Re: Gogo command and Fileinstall

2012-10-15 Thread Per-Erik Svensson
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

Re: Gogo command and Fileinstall

2012-10-16 Thread Per-Erik Svensson
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

Re: Upcoming version of felix framework

2012-11-21 Thread Per-Erik Svensson
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

Filtering the default provided system packages

2013-09-11 Thread Per-Erik Svensson
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

Re: Filtering the default provided system packages

2013-09-11 Thread 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:

Re: Filtering the default provided system packages

2013-09-11 Thread Per-Erik Svensson
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

Re: Reflection

2013-12-19 Thread Per-Erik Svensson
"[...]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

Re: Reflection

2013-12-19 Thread Per-Erik Svensson
; 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

How to setup felix to enable OSGi DS Annotations

2019-05-24 Thread Per-Erik Svensson
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

RE: How to setup felix to enable OSGi DS Annotations

2019-05-24 Thread 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

maven-bundle-plugin to wrap ear with war and ejb.jar

2020-08-20 Thread Per-Erik Svensson
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

Web Console and javax.portlet

2020-09-14 Thread 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

RE: Web Console and javax.portlet

2020-09-14 Thread Per-Erik Svensson
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

Where do the imports come from: maven-bundle-plugin

2020-10-08 Thread Per-Erik Svensson
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.

RE: Where do the imports come from: maven-bundle-plugin

2020-10-12 Thread Per-Erik Svensson
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