What causes jython logging errors when generating a JDR report from the CLI on JBoss EAP 6.0.1?
Issue
- Executing
/subsystem=jdr:generate-jdr-reportresults injava.util.concurrent.ExecutionException: Operation failedalong 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.