RE: commons-logging and Axis problems

2008-10-17 Thread Per-Erik Svensson
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 Axis to connect to a webservice. The bundle registers with the main application (which

SV: commons-logging and Axis problems

2008-10-17 Thread Per-Erik Svensson
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 exception but I do however get other exceptions

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

Class loading, swingx and Felix

2010-07-01 Thread Per-Erik Svensson
(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
-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-07 Thread Per-Erik Svensson
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 problems that I'm not thinking of, besides that all bundles in the system now

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

2010-12-27 Thread Per-Erik Svensson
-bnd.html has a (somewhat) 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/27

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 phper...@gmail.comwrote: Scr try to instantiate

Re: NoClassDefFoundError

2011-01-19 Thread Per-Erik Svensson
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 phper...@gmail.comwrote: Thanks Per-Erik. Unfortunately

Re: New OSGi presentation

2011-01-20 Thread Per-Erik Svensson
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 On Thu, Jan 20, 2011 at 5:32 PM, Richard S. Hall he...@ungoverned.orgwrote: On 1/20/11 10:47, john.dun...@exceter.com wrote: Thanks for doing

Question regarding time of class loading and OSGi-threading tips

2011-01-20 Thread Per-Erik Svensson
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
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. But you're probably right. You have a good focus on modularity now instead. Regards, Per-Erik Svensson On Fri, Jan 21, 2011 at 12:01

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 On Fri, Jan 21, 2011 at 1:57 AM

XMLParserActivator

2011-02-12 Thread Per-Erik Svensson
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 schemo...@gmail.com wrote: On Sat, Feb 12, 2011 at 4:37 PM, Per-Erik Svensson pererik.svens...@gmail.com wrote: Hi all, I was wondering how to use the XMLParserActivator. I cant seem to find any information about how it works. First

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
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, Bruce Hartman bhart...@westell.com wrote: I have to work

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 he...@ungoverned.orgwrote: On 3/3/11 13:39, Per-Erik Svensson wrote: A question to others: Does anyone know who

Re: About the startlevel

2011-03-17 Thread Per-Erik Svensson
On Thu, Mar 17, 2011 at 3:30 PM, Michael Hess mh...@orga-systems.comwrote: 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. There

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 fmesc...@adobe.comwrote: Hi, Congratulations ! Already downloaded it ;-) Regards Felix Am Montag, den 28.03.2011, 21:55 +0100 schrieb Richard S. Hall: Sorry, for the blatant

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 peter.kri...@aqute.bizwrote: 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 enable

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, john.dun...@exceter.com wrote: I would have said masochists instead of dinosaurs but to each his own... Quoting Jacques-Olivier Goussard jogouss...@gmail.com: Yeah, you know, deep down in

Re: Felix maven-bundle-plugin transitive dependency issue

2011-06-15 Thread Per-Erik Svensson
and that I understood your problem correctly. :) Per-Erik Svensson On Wed, Jun 15, 2011 at 12:56 AM, Justin Edelson jus...@justinedelson.comwrote: 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

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 mveks...@gmail.com wrote: I am trying to go through tutorial from

Gogo Swing?

2011-08-14 Thread Per-Erik Svensson
, 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
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 cal...@hotmail.com wrote: Hi all Is it possible to create with maven-bundle-plugin nested bundles, thus a bundle holding

Re: Export-Package for creating a dependecy bundle

2011-08-15 Thread Per-Erik Svensson
-plugin choses to 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: Export-Package is now assumed to be the set of packages

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

2011-08-15 Thread Per-Erik Svensson
. Regards, Per-Erik Svensson On Mon, Aug 15, 2011 at 3:26 AM, Richard S. Hall he...@ungoverned.orgwrote: 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 uppon starting this bundle I get

Re: Help understanding OSGi class loading

2011-08-16 Thread Per-Erik Svensson
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 jim.tal...@groupgti.com wrote: I've tried using refresh now (sorry it takes so long to get things done around here) and it made

Re: Help understanding OSGi class loading

2011-08-16 Thread Per-Erik Svensson
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 dependency graph. Regards Per-Erik Svensson On Tue, Aug 16, 2011 at 1:04 PM, niiba

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-Erik Svensson

Downloads link broken?

2011-09-11 Thread Per-Erik Svensson
://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 karlpa...@gmail.com wrote: On Sun, Sep 11, 2011 at 7:39 PM, Richard S. Hall he

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).

Re: Gogo causing framework to shutdown

2011-09-28 Thread Per-Erik Svensson
: 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 downloaded as both zip and tarballs from http://felix.apache.org/site/downloads :) When I played

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

2011-10-07 Thread Per-Erik Svensson
not confuse you more. :( Regards, Per-Erik Svensson 2011/10/7 Benoît Thiébault thieba...@artenum.com Thank you Richard, Ok for the API version. I indeed compile against version 4.3: dependency groupIdorg.osgi/groupId artifactIdorg.osgi.core/artifactId version4.3.0/version

Bundle Repository

2012-04-18 Thread Per-Erik Svensson
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
! :) Best regards, Per-Erik Svensson On Wed, Apr 18, 2012 at 2:12 PM, Neil Bartlett njbartl...@gmail.com wrote: I assume you're talking about the new Resolver and Repository specifications that are in the OSGi Enterprise R5 release? Because OBR is properly the name for the Felix implementation, which

Re: Bundle Repository

2012-04-18 Thread Per-Erik Svensson
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 he...@ungoverned.orgwrote: On 4/18/12 08:12 , Neil Bartlett wrote: I assume you're talking about

Re: Gogo command and Fileinstall

2012-10-15 Thread Per-Erik Svensson
Gogo Runtime (0.10.0) 4|Active |1|Apache Felix Gogo Shell (0.10.0) 5|Active |1|Apache Felix Gogo Command (0.12.0) g! gosh: stopping framework -- Derek On 15 October 2012 14:03, Per-Erik Svensson pererik.svens...@gmail.com wrote: Hi, I get the following

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 de...@baums.org.uk wrote: It looks like this is a bug

Re: Upcoming version of felix framework

2012-11-21 Thread Per-Erik Svensson
is to do with compiling using the javac compiler from Java 7. Neil On Wed, Nov 21, 2012 at 10:19 AM, Per-Erik Svensson pererik.svens...@gmail.com wrote: Hi people, I am just wondering if there is any roadmap available for the felix framework. My question is basically when

Filtering the default provided system packages

2013-09-11 Thread Per-Erik Svensson
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 dan...@redbite.com wrote: Hi Per-Erik, A previous post, by my colleague, prompted

Re: Filtering the default provided system packages

2013-09-11 Thread Per-Erik Svensson
the answer is no, but asking doesn't hurt. :) Regards, Per-Erik Svensson On Wed, Sep 11, 2013 at 7:57 PM, Felix Meschberger fmesc...@adobe.comwrote: Hi In Felix these packages are defined on a per-Java version basis in version specific properties. This way we can semi-dynamically define the actual

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 for

How to setup felix to enable OSGi DS Annotations

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

Web Console and javax.portlet

2020-09-14 Thread Per-Erik Svensson
les 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)54 21 27 28 per-

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-Erik Svensson

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

2020-10-08 Thread Per-Erik Svensson
ld 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.com<mailto:per-e...@2c8.com>

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

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

2020-08-20 Thread Per-Erik Svensson
as helped me resolve this issue, which is why I'm trying here too. Best Regards, Per-Erik Svensson