Okay - just fixed it in CVS ;)

On Wed, 17 Oct 2001 17:32, umashanker wrote:
> Thanks Paul Hammant for your reply,
>
> I got source from CVS.
>
> Its is working fine now, i forgot to change configuration for  "Thread
> Manager"  from "server.xml"  to  "config.xml" file.
>
> ERROR :
> In class "DefaultApplicationContext" getLogger() method throws
> NullPointerException, this occurs when threads configuration in
> "server.xml" is groups.length>0.
>
>
> -------------DefaultApplicationContext.java---------------------
> public void configure( final Configuration configuration )
>         throws ConfigurationException
>     {
>         //Configure thread pools
>         final Configuration[] groups =
>             configuration.getChild( "threads" ).getChildren(
> "thread-group" );
>
>         if( groups.length > 0 )
>         {
>             final String message = REZ.getString(
> "frame.warn.thread-pools" );
>
> >>>>>>>         getLogger().warn( message );  // throws
> >>>>>>> NullPointerException
>
>             System.err.println( message );
>         }
>
>         for( int i = 0; i < groups.length; i++ )
>         {
>             configureThreadPool( groups[ i ] );
>         }
>     }
>
> ---------------------------------------------------------------------------
>-
>
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

-- 
Cheers,

Pete

-------------------------------------------------------
"When we remember we are all mad, the mysteries of life 
disappear and life stands explained." -Mark Twain
-------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to