ArcGIS Server 10.2 caching tiles Errors

327
2
04-26-2018 02:20 AM
AhmetEmre
New Contributor III

Hello,

During ArcGIS 10.2 caching tiles I encountered with some errors but could not find any solution in web. What I found in web as solution was to make caching as foreground process (instead of background process) by clicking Geoprocessing > Geoprocessing Options on the Standard toolbar and  uncheck background option. I did so, but errors continue flowing although caching process continues.

If I choose background cache process instead of foreground cache then cahcing halts.

What should I do?

I am getting following errors during cahcing (caching process continues):

Failed to cache extent: 2974329,588527 4931117,511619 3052577,218922 5009365,142013 at scale 9027.9774109999998 ERROR 999998: Unexpected Error.
Failed to cache extent: 2974329,588527 5009389,028585 3052577,218922 5087636,658980 at scale 9027.9774109999998 ERROR 999998: Unexpected Error.
Output failure, error string = Unable to construct the map service instance.
Failed to cache extent: 2974329,588527 4618031,443754 3052577,218922 4696279,074149 at scale 9027.9774109999998 Xml Parsing failed.
Reason:XML document must have a top level element.

Linepos:0
Source:(null).
Failed to cache extent: 2974329,588527 4539759,926788 3052577,218922 4618007,557183 at scale 9027.9774109999998 ERROR 999998: Unexpected Error.
Output failure, error string = Unable to construct the map service instance.
Failed to cache extent: 2974329,588527 4383216,892856 3052577,218922 4461464,523251 at scale 9027.9774109999998 Xml Parsing failed.
Reason:XML document must have a top level element.

Linepos:0
Source:(null).
Output failure, error string = Unable to construct the map service instance.
Failed to cache extent: 2974329,588527 4304945,375890 3052577,218922 4383193,006285 at scale 9027.9774109999998 Xml Parsing failed.
Reason:XML document must have a top level element.

Linepos:0
Source:(null).
Output failure, error string = Unable to construct the map service instance.
Failed to cache extent: 2974329,588527 4226673,858924 3052577,218922 4304921,489319 at scale 9027.9774109999998 Xml Parsing failed.
Reason:XML document must have a top level element.

Linepos:0
Source:(null).
Output failure, error string = Unable to construct the map service instance.
Failed to cache extent: 2974329,588527 4163969,476778 3052577,218922 4226649,972353 at scale 9027.9774109999998 Xml Parsing failed.
Reason:XML document must have a top level element.

Linepos:0
Source:(null).
Output failure, error string = Unable to construct the map service instance.
Failed to cache extent: 3052601,105493 5165932,062517 3130848,735888 5176676,972045 at scale 9027.9774109999998 Xml Parsing failed.
Reason:XML document must have a top level element.

Linepos:0
Source:(null).
Output failure, error string = Unable to construct the map service instance.
Failed to cache extent: 3052601,105493 5087660,545551 3130848,735888 5165908,175946 at scale 9027.9774109999998 Xml Parsing failed.
Reason:XML document must have a top level element.

