0 Replies Latest reply on Jul 17, 2012 6:37 AM by Tomasz K

    Problem with Hot Deployment

    Tomasz K Newbie

      I used the following command to generate a web application project:

       

      mvn archetype:generate \

          -DarchetypeGroupId=org.apache.maven.archetypes \

          -DarchetypeArtifactId=maven-archetype-webapp \

          -DgroupId=com.mycompany.app \

          -DartifactId=my-webapp

       

      Next step, I opened the project in Eclipse. When I click on "Run as => Run on server" the Hello World page is rendered in the web browser, but when I edit index.jsp the content is not updated.

       

      What is more, I was observing my war package status in "Servers" tab - when I modified the file the status are changed to "republish", and changed again to "synchronized", but the content is not updated. Why?

       

      My configuration:

      - Linux Arch 64

      - Eclipse Juno

      - jBoss AS 7.1.1 Final

      - Maven 3.0.4

      - m2e 1.1.0.20120530-0009

      - jBoss Tools

       

      In attachment you will find my Eclipse project.