Paul,
You were correct. My AppServerCategory had:
private static CategoryFactory factory = new new
AppServerCategoryFactory();
When my AppServerCategory getInstance() method was called, factory was still
null. It appears I had a problem with the order of static initialization. I
changed factory to lazy initialization, and it now works fine.
Thanks for your help,
Ernie
|--------+----------------------->
| | Paul Glezen |
| | <pglezen@atdi|
| | al.net> |
| | |
| | 07/06/01 |
| | 03:42 PM |
| | |
|--------+----------------------->
>----------------------------------------------------------------------------|
| |
| To: LOG4J Users Mailing List <[EMAIL PROTECTED]> |
| cc: (bcc: Ernie Parker/CHI/NTRS) |
| Subject: Re: using default configuration with the AppServer |
| classes |
>----------------------------------------------------------------------------|
Ernie,
The stack trace seems to indicate that your
AppServerCategory.getInstance is calling Category.getInstance with a
null factory. You might want to post your AppServerCategory code.
Without that, it's hard to tell.
- Paul
--
Beware of bugs in the above code. I have
only proved it correct, not tried it.
-Don Knuth
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]