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

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