-
Bug
-
Resolution: Done
-
Major
-
None
-
None
I've wanted to verify the AS7-3869 (pull 1723) with the current jboss-as master and the following configuration in standalone-ha.xml:
<subsystem xmlns="urn:jboss:domain:modcluster:1.0"> <mod-cluster-config advertise-socket="modcluster"> <ssl ca-certificate-file="/tmp/hudson/Client/client-keystore.jsk" certificate-key-file="/tmp/hudson/Client/client-keystore.jsk" password="tomcat" /> </mod-cluster-config> </subsystem>
throws the undermentioned error on startup:
06:43:39,873 INFO [org.jboss.modules] JBoss Modules version 1.1.1.GA 06:43:40,063 INFO [org.jboss.msc] JBoss MSC version 1.0.2.GA 06:43:40,122 INFO [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final-SNAPSHOT "Thunder" starting 06:43:41,001 ERROR [org.jboss.as.server] JBAS015956: 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.1.1.Final-SNAPSHOT.jar:7.1.1.Final-SNAPSHOT] at org.jboss.as.server.ServerService.boot(ServerService.java:266) [jboss-as-server-7.1.1.Final-SNAPSHOT.jar:7.1.1.Final-SNAPSHOT] at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:155) [jboss-as-controller-7.1.1.Final-SNAPSHOT.jar:7.1.1.Final-SNAPSHOT] at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_30] Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[358,13] Message: JBAS014788: Unexpected attribute 'ca-certificate-file' encountered at org.jboss.as.controller.parsing.ParseUtils.unexpectedAttribute(ParseUtils.java:104) [jboss-as-controller-7.1.1.Final-SNAPSHOT.jar:7.1.1.Final-SNAPSHOT] at org.jboss.as.modcluster.ModClusterSubsystemXMLReader_1_0.parseSSL(ModClusterSubsystemXMLReader_1_0.java:199) at org.jboss.as.modcluster.ModClusterSubsystemXMLReader_1_0.parseModClusterConfig(ModClusterSubsystemXMLReader_1_0.java:134) at org.jboss.as.modcluster.ModClusterSubsystemXMLReader_1_0.readElement(ModClusterSubsystemXMLReader_1_0.java:107) at org.jboss.as.modcluster.ModClusterSubsystemXMLReader_1_0.readElement(ModClusterSubsystemXMLReader_1_0.java:86) at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:110) [staxmapper-1.1.0.Final.jar:1.1.0.Final] at org.jboss.staxmapper.XMLExtendedStreamReaderImpl.handleAny(XMLExtendedStreamReaderImpl.java:69) [staxmapper-1.1.0.Final.jar:1.1.0.Final] at org.jboss.as.server.parsing.StandaloneXml.parseServerProfile(StandaloneXml.java:894) [jboss-as-server-7.1.1.Final-SNAPSHOT.jar:7.1.1.Final-SNAPSHOT] at org.jboss.as.server.parsing.StandaloneXml.readServerElement_1_1(StandaloneXml.java:330) [jboss-as-server-7.1.1.Final-SNAPSHOT.jar:7.1.1.Final-SNAPSHOT] at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:127) [jboss-as-server-7.1.1.Final-SNAPSHOT.jar:7.1.1.Final-SNAPSHOT] at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:100) [jboss-as-server-7.1.1.Final-SNAPSHOT.jar:7.1.1.Final-SNAPSHOT] at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:110) [staxmapper-1.1.0.Final.jar:1.1.0.Final] at org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:69) [staxmapper-1.1.0.Final.jar:1.1.0.Final] at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:133) [jboss-as-controller-7.1.1.Final-SNAPSHOT.jar:7.1.1.Final-SNAPSHOT] ... 3 more 06:43:41,016 FATAL [org.jboss.as.server] JBAS015957: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details. 06:43:41,028 INFO [org.jboss.as] JBAS015950: JBoss AS 7.1.1.Final-SNAPSHOT "Thunder" stopped in 6ms