title: Where is "domain-dir/applications/app-name" in glassfish
body: <p>I trying to dynamic reload in glassfish v4.0, and I got a problem.<br>
  I try to <a href="https://glassfish.java.net/docs/4.0/application-deployment-guide.pdf" rel="nofollow">"application-deployment-guide.pdf"</a>(Page 56. To Reload Changes to Applications or Modules Dynamically) saying</p>
  
  <blockquote>
    <ol>
    <li>Go to the root directory of the deployed application or module.
    For an application:
    domain-dir/applications/app-name
    For an individually deployed module:
    domain-dir/applications/module-name</li>
    <li>Create or update the timestamp of the .reload file to load the changes.</li>
    </ol>
    
    <p>For UNIX: touch .reload<br>
    For Windows: echo> .reload  </p>
    
    <p>If the .reload file doesn't exist, the touch or echo command creates it</p>
  </blockquote>
  
  <p>And I checked "Reload", and saved 2 second at "Reload Poll Interval" in <code>[Glassfish Admin console &gt; Domain &gt; Applications Configuration]</code>.</p>
  
  <p>Finally I restart glassfish server and deploy my application.</p>
  
  <p>But dynamic reload is not working, even though modify <code>*.class</code> and input command <code>echo&gt; .reload</code></p>
  
  <p>Now, I thought maybe I misunderstood about <code>domain-dir/applications/app-name</code> folder.  </p>
  
  <p>My glassfish home is <code>D:\Bin\glassfish4</code> and my application name is <code>WebApplication</code>.<br>
  Then <code>domain-dir/applications/app-name</code> is mean <code>D:\Bin\glassfish4\glassfish\domains\WebApplication\applications\WebApplication</code> isn't it?  </p>
  
  <p>Someone help me please.
  Thank you.</p>