Application in the LIVE system
Servlet server configuration
Once all the required files and deployed files are available on the live system, the configuration files of the servlet server (e.g. Tomcat, Jetty installation etc.) have to be adapted.
For configuration it is important that the directory WEB-INF is located either:
1. in the “target directory” from the deployment settings (see Execute deployment). The “target directory” is then the web application directory which has to be mapped:
Tomcat:
<Context path="" docBase="TARGET DIRECTORY" />
Jetty installation:
<Call name="addWebApplication">
<Arg>/</Arg>
<Arg>TARGET DIRECTORY</Arg>
<Set name="extractWAR">false</Set>
</Call>
or
2. next to the “target directory” from the deployment settings. In the second case, the “project directory” has to be mapped from the deployment settings.
Tomcat:
<Context path="" docBase="PROJECT DIRECTORY" />
Jetty installation:
<Call name="addWebApplication">
<Arg>/</Arg>
<Arg>PROJECT DIRECTORY</Arg>
<Set name="extractWAR">false</Set>
</Call>