9.1 Deploying the Application as a WAR File

A WAR file is a special JAR file containing all configuration information, classes, and resource files used by the web application. Because a WAR file is self-contained, installing it in a Servlet 2.2 runtime environment is standard across all implementations. You can therefore use a WAR file to easily distribute and deploy the entire Style Intelligence web application to another application server.

This section explains the procedure for creating a WAR file from within Enterprise Manager. You can also create a WAR file manually, as explained in Appendix C: Manually Deploying a WAR File.

If the database being used during development is different than the database used in production, but has the same schema, then the data source definition can automatically be changed by the provided Ant task. See Modifying Data Source Definition During Deployment for details on how to use this Ant task.

Note

The Servlet 2.2 specification does not mandate permissions for servlets. Earlier servlet runtime environment implementations provided universal access to servlet applications. However, some newer implementations restrict the servlet's access to system resources, such as files, thread creation, etc. Because the SREE servlet uses local files for configuration, you should make sure that file access permission is enabled for the web application. If you use a local report engine in the servlet, you also need to grant access to a thread group.

<< 9 Special Deployment Issues © 1996-2013 InetSoft Technology Corporation (v11.5) 9.1.1 Creating a WAR File Using Enterprise Manager >>