HowTo:  Restore the default PrintingTools service in ArcGIS Server Manager

相关信息
Article ID: 42232
Software:
ArcGIS for Server 10.1, 10.2, 10.2.1
Platforms: N/A

问题描述
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.
已邀请:

EsriSupport

赞同来自:

解决方案
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. 
    If an appropriate folder does not exist, create one by clicking createFolder and create a folder (named for example, PrintingTools).
  4. Click createService.
     
  5. On the Create Service page, paste the following JavaScript Object Notation (JSON) into the Service Properties text box: 
    {  "serviceName": "PrintingTools",  "type": "GPServer",  "description": "The PrintingTools service is used by web application developersto 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": []}
     **Do not change the value for serviceName.
  6. Click Create. The PrintingTools service is created and appears in the Services list.


其它相关参考
  1. ArcGIS Help - Printing in web applications
  2. ArcGIS Resources Videos - ArcGIS for Server 10.1: PrintingTools Service Tutorial
  3. ArcGIS Help - Re-creating the geometry service


创建及修改时间
Created: 2/13/2014

Last Modified: 4/24/2014
原文链接
http://support.esri.com/en/kno ... 42232

要回复问题请先登录注册