Linepos:0
Source:(null).
Output failure, error string = Unable to construct the map service instance.
Failed to cache extent: 3052601,105493 5009389,028585 3130848,735888 5087636,658980 at scale 9027.9774109999998
Output failure, error string = Unable to construct the map service instance.
Failed to cache extent: 3052601,105493 4931117,511619 3130848,735888 5009365,142013 at scale 9027.9774109999998
Output failure, error string = Unable to construct the map service instance.
Failed to cache extent: 3052601,105493 4852845,994653 3130848,735888 4931093,625047 at scale 9027.9774109999998
Output failure, error string = Unable to construct the map service instance.
Failed to cache extent: 3052601,105493 4774574,477687 3130848,735888 4852822,108081 at scale 9027.9774109999998
Output failure, error string = Unable to construct the map service instance.
Failed to cache extent: 3052601,105493 4696302,960721 3130848,735888 4774550,591115 at scale 9027.9774109999998
Output failure, error string = Unable to construct the map service instance.
Failed to cache extent: 3052601,105493 4618031,443754 3130848,735888 4696279,074149 at scale 9027.9774109999998
Output failure, error string = Unable to construct the map service instance.
Failed to cache extent: 3052601,105493 4539759,926788 3130848,735888 4618007,557183 at scale 9027.9774109999998
Output failure, error string = Unable to construct the map service instance.
Failed to cache extent: 3052601,105493 4461488,409822 3130848,735888 4539736,040217 at scale 9027.9774109999998
Output failure, error string = Unable to construct the map service instance.
Failed to cache extent: 3052601,105493 4383216,892856 3130848,735888 4461464,523251 at scale 9027.9774109999998
Output failure, error string = Unable to construct the map service instance.
Failed to cache extent: 3052601,105493 4304945,375890 3130848,735888 4383193,006285 at scale 9027.9774109999998
Output failure, error string = Unable to construct the map service instance.
Failed to cache extent: 3052601,105493 4226673,858924 3130848,735888 4304921,489319 at scale 9027.9774109999998
Output failure, error string = Unable to construct the map service instance.
Failed to cache extent: 3052601,105493 4163969,476778 3130848,735888 4226649,972353 at scale 9027.9774109999998
Output failure, error string = Unable to construct the map service instance.
Failed to cache extent: 3130872,622459 5165932,062517 3209120,252854 5176676,972045 at scale 9027.9774109999998
Output failure, error string = Unable to construct the map service instance.
Failed to cache extent: 3130872,622459 5087660,545551 3209120,252854 5165908,175946 at scale 9027.9774109999998
Failed to cache extent: 3130872,622459 5009389,028585 3209120,252854 5087636,658980 at scale 9027.9774109999998 ERROR 999998: Unexpected Error.
Output failure, error string = Unable to construct the map service instance.
Failed to cache extent: 3130872,622459 4852845,994653 3209120,252854 4931093,625047 at scale 9027.9774109999998 Xml Parsing failed.
Reason:XML document must have a top level element.

Linepos:0
Source:(null).
Output failure, error string = Unable to construct the map service instance.
Failed to cache extent: 3130872,622459 4774574,477687 3209120,252854 4852822,108081 at scale 9027.9774109999998 Xml Parsing failed.
Reason:XML document must have a top level element.

Linepos:0
Source:(null).
Failed to cache extent: 3130872,622459 4696302,960721 3209120,252854 4774550,591115 at scale 9027.9774109999998 ERROR 999998: Unexpected Error.
Output failure, error string = Unable to construct the map service instance.
Failed to cache extent: 3130872,622459 4539759,926788 3209120,252854 4618007,557183 at scale 9027.9774109999998 Xml Parsing failed.
Reason:XML document must have a top level element.

Linepos:0
Source:(null).
Output failure, error string = Unable to construct the map service instance.
Failed to cache extent: 3130872,622459 4383216,892856 3209120,252854 4461464,523251 at scale 9027.9774109999998 Xml Parsing failed.
Reason:Not enough storage is available to complete this operation.

Linepos:0
Source:(null).
Output failure, error string = Unable to construct the map service instance.
Failed to cache extent: 3130872,622459 4304945,375890 3209120,252854 4383193,006285 at scale 9027.9774109999998 Xml Parsing failed.
Reason:Not enough storage is available to complete this operation.

Linepos:0
Source:(null).
Output failure, error string = Unable to construct the map service instance.
Failed to cache extent: 3130872,622459 4226673,858924 3209120,252854 4304921,489319 at scale 9027.9774109999998 Xml Parsing failed.
Reason:Not enough storage is available to complete this operation.

Linepos:41
Source://///////////////////////////////////////.
Output failure, error string = Unable to construct the map service instance.
Failed to cache extent: 3130872,622459 4163969,476778 3209120,252854 4226649,972353 at scale 9027.9774109999998 Xml Parsing failed.
Reason:Not enough storage is available to complete this operation.

Linepos:7
Source:GRoaWVx.
Failed to cache extent: 3130872,622459 4461488,409822 3209120,252854 4539736,040217 at scale 9027.9774109999998 ERROR 999998: Unexpected Error.
Output failure, error string = Unable to construct the map service instance.
Failed to cache extent: 3209144,139425 5165932,062517 3287391,769820 5176676,972045 at scale 9027.9774109999998 Xml Parsing failed.
Reason:Not enough storage is available to complete this operation.

Linepos:0
Source:(null).
Output failure, error string = Unable to construct the map service instance.
Failed to cache extent: 3209144,139425 5009389,028585 3287391,769820 5087636,658980 at scale 9027.9774109999998 Xml Parsing failed.
Reason:Not enough storage is available to complete this operation.

Linepos:0
Source:(null).
Output failure, error string = Unable to construct the map service instance.
Failed to cache extent: 3209144,139425 4931117,511619 3287391,769820 5009365,142013 at scale 9027.9774109999998 Xml Parsing failed.
Reason:Not enough storage is available to complete this operation.

