Configuring Sun Java System (formerly Sun ONE) Application Server 7.0 for ArcIMS

After installing ArcIMS, you must configure your Web server for ArcIMS. If your Web server is not operational, contact your system administrator before you proceed. See www.sun.com/software for information on problems with Sun Java System (formerly Sun ONE) 7.0. Follow these steps to configure Sun Java System (formerly Sun ONE) Application Server 7.0 for ArcIMS:

 

  1. Verify that the following items are located in <Sun Java System (formerly Sun ONE) 7.0 Installation Directory>\domains\domain1\server1\applications\j2ee-modules\arcimsservletconnector_1\WEB-INF\classes:

 

If you can not verify the above:

 

  1. Go to Start > Programs > Sun Microsystems > Sun Java System (formerly Sun ONE) Application Server 7 > Start Admin Console to open the administrator console for SunONE 7.0  or type http://localhost:4848 in a Web browser. Log in.

 

  1. In the left panel, navigate to App Server Instances > server1 > HTTP Server > Virtual Servers > server1.  Choose the “Doc Handling” tab and add “default.htm, default.html, index.htm” to the Index Filenames. Click OK to confirm.

 

  1. Go to the “Doc Directories” tab in the right panel and add the ArcIMS Website document directory:

Click OK to confirm.

 

  1. Add the ArcIMS Output document directory:

Click OK to confirm.

 

  1. Add the ArcIMS Manager directory:

Click OK to confirm

 

  1. Save and Close the Sun Java System (formerly Sun ONE) administrator console.

 

  1. Navigate to <Sun Java System (formerly Sun ONE) 7.0 Installation Directory>\domains\domain1\server1\applications\j2ee-modules\arcimsservletconnector_1\WEB-INF\classes. In a text editor (such as Notepad), open the Esrimap_prop file and edit “APPSMACHINE” to reflect the name of the ArcIMS host. Save and close the file.

 

  1. Navigate to <Sun Java System (formerly Sun ONE) 7.0 Installation Directory>\domain1\server1\config and in a text editor (such as Notepad) open the server.policy file.  Copy and add the following text immediately above the line that begins “\\ Following grant block is only required by connectors”:

grant codeBase “file:/Sun/AppServer7/domains/domain1/server1/applications/j2ee-modules/arcimsservletconnector_1/WEB-INF/classes/-“

{

    permission java.util.PropertyPermission “*”, “read,write”;

};

Save and close the file.

 

  1. Restart Sun App Server 7.

 

Using the Diagnostics tool to test your ArcIMS installation

  1. Verify your ArcIMS installation was successful.

a. Choose Start > Programs > ArcGIS > ArcIMS > Diagnostics. The ArcIMS Diagnostics tool displays.

b. Select your Web server protocol, type your Web server name including domain, and type your port number. The default is 80.

c. Click 1 to test the ArcIMS Servlet Connector and 2 to test the ArcIMS Application Server.

 

If these tests are successful, your ArcIMS Application Server and ArcIMS Servlet Connector are configured correctly.

 

If you receive an error message, select the error number in the dropdown list and click View. The error number and a description display. Follow the instructions in the description to fix the problem and try the Diagnostics tool again.

 

See Configuring Sun Java System (formerly Sun ONE) Application Server 7.0 for Service Administrator for information on configuring ArcIMS Service Administrator.

 

See Configuring Sun Java System (formerly Sun ONE) Application Server 7.0 for Metadata Explorer for information on configuring ArcIMS Metadata Explorer.

 

See Step 5:Configure ArcIMS for the final step required to get ArcIMS running.