2 Replies Latest reply on Nov 10, 2017 11:39 AM by gquentin

    Application local specific properties for multiple versions of one application

    gquentin

      In wildfly 10/11, i would have to deploy 2 versions on an application, app-1.1, and app-1.2.

       

      This application is a .war that i don't want to modify (not unpack/repack) and use a property , APP_HOME, which is a path.

       

      Each APP_HOME path must  be specific, let's say  /data/app/$version

       

      I want to declare it  dynamically without restarting wildfly  if possible, using jboss-cli or UI.

       

      So:

      - i don't want to set a -Dproperty at launch time of jvm since it is a global shared propertty

      - i don't want to set a system-property in wildfly ui since it is a global shared propertty too

       

      What should i do?

       

      Regards,

       

      Gaétan