Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I recently have to figure out more detail on this topic to troubleshoot application startup issues so I note it here. </p> <h2>Where is the application deployed?</h2> <p>It is determined by the server configuration. Double click on the server in the servers view to look at the server "Overview". In the "Server Locations" section, there are default value configured: </p> <ul> <li>Server Path: <code>.metadata/.plugins/org.eclipse.wst.server.core/tmp0</code></li> <li>Deploy Path: <code>wtpwebapps</code></li> </ul> <p>Also the application "module" is defined in the "Modules" tab of the server configuration which specify the application path, document base and the module name. For example, you deploy your project <code>myapp</code> to the path <code>/MyApp</code>. </p> <p>So if your workspace is <code>/home/me/workspace/myapp</code>, the path to your application deployment directory is: </p> <pre><code>/home/me/workspace/myapp/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/myapp. </code></pre> <h2>What application files are deployed?</h2> <p>The contents of deployment is determined by "Deployment Assembly" in the project properties. Each entry in the assembly defines what files are deployed to what path. Example:</p> <ul> <li><code>/src/main/java -&gt; WEB-INF/classes</code></li> <li><code>/src/main/resources -&gt; WEB-INF/classes</code></li> <li><code>/src/main/webapp -&gt; /</code></li> <li><code>Maven Dependencies -&gt; WEB-INF/lib</code></li> </ul> <p>So if you have the file <code>src/main/webapp/WEB-INF/web.xml</code> in your source tree, it will be deployed to: </p> <pre><code>/home/me/workspace/myapp/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/myapp/WEB-INF/web.xml </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload