[jboss-jira] [JBoss JIRA] (AS7-4077) Unexpected attribute 'ca-certificate-file' encountered

Radoslav Husar (JIRA) jira-events at lists.jboss.org
Thu Mar 8 18:02:36 EST 2012


     [ https://issues.jboss.org/browse/AS7-4077?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Radoslav Husar updated AS7-4077:
--------------------------------

        Fix Version/s: 7.1.1.Final
     Git Pull Request: https://github.com/jbossas/jboss-as/pull/1747  (was: https://github.com/jbossas/jboss-as/pull/1747)
    Affects Version/s:     (was: 7.1.1.Final)

    
> Unexpected attribute 'ca-certificate-file' encountered
> ------------------------------------------------------
>
>                 Key: AS7-4077
>                 URL: https://issues.jboss.org/browse/AS7-4077
>             Project: Application Server 7
>          Issue Type: Bug
>            Reporter: Michal Babacek
>            Assignee: Radoslav Husar
>              Labels: mod_cluster
>             Fix For: 7.1.1.Final
>
>
> I've wanted to verify the [AS7-3869] (*[pull 1723|https://github.com/jbossas/jboss-as/pull/1723]*) with the current jboss-as *master* and the following configuration in *standalone-ha.xml*:
> {code:lang=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>
> {code}
> throws the undermentioned error on startup:
> {noformat}
> 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
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list