Re: Access StandardContext in WebappClassLoader

2010-08-30 Thread Pid
On 30/08/2010 10:13, Chefo wrote: > Hi Chris, > > On Sat, Aug 28, 2010 at 1:12 AM, Christopher Schultz < > ch...@christopherschultz.net> wrote: > > Stefan, > > On 8/27/2010 7:34 AM, Chefo wrote: thanks for the interest - of course I'll give you an example. > Surprisingly it is not java

Re: Access StandardContext in WebappClassLoader

2010-08-30 Thread Chefo
Hi Chris, On Sat, Aug 28, 2010 at 1:12 AM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Stefan, > > On 8/27/2010 7:34 AM, Chefo wrote: > > thanks for the interest - of course I'll give you an example. > Surprisingly > > it is not

Re: Access StandardContext in WebappClassLoader

2010-08-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stefan, On 8/27/2010 7:34 AM, Chefo wrote: > thanks for the interest - of course I'll give you an example. Surprisingly > it is not java.lang.Object that I'm trying to hide but the stax api in java > 6. I need to do so because of the notorious fault i

Re: Access StandardContext in WebappClassLoader

2010-08-27 Thread Chefo
Hi Chris, thanks for the interest - of course I'll give you an example. Surprisingly it is not java.lang.Object that I'm trying to hide but the stax api in java 6. I need to do so because of the notorious fault in the XMLOutputFactory#newInstance(String, ClassLoader). Therefore I'm using using sta

Re: Access StandardContext in WebappClassLoader

2010-08-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chefo, On 8/26/2010 11:24 AM, Chefo wrote: > What bothers me in the WebappClassLoader is the fact that before it checks > its repositories (lib folder and classes) and asks its parent class loader, > it will first attempt to load a class from the syst

Re: Access StandardContext in WebappClassLoader

2010-08-26 Thread Chefo
Great idea. I'll give it a try immediately! Thanks a lot, Chefo On Thu, Aug 26, 2010 at 6:43 PM, Rainer Jung wrote: > On 26.08.2010 17:24, Chefo wrote: > >> Hi again >> >> and thanks for the quick responses. >> >> What bothers me in the WebappClassLoader is the fact that before it checks >> its

Re: Access StandardContext in WebappClassLoader

2010-08-26 Thread Rainer Jung
On 26.08.2010 17:24, Chefo wrote: Hi again and thanks for the quick responses. What bothers me in the WebappClassLoader is the fact that before it checks its repositories (lib folder and classes) and asks its parent class loader, it will first attempt to load a class from the system class loade

Re: Access StandardContext in WebappClassLoader

2010-08-26 Thread Chefo
Hi again and thanks for the quick responses. What bothers me in the WebappClassLoader is the fact that before it checks its repositories (lib folder and classes) and asks its parent class loader, it will first attempt to load a class from the system class loader - from the jvm. This is not standa

Re: Access StandardContext in WebappClassLoader

2010-08-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chefo, On 8/26/2010 9:38 AM, Chefo wrote: > I'm using tomcat 6.0.18 adapted to osgi environment and I would like to make > the WebappClassLoader configurable so that it does not load certain packages > directly through the system class loader but use

Re: Access StandardContext in WebappClassLoader

2010-08-26 Thread Pid
On 26/08/2010 14:38, Chefo wrote: > Hi guys, > > I'm using tomcat 6.0.18 adapted to osgi environment and I would like to make > the WebappClassLoader configurable so that it does not load certain packages > directly through the system class loader but use the class loader hierarchy > instead. In o