These instructions assume that Server and Web Server Extensions are installed in the default install location and working correctly, and that the Java agent was installed.
- Stop Tomcat, if it is running.
- Copy the folders javasamples and javaviewersample from the Samples folder on the installation DVD to /opt/Autodesk/autodeskinfrastructuremapserver2016/webserverextensions/www.
- Load the javasamples.mgp package the same way you loaded the Sample Data package. (See Instructions for Loading the Sample Data on the Server
- Open the URL http://servername:port/mapserver2016/javasamples/main.jsp.
This opens the developer’s guide samples and provides links to the Viewer Samples. You can also open the Viewer Samples directly.
- For the Basic Layout Viewer (Internet Explorer, Mozilla Firefox, Google Chrome, or Apple Safari), use the URL: http://servername:port/mapserver2016/javaviewersample /ajaxviewersample.jsp
- For the Basic Layout Viewer (Internet Explorer, Mozilla Firefox, Google Chrome, or Apple Safari), use this URL to display a tiled map: http://servername:port/mapserver2016/javaviewersample /ajaxtiledviewersample.jsp
Note: servername is the name or IP Address of the computer on which the Web Server Extensions and sample applications are installed.