-
Notifications
You must be signed in to change notification settings - Fork 102
Gelf logger configured on JBoss cause deadlock during server stopping #57
Comments
Issue descriptionJBoss server hangs during stopping. The reason of issue: GelfLogHandler internal logging (line 127). Check JBoss configuration and threads dump for more details. JBoss configuration
Threads dump
Java stack information for the threads listed above:
|
There are two issues within this ticket:
Now take these two items into account: The I fear that I can't help you much. Please report this error to the JBoss issue tracker (http://issues.jboss.org) or the JBoss community (http://community.jboss.org) |
Thanks for response. |
The error logging is on purpose and conforms with the JUL API guide. Without error logging, there's no possibility to trace problems. I'll update this ticket as soon I can provide a suitable solution. |
This problem was fixed in the newer JBoss AS versions (see https://bugzilla.redhat.com/show_bug.cgi?id=969126 and jboss-logging/jboss-logmanager#18). I'm not convinced that a silent mode is a right approach. It's more a workaround patch for the particular constellation. If you can't update your application server, fork the repo and create a patched version. |
We use JBoss EAP 6.2 with jboss-logmanager-1.5.2.Final-redhat-1.jar. This version of log-manager includes fix: jboss-logging/jboss-logmanager#18 The problem is here what fix is applied in org\jboss\logmanager\ExtHandler and relevant only for handlers extended from this class (e.g for org\jboss\logmanager\handlers\AsyncHandler, org\jboss\logmanager\handlers\ConsoleHandler, etc), but not for JBoss7GelfLogHandler. |
True, my bad. I will adopt the same approach and the issue should be then fixed. |
Fix implemented. |
Gelf_logger_deadlock_details.docx
The text was updated successfully, but these errors were encountered: