English

How To: Restore the default PrintingTools service in ArcGIS Server Manager

Summary

ArcGIS Server Manager includes a preconfigured geoprocessing service in the Utilities folder, called PrintingTools, that helps users with printing a map from a web application.

The instructions provided describe how to restore the default PrintingTools service for ArcGIS Server Manager, if it is missing due to a hardware failure, human error, or other problems.

Procedure

Follow the steps below to restore the default PrintingTools service.

  1. In a web browser, open the Administrator Directory and log in. The URL is formatted:

    http://gisserver.domain.com:6080/arcgis/admin

  2. In the Administrator Directory, click Services.
  3. In the Folders list, select the destination folder for the PrintingTools service.

    Note:
    If an appropriate folder does not exist, create one by clicking createFolder and create a folder (named for example, PrintingTools).
    If an appropriate folder does not exist, click createFolder to create one

    [O-Image]

  4. Click createService.
    Click createService

    [O-Image]
  5. On the Create Service page, paste the following JavaScript Object Notation (JSON) into the Service Properties text box:
    [O-Image]


    Code:
    {

    "serviceName": "PrintingTools",

    "type": "GPServer",

    "description": "The PrintingTools service is used by web application developers
    to export the contents of a webmap to pdf, jpeg, png or other formats.
    This service is generally used in the context of providing applications
    with printing functionality.",

    "capabilities": "null",

    "clusterName": "default",

    "minInstancesPerNode": 1,

    "maxInstancesPerNode": 2,

    "instancesPerContainer": 1,

    "maxWaitTime": 60,

    "maxStartupTime": 300,

    "maxIdleTime": 1800,

    "maxUsageTime": 600,

    "loadBalancing": "ROUND_ROBIN",

    "isolationLevel": "HIGH",

    "configuredState": "STOPPED",

    "recycleInterval": 24,

    "recycleStartTime": "00:00",

    "keepAliveInterval": -1,

    "private": false,

    "isDefault": false,

    "maxUploadFileSize": 0,

    "allowedUploadFileTypes": "",

    "properties": {
    "virtualOutputDir": "/rest/directories/arcgisoutput",

    "outputDir": "C:\\arcgisserver\\directories\\arcgisoutput",

    "showMessages": "Error",

    "toolbox": "${AGSSERVER}/ArcToolBox/Services/Printing Tools.tbx",

    "jobsDirectory": "C:\\arcgisserver\\directories\\arcgisjobs",

    "executionType": "Synchronous",

    "jobsVirtualDirectory": "/rest/directories/arcgisjobs",

    "maximumRecords": "1000"

    },

    "extensions": [],

    "datasets": []

    }


    Warning:
    Do not change the value for serviceName.
  6. Click Create. The PrintingTools service is created and appears in the Services list.

Related Information