Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-1320

Parsing issue in Logging Subsystem - level is required by parser, but not schema

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 7.0.0.Final
    • Fix Version/s: 7.0.1.Final
    • Component/s: Logging
    • Labels:
      None

      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

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jamezp James Perkins
                  Reporter:
                  johnbailey John Bailey
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: