https://issues.apache.org/bugzilla/show_bug.cgi?id=50213

Dave Cherkassky <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #5 from Dave Cherkassky <[email protected]> 2011-03-17 00:11:04 
EDT ---
(In reply to comment #3)
> Created an attachment (id=26778)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=26778) [details]
> My thread dump with exact same problem, I think
> 
> I seem to have the exact same deadlock.  Since comment 2 asked for a thread
> dump, I am attaching mine, perhaps it will help you.

Ok, we've analysed this and realized that the problem lies with the
com.djinnsoft.jade.httputil.AuthorizedSMTPAppender class.  

This was a custom-built class that we created a while ago before log4j's SMTP
appender supported authentication.  Our client misconfigured the
log4j.properties file, and the AuthorizedSMTPAppender started blocking when it
could not reach an email server.  Obviously, AuthorizedSMTPAppender is poorly
written -- it was meant as a stop-gap.  Also, obviously, it shouldn't even be
in use since the latest log4j version supports this functionality.

So, the obvious solution (for us) is to correct the log4j configuration.


Having said that, it might still be worth while for you guys to make the
callAppenders() method more bullet-proof.  I guess it's up to you :)


Best of luck,
-- 
Dave Cherkassky
  VP of Software Development
  DJiNN Software Inc.
  416.504.1354

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to