0 Replies Latest reply on Jan 5, 2012 4:08 AM by pushpak1981

    Jboss7 sar deployment configuration

    pushpak1981 Novice

      Hi,

       

      I am trying to deploy an sar application into JBoss7.1b. I have configured the deployment structure as follows (SAR/META-INF):

       

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

      <jboss-deployment-structure>

          <deployment>

              <dependencies>

                  <module name="deployment.module.nested"/>

              </dependencies>

          </deployment>

          <module name="deployment.module.nested">

              <resources>

                  <resource-root path="jbpm-jboss.jar"/>

                  <resource-root path="jbpm.jar"/>

                 

              </resources>

          </module>

      </jboss-deployment-structure>

       

      The MBean class configured is getting loaded properly. But it requires an xml configuration file which is present in SAR root folder. I have configured the jars in jboss-deployment-structure.xml file.

       

      Is there any way i can create an xml resource entry into jboss-deployment-structure.xml so that the configuration file is found by MBean.

       

      TEST.SAR

      - META-INF

           - jboss-service.xml

           - jboss-deployment-structure.xml

      - config.xml

      - jbpm.jar

      - jar

      - jar

       

      Basically the configuration file present in the SAR root folder are not considered into classpath.

       

      Thanks.