[
https://issues.jboss.org/browse/AS7-1320?page=com.atlassian.jira.plugin.s...
]
John Bailey updated AS7-1320:
-----------------------------
Description:
There seems to be an issue with the handler element parsing that expects the level and
encoding to be defined, but they are both listed as minOccurs="0" in the schema.
Causes stack traces like the following:
10:31:32,371 ERROR [stderr] Exception in thread "Controller Boot Thread"
java.lang.RuntimeException:
org.jboss.as.controller.persistence.ConfigurationPersistenceException: Failed to parse
configuration
10:31:32,371 ERROR [stderr] at
org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:89)
10:31:32,386 ERROR [stderr] at java.lang.Thread.run(Unknown Source)
10:31:32,386 ERROR [stderr] Caused by:
org.jboss.as.controller.persistence.ConfigurationPersistenceException: Failed to parse
configuration
10:31:32,386 ERROR [stderr] at
org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:115)
10:31:32,386 ERROR [stderr] at
org.jboss.as.controller.AbstractControllerService.boot(AbstractControllerService.java:104)
10:31:32,386 ERROR [stderr] at
org.jboss.as.server.ServerService.boot(ServerService.java:193)
10:31:32,386 ERROR [stderr] at
org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:83)
10:31:32,402 ERROR [stderr] ... 1 more
10:31:32,402 ERROR [stderr] Caused by: java.lang.IllegalArgumentException: newValue is
null
10:31:32,417 ERROR [stderr] at org.jboss.dmr.ModelNode.set(ModelNode.java:349)
10:31:32,417 ERROR [stderr] at
org.jboss.as.logging.LoggingSubsystemParser.parseSizeRotatingHandlerElement(LoggingSubsystemParser.java:704)
10:31:32,417 ERROR [stderr] at
org.jboss.as.logging.LoggingSubsystemParser.readElement(LoggingSubsystemParser.java:145)
10:31:32,417 ERROR [stderr] at
org.jboss.as.logging.LoggingSubsystemParser.readElement(LoggingSubsystemParser.java:84)
10:31:32,417 ERROR [stderr] at
org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:100)
10:31:32,417 ERROR [stderr] at
org.jboss.staxmapper.XMLExtendedStreamReaderImpl.handleAny(XMLExtendedStreamReaderImpl.java:69)
10:31:32,417 ERROR [stderr] at
org.jboss.as.controller.parsing.StandaloneXml.parseServerProfile(StandaloneXml.java:311)
10:31:32,417 ERROR [stderr] at
org.jboss.as.controller.parsing.StandaloneXml.readServerElement(StandaloneXml.java:163)
10:31:32,417 ERROR [stderr] at
org.jboss.as.controller.parsing.StandaloneXml.readElement(StandaloneXml.java:91)
10:31:32,417 ERROR [stderr] at
org.jboss.as.controller.parsing.StandaloneXml.readElement(StandaloneXml.java:79)
10:31:32,417 ERROR [stderr] at
org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:100)
10:31:32,417 ERROR [stderr] at
org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:59)
10:31:32,417 ERROR [stderr] at
org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:107)
10:31:32,417 ERROR [stderr] ... 4 more
was:There seems to be an issue with the handler element parsing that expects the level
and encoding to be defined, but they are both listed as minOccurs="0" in the
schema.
Parsing issue in Logging Subsystem - level is required by parser, but
not schema
--------------------------------------------------------------------------------
Key: AS7-1320
URL:
https://issues.jboss.org/browse/AS7-1320
Project: Application Server 7
Issue Type: Bug
Components: Logging
Affects Versions: 7.0.0.Final
Reporter: John Bailey
Assignee: David Lloyd
Fix For: 7.0.1.Final
There seems to be an issue with the handler element parsing that expects the level and
encoding to be defined, but they are both listed as minOccurs="0" in the schema.
Causes stack traces like the following:
10:31:32,371 ERROR [stderr] Exception in thread "Controller Boot Thread"
java.lang.RuntimeException:
org.jboss.as.controller.persistence.ConfigurationPersistenceException: Failed to parse
configuration
10:31:32,371 ERROR [stderr] at
org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:89)
10:31:32,386 ERROR [stderr] at java.lang.Thread.run(Unknown Source)
10:31:32,386 ERROR [stderr] Caused by:
org.jboss.as.controller.persistence.ConfigurationPersistenceException: Failed to parse
configuration
10:31:32,386 ERROR [stderr] at
org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:115)
10:31:32,386 ERROR [stderr] at
org.jboss.as.controller.AbstractControllerService.boot(AbstractControllerService.java:104)
10:31:32,386 ERROR [stderr] at
org.jboss.as.server.ServerService.boot(ServerService.java:193)
10:31:32,386 ERROR [stderr] at
org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:83)
10:31:32,402 ERROR [stderr] ... 1 more
10:31:32,402 ERROR [stderr] Caused by: java.lang.IllegalArgumentException: newValue is
null
10:31:32,417 ERROR [stderr] at org.jboss.dmr.ModelNode.set(ModelNode.java:349)
10:31:32,417 ERROR [stderr] at
org.jboss.as.logging.LoggingSubsystemParser.parseSizeRotatingHandlerElement(LoggingSubsystemParser.java:704)
10:31:32,417 ERROR [stderr] at
org.jboss.as.logging.LoggingSubsystemParser.readElement(LoggingSubsystemParser.java:145)
10:31:32,417 ERROR [stderr] at
org.jboss.as.logging.LoggingSubsystemParser.readElement(LoggingSubsystemParser.java:84)
10:31:32,417 ERROR [stderr] at
org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:100)
10:31:32,417 ERROR [stderr] at
org.jboss.staxmapper.XMLExtendedStreamReaderImpl.handleAny(XMLExtendedStreamReaderImpl.java:69)
10:31:32,417 ERROR [stderr] at
org.jboss.as.controller.parsing.StandaloneXml.parseServerProfile(StandaloneXml.java:311)
10:31:32,417 ERROR [stderr] at
org.jboss.as.controller.parsing.StandaloneXml.readServerElement(StandaloneXml.java:163)
10:31:32,417 ERROR [stderr] at
org.jboss.as.controller.parsing.StandaloneXml.readElement(StandaloneXml.java:91)
10:31:32,417 ERROR [stderr] at
org.jboss.as.controller.parsing.StandaloneXml.readElement(StandaloneXml.java:79)
10:31:32,417 ERROR [stderr] at
org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:100)
10:31:32,417 ERROR [stderr] at
org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:59)
10:31:32,417 ERROR [stderr] at
org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:107)
10:31:32,417 ERROR [stderr] ... 4 more
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira