Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-1104

.sar file cannot be included in .ear file

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.0.0.GA
    • 2.0.0.Beta4
    • server
    • None

      I need a .ear file which contains a .sar file (service archive for JBoss). Such a .sar file is declared in META-INF/jboss-app.xml of the EAR project "hska" as follows:
      <jboss-app>
      <security-domain>java:/jaas/hska</security-domain>
      <module>
      <service>hska.sar</service>
      </module>
      </jboss-app>

      I have a "General Project" named hskaSAR which has a META-INF subdirectory for the xml files of the .sar file. Creating hskaSAR/hska.sar via the "Project Archives" view of JBoss Tools works fine. However, there is no possibility to include the .sar file within the (exploded) .ear.

      I tried to edit and extend the file .settings/org.eclipse.wst.common.component within the EAR project as follows:
      <dependent-module deploy-path="/" handle="module:/classpath/lib/hskaSAR/hska.sar">
      <dependency-type>uses</dependency-type>
      </dependent-module>

      However, this workaround doesn't work.

        1. SarEar.tar
          130 kB
          Rob Stryker

              rob.stryker Rob Stryker (Inactive)
              juergen.zimmermann Juergen Zimmermann (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: