Re: bindex tool is unable to retain the Require-Bundle/bundle-version info in the repository.xml

2008-12-04 Thread Sriharsha
I tried removing all (mandatory:<*a,b,c,d) portions from my repository.xml and I was able to add the repository url through OBR. Else I get the same error. [Note: I tried with spring bundle available in http://www.springsource.com/repository/app/ by removing mandatory tag from generated repositor

Re: JMX UI for felix shell service

2008-12-04 Thread Didier Donsez
W.B. Garvelink wrote: Hi Didier, Thanks for the links. Your work is much more comprehensive. Shell approach is better too, being a shell and all :-). The bundle I wrote is much smaller in scope, it's a simple drop-in that requires (or supports) no configuration. my ShellMBean is also very s

Re: JMX UI for felix shell service

2008-12-04 Thread W.B. Garvelink
Hi Didier, Thanks for the links. Your work is much more comprehensive. Shell approach is better too, being a shell and all :-). The bundle I wrote is much smaller in scope, it's a simple drop-in that requires (or supports) no configuration. I think it might be useful as a quick alternative. I'll

Re: Exporting META-INF from maven-bundle-plugin / Bnd

2008-12-04 Thread Hendy Irawan
Thank you! This should help. On 12/2/08, Guillaume Sauthier <[EMAIL PROTECTED]> wrote: > Hi > We have provided a coarse grained bundle for JAXB2, it's used in the > JOnAS project (Java EE 5 on OSGi) > It's available here: > http://maven.objectweb.org/maven2/org/ow2/bundles/ow2-bundles-externals-ja

Re: Using abstract system packages

2008-12-04 Thread Richard S. Hall
No, you have to explicitly specify them. -> richard p.s. If you are using Felix 1.4.0, you should use "org.osgi.framework.system.packages.extra" for the packages you want to add. Packages mentioned on this property will be appended to the default values, whereas if you set "org.osgi.framework

Using abstract system packages

2008-12-04 Thread Fabien Barbero
Hi, I'm coding un bundle system and I'm trying to use the code within my bundle with external code. For this I use the parameter "org.osgi.framework.system.packages" and I associate the packages to it. I would like to use abstract packages as : "net.plop.*, javax.swing.*", but it seems the the fra

Re: ServerException unmarshalling : unknown protocol felix (RMI and ExtensionManager?)

2008-12-04 Thread Karl Pauls
Additionally, could you please raise a JIRA at http://issues.apache.org/jira/browse/FELIX about this issue? regards, Karl On Thu, Dec 4, 2008 at 5:21 PM, Karl Pauls <[EMAIL PROTECTED]> wrote: > I assume the exception is happening on the server which doesn't use > felix, right? > > regards, > >

Re: ServerException unmarshalling : unknown protocol felix (RMI and ExtensionManager?)

2008-12-04 Thread Karl Pauls
I assume the exception is happening on the server which doesn't use felix, right? regards, Karl On Thu, Dec 4, 2008 at 4:22 PM, james yong <[EMAIL PROTECTED]> wrote: > > Hi, > > Is there a way to disable the extension manager or a solution? > i am facing similar exception as the topic starter,

Re: Exposing classes to bundles in an application embedding the framework

2008-12-04 Thread Paul
Le Thursday 04 December 2008 15:51:36 Karl Pauls, vous avez écrit : > felix.apache.org > > - documentation > >- Subprojects > > - Apache Felix Framework > > -Apache Felix launching and embedding > > :-) !! It seems I didn't wake up today... Thanks again Ka

Re: ServerException unmarshalling : unknown protocol felix (RMI and ExtensionManager?)

2008-12-04 Thread james yong
Hi, Is there a way to disable the extension manager or a solution? i am facing similar exception as the topic starter, when retrieving workitem from openwfe via rmi. The client application is using felix 1.2. Tried equinox without problem. Below is the stack trace. regards, james java.rmi.Serve

Re: Exposing classes to bundles in an application embedding the framework

2008-12-04 Thread Karl Pauls
On Thu, Dec 4, 2008 at 3:34 PM, Rob Walker <[EMAIL PROTECTED]> wrote: > > > Paul wrote: >> >> Hi felix users, >> >> I'm adding modularity to an existing application with the help of felix. >> I used the "service-based application embedding the framework" approach. >> >> My first bundle need to use

Re: Exposing classes to bundles in an application embedding the framework

2008-12-04 Thread Karl Pauls
felix.apache.org | - documentation | - Subprojects | - Apache Felix Framework | -Apache Felix launching and embedding :-) regards, Karl p.s.: Additionally, its included in the felix-1.4.0.zip (in the doc dir). On Thu

Re: Exposing classes to bundles in an application embedding the framework

2008-12-04 Thread Paul
Thanks a lot Karl, this page is very instructive. I couldn't find a way to it from the felix site, is it linked from any other page ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTE

Re: Exposing classes to bundles in an application embedding the framework

2008-12-04 Thread Rob Walker
Paul wrote: Hi felix users, I'm adding modularity to an existing application with the help of felix. I used the "service-based application embedding the framework" approach. My first bundle need to use classes present in the application classpath, ie. not in any bundles. When starting the bu

Re: Exposing classes to bundles in an application embedding the framework

2008-12-04 Thread Karl Pauls
Yes, you have to explicitly expose packages from the classpath. You can do that by adding them to the org.osgi.framework.system.packages.extra property (assuming you are using Felix 1.4.0). Make sure you have a look at: http://felix.apache.org/site/apache-felix-framework-launching-and-embedding.ht

Exposing classes to bundles in an application embedding the framework

2008-12-04 Thread Paul
Hi felix users, I'm adding modularity to an existing application with the help of felix. I used the "service-based application embedding the framework" approach. My first bundle need to use classes present in the application classpath, ie. not in any bundles. When starting the bundle I get this

OSGi best practices

2008-12-04 Thread William Drew
I am looking for some guidance on best practices or well known approaches to building OSGi “enabled” applications. Currently I have an application that is started from the command line calling a class with a static main(). Ø java –classpath com.mycompany.MyApplication I’d like to take

Re: SplashScreen Bundle

2008-12-04 Thread Rob Walker
Unfortunately ours isn't very generalised - and is internal rather than open source, but I can tell you how we made it work (it isn't exactly clever) - splash and property handlers are the only bundles register on start level 1 of our framework, so they come up first. - we use servicebinder, a

SplashScreen Bundle

2008-12-04 Thread meinc
Does anyone know about a common OSGi SplashScreen Bundle ? -- View this message in context: http://www.nabble.com/SplashScreen-Bundle-tp20831498p20831498.html Sent from the Apache Felix - Users mailing list archive at Nabble.com.

Re: JMX UI for felix shell service

2008-12-04 Thread Bertrand Delacretaz
Hi Didier, On Thu, Dec 4, 2008 at 8:30 AM, Didier Donsez <[EMAIL PROTECTED]> wrote: > ...I have a license issue to solve for the plugin part: the JConsolePlugin > API is "GPL Classpath Exception" (like the OpenJDK and Glassfish) and I > don't know if it is compatible with the ASL2 FYI, the pl