You can deploy the DSML gateway in Apache Tomcat by using one of the following methods:
Copy the WAR file containing the DSML gateway into the webapps directory, and rename the file based on the name that you want to use for the application context. For example, if you want the application context to be /dsml, then rename the file to dsml.war. Restart Tomcat, and it automatically creates a directory with the name of the specified context (for example, webapps/dsml). The DSML gateway is deployed in that directory and should be available for use.
Manually create a directory below webappswith the name that you want to use for the application context (for example, webapps/dsml). Go into that directory and unpack the contents of the DSML gateway WAR file into it using this command:
jar -xvf path-to-DSML.war
Restart Tomcat, and the DSML gateway becomes available for use.