6 Replies Latest reply on Jul 23, 2012 4:41 AM by Laura delli Paoli

    Error starting JBoss

    Laura delli Paoli Master

      hello Everybody,

      I'm trying to start a JBoss AS with the attacched configuration file (standalone-full.xml) but I get the following error:

      10:45:19,531 INFO  [org.jboss.modules] JBoss Modules version 1.1.1.GA

      10:45:19,825 INFO  [org.jboss.msc] JBoss MSC version 1.0.2.GA

      10:45:19,893 INFO  [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final "Brontes" starting

      10:45:20,732 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.jar:7.1.1.Final]

                at org.jboss.as.server.ServerService.boot(ServerService.java:266) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

                at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:155) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]

                at java.lang.Thread.run(Unknown Source) [rt.jar:1.6.0_32]

      Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[337,9]

      Message: JBAS014660: Duplicate subsystem declaration

                at org.jboss.as.server.parsing.StandaloneXml.parseServerProfile(StandaloneXml.java:890) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

                at org.jboss.as.server.parsing.StandaloneXml.readServerElement_1_1(StandaloneXml.java:330) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

                at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:127) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

                at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:100) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

                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.jar:7.1.1.Final]

                ... 3 more

       

       

      10:45:20,747 FATAL [org.jboss.as.server] JBAS015957: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details.

      10:45:20,758 INFO  [org.jboss.as] JBAS015950: JBoss AS 7.1.1.Final "Brontes" stopped in 5ms

       

      Can anyone help me?

        • 1. Re: Error starting JBoss
          Anshu Gupta Newbie

          Looks like you have duplicate subsystem declared in standalone.xml. Please check your changes in there.

          • 2. Re: Error starting JBoss
            Laura delli Paoli Master

            I cannot see any duplicated subsistem, can you look at the attacched standalone-full.xml and point in out?

            • 3. Re: Error starting JBoss
              jaikiran pai Master

              The error shows the exact line number where the problem lies. The urn:jboss:domain:jmx:1.1 subsystem is listed twice. Do you a text search for that string and you'll find the duplicate.

              • 4. Re: Error starting JBoss
                Laura delli Paoli Master

                I get the same error

                 

                10:06:44,663 INFO  [org.jboss.modules] JBoss Modules version 1.1.1.GA

                10:06:44,900 INFO  [org.jboss.msc] JBoss MSC version 1.0.2.GA

                10:06:44,957 INFO  [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final "Brontes" starting

                10:06:45,895 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.jar:7.1.1.Final]

                          at org.jboss.as.server.ServerService.boot(ServerService.java:266) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

                          at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:155) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]

                          at java.lang.Thread.run(Unknown Source) [rt.jar:1.6.0_32]

                Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[389,9]

                Message: JBAS014660: Duplicate subsystem declaration

                          at org.jboss.as.server.parsing.StandaloneXml.parseServerProfile(StandaloneXml.java:890) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

                          at org.jboss.as.server.parsing.StandaloneXml.readServerElement_1_1(StandaloneXml.java:330) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

                          at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:127) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

                          at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:100) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

                          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.jar:7.1.1.Final]

                          ... 3 more

                 

                 

                10:06:45,905 FATAL [org.jboss.as.server] JBAS015957: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details.

                10:06:45,926 INFO  [org.jboss.as] JBAS015950: JBoss AS 7.1.1.Final "Brontes" stopped in 13ms

                • 5. Re: Error starting JBoss
                  jaikiran pai Master

                  The error is clear enough and even includes the line number where the problem lies. You should really be able to take a good look at the xml file to see what subsystems are duplicated and fix them.

                  • 6. Re: Error starting JBoss
                    Laura delli Paoli Master

                    Sorry, I thought that my file was shorter than 389 lines. Maybe I had refresh problem in linenumbers

                    thanks a lot