求大神们指导一下,新手刚踏足jboss领域,
domain.xml 新配置如下:
<subsystem xmlns="urn:jboss:domain:logging:1.1">
<console-handler name="CONSOLE">
<formatter>
<pattern-formatter pattern="%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n"/>
</formatter>
<properties>
<property name="org.osgi.framework.startlevel.beginning"/>
</properties>
<encoding value="zh_CN.gb2312"/>
<target name="System.err" />
</console-handler>
jboss启动失败,日志如下:
[Host Controller] 12:24:30,931 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
[Host Controller] at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:141) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
[Host Controller] at org.jboss.as.host.controller.DomainModelControllerService.boot(DomainModelControllerService.java:374) [jboss-as-host-controller-7.1.1.Final.jar:7.1.1.Final]
[Host Controller] at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:155) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
[Host Controller] at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_45]
[Host Controller] Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[48,7]
[Host Controller] Message: JBAS014789: Unexpected element '{urn:jboss:domain:logging:1.1}properties' encountered
[Host Controller] at org.jboss.as.controller.parsing.ParseUtils.unexpectedElement(ParseUtils.java:85) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
[Host Controller] at org.jboss.as.logging.LoggingSubsystemParser.parseConsoleHandlerElement(LoggingSubsystemParser.java:458)
[Host Controller] at org.jboss.as.logging.LoggingSubsystemParser.readElement(LoggingSubsystemParser.java:161)
[Host Controller] at org.jboss.as.logging.LoggingSubsystemParser.readElement(LoggingSubsystemParser.java:113)
[Host Controller] at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:110) [staxmapper-1.1.0.Final.jar:1.1.0.Final]