[jboss-as7-dev] async-handler missing attribute FILE_NAME

Francesco Marchioni marchioni.francesco at gmail.com
Sat May 21 03:16:53 EDT 2011


Hi all,
there seems to be an issue with async-handler configuration.The attribute
"FILE_NAME" is required from async-handler type but there's no mention of it
in jboss-logging.xsd

:61 ---><async-handler name="ASYNC" >
                   <level name="INFO" />
                   <sub-handlers>
                     <handler-ref name="FILE" />
                  </sub-handlers>
          </async-handler>

This produces an unexpected error:
08:45:41,281 ERROR [stderr] Caused by: javax.xml.stream.XMLStreamException:
ParseError at [row,col]:[61,6]
08:45:41,281 ERROR [stderr] Message: Missing required attribute(s):
FILE_NAME
08:45:41,281 ERROR [stderr]     at
org.jboss.as.controller.parsing.ParseUtils.missingRequired(ParseUtils.java:115)
08:45:41,281 ERROR [stderr]     at
org.jboss.as.logging.LoggingSubsystemParser.parseAsyncHandlerElement(LoggingSubsystemParser.java:256)
08:45:41,281 ERROR [stderr]     at
org.jboss.as.logging.LoggingSubsystemParser.readElement(LoggingSubsystemParser.java:146)
08:45:41,281 ERROR [stderr]     at
org.jboss.as.logging.LoggingSubsystemParser.readElement(LoggingSubsystemParser.java:81)
08:45:41,281 ERROR [stderr]     at
org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:100)
08:45:41,281 ERROR [stderr]     at
org.jboss.staxmapper.XMLExtendedStreamReaderImpl.handleAny(XMLExtendedStreamReaderImpl.java:69)
08:45:41,281 ERROR [stderr]     at
org.jboss.as.controller.parsing.StandaloneXml.parseServerProfile(StandaloneXml.java:382)
08:45:41,281 ERROR [stderr]     at
org.jboss.as.controller.parsing.StandaloneXml.readServerElement(StandaloneXml.java:156)
08:45:41,281 ERROR [stderr]     at
org.jboss.as.controller.parsing.StandaloneXml.readElement(StandaloneXml.java:89)
08:45:41,281 ERROR [stderr]     at
org.jboss.as.controller.parsing.StandaloneXml.readElement(StandaloneXml.java:77)
08:45:41,281 ERROR [stderr]     at
org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:100)
08:45:41,281 ERROR [stderr]     at
org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:59)
08:45:41,296 ERROR [stderr]     at
org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:105)
08:45:41,296 ERROR [stderr]     ... 5 more
08:45:41,296 INFO  [org.jboss.as] JBoss AS 7.0.0.Beta3 "Salyut" stopped in
3ms

Regards
Francesco
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-as7-dev/attachments/20110521/f881c4e6/attachment.html 


More information about the jboss-as7-dev mailing list