Receiving `logj: ERROR attempted to append to closed appender` errors when starting tomcat.

Solution Verified - Updated -

Issue

  • Receiving the following errors when starting tomcat with an application deployed:
log4j:ERROR Attempted to append to closed appender named [TOMCAT].
  • Getting following log4j error in server.log of my EAP after code deployment. EAP version is 6.1.1 and uses standalone-ha.xml:
ERROR [stderr] (ServerService Thread Pool -- 61) log4j:ERROR Attempted to append to closed appender named [test].

Environment

  • Red Hat JBoss Enterprise Web Server (EWS)
  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.