Configuring Metadata Explorer

Release 9.3.1 E-mail This Topic Printable Version Give Us Feedback

Creating and Configuring Metadata Explorer requires running ANT, which a utility that creates applications built with the Web ADF. After you have run ANT, you can deploy the Metadata Explorer application just like you would with a Web Mapping Application.

The steps for creating and configuring a Metadata Explorer include:

Execute ANT

  1. Linux and Unix: Source the file <Web ADF install directory>/init_devkit_ims.csh or init_devkit_ims.sh.
  2. Open a console window.
  3. Navigate to the directory <Web ADF install directory>/java/web/metadataexplorer_application.

    On Windows an example is:

    C:\Program Files\ArcGIS\java\web\metadataexplorer_application

    On Linux and Unix, an example is:

    <Web ADF install directory>/java/web/metadataexplorer_application

  4. Run the ANT build command from the metadataexplorer_application directory. You may need to reference the full path to the ANT batch file. This file is located at <Web ADF install directory>\java\tools\ant\bin\arcgisant.bat for Windows and <Web ADF install directory>/java/tools/ant/bin/arcgisant for Linux and Unix.

    On Windows an example is:

    "C:\Program Files\ ArcGIS\java\tools\ant\bin\arcgisant.bat" build

    On Linux and Unix an example is:

    <prompt>: arcgisant build

Configure a Metadata Service

  1. Enter "2" to choose the ArcIMS Metadata Service for this Metadata Explorer.

  2. Enter the server location where the Metadata Service resides.
    • If you are connecting through your network using TCP, input the server name.
    • If you are connecting through HTTP, input the full URL.

  3. If you are using a TCP connection, input the ArcIMS Application Server port number. The default value is 5300. Otherwise, add nothing and press Enter.

  4. Input the Metadata Service name. The name is case sensitive.

  5. At the prompt asking if you want to add another resource, enter "y" unless you do not plan to include a Gazetteer or Search Map service. In this case, enter "n".

Configure a Gazetteer Service (optional)

The process for configuring a Gazetteer Service is the same as for a Metadata Service. If you do not plan to include a Gazetter Service, skip this section.

  1. Enter "2" to choose the ArcIMS Metadata Gazetteer Service.
  2. Enter the server location where the Gazetteer Service resides.
    • If you are connecting through your network using TCP, input the server name.
    • If you are connecting through HTTP, input the full URL.
  3. If you are using a TCP connection, input the ArcIMS Application Server port number. The default value is 5300. Otherwise, add nothing and press Enter.
  4. Input the Gazetteer Service name. The name is case sensitive.
  5. At the prompt asking if you want to add another resource, enter "y" if you plan to include a Search Map. Otherwise, enter "n".

Configure a Search Map Service (optional)

The process for configuring a Search Map Service is the same as for a Metadata or Gazetteer Service. You can use any Image or ArcMap Image Service.

  1. Enter "6" to choose the service.
  2. Enter the server location where the service resides.
    • If you are connecting through your network using TCP, input the server name.
    • If you are connecting through HTTP, input the full URL.
  3. If you are using a TCP connection, input the ArcIMS Application Server port number. The default value is 5300. Otherwise, add nothing and press Enter.
  4. Input the service name. The name is case sensitive.
  5. At the prompt asking if you want to add another resource, enter "n" since you are done adding resources.
  6. The ANT script should now end. Check to make sure you get a "Build Successful" message.

Deploy the application

Once you have completed running ANT, you now have an application in the form of a .war file. The file is located in the build directory under metadata_explorer.

This file can be deployed in your servlet engine or application server. For more information on deploying your application, see Deploying the application.