Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.2
    • Fix Version/s: 2.4
    • Labels:
      None
    • Environment:
      Jboss 4.2.1/ server/ all

      Description

      Hi!

      I have problem with generated jboss-app.xml because it is not accepted by Jboss.

      pom.xml

      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-ear-plugin</artifactId>
      <version>2.3.2</version>
      <configuration>
      <defaultLibBundleDir>APP-INF/lib</defaultLibBundleDir>
      <!-- <resourcesDir>src/main/resources</resourcesDir> -->
      <artifactTypeMappings>
      <artifactTypeMapping type="har" mapping="jar" />
      </artifactTypeMappings>
      <jboss>
      <version>4.2</version>
      <loader-repository>
      com.fornax.stolpan.backoffice:loader=StolpanEJP.ear
      </loader-repository>
      <loader-repository-config>
      java2ParentDelegation=true
      </loader-repository-config> -
      <module-order>strict</module-order>
      <library-directory>APP-INF/lib</library-directory>
      </jboss>

      generated by Maven:

      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE jboss-app PUBLIC
      "-//JBoss//DTD J2EE Application 1.4//EN"
      "http://www.jboss.org/j2ee/dtd/jboss-app_4_2.dtd">
      <jboss-app>
      <library-directory>APP-INF/lib</library-directory>
      <module-order>strict</module-order>
      <loader-repository>com.fornax.stolpan.backoffice:loader=StolpanEJP.ear<loader-repository-config>java2ParentDelegation=true</loader-repository-config>
      </loader-repository>
      <module>
      <har>StolpanBoDBM-0.0.1.har</har>
      </module>
      <module>
      <har>StolpanSPDB-0.0.1.har</har>
      </module>
      </jboss-app>

      jboss error msg:

      org.xml.sax.SAXParseException: The content of element type "jboss-app" must match "(module-order?,security-domain?,unauthenticated-principal?,loader-repository?,jmx-name?,module*,security-role*)".)

      if I change the jboss-app.xml manually as you see below the deploy is successful:

      <?xml version='1.0' encoding='UTF-8'?>
      <!DOCTYPE jboss-app PUBLIC "-//JBoss//DTD J2EE Application 4.2//EN" "http://www.jboss.org/j2ee/dtd/jboss-app_4_2.dtd">
      <jboss-app>
      <module-order>strict</module-order>
      <loader-repository>com.fornax.stolpan.backoffice:loader=StolpanEJPT.ear
      <loader-repository-config>java2ParentDelegation=true</loader-repository-config>
      </loader-repository>
      <library-directory>APP-INF/lib</library-directory>
      <module>
      <har>StolpanBoDBM-0.0.1.har</har>
      </module>
      <module>
      <har>StolpanSPDB-0.0.1.har</har>
      </module>
      </jboss-app>

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Closed Closed
        30d 18h 14m 1 Stephane Nicoll 25/Apr/09 00:18
        Mark Thomas made changes -
        Assignee sni [ sni ] Stephane Nicoll [ snicoll ]
        Mark Thomas made changes -
        Workflow jira [ 12957751 ] Default workflow, editable Closed status [ 12994660 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 23:36:55 UTC 2015 [ 1428277015909 ]
        Mark Thomas made changes -
        Workflow jira [ 12720320 ] Default workflow, editable Closed status [ 12750223 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 09:57:13 UTC 2015 [ 1428227833271 ]
        Andreas Wurzer made changes -
        Link This issue relates to MEAR-147 [ MEAR-147 ]
        Andreas Wurzer made changes -
        Link This issue relates to MEAR-147 [ MEAR-147 ]
        Stephane Nicoll made changes -
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Closed [ 6 ]
        Hide
        Stephane Nicoll added a comment -

        Fixed. Added it 057

        Show
        Stephane Nicoll added a comment - Fixed. Added it 057
        Stephane Nicoll made changes -
        Assignee Stephane Nicoll [ sni ]
        Stephane Nicoll made changes -
        Field Original Value New Value
        Fix Version/s 2.3.3 [ 15180 ]
        Balogh Zoltán created issue -

          People

          • Assignee:
            Stephane Nicoll
            Reporter:
            Balogh Zoltán
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development