JBoss EAP deadlocks log4j RollingFileAppenders and java.io.PrintStream

Solution Verified - Updated -

Issue

  • Application logging stops writing to logs and periodically rotating
  • A deadlock between multiple RollingFileAppenders:

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 6.x
    • 7.x
  • Log4J deployed to the application war file.
  • Separate application and server log streams.
  • org.jboss.as.logging.per-deployment = false

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content