Linepos:0
Source:(null).
Failed to cache extent: 3209144,139425 5087660,545551 3287391,769820 5165908,175946 at scale 9027.9774109999998 ERROR 999998: Unexpected Error.
Failed to cache extent: 3209144,139425 4852845,994653 3287391,769820 4931093,625047 at scale 9027.9774109999998
Output failure, error string = Unable to construct the map service instance.
Failed to cache extent: 3209144,139425 4696302,960721 3287391,769820 4774550,591115 at scale 9027.9774109999998 Xml Parsing failed.
Reason:Not enough storage is available to complete this operation.

Linepos:0
Source:(null).
Failed to cache extent: 3209144,139425 4774574,477687 3287391,769820 4852822,108081 at scale 9027.9774109999998 ERROR 999998: Unexpected Error.
Output failure, error string = Unable to construct the map service instance.
Failed to cache extent: 3209144,139425 4618031,443754 3287391,769820 4696279,074149 at scale 9027.9774109999998 Xml Parsing failed.
Reason:Not enough storage is available to complete this operation.

Linepos:0
Source:(null).
Output failure, error string = Unable to construct the map service instance.
Failed to cache extent: 3209144,139425 4461488,409822 3287391,769820 4539736,040217 at scale 9027.9774109999998 Xml Parsing failed.
Reason:Not enough storage is available to complete this operation.

Linepos:0
Source:(null).

Tags (1)
0 Kudos
2 Replies
JonathanQuinn
Esri Frequent Contributor

I would first address the messages in the errors:

Xml Parsing failed.
Reason:XML document must have a top level element.

Have you checked that the conf.xml file is valid under the cache directory?

Xml Parsing failed.
Reason:Not enough storage is available to complete this operation.

Have you made sure that there's enough space on the directory the arcgiscache folder is stored?

0 Kudos
AhmetEmre
New Contributor III

1. Have you checked that the conf.xml file is valid under the cache directory?

conf.xml file is well-formed but can not see if it is valid. But only error is at Level 16 :

<Resolution>4.7773142679493699</Resolution></LODInfo><LODInfo xsi:type='typens:LODInfo'><LevelID>16</LevelID><Scale>9027.9774109999998</Scale>

There is no error at other layer I think there is some deficiency in Layer 16 ?

2 .Have you made sure that there's enough space on the directory the arcgiscache folder is stored?

Yes Im sure than 1 TB is free there in 2 days only 30 GB is used and it says 40 hours left and I have made an estimated required disk space of 140 GB <  1 TB

Below is conf.xml: 

