What causes jython logging errors when generating a JDR report from the CLI on JBoss EAP 6.0.1?

Solution Verified - Updated -

Issue

  • Executing /subsystem=jdr:generate-jdr-report results in java.util.concurrent.ExecutionException: Operation failed along with messages like the following in the server.log:
14:30:37,289 ERROR [stderr] (MainThread) Traceback (most recent call last):
14:30:37,289 ERROR [stderr] (MainThread)   File "C:\Programs\EAP-6.0.1\jboss-eap-6.0\modules\org\python\jython\standalone\main\jython-standalone-2.5.2-redhat-2.jar\Lib\logging\__init__.py", line 750, in emit
14:30:37,289 ERROR [stderr] (MainThread)   File "C:\Programs\EAP-6.0.1\jboss-eap-6.0\modules\org\python\jython\standalone\main\jython-standalone-2.5.2-redhat-2.jar\Lib\logging\__init__.py", line 750, in emit
14:30:37,289 DEBUG [org.jboss.as.configadmin] (MSC service thread 1-2) Stopping: service jboss.configadmin in mode REMOVE
14:30:37,290 ERROR [stderr] (MainThread) ValueError: I/O operation on closed file

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.0.1

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