2 Replies Latest reply on Dec 16, 2014 9:43 PM by vinay.bist

    Configure Global module giving error on boot Jboss

    vinay.bist

      Hi,

      Using JBoss EAP 6.2.0. I have made a global module and using the standalone.xml

      While I entered the module in standalone.xml as :

      <subsystem xmlns="urn:jboss:domain:ee:1.1">

        <globalmodules>

        <module name="mymodule" slot="main"/>

        </globalmodules>

                  <spec-descriptor-property-replacement>false</spec-descriptor-property-replacement>

                  <jboss-descriptor-property-replacement>true</jboss-descriptor-property-replacement>

      </subsystem>

       

      and trying to restart the jboss I am getting "Unexpected element" ERROR as below.

       

      Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[143,3]

      Message: JBAS014789: Unexpected element '{urn:jboss:domain:ee:1.1}globalmodules' encountered

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

       

      Please let me know how to overcome this issue.

       

      Thanks,

      Vijay