Step 5: Configure ArcIMS

Perform the following activities to set up your ArcIMS environment:

Increasing memory parameters for Java VM

Setting your Windows NT PATH variable

Setting your Windows 2000 PATH variable

Setting your Windows XP PATH variable

Using ArcIMS with a proxy server

Increasing memory parameters for Java VM

ESRI recommends that you increase the Java Virtual Machine (VM) memory parameters to support ArcIMS Manager and the Java Viewers.

Use memory amounts that are relative to the total amount of computer memory. If you have 256m of total RAM, do not allocate the entire amount. The -Xms value specifies the minimum amount of memory that is used by the Java VM. The -Xmx value specifies the maximum amount of memory that the Java VM can use. When you change the -Xmx value, it must be less than the total available virtual memory. On Windows, total virtual memory consists of the RAM memory plus the pagefile memory. You can find this value in the Windows Task Manager, on the Performance tab, under Commit Charge Limit. Note: The Commit Charge Limit figure should not be used as the Java VM parameter.

  1. Click Start > Settings > Control Panel > Java Plug-in.

Tip

  • On Windows XP, you may need to switch to Classic View to see the Java Plug-in. Click the box in the upper left on the Control Panel to Switch to Classic View.

  1. Set the required memory parameters in the field named Java RunTime Parameters:

  2. javaw.exe -Xms<initial memory>m -Xmx<maximum memory>m

    For example: javaw.exe -Xms10m -Xmx256m

  3. Click Apply and close the window.

Setting your Windows NT PATH variable

In order to use the JAI libraries from Sun, you need to edit your PATH variable.

  1. Click Start > Settings > Control Panel and double-click System.

  2. Click the Environment tab.

  3. In the System Variables window, click PATH (or create it if it doesn’t already exist.

  4. Click in the Value window and add to the end of the value:

  5. <drive>:\<System J2SE JRE installation location>\bin

Tip

    • The system J2SE JRE installation location is <drive>:\Program Files\Java\j2re1.4.0\bin if you are installing the system registered J2SE JRE provided with the ArcIMS post installation, and you are accepting the default installation directory.

  1. Click OK and close the Control Panel window.

Setting your Windows 2000/Windows Server 2003 PATH variable

In order to use the JAI libraries from Sun, you need to edit your PATH variable.

  1. Click Start > Settings > Control Panel and double-click System.

  2. Click the Advanced tab.

  3. Click Environment Variables.

  4. In the System Variable window:

  5. a. Click your system variable PATH.

    b. Click Edit and add to the end of the value:

    <drive>:<System J2SE JRE installation location>\bin

Tip

    • The system J2SE JRE installation location is <drive>:\Program Files\Java\j2re1.4.2\bin if you are installing the system registered J2SE JRE provided with the ArcIMS post installation, and you are accepting the default installation directory.

  1. Click OK and close the Control Panel window.

Setting your Windows XP PATH variable

In order to use the JAI libraries from Sun, you need to edit your PATH variable. If necessary, click the box in the upper left on the Control Panel to Switch to Category View.

  1. Click Start > Control Panel > Performance and Maintenance > System.

  2. Click the Advanced tab.

  3. Click Environment Variables.

  4. In the System Variable window:

  5. a. Click your system variable PATH.

    b. Click Edit and add to the end of the value:

    <drive>:<System J2SE JRE installation location>\bin

Tip

    • The system J2SE JRE installation location is <drive>:\Program Files\Java\j2re1.4.2\bin if you are installing the system registered J2SE JRE provided with the ArcIMS post installation, and you are accepting the default installation directory.

  1. Click OK and close the Control Panel window.

Using ArcIMS with a proxy server

Use the Proxy Server properties to specify whether your local area network (LAN) uses a proxy server to connect to the Internet. A proxy server is a computer on your LAN that connects to the Internet without compromising the security of your internal network. If you are not sure how your LAN connects to the Internet, contact your system administrator.

If you use proxy servers, then set the appropriate properties in the aimsproxy.properties file, which is located in your user profiles directory.