Re: [logging] is setting context classloader correctly mandated by J2EE container specifications?

2005-03-16 Thread Tim Reilly
Simon Kitching wrote: > I'm wondering if we need to provide a configurable "Singleton strategy" > that the user of the library can set. We would provide a default > "singleton strategy" but users could override that if the default > behaviour doesn't result in correct Singleton behaviour. > I thi

Re: [logging] is setting context classloader correctly mandated by J2EE container specifications?

2005-03-13 Thread Simon Kitching
On Sun, 2005-03-13 at 09:46 +, robert burrell donkin wrote: > On Sun, 2005-03-13 at 10:40 +1300, Simon Kitching wrote: > > > > And besides, commons-logging and commons-beanutils and similar don't > > just need to work in j2ee-compliant frameworks; they need to work in all > > *real-world* frame

Re: [logging] is setting context classloader correctly mandated by J2EE container specifications?

2005-03-13 Thread robert burrell donkin
On Sun, 2005-03-13 at 10:40 +1300, Simon Kitching wrote: > On Sat, 2005-03-12 at 18:20 +, robert burrell donkin wrote: > I've been doing quite a lot of research into this sort of thing over the > last couple of days. > The authors appear to have made a huge effort to produce > incomprehen

Re: [logging] is setting context classloader correctly mandated by J2EE container specifications?

2005-03-13 Thread robert burrell donkin
On Sun, 2005-03-13 at 10:40 +1300, Simon Kitching wrote: > On Sat, 2005-03-12 at 18:20 +, robert burrell donkin wrote: > > i've been doing some digging today. i've been trying to find a sun > > specification (other than the J2SE javadocs) that mandates the context > > classloader is set appropr

Re: [logging] is setting context classloader correctly mandated by J2EE container specifications?

2005-03-12 Thread Simon Kitching
On Sun, 2005-03-13 at 10:40 +1300, Simon Kitching wrote: > In a normal stand-alone java application, there are three classloaders > in operation when main(String[]) is called: > * the "top-level application class loader", which loads rt.jar etc, and >is referred to using "null" as the classloa

Re: [logging] is setting context classloader correctly mandated by J2EE container specifications?

2005-03-12 Thread Simon Kitching
On Sat, 2005-03-12 at 18:20 +, robert burrell donkin wrote: > i've been doing some digging today. i've been trying to find a sun > specification (other than the J2SE javadocs) that mandates the context > classloader is set appropriately. this is something which J2EE > containers generally do bu

[logging] is setting context classloader correctly mandated by J2EE container specifications?

2005-03-12 Thread robert burrell donkin
i've been doing some digging today. i've been trying to find a sun specification (other than the J2SE javadocs) that mandates the context classloader is set appropriately. this is something which J2EE containers generally do but i was wondering whether this was actually mandated or not. anyone kno