2 Replies Latest reply on May 14, 2014 4:26 AM by Sumedh Kakde

    ERROR while starting jboss as 7 in domain mode

    Sumedh Kakde Newbie

      I am trying to start Jboss in domain mode. It is throwing exception but it is running fine in standalone mode.

       

      D:\jboss-as-7.1.1.Final\bin>domain.bat

      Calling "D:\jboss-as-7.1.1.Final\bin\domain.conf.bat"

      ===============================================================================

       

       

        JBoss Bootstrap Environment

       

       

        JBOSS_HOME: D:\jboss-as-7.1.1.Final

       

       

        JAVA: D:\jdk1.7.0_04\bin\java

       

       

        JAVA_OPTS: -Dprogram.name=domain.bat -Xms64M -Xmx512M -XX:MaxPermSize=256M -Ds

      un.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dj

      ava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Djboss.modules.s

      ystem.pkgs=org.jboss.byteman -Djboss.domain.default.config=domain.xml -Djboss.ho

      st.default.config=host.xml

       

       

      ===============================================================================

       

       

      10:31:00,011 INFO  [org.jboss.modules] (main) JBoss Modules version 1.1.1.GA

      10:31:00,263 INFO  [org.jboss.as.process.Host Controller.status] (main) JBAS0120

      17: Starting process 'Host Controller'

      [Host Controller] 10:31:01,092 INFO  [org.jboss.modules] (main) JBoss Modules ve

      rsion 1.1.1.GA

      [Host Controller] 10:31:01,242 INFO  [org.jboss.msc] (main) JBoss MSC version 1.

      0.2.GA

      [Host Controller] 10:31:01,309 INFO  [org.jboss.as] (MSC service thread 1-3) JBA

      S015899: JBoss AS 7.1.1.Final "Brontes" starting

      [Host Controller] 10:31:01,807 ERROR [org.jboss.as.host.controller] (Controller

      Boot Thread) JBAS010932: Caught exception during boot: org.jboss.as.controller.p

      ersistence.ConfigurationPersistenceException: JBAS014676: Failed to parse config

      uration

      [Host Controller]       at org.jboss.as.controller.persistence.XmlConfigurationP

      ersister.load(XmlConfigurationPersister.java:141) [jboss-as-controller-7.1.1.Fin

      al.jar:7.1.1.Final]

      [Host Controller]       at org.jboss.as.host.controller.HostControllerConfigurat

      ionPersister.load(HostControllerConfigurationPersister.java:158) [jboss-as-host-

      controller-7.1.1.Final.jar:7.1.1.Final]

      [Host Controller]       at org.jboss.as.host.controller.DomainModelControllerSer

      vice.boot(DomainModelControllerService.java:315) [jboss-as-host-controller-7.1.1

      .Final.jar:7.1.1.Final]

      [Host Controller]       at org.jboss.as.controller.AbstractControllerService$1.r

      un(AbstractControllerService.java:155) [jboss-as-controller-7.1.1.Final.jar:7.1.

      1.Final]

      [Host Controller]       at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_0

      4]

      [Host Controller] Caused by: javax.xml.stream.XMLStreamException: ParseError at

      [row,col]:[67,6]

      [Host Controller] Message: JBAS014789: Unexpected element '{urn:jboss:domain:1.2

      }socket-binding-group' encountered

      [Host Controller]       at org.jboss.as.controller.parsing.ParseUtils.unexpected

      Element(ParseUtils.java:85) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]

      [Host Controller]       at org.jboss.as.host.controller.parsing.HostXml.parseSer

      verContent1_1(HostXml.java:1087) [jboss-as-host-controller-7.1.1.Final.jar:7.1.1

      .Final]

      [Host Controller]       at org.jboss.as.host.controller.parsing.HostXml.parseSer

      ver(HostXml.java:988) [jboss-as-host-controller-7.1.1.Final.jar:7.1.1.Final]

      [Host Controller]       at org.jboss.as.host.controller.parsing.HostXml.parseSer

      vers(HostXml.java:965) [jboss-as-host-controller-7.1.1.Final.jar:7.1.1.Final]

      [Host Controller]       at org.jboss.as.host.controller.parsing.HostXml.readHost

      Element_1_1(HostXml.java:405) [jboss-as-host-controller-7.1.1.Final.jar:7.1.1.Fi

      nal]

      [Host Controller]       at org.jboss.as.host.controller.parsing.HostXml.readElem

      ent(HostXml.java:126) [jboss-as-host-controller-7.1.1.Final.jar:7.1.1.Final]

      [Host Controller]       at org.jboss.as.host.controller.parsing.HostXml.readElem

      ent(HostXml.java:103) [jboss-as-host-controller-7.1.1.Final.jar:7.1.1.Final]

      [Host Controller]       at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLM

      apperImpl.java:110) [staxmapper-1.1.0.Final.jar:1.1.0.Final]

      [Host Controller]       at org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLM

      apperImpl.java:69) [staxmapper-1.1.0.Final.jar:1.1.0.Final]

      [Host Controller]       at org.jboss.as.controller.persistence.XmlConfigurationP

      ersister.load(XmlConfigurationPersister.java:133) [jboss-as-controller-7.1.1.Fin

      al.jar:7.1.1.Final]

      [Host Controller]       ... 4 more

      [Host Controller]

      [Host Controller] 10:31:01,841 FATAL [org.jboss.as.host.controller] (Controller

      Boot Thread) JBAS010933: Host Controller boot has failed in an unrecoverable man

      ner; exiting. See previous messages for details.

      [Host Controller] 10:31:01,872 INFO  [org.jboss.as] (MSC service thread 1-2) JBA

      S015950: JBoss AS 7.1.1.Final "Brontes" stopped in 17ms

      10:31:02,218 INFO  [org.jboss.as.process.Host Controller.status] (reaper for Hos

      t Controller) JBAS012010: Process 'Host Controller' finished with an exit status

      of 99

      10:31:02,235 INFO  [org.jboss.as.process] (Thread-8) JBAS012016: Shutting down p

      rocess controller

      10:31:02,240 INFO  [org.jboss.as.process] (Thread-8) JBAS012015: All processes f

      inished; exiting

      Press any key to continue . . .