Hot deployment location in Wildfly 8 AS

后端 未结 1 861
猫巷女王i
猫巷女王i 2021-01-16 08:10

In JBoss 6 AS, the hot deployment location is ${JBOSS_HOME}/server/default/deploy where I can unpack WAR or EAR and change content of any configuration file and

1条回答
  •  再見小時候
    2021-01-16 09:00

    The full documentation is found here:

    https://docs.jboss.org/author/display/WFLY8/Deployment%20Scanner%20configuration.html

    What you need to do to enable automatic deployment of exploded (unpacked) archives is to set the auto-deploy-exploded to true in your standalone.xml configuration file:

    
        
    
    

    This would scan the deployments directory every 5 seconds for exploded archives.

    As stated in the documentation, without the auto-deploy-exploded property, you would need to manually create a .dodeploy file:

    Controls whether exploded deployment content should be automatically deployed by the scanner without requiring the user to add a .dodeploy marker file. Setting this to 'true' is not recommended for anything but basic development scenarios, as there is no way to ensure that deployment will not occur in the middle of changes to the content.

    0 讨论(0)
提交回复
热议问题