Updating the Deployed War File
When the war file is deployed to the new server, you will need to update certain path information. The essential changes are listed below:
1. In the WEB-INF/web.xml file, find the following code:
<servlet-mapping>
<servlet-name>replets</servlet-name>
<url-pattern>/Reports</url-pattern>
</servlet-mapping>
Replace it with the code below:
<servlet-mapping>
<servlet-name>replets</servlet-name>
<url-pattern>/Reports</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>replets</servlet-name>
<url-pattern>/Reports/dashboard/*</url-pattern>
</servlet-mapping>
2. In the WEB-INF/classes/sree.properties file, search for instances of '/sree' in file paths, and replace them with the correct name for your deployed webapp. Only the file paths need to be updated. Do not replace other instances of 'sree,' such as $(sree.home) or 'sree.bundle.'
See Also
Appendix C: Manually Deploying a WAR File, for details on WAR file deployment.
| << Creating the WAR File | © 1996-2013 InetSoft Technology Corporation (v11.5) | 9.2 Modifying Data Source Definition During Deployment >> |