Periodic-size-rotating-file-handler doesn't work with logging-profiles in EAP 6.4.x

Solution Verified - Updated -

Issue

  • When configuring a periodic-size-rotating-file-handler in a logging profile, and restart JBoss, there is an error in the logs:
ERROR [org.jboss.as.host.controller] (Controller Boot Thread) JBAS010932: Caught exception during boot: org.jboss.as.controller.persistence.ConfigurationPersistenceException: JBAS014676: Failed to parse configuration
    at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:141) [jboss-as-controller-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
    at org.jboss.as.host.controller.DomainModelControllerService.boot(DomainModelControllerService.java:503) [jboss-as-host-controller-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
    at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:263) [jboss-as-controller-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
    at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_80]
Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[104,25]
Message: Unexpected element '{urn:jboss:domain:logging:1.5}periodic-size-rotating-file-handler'
    at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:108) [staxmapper-1.1.0.Final-redhat-3.jar:1.1.0.Final-redhat-3]
       ....
       ....

The same periodic-size-rotating-file-handler is working out of the logging-profile.

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.4.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