iServer Output Path |
The output directory of SuperMap iServer is also the publishing directory of the cache file, that is, the cache file will be generated in this directory when the map is dynamically browsed, and the pre-cut cache file needs to be placed in this directory before the server can use it for plotting. The default cache directory for SuperMap iServer is: 【SuperMap iServer install directory】\webapps\iserver\output.
After start service, the server will generate a "cache" folder and a folder with the same name as the 3D scene by default. The former (the "cache" folder) is used to store the 2D cache, and the latter is used to store the 3D cache of the scene with the same name.
The cache directory of SuperMap iServer supports user-defined configuration. The specific method is as follows: open the system config file iserver-system.xml (in 【SuperMap iServer installation directory】\webapps\iserver\WEB-INF), modify the value of the < outputPath > sub-node of < properties > under < server >. More about Refer to SuperMap iServer system config file description.
For example, the default cache directory is:
<outputPath>../../webapps/{contextPath}/output/</outputPath>
Change to D:\output_test:
<outputPath>D:\output_test\</outputPath>
After the cache directory is customized, there is no need to restart the service. SuperMap iServer will automatically output the cache images generated later to the newly defined directory, and the name of the cache folder will not change (that is, the "cache" folder will not change).