2007年2月24日 星期六

Running ArcIMS9.1 with Tomcat5.5 in Windows - Part B: Configure Real Directory

Use real directory in Tomcat5.5 Application Server

1. Create ArcIMS Website and Ouput folders under \webapps\ROOT\, e.g.
C:\Tomcat5.5\webapps\ROOT\Website
C:\Tomcat5.5\webapps\ROOT\Output
Note: both of folders have been created in as installing ArcIMS9.1. They can be copied to the path above.

2. Run ArcIMS Administrator, with correct login username and password, the web folder, server and service will be listed.

3. Check view->site properties, input data for ArcIMS Site and Server Ouput tags:
in ArcIMS Site tag, make sure hostname and host alias are correct, then input HTTP Location (URL) and Web Site Directory. For example:
http://server_name:8000
C:\Tomcat5.5\webapps\ROOT\Website
in Server Output tag, input Directory Location and HTTP Location (URL), e.g.
C:\Tomcat5.5\webapps\ROOT\Output
http://server_name:8000/Output

4. Check service item, and create new service. Herein, in Service pan, the name, map file and virtual server are required. For example, set them as
ServiceTest
mapfile.mxd
ImageArcMapServer1
Note: as selecting map file, if mxd format file is selected, the server type of virtual server “ImageArcMapServer1” must be ImageServer-ArcMap; if axl format file is selected, that of virtual server would be ImageServer. The mxd file is created by ArcMap tool, the axl file is created by ArcIMS Author tool.

5. Then, go to check service output in the same panel, the image type should be jpeg format, the output directory and URL should be the same as setup above, i.e.
C:\Tomcat5.5\webapps\ROOT\Output
http://server_name:8000/Output

6. Click OK! If the service works, the service status would be running.

7. It is also available to create a virtual server by selecting server item and indicating server type. The new virtual server can be assigned to service.

8. Check Tools->Start Designer, input a web site directory, say ShapeTest, the folder “ShapeTest” will be created under C:\Tomcat5.5\webapps\ROOT\Website\ and include all material related to display image map.

9. Select a service for display map; then, follow up the indication for choosiPublishng viewer such as html or Java viewer and click OK. HTML viewer will be recommended for easy setup.

10. When it is done, click “create site” button to complete.

Open the browser, type the website to view. For example in this case,
http://server_name:8000/Website/ShapeTest

沒有留言: