5 Replies Latest reply on Nov 27, 2012 1:16 PM by ssilvert

    Deployment Plans

    anilarora

      I've been racking my brain on this problem and I haven't been able to solve this. 

      I have a WAR file which has a web.xml that sets up the following context-param

       

        <context-param>

                          <param-name>javax.faces.PROJECT_STAGE</param-name>

        <param-value>Development</param-value>

        </context-param>


       

      During development, this is correct value.  However, I want to deploy this on a production environment.  Is there a way to override this (and other) context parameters for a production environment without requiring me to modify the war file and the existing web.xml file that goes along with it? 

       

      I've done this many times in the weblogic environment by using deployment plans and in Tomcat by fixing the context.xml, but I've not been able to find any documentation on how to do this in JBoss.

       

      Thanks,

      Anil