2 Replies Latest reply on Sep 13, 2005 3:21 AM by darranl

    sar deployment

    raja5000

      I am new to the concept of sar files.
      I would like to know if i can pack sar files along with jar files in ear file and deploy.
      If it is possible Pl. let me know how to do it.

        • 1. Re: sar deployment
          jaikiran

          You can have your ear structure as follows:

          MyApp.ear
          |
          ---------------- MyApp.sar (contains jboss-service.xml)
          |
          ---------------- MyApp.war
          |
          ---------------- MyApp.jar

          • 2. Re: sar deployment
            darranl

            In the ear you will also need to add a jboss-app.xml file to the META-INF folder of the ear with the following content: -

            <?xml version="1.0" encoding="UTF-8"?>
            
            <jboss-app>
            
             <module>
             <service>MyApp.sar</service>
             </module>
            
            </jboss-app>