-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Mikolaj,
On 3/19/2009 11:04 AM, Mikolaj Rydzewski wrote: > Caldarale, Charles R wrote: >> That may be true, but there's no guarantee that your classes will be >> loaded in any specific order, nor that resources will be registered >> prior to classloading; the spec only indicates the resources will be >> available prior to any calls to the initialization methods of >> listeners and servlets. >> > Thank you, that explains everything. Since you have written your own appender, maybe you could change it to fail gracefully (say, log messages to the console) when the JNDI DataSource is not available, retain a copy of a certain number of log messages (say, 100), and then write them all to the DataSource once it becomes available. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAknCZ7QACgkQ9CaO5/Lv0PAUNQCeJ6f2yNukMIVOeQ5VhjUTvS3K s6cAnRHu4ikdqUYrhoPS3LqwIatIH5Un =AcCN -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
