Wildfly Maven plugin + hot deployment

Discussão em 'StackOverflow' iniciado por Stack, Maio 18, 2021.

  1. Stack

    Stack Membro Participativo

    I have a Java Spring application, configured in Eclipse Mars and I am running Wildfly 9 from with in Eclipse. I am using the wildfly-maven-plugin to deploy to server.

    These are the steps I follow:

    Start the server from eclipse and do Maven build which also deploys the application to server. I can see whole lot of logs on server of "successful deployment"and I can access my application in browser. It creates a folder under "/standalone/data/content" but no war or exploded WAR under "standalone/deployments"

    If I change some code and save it in eclipse, (I have checked Automatically publish check box and build on save), The sever logs says: Replaced deployment "myApp.war" with deployment "myApp.war" Content removed from location "standalone\data\content..."

    And I see the prev folder created during step 1 is removed and myApp.war is added to deployment folder. But now I can not access my application in browser.

    auto-deploy-exploded="true"


    That is in the section of standalone.xml.

    Continue reading...

Compartilhe esta Página