Sebastian Poxhofer created LOG4J2-2314:
------------------------------------------

             Summary: SortedArrayStringMap does allow only filterable 
ObjectInputStreams
                 Key: LOG4J2-2314
                 URL: https://issues.apache.org/jira/browse/LOG4J2-2314
             Project: Log4j 2
          Issue Type: Bug
          Components: API
    Affects Versions: 2.11.0
         Environment: * JAVA 8 1.8.0_151
 * Hibernate 5.2.16 (JPA 2.1)
 * Log4j2-core 2.11.0
 * Log4j2-jpa 2.11.0
            Reporter: Sebastian Poxhofer
         Attachments: log4j2.xml, persistence.xml, stacktrace.txt

When using the JPA Appender it is not anymore possible to use Hibernate.

During the write process on the appender log4j2 detects a incompatible instance 
of ObjectInputStream.

 

The root of the problem seems to be this change.

[https://github.com/apache/logging-log4j2/commit/ce7d3fb6d2b20cea0b43db3e9ca3eb286699ca8c#diff-8cb9cfc9b0a2fb37c17778fb0b846ce1L581]

 

A full stack trace and config files can be found in the attachments.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to