DEBUG logging for java.io.serialization cannot be enabled in EAP 7

Solution Unverified - Updated

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 7.x

Issue

  • In a standalone application or deployed to Tomcat, we can enable logging for java.io.serialization and see output as expected from the java.io.ObjectInputStream class as below. But we cannot see any such logs with equivalent java.io.serializationlog settings on EAP:
java.io.ObjectInputStream filterCheck
FINE: ObjectInputFilter REJECTED: class foobar, array length: -1, nRefs: 1, depth: 1, bytes: 77, ex: n/a

Resolution

  • Update to EAP 7.4.13+ or 8.0.2+

Root Cause

Components
Category

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.