4 Replies Latest reply on Mar 25, 2006 9:08 AM by draftdog

    how to package sar in ear file

      Hi,

      my.sar is working properly if copying it into /deploy, but I want to package it into a ear file. the way what I did was:

      in /META-INF/
      jboss-app.xml:
      <jboss-app>

      sche.sar

      </jboss-app>

      application.xml:
      <?xml version="1.0" encoding="UTF-8" ?>


      my.sar



      but after copying this my.ear into /deploy, jboss complained:

      org.jboss.deployment.DeploymentException: Service archives must be in jboss-app.xml
      ...

      Can any help?
      --
      Thanks lots
      John
      Toronto