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, 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