<?xml version="1.0" encoding="utf-8" ?><CacheInfo xsi:type='typens:CacheInfo' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:xs='http://www.w3.org/2001/XMLSchema' xmlns:typens='http://www.esri.com/schemas/ArcGIS/10.1'><TileCacheInfo xsi:type='typens:TileCacheInfo'><SpatialReference xsi:type='typens:ProjectedCoordinateSystem'><WKT>PROJCS[&quot;WGS_1984_Web_Mercator_Auxiliary_Sphere&quot;,GEOGCS[&quot;GCS_WGS_1984&quot;,DATUM[&quot;D_WGS_1984&quot;,SPHEROID[&quot;WGS_1984&quot;,6378137.0,298.257223563]],PRIMEM[&quot;Greenwich&quot;,0.0],UNIT[&quot;Degree&quot;,0.0174532925199433]],PROJECTION[&quot;Mercator_Auxiliary_Sphere&quot;],PARAMETER[&quot;False_Easting&quot;,0.0],PARAMETER[&quot;False_Northing&quot;,0.0],PARAMETER[&quot;Central_Meridian&quot;,0.0],PARAMETER[&quot;Standard_Parallel_1&quot;,0.0],PARAMETER[&quot;Auxiliary_Sphere_Type&quot;,0.0],UNIT[&quot;Meter&quot;,1.0],AUTHORITY[&quot;EPSG&quot;,3857]]</WKT><XOrigin>-20037700</XOrigin><YOrigin>-30241100</YOrigin><XYScale>148923141.92838538</XYScale><ZOrigin>-100000</ZOrigin><ZScale>10000</ZScale><MOrigin>-100000</MOrigin><MScale>10000</MScale><XYTolerance>0.001</XYTolerance><ZTolerance>0.001</ZTolerance><MTolerance>0.001</MTolerance><HighPrecision>true</HighPrecision><WKID>102100</WKID><LatestWKID>3857</LatestWKID></SpatialReference><TileOrigin xsi:type='typens:PointN'><X>-20037508.342787001</X><Y>20037508.342787001</Y></TileOrigin><TileCols>256</TileCols><TileRows>256</TileRows><DPI>96</DPI><PreciseDPI>96</PreciseDPI><LODInfos xsi:type='typens:ArrayOfLODInfo'><LODInfo xsi:type='typens:LODInfo'><LevelID>0</LevelID><Scale>591657527.591555</Scale><Resolution>156543.03392800014</Resolution></LODInfo><LODInfo xsi:type='typens:LODInfo'><LevelID>1</LevelID><Scale>295828763.79577702</Scale><Resolution>78271.516963999937</Resolution></LODInfo><LODInfo xsi:type='typens:LODInfo'><LevelID>2</LevelID><Scale>147914381.89788899</Scale><Resolution>39135.758482000092</Resolution></LODInfo><LODInfo xsi:type='typens:LODInfo'><LevelID>3</LevelID><Scale>73957190.948944002</Scale><Resolution>19567.879240999919</Resolution></LODInfo><LODInfo xsi:type='typens:LODInfo'><LevelID>4</LevelID><Scale>36978595.474472001</Scale><Resolution>9783.9396204999593</Resolution></LODInfo><LODInfo xsi:type='typens:LODInfo'><LevelID>5</LevelID><Scale>18489297.737236001</Scale><Resolution>4891.9698102499797</Resolution></LODInfo><LODInfo xsi:type='typens:LODInfo'><LevelID>6</LevelID><Scale>9244648.8686180003</Scale><Resolution>2445.9849051249898</Resolution></LODInfo><LODInfo xsi:type='typens:LODInfo'><LevelID>7</LevelID><Scale>4622324.4343090001</Scale><Resolution>1222.9924525624949</Resolution></LODInfo><LODInfo xsi:type='typens:LODInfo'><LevelID>8</LevelID><Scale>2311162.2171550002</Scale><Resolution>611.49622628137968</Resolution></LODInfo><LODInfo xsi:type='typens:LODInfo'><LevelID>9</LevelID><Scale>1155581.108577</Scale><Resolution>305.74811314055756</Resolution></LODInfo><LODInfo xsi:type='typens:LODInfo'><LevelID>10</LevelID><Scale>577790.55428899999</Scale><Resolution>152.87405657041106</Resolution></LODInfo><LODInfo xsi:type='typens:LODInfo'><LevelID>11</LevelID><Scale>288895.27714399999</Scale><Resolution>76.437028285073239</Resolution></LODInfo><LODInfo xsi:type='typens:LODInfo'><LevelID>12</LevelID><Scale>144447.638572</Scale><Resolution>38.21851414253662</Resolution></LODInfo><LODInfo xsi:type='typens:LODInfo'><LevelID>13</LevelID><Scale>72223.819285999998</Scale><Resolution>19.10925707126831</Resolution></LODInfo><LODInfo xsi:type='typens:LODInfo'><LevelID>14</LevelID><Scale>36111.909642999999</Scale><Resolution>9.5546285356341549</Resolution></LODInfo><LODInfo xsi:type='typens:LODInfo'><LevelID>15</LevelID><Scale>18055.954822</Scale><Resolution>4.7773142679493699</Resolution></LODInfo><LODInfo xsi:type='typens:LODInfo'><LevelID>16</LevelID><Scale>9027.9774109999998</Scale><Resolution>2.3886571339746849</Resolution></LODInfo><LODInfo xsi:type='typens:LODInfo'><LevelID>17</LevelID><Scale>4513.9887049999998</Scale><Resolution>1.1943285668550503</Resolution></LODInfo><LODInfo xsi:type='typens:LODInfo'><LevelID>18</LevelID><Scale>2256.994353</Scale><Resolution>0.59716428355981721</Resolution></LODInfo><LODInfo xsi:type='typens:LODInfo'><LevelID>19</LevelID><Scale>1128.4971760000001</Scale><Resolution>0.29858214164761665</Resolution></LODInfo></LODInfos></TileCacheInfo><TileImageInfo xsi:type='typens:TileImageInfo'><CacheTileFormat>PNG</CacheTileFormat><CompressionQuality>0</CompressionQuality><Antialiasing>false</Antialiasing></TileImageInfo><CacheStorageInfo xsi:type='typens:CacheStorageInfo'><StorageFormat>esriMapCacheStorageModeCompact</StorageFormat><PacketSize>128</PacketSize></CacheStorageInfo></CacheInfo>

0 Kudos