Help Android/Osgi/Ipojo

2010-11-23 Thread Nicolas Peon
Hello, I've heard that I could ask for some help about OSGI and Ipojo over there and so that's what I'm doing :( I'm developing an application on Android which brings a felix implementation of OSGI and I would like to uninstall and install some bundles several time but I get this Exception

Re: Help Android/Osgi/Ipojo

2010-11-23 Thread Felix Meschberger
Hi, Am Dienstag, den 23.11.2010, 11:09 +0100 schrieb Nicolas Peon: > Hello, > > I've heard that I could ask for some help about OSGI and Ipojo over > there and so that's what I'm doing :( > I'm developing an application on Android which brings a felix > implementation of OSGI and I would lik

Re: How to get component infomation in gogo shell

2010-11-23 Thread Harry chen
Thanks Richard, I really appreciate it. 2010/11/22 Richard S. Hall : > I just spent a minute creating a patch for the old shell to register a > command to bridge to Gogo, it is attached. This is just a quick and dirty > example. > > So, if you really need to use some old shell commands within Gogo

Re: Class loading problem

2010-11-23 Thread Richard S. Hall
On 11/19/10 16:50, Jean-Baptiste Reich wrote: > I did another experiment but this time with the normal JRE 1.6 > I have created a bundle that uses junit.framework package (just for the > purpose of this example) and I have started felix with that bundle and with > the default configuration: > java

Re: org.osgi.framework.system.packages.extra packages ignored during provisioning

2010-11-23 Thread Richard S. Hall
On 11/22/10 18:41, Uk Jiang wrote: Hi, When I start osgi framework, I listed some packages on the property of org.osgi.framework.system.packages.extra. However, these packages were not listed as resources under the system repository when I use .getSystemRepository(). Any thing have I done wrong?

Re: org.osgi.framework.system.packages.extra packages ignored during provisioning

2010-11-23 Thread Uk Jiang
Hi Richard, The system extra packages were utilised by the obr v1.4.1 not by the v1.6.4. In obr 1.4.1, it provisions against the system package extra packages but not in v1.6.4. It looks like there are some changes in this area between the two releases. It may be a regression. Thanks Emily __

Re: org.osgi.framework.system.packages.extra packages ignored during provisioning

2010-11-23 Thread Richard S. Hall
On 11/23/10 10:55, Uk Jiang wrote: Hi Richard, The system extra packages were utilised by the obr v1.4.1 not by the v1.6.4. In obr 1.4.1, it provisions against the system package extra packages but not in v1.6.4. It looks like there are some changes in this area between the two releases. It may b

How to deal with ClassLoader.getSystemClassLoader()

2010-11-23 Thread Bram de Kruijff
Hi List, we are embedding a 3rd party library (in this case Apache Cassandra) in a bundle . At startup it uses ClassLoader.getSystemClassLoader to load a resource which fails. 1) Is there a way to intercept this call so that the resource is loaded from the bundle classpath? 2) What would the desi

Re: How to deal with ClassLoader.getSystemClassLoader()

2010-11-23 Thread Richard S. Hall
On 11/23/10 15:51, Bram de Kruijff wrote: Hi List, we are embedding a 3rd party library (in this case Apache Cassandra) in a bundle . At startup it uses ClassLoader.getSystemClassLoader to load a resource which fails. 1) Is there a way to intercept this call so that the resource is loaded from

Re: How to deal with ClassLoader.getSystemClassLoader()

2010-11-23 Thread Bram de Kruijff
On Tue, Nov 23, 2010 at 9:54 PM, Richard S. Hall wrote: > On 11/23/10 15:51, Bram de Kruijff wrote: >> >> Hi List, >> >> we are embedding a 3rd party library (in this case Apache Cassandra) >> in a bundle . At startup it uses ClassLoader.getSystemClassLoader to >> load a resource which fails. >> >

Re: How to deal with ClassLoader.getSystemClassLoader()

2010-11-23 Thread Marcel Offermans
On 23 Nov 2010, at 23:45 , Bram de Kruijff wrote: > On Tue, Nov 23, 2010 at 9:54 PM, Richard S. Hall wrote: >> On 11/23/10 15:51, Bram de Kruijff wrote: >>> >>> Hi List, >>> >>> we are embedding a 3rd party library (in this case Apache Cassandra) >>> in a bundle . At startup it uses ClassLoader

Re: How to deal with ClassLoader.getSystemClassLoader()

2010-11-23 Thread Richard S. Hall
On 11/23/10 5:58 PM, Marcel Offermans wrote: On 23 Nov 2010, at 23:45 , Bram de Kruijff wrote: On Tue, Nov 23, 2010 at 9:54 PM, Richard S. Hall wrote: On 11/23/10 15:51, Bram de Kruijff wrote: Hi List, we are embedding a 3rd party library (in this case Apache Cassandra) in a bundle . At sta

Remote Logging

2010-11-23 Thread johny
Hi all Can i do remote logging? If i do log from a Felix instance, can another Felix instance recieve LogEntry also and add to its current log bundle? Is there a bundle to this? Or how can i combine Log and DOSGI (subproject from CXF) to archieve this? thanks in advance

Re: How to deal with ClassLoader.getSystemClassLoader()

2010-11-23 Thread Bram de Kruijff
On Wed, Nov 24, 2010 at 12:39 AM, Richard S. Hall wrote: > On 11/23/10 5:58 PM, Marcel Offermans wrote: >> >> On 23 Nov 2010, at 23:45 , Bram de Kruijff wrote: >> >>> On Tue, Nov 23, 2010 at 9:54 PM, Richard S. Hall >>>  wrote: On 11/23/10 15:51, Bram de Kruijff wrote: > > Hi Lis