0 Replies Latest reply on Mar 19, 2012 10:04 PM by wei0313

    how to change configuration xml inside of EAR and apply changes during runtime

    wei0313 Newbie

      I have an EAR (following the EAR structure)

      EAR

      |_ lib

           |_ config.zip

           |_ jars

      |_ wars

       

      I want to change a file from config.zip during runtime and let my application pick up the file with new content, is it possible?

      From what I see right now, even if i change the xml file inside of config.zip, my application still pick up the old content in the xml file instead of the new content. It seems it's been cached.

       

      Is there a flag I need to enable so jboss can reload the config.zip instead of reading the file content from the standalone/tmp location?

       

       

      Thanks in advance

      -A