1 Reply Latest reply on May 10, 2016 7:11 PM by James Perkins

    Datasource error while starting Jboss 6.3

    Kishor Bhanji Newbie

      Hello,

       

      I am getting datasource error while starting Jboss 6.3

       

      E:\jboss-eap-6.3\bin>standalone.bat

      Calling "E:\jboss-eap-6.3\bin\standalone.conf.bat"

      Setting JAVA property to "E:\Java\jdk1.7.0_79\\bin\java"

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

       

        JBoss Bootstrap Environment

       

        JBOSS_HOME: "E:\jboss-eap-6.3"

       

        JAVA: "E:\Java\jdk1.7.0_79\\bin\java"

       

        JAVA_OPTS: "-verbose:gc -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=5 -XX:GCLogFileSize=3M -XX:-TraceClassUnloading -XX:+UseCompressedOops -Dprogram.name=standalone.bat -Xms1536m -Xmx1536m -XX:MaxPermSize=256m -server -Djava.net.preferIPv4Stack=true  -Djboss.modules.policy-permissions=true  -Djboss.modules.system.pkgs=org.jboss.byteman"

       

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

       

      14:29:37,393 INFO  [org.jboss.modules] (main) JBoss Modules version 1.3.3.Final-redhat-1

      14:29:37,675 INFO  [org.jboss.msc] (main) JBoss MSC version 1.1.5.Final-redhat-1

      14:29:37,815 INFO  [org.jboss.as] (MSC service thread 1-6) JBAS015899: JBoss EAP 6.3.0.GA (AS 7.4.0.Final-redhat-19) starting

      14:29:38,737 ERROR [org.jboss.as.server] (Controller Boot Thread) 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.4.0.Final-redhat-19.jar:7.4.0.Final-redhat-19]

              at org.jboss.as.server.ServerService.boot(ServerService.java:321) [jboss-as-server-7.4.0.Final-redhat-19.jar:7.4.0.Final-redhat-19]

              at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:254) [jboss-as-controller-7.4.0.Final-redhat-19.jar:7.4.0.Final-redhat-19]

              at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_79]

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

      Message: JBAS014789: Unexpected element '{urn:jboss:domain:1.6}datasource' encountered

              at org.jboss.as.controller.parsing.ParseUtils.unexpectedElement(ParseUtils.java:86) [jboss-as-controller-7.4.0.Final-redhat-19.jar:7.4.0.Final-redhat-19]

              at org.jboss.as.server.parsing.StandaloneXml.parseServerProfile(StandaloneXml.java:1027) [jboss-as-server-7.4.0.Final-redhat-19.jar:7.4.0.Final-redhat-19]

              at org.jboss.as.server.parsing.StandaloneXml.readServerElement_1_4(StandaloneXml.java:469) [jboss-as-server-7.4.0.Final-redhat-19.jar:7.4.0.Final-redhat-19]

              at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:145) [jboss-as-server-7.4.0.Final-redhat-19.jar:7.4.0.Final-redhat-19]

              at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:107) [jboss-as-server-7.4.0.Final-redhat-19.jar:7.4.0.Final-redhat-19]

              at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:110) [staxmapper-1.1.0.Final-redhat-2.jar:1.1.0.Final-redhat-2]

              at org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:69) [staxmapper-1.1.0.Final-redhat-2.jar:1.1.0.Final-redhat-2]

              at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:133) [jboss-as-controller-7.4.0.Final-redhat-19.jar:7.4.0.Final-redhat-19]

              ... 3 more

       

      14:29:38,768 FATAL [org.jboss.as.server] (Controller Boot Thread) JBAS015957: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details.

      14:29:38,784 INFO  [org.jboss.as] (MSC service thread 1-8) JBAS015950: JBoss EAP 6.3.0.GA (AS 7.4.0.Final-redhat-19) stopped in 11ms

      Press any key to continue . . .

      E:\jboss-eap-6.3\bin>

       

      The attached standalone.xml file and your inputs valuable.

       

      Thanks,

      Kishor