Shared Tomcat:

 To be able to serve servlet an jsp requests in our hosting environment we are using the following schema:

Apache mod_jk Tomcat

In mod_jk (http://tomcat.apache.org/connectors-doc/webserver_howto/apache.html) for your virtual host we have the following definitions.

JkMount /*.jsp ajp13
JkMount /servlet/* ajp13
JkMount /servlets/* ajp13

Which means that if in the URL you are requesting *.jsp or /servlet/ or /servlets/ the Apache server will forward the request to Tomcat for processing.

If you need additional JkMounts to be specified so that you can serve different URL schemas such as *.do please open a support ticket.

Private Tomcat:

In order for your servlets/JSP code to work - you need to make sure that you setup your Apache (IIS) to Tomcat mappings through the provided Domain Mapping feature avaialble inside your NGASI control panel. The Domain mapping feature in NGASI is located at the top right corner of your NASI interface (2nd icon from the left). The same applies for any WAR files being deployed - you need to make sure that the mapping of the file is set through NGASI once the application is deployed.

Was this answer helpful? 0 Users Found This Useful (8 Votes)