WebGIS Discussions

Need a push in the right direction when configuring WebMap, Portal or SDI services? Looking for hints and tips, or just looking for Ideas and information? The WebGIS discussion board is where you start those discussions, connect and share information.
Showing results for 
Search instead for 
Do you mean 
Reply
Highlighted
Contributor
Posts: 39
Registered: ‎10-07-2019

Error in running CacheFiller service

Hi All,

I am trying to create a wmts for first time. I have gone though the long list of edits requied but now when I tried to run the cache filler service, I am got this error:

 

Time: Thu Jan 23 11:04:11 2020 Source: Map Server Version: 16.6.0.27 Function AddLibraryConnection Error: 0x0 Error Description: An item with the same name exists. Log File: No log file generated

 

 

How can this be fixed ? or did I missed something.

 

 

Thank you

 

 

Muhammad Almas

Highlighted
Technical Evangelist
Posts: 1,313
Registered: ‎09-11-2015

Re: Error in running CacheFiller service

Hi Muhammad,

 

Please enable WebMap logging, then restart WebMap service and try re-start the Cache Filler service + Cache Filler Manager service and see what is being generated in the GWMLog. You should find more details about the AddLibraryConnecting error in some of the generated files.

 

 

Jan Neumann
Post Sales Engineer Web Applications
Hexagon Geospatial

Highlighted
Contributor
Posts: 39
Registered: ‎10-07-2019

Re: Error in running CacheFiller service

Hi Jan,

 

I tried that, but it did not generated any log file in that GWMLog folder. 

 

Where as the error log in Windows event viewer from the moment I try to start this cache filler service is as follows:

 

Log Name: Application
Source: Windows Error Reporting
Date: 2020-01-28 7:28:17 AM
Event ID: 1001
Task Category: None
Level: Information
Keywords: Classic
User: N/A
Computer: GEODEV1
Description:
Fault bucket , type 0
Event Name: CLR20r3
Response: Not available
Cab Id: 0

Problem signature:
P1: YGE5XU5WECVB1CQNYWF5JFXOYPG0CE3K
P2: 16.6.13.115
P3: 5d975d02
P4: System
P5: 4.7.3062.0
P6: 5ab952a7
P7: a1c
P8: 21a
P9: System.ApplicationException
P10:

Attached files:

These files may be available here:
C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppCrash_YGE5XU5WECVB1CQN_f51d724f7f54b6658a4ab064fe4e66b363f1d16_5c1da397_e2ee8008

Analysis symbol:
Rechecking for solution: 0
Report Id: 0a32f0f0-41d2-11ea-80cc-00155d0a5a01
Report Status: 0
Hashed bucket:
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Windows Error Reporting" />
<EventID Qualifiers="0">1001</EventID>
<Level>4</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2020-01-28T13:28:17.000000000Z" />
<EventRecordID>27619</EventRecordID>
<Channel>Application</Channel>
<Computer>GEODEV1</Computer>
<Security />
</System>
<EventData>
<Data>
</Data>
<Data>0</Data>
<Data>CLR20r3</Data>
<Data>Not available</Data>
<Data>0</Data>
<Data>YGE5XU5WECVB1CQNYWF5JFXOYPG0CE3K</Data>
<Data>16.6.13.115</Data>
<Data>5d975d02</Data>
<Data>System</Data>
<Data>4.7.3062.0</Data>
<Data>5ab952a7</Data>
<Data>a1c</Data>
<Data>21a</Data>
<Data>System.ApplicationException</Data>
<Data>
</Data>
<Data>
</Data>
<Data>C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppCrash_YGE5XU5WECVB1CQN_f51d724f7f54b6658a4ab064fe4e66b363f1d16_5c1da397_e2ee8008</Data>
<Data>
</Data>
<Data>0</Data>
<Data>0a32f0f0-41d2-11ea-80cc-00155d0a5a01</Data>
<Data>0</Data>
<Data>
</Data>
</EventData>
</Event>

Log Name: Application
Source: Windows Error Reporting
Date: 2020-01-28 7:28:17 AM
Event ID: 1001
Task Category: None
Level: Information
Keywords: Classic
User: N/A
Computer: GEODEV1
Description:
Fault bucket , type 0
Event Name: CLR20r3
Response: Not available
Cab Id: 0

Problem signature:
P1: YGE5XU5WECVB1CQNYWF5JFXOYPG0CE3K
P2: 16.6.13.115
P3: 5d975d02
P4: System
P5: 4.7.3062.0
P6: 5ab952a7
P7: a1c
P8: 21a
P9: System.ApplicationException
P10:

Attached files:

These files may be available here:
C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppCrash_YGE5XU5WECVB1CQN_f51d724f7f54b6658a4ab064fe4e66b363f1d16_5c1da397_e2ee8008

Analysis symbol:
Rechecking for solution: 0
Report Id: 0a32f0f0-41d2-11ea-80cc-00155d0a5a01
Report Status: 4100
Hashed bucket:
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Windows Error Reporting" />
<EventID Qualifiers="0">1001</EventID>
<Level>4</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2020-01-28T13:28:17.000000000Z" />
<EventRecordID>27618</EventRecordID>
<Channel>Application</Channel>
<Computer>GEODEV1</Computer>
<Security />
</System>
<EventData>
<Data>
</Data>
<Data>0</Data>
<Data>CLR20r3</Data>
<Data>Not available</Data>
<Data>0</Data>
<Data>YGE5XU5WECVB1CQNYWF5JFXOYPG0CE3K</Data>
<Data>16.6.13.115</Data>
<Data>5d975d02</Data>
<Data>System</Data>
<Data>4.7.3062.0</Data>
<Data>5ab952a7</Data>
<Data>a1c</Data>
<Data>21a</Data>
<Data>System.ApplicationException</Data>
<Data>
</Data>
<Data>
</Data>
<Data>C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppCrash_YGE5XU5WECVB1CQN_f51d724f7f54b6658a4ab064fe4e66b363f1d16_5c1da397_e2ee8008</Data>
<Data>
</Data>
<Data>0</Data>
<Data>0a32f0f0-41d2-11ea-80cc-00155d0a5a01</Data>
<Data>4100</Data>
<Data>
</Data>
</EventData>
</Event>

Log Name: Application
Source: Application Error
Date: 2020-01-28 7:28:16 AM
Event ID: 1000
Task Category: (100)
Level: Error
Keywords: Classic
User: N/A
Computer: GEODEV1
Description:
Faulting application name: Intergraph.GeoMedia.Web.SDI.Tools.CacheFillerWindowsService.exe, version: 16.6.13.115, time stamp: 0x5d975d02
Faulting module name: KERNELBASE.dll, version: 6.3.9600.18938, time stamp: 0x5a7dd8a7
Exception code: 0xe0434352
Fault offset: 0x00015ef8
Faulting process id: 0x20ec
Faulting application start time: 0x01d5d5decb03face
Faulting application path: C:\Program Files\Common Files\Hexagon\Services\Supporting Services\SDIProCacheFillerService\Intergraph.GeoMedia.Web.SDI.Tools.CacheFillerWindowsService.exe
Faulting module path: C:\Windows\SYSTEM32\KERNELBASE.dll
Report Id: 0a32f0f0-41d2-11ea-80cc-00155d0a5a01
Faulting package full name:
Faulting package-relative application ID:
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Application Error" />
<EventID Qualifiers="0">1000</EventID>
<Level>2</Level>
<Task>100</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2020-01-28T13:28:16.000000000Z" />
<EventRecordID>27617</EventRecordID>
<Channel>Application</Channel>
<Computer>GEODEV1</Computer>
<Security />
</System>
<EventData>
<Data>Intergraph.GeoMedia.Web.SDI.Tools.CacheFillerWindowsService.exe</Data>
<Data>16.6.13.115</Data>
<Data>5d975d02</Data>
<Data>KERNELBASE.dll</Data>
<Data>6.3.9600.18938</Data>
<Data>5a7dd8a7</Data>
<Data>e0434352</Data>
<Data>00015ef8</Data>
<Data>20ec</Data>
<Data>01d5d5decb03face</Data>
<Data>C:\Program Files\Common Files\Hexagon\Services\Supporting Services\SDIProCacheFillerService\Intergraph.GeoMedia.Web.SDI.Tools.CacheFillerWindowsService.exe</Data>
<Data>C:\Windows\SYSTEM32\KERNELBASE.dll</Data>
<Data>0a32f0f0-41d2-11ea-80cc-00155d0a5a01</Data>
<Data>
</Data>
<Data>
</Data>
</EventData>
</Event>

Log Name: Application
Source: .NET Runtime
Date: 2020-01-28 7:28:16 AM
Event ID: 1026
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: GEODEV1
Description:
Application: Intergraph.GeoMedia.Web.SDI.Tools.CacheFillerWindowsService.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Net.WebException
at System.Net.HttpWebRequest.GetResponse()
at Intergraph.GeoMedia.Web.SDI.Common.Utils.HTTPService.HttpRetriever.RetrieveHttpResponseStream(System.Uri, System.String ByRef, Int32 ByRef)
at Intergraph.GeoMedia.Web.SDI.Common.Utils.HTTPService.HttpRetriever.RetrieveHttpResponseStream(System.Uri)
at Intergraph.GeoMedia.Web.SDI.Tools.CacheFillerWindowsService.WMSServiceInfo..ctor(System.String, Intergraph.GeoMedia.Web.SDI.Common.Utils.HTTPService.IHttpRetriever)
at Intergraph.GeoMedia.Web.SDI.Tools.CacheFillerWindowsService.CacheFillerWindowsService.EnsureProductsCompatibility(Intergraph.GeoMedia.Web.SDI.WMS.CacheUtils.ARSConfiguration.ARSProductDefinitionsCollection, Intergraph.GeoMedia.Web.SDI.WMS.CacheFiller.LayersToServices, System.Collections.Generic.IDictionary`2<System.String,System.String>)

Exception Info: System.ApplicationException
at Intergraph.GeoMedia.Web.SDI.Tools.CacheFillerWindowsService.CacheFillerWindowsService.EnsureProductsCompatibility(Intergraph.GeoMedia.Web.SDI.WMS.CacheUtils.ARSConfiguration.ARSProductDefinitionsCollection, Intergraph.GeoMedia.Web.SDI.WMS.CacheFiller.LayersToServices, System.Collections.Generic.IDictionary`2<System.String,System.String>)
at Intergraph.GeoMedia.Web.SDI.Tools.CacheFillerWindowsService.CacheFillerWindowsService.OnStart(System.String[])
at System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(System.Object)
at System.ServiceProcess.ServiceBase.Run(System.ServiceProcess.ServiceBase[])
at System.ServiceProcess.ServiceBase.Run(System.ServiceProcess.ServiceBase)
at Intergraph.GeoMedia.Web.SDI.Tools.CacheFillerWindowsService.CacheFillerWindowsService.Main(System.String[])


Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name=".NET Runtime" />
<EventID Qualifiers="0">1026</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2020-01-28T13:28:16.000000000Z" />
<EventRecordID>27616</EventRecordID>
<Channel>Application</Channel>
<Computer>GEODEV1</Computer>
<Security />
</System>
<EventData>
<Data>Application: Intergraph.GeoMedia.Web.SDI.Tools.CacheFillerWindowsService.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Net.WebException
at System.Net.HttpWebRequest.GetResponse()
at Intergraph.GeoMedia.Web.SDI.Common.Utils.HTTPService.HttpRetriever.RetrieveHttpResponseStream(System.Uri, System.String ByRef, Int32 ByRef)
at Intergraph.GeoMedia.Web.SDI.Common.Utils.HTTPService.HttpRetriever.RetrieveHttpResponseStream(System.Uri)
at Intergraph.GeoMedia.Web.SDI.Tools.CacheFillerWindowsService.WMSServiceInfo..ctor(System.String, Intergraph.GeoMedia.Web.SDI.Common.Utils.HTTPService.IHttpRetriever)
at Intergraph.GeoMedia.Web.SDI.Tools.CacheFillerWindowsService.CacheFillerWindowsService.EnsureProductsCompatibility(Intergraph.GeoMedia.Web.SDI.WMS.CacheUtils.ARSConfiguration.ARSProductDefinitionsCollection, Intergraph.GeoMedia.Web.SDI.WMS.CacheFiller.LayersToServices, System.Collections.Generic.IDictionary`2&lt;System.String,System.String&gtSmiley Wink

Exception Info: System.ApplicationException
at Intergraph.GeoMedia.Web.SDI.Tools.CacheFillerWindowsService.CacheFillerWindowsService.EnsureProductsCompatibility(Intergraph.GeoMedia.Web.SDI.WMS.CacheUtils.ARSConfiguration.ARSProductDefinitionsCollection, Intergraph.GeoMedia.Web.SDI.WMS.CacheFiller.LayersToServices, System.Collections.Generic.IDictionary`2&lt;System.String,System.String&gtSmiley Wink
at Intergraph.GeoMedia.Web.SDI.Tools.CacheFillerWindowsService.CacheFillerWindowsService.OnStart(System.String[])
at System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(System.Object)
at System.ServiceProcess.ServiceBase.Run(System.ServiceProcess.ServiceBase[])
at System.ServiceProcess.ServiceBase.Run(System.ServiceProcess.ServiceBase)
at Intergraph.GeoMedia.Web.SDI.Tools.CacheFillerWindowsService.CacheFillerWindowsService.Main(System.String[])

</Data>
</EventData>
</Event>

Log Name: Application
Source: CacheFillerService
Date: 2020-01-28 7:28:16 AM
Event ID: 0
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: GEODEV1
Description:
Service cannot be started. System.ApplicationException: Could not retrieve source WMS service info. Make sure that the URI provided is valid and the service is available. You could also try switching off source service probing in the configuration ---> System.Net.WebException: The remote server returned an error: (400) Bad Request.
at System.Net.HttpWebRequest.GetResponse()
at Intergraph.GeoMedia.Web.SDI.Common.Utils.HTTPService.HttpRetriever.RetrieveHttpResponseStream(Uri uri, String& contentType, Int32& statusCode)
at Intergraph.GeoMedia.Web.SDI.Common.Utils.HTTPService.HttpRetriever.RetrieveHttpResponseStream(Uri uri)
at Intergraph.GeoMedia.Web.SDI.Tools.CacheFillerWindowsService.WMSServiceInfo..ctor(String serviceUrl, IHttpRetriever httpRetriever)
at Intergraph.GeoMedia.Web.SDI.Tools.CacheFillerWindowsService.CacheFillerWindowsService.EnsureProductsCompatibility(ARSProductDefinitionsCollection arsProductDefinitionsCollection, LayersToServices layersToServices, IDictionary`2 arsMapTypeMapping)
--- End of i...
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="CacheFillerService" />
<EventID Qualifiers="0">0</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2020-01-28T13:28:16.000000000Z" />
<EventRecordID>27615</EventRecordID>
<Channel>Application</Channel>
<Computer>GEODEV1</Computer>
<Security />
</System>
<EventData>
<Data>Service cannot be started. System.ApplicationException: Could not retrieve source WMS service info. Make sure that the URI provided is valid and the service is available. You could also try switching off source service probing in the configuration ---&gt; System.Net.WebException: The remote server returned an error: (400) Bad Request.
at System.Net.HttpWebRequest.GetResponse()
at Intergraph.GeoMedia.Web.SDI.Common.Utils.HTTPService.HttpRetriever.RetrieveHttpResponseStream(Uri uri, String&amp; contentType, Int32&amp; statusCode)
at Intergraph.GeoMedia.Web.SDI.Common.Utils.HTTPService.HttpRetriever.RetrieveHttpResponseStream(Uri uri)
at Intergraph.GeoMedia.Web.SDI.Tools.CacheFillerWindowsService.WMSServiceInfo..ctor(String serviceUrl, IHttpRetriever httpRetriever)
at Intergraph.GeoMedia.Web.SDI.Tools.CacheFillerWindowsService.CacheFillerWindowsService.EnsureProductsCompatibility(ARSProductDefinitionsCollection arsProductDefinitionsCollection, LayersToServices layersToServices, IDictionary`2 arsMapTypeMapping)
--- End of i...</Data>
</EventData>
</Event>

Log Name: Application
Source: Windows Error Reporting
Date: 2020-01-28 7:27:59 AM
Event ID: 1001
Task Category: None
Level: Information
Keywords: Classic
User: N/A
Computer: GEODEV1
Description:
Fault bucket , type 0
Event Name: CLR20r3
Response: Not available
Cab Id: 0

Problem signature:
P1: Q5KHJVAR0LA3O3XFXSJ1YQ1VPA2RH4GU
P2: 16.6.13.115
P3: 5d975d0c
P4: System
P5: 4.7.3062.0
P6: 5ab952a7
P7: 209c
P8: 76
P9: DI4EQZGVCWKDLTHKQTZWPXE3YRFKN1I2
P10:

Attached files:

These files may be available here:
C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppCrash_Q5KHJVAR0LA3O3XF_816883d3b1c082c8a869458aeff1ed96f5237fe_d28f9cff_d5663989

Analysis symbol:
Rechecking for solution: 0
Report Id: fee3e436-41d1-11ea-80cc-00155d0a5a01
Report Status: 0
Hashed bucket:
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Windows Error Reporting" />
<EventID Qualifiers="0">1001</EventID>
<Level>4</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2020-01-28T13:27:59.000000000Z" />
<EventRecordID>27614</EventRecordID>
<Channel>Application</Channel>
<Computer>GEODEV1</Computer>
<Security />
</System>
<EventData>
<Data>
</Data>
<Data>0</Data>
<Data>CLR20r3</Data>
<Data>Not available</Data>
<Data>0</Data>
<Data>Q5KHJVAR0LA3O3XFXSJ1YQ1VPA2RH4GU</Data>
<Data>16.6.13.115</Data>
<Data>5d975d0c</Data>
<Data>System</Data>
<Data>4.7.3062.0</Data>
<Data>5ab952a7</Data>
<Data>209c</Data>
<Data>76</Data>
<Data>DI4EQZGVCWKDLTHKQTZWPXE3YRFKN1I2</Data>
<Data>
</Data>
<Data>
</Data>
<Data>C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppCrash_Q5KHJVAR0LA3O3XF_816883d3b1c082c8a869458aeff1ed96f5237fe_d28f9cff_d5663989</Data>
<Data>
</Data>
<Data>0</Data>
<Data>fee3e436-41d1-11ea-80cc-00155d0a5a01</Data>
<Data>0</Data>
<Data>
</Data>
</EventData>
</Event>

Log Name: Application
Source: Windows Error Reporting
Date: 2020-01-28 7:27:59 AM
Event ID: 1001
Task Category: None
Level: Information
Keywords: Classic
User: N/A
Computer: GEODEV1
Description:
Fault bucket , type 0
Event Name: CLR20r3
Response: Not available
Cab Id: 0

Problem signature:
P1: Q5KHJVAR0LA3O3XFXSJ1YQ1VPA2RH4GU
P2: 16.6.13.115
P3: 5d975d0c
P4: System
P5: 4.7.3062.0
P6: 5ab952a7
P7: 209c
P8: 76
P9: DI4EQZGVCWKDLTHKQTZWPXE3YRFKN1I2
P10:

Attached files:

These files may be available here:
C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppCrash_Q5KHJVAR0LA3O3XF_816883d3b1c082c8a869458aeff1ed96f5237fe_d28f9cff_d5663989

Analysis symbol:
Rechecking for solution: 0
Report Id: fee3e436-41d1-11ea-80cc-00155d0a5a01
Report Status: 4100
Hashed bucket:
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Windows Error Reporting" />
<EventID Qualifiers="0">1001</EventID>
<Level>4</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2020-01-28T13:27:59.000000000Z" />
<EventRecordID>27613</EventRecordID>
<Channel>Application</Channel>
<Computer>GEODEV1</Computer>
<Security />
</System>
<EventData>
<Data>
</Data>
<Data>0</Data>
<Data>CLR20r3</Data>
<Data>Not available</Data>
<Data>0</Data>
<Data>Q5KHJVAR0LA3O3XFXSJ1YQ1VPA2RH4GU</Data>
<Data>16.6.13.115</Data>
<Data>5d975d0c</Data>
<Data>System</Data>
<Data>4.7.3062.0</Data>
<Data>5ab952a7</Data>
<Data>209c</Data>
<Data>76</Data>
<Data>DI4EQZGVCWKDLTHKQTZWPXE3YRFKN1I2</Data>
<Data>
</Data>
<Data>
</Data>
<Data>C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppCrash_Q5KHJVAR0LA3O3XF_816883d3b1c082c8a869458aeff1ed96f5237fe_d28f9cff_d5663989</Data>
<Data>
</Data>
<Data>0</Data>
<Data>fee3e436-41d1-11ea-80cc-00155d0a5a01</Data>
<Data>4100</Data>
<Data>
</Data>
</EventData>
</Event>

Log Name: Application
Source: Application Error
Date: 2020-01-28 7:27:57 AM
Event ID: 1000
Task Category: (100)
Level: Error
Keywords: Classic
User: N/A
Computer: GEODEV1
Description:
Faulting application name: Intergraph.GeoMedia.Web.SDI.Tools.CacheFillerManager.exe, version: 16.6.13.115, time stamp: 0x5d975d0c
Faulting module name: KERNELBASE.dll, version: 6.3.9600.18938, time stamp: 0x5a7dd8a7
Exception code: 0xe0434352
Fault offset: 0x00015ef8
Faulting process id: 0x260c
Faulting application start time: 0x01d5d5debcc9a84c
Faulting application path: C:\Program Files\Common Files\Hexagon\Services\Supporting Services\SDIProCacheFillerManagerService\Intergraph.GeoMedia.Web.SDI.Tools.CacheFillerManager.exe
Faulting module path: C:\Windows\SYSTEM32\KERNELBASE.dll
Report Id: fee3e436-41d1-11ea-80cc-00155d0a5a01
Faulting package full name:
Faulting package-relative application ID:
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Application Error" />
<EventID Qualifiers="0">1000</EventID>
<Level>2</Level>
<Task>100</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2020-01-28T13:27:57.000000000Z" />
<EventRecordID>27612</EventRecordID>
<Channel>Application</Channel>
<Computer>GEODEV1</Computer>
<Security />
</System>
<EventData>
<Data>Intergraph.GeoMedia.Web.SDI.Tools.CacheFillerManager.exe</Data>
<Data>16.6.13.115</Data>
<Data>5d975d0c</Data>
<Data>KERNELBASE.dll</Data>
<Data>6.3.9600.18938</Data>
<Data>5a7dd8a7</Data>
<Data>e0434352</Data>
<Data>00015ef8</Data>
<Data>260c</Data>
<Data>01d5d5debcc9a84c</Data>
<Data>C:\Program Files\Common Files\Hexagon\Services\Supporting Services\SDIProCacheFillerManagerService\Intergraph.GeoMedia.Web.SDI.Tools.CacheFillerManager.exe</Data>
<Data>C:\Windows\SYSTEM32\KERNELBASE.dll</Data>
<Data>fee3e436-41d1-11ea-80cc-00155d0a5a01</Data>
<Data>
</Data>
<Data>
</Data>
</EventData>
</Event>

Log Name: Application
Source: .NET Runtime
Date: 2020-01-28 7:27:57 AM
Event ID: 1026
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: GEODEV1
Description:
Application: Intergraph.GeoMedia.Web.SDI.Tools.CacheFillerManager.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Net.Sockets.SocketException
at System.Net.Sockets.Socket.DoConnect(System.Net.EndPoint, System.Net.SocketAddress)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean, System.Net.Sockets.Socket, System.Net.Sockets.Socket, System.Net.Sockets.Socket ByRef, System.Net.IPAddress ByRef, ConnectSocketState, System.IAsyncResult, System.Exception ByRef)

Exception Info: System.Net.WebException
at System.Net.HttpWebRequest.GetRequestStream(System.Net.TransportContext ByRef)
at System.Net.HttpWebRequest.GetRequestStream()
at System.ServiceModel.Channels.HttpOutput+WebRequestHttpOutput.GetOutputStream()

Exception Info: System.ServiceModel.EndpointNotFoundException

Server stack trace:
at System.ServiceModel.Security.IssuanceTokenProviderBase`1.DoNegotiation(TimeSpan timeout)
at System.ServiceModel.Security.SspiNegotiationTokenProvider.OnOpen(TimeSpan timeout)
at System.ServiceModel.Security.WrapperSecurityCommunicationObject.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.Security.CommunicationObjectSecurityTokenProvider.Open(TimeSpan timeout)
at System.ServiceModel.Security.SymmetricSecurityProtocol.OnOpen(TimeSpan timeout)
at System.ServiceModel.Security.WrapperSecurityCommunicationObject.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.Channels.SecurityChannelFactory`1.ClientSecurityChannel`1.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(System.Runtime.Remoting.Messaging.IMessage, System.Runtime.Remoting.Messaging.IMessage)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(System.Runtime.Remoting.Proxies.MessageData ByRef, Int32)
at System.ServiceModel.ICommunicationObject.Open(System.TimeSpan)
at System.ServiceModel.ClientBase`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].System.ServiceModel.ICommunicationObject.Open(System.TimeSpan)
at System.ServiceModel.ClientBase`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Open()
at Intergraph.GeoMedia.Web.SDI.Tools.CacheRegenerator.CacheRegenerator.get_CacheFillerServiceClient()
at Intergraph.GeoMedia.Web.SDI.Tools.CacheRegenerator.CacheRegenerator.GetTilesInQueueCount()
at Intergraph.GeoMedia.Web.SDI.Tools.CacheRegenerator.CacheRegenerator.AddTilesToCache(Intergraph.GeoMedia.Web.SDI.WMS.CacheUtils.Common.CacheTileInfo[], Boolean, Int32)
at Intergraph.GeoMedia.Web.SDI.Tools.CacheRegenerator.CacheRegenerator.GenerateCacheForOneLevel(System.String, Double, Double, Double, Double, Int32, Double)
at Intergraph.GeoMedia.Web.SDI.Tools.CacheRegenerator.CacheRegenerator.FillGaps()
at System.Threading.ThreadHelper.ThreadStart_Context(System.Object)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Threading.ThreadHelper.ThreadStart()


Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name=".NET Runtime" />
<EventID Qualifiers="0">1026</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2020-01-28T13:27:57.000000000Z" />
<EventRecordID>27611</EventRecordID>
<Channel>Application</Channel>
<Computer>GEODEV1</Computer>
<Security />
</System>
<EventData>
<Data>Application: Intergraph.GeoMedia.Web.SDI.Tools.CacheFillerManager.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Net.Sockets.SocketException
at System.Net.Sockets.Socket.DoConnect(System.Net.EndPoint, System.Net.SocketAddress)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean, System.Net.Sockets.Socket, System.Net.Sockets.Socket, System.Net.Sockets.Socket ByRef, System.Net.IPAddress ByRef, ConnectSocketState, System.IAsyncResult, System.Exception ByRef)

Exception Info: System.Net.WebException
at System.Net.HttpWebRequest.GetRequestStream(System.Net.TransportContext ByRef)
at System.Net.HttpWebRequest.GetRequestStream()
at System.ServiceModel.Channels.HttpOutput+WebRequestHttpOutput.GetOutputStream()

Exception Info: System.ServiceModel.EndpointNotFoundException

Server stack trace:
at System.ServiceModel.Security.IssuanceTokenProviderBase`1.DoNegotiation(TimeSpan timeout)
at System.ServiceModel.Security.SspiNegotiationTokenProvider.OnOpen(TimeSpan timeout)
at System.ServiceModel.Security.WrapperSecurityCommunicationObject.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.Security.CommunicationObjectSecurityTokenProvider.Open(TimeSpan timeout)
at System.ServiceModel.Security.SymmetricSecurityProtocol.OnOpen(TimeSpan timeout)
at System.ServiceModel.Security.WrapperSecurityCommunicationObject.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.Channels.SecurityChannelFactory`1.ClientSecurityChannel`1.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(System.Runtime.Remoting.Messaging.IMessage, System.Runtime.Remoting.Messaging.IMessage)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(System.Runtime.Remoting.Proxies.MessageData ByRef, Int32)
at System.ServiceModel.ICommunicationObject.Open(System.TimeSpan)
at System.ServiceModel.ClientBase`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].System.ServiceModel.ICommunicationObject.Open(System.TimeSpan)
at System.ServiceModel.ClientBase`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Open()
at Intergraph.GeoMedia.Web.SDI.Tools.CacheRegenerator.CacheRegenerator.get_CacheFillerServiceClient()
at Intergraph.GeoMedia.Web.SDI.Tools.CacheRegenerator.CacheRegenerator.GetTilesInQueueCount()
at Intergraph.GeoMedia.Web.SDI.Tools.CacheRegenerator.CacheRegenerator.AddTilesToCache(Intergraph.GeoMedia.Web.SDI.WMS.CacheUtils.Common.CacheTileInfo[], Boolean, Int32)
at Intergraph.GeoMedia.Web.SDI.Tools.CacheRegenerator.CacheRegenerator.GenerateCacheForOneLevel(System.String, Double, Double, Double, Double, Int32, Double)
at Intergraph.GeoMedia.Web.SDI.Tools.CacheRegenerator.CacheRegenerator.FillGaps()
at System.Threading.ThreadHelper.ThreadStart_Context(System.Object)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Threading.ThreadHelper.ThreadStart()

</Data>
</EventData>
</Event>

Log Name: Application
Source: Service1
Date: 2020-01-28 7:27:53 AM
Event ID: 0
Task Category: None
Level: Information
Keywords: Classic
User: N/A
Computer: GEODEV1
Description:
Service started successfully.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Service1" />
<EventID Qualifiers="0">0</EventID>
<Level>4</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2020-01-28T13:27:53.000000000Z" />
<EventRecordID>27610</EventRecordID>
<Channel>Application</Channel>
<Computer>GEODEV1</Computer>
<Security />
</System>
<EventData>
<Data>Service started successfully.</Data>
</EventData>
</Event>

Log Name: Application
Source: GeoMedia WebMap
Date: 2020-01-28 7:26:34 AM
Event ID: 1
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: GEODEV1
Description:
Time: Tue Jan 28 07:26:34 2020
Source: Map Server
Version: 16.6.0.27
Function AddLibraryConnection
Error: 0x0
Error Description: An item with the same name exists.
Log File: No log file generated
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="GeoMedia WebMap" />
<EventID Qualifiers="0">1</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2020-01-28T13:26:34.000000000Z" />
<EventRecordID>27609</EventRecordID>
<Channel>Application</Channel>
<Computer>GEODEV1</Computer>
<Security />
</System>
<EventData>
<Data>Time: Tue Jan 28 07:26:34 2020
Source: Map Server
Version: 16.6.0.27
Function AddLibraryConnection
Error: 0x0
Error Description: An item with the same name exists.
Log File: No log file generated</Data>
</EventData>
</Event>

 

 

Screenshot of this event viewer is attached with this reply. 

 

 

 

Highlighted
Technical Evangelist
Posts: 1,313
Registered: ‎09-11-2015

Re: Error in running CacheFiller service

[ Edited ]

There seems to be an issue in the WMS used for the tiles generation. Please enable CacheFillerService log to see what requests were attempted to the WMS and also, if possible, enable the WMS logging. If the WMS crashes on GetMap request, there may be a problem in the data.

 

https://hexagongeospatial.fluidtopics.net/reader/nnybR~tZxbDITXWj2GgNxQ/yJSVbrUBKxFJP0rgUlVH~A

Jan Neumann
Post Sales Engineer Web Applications
Hexagon Geospatial

Highlighted
Contributor
Posts: 39
Registered: ‎10-07-2019

Re: Error in running CacheFiller service

[ Edited ]

Hi Jan,

 

I have changed the layer for which I am creating wmts, and also noticed one mistake that I made. It was different EPSG codes in Webconfig file and CacheConfiguration file. I fixed and restarted the cache filler service. Now it is running for some time, but no file is being generated in the Cache folder. How can I debug or fix that. 

I also enabled loging in by WMS and WMTS services, but their log files are empty.

 

Thanks for your time and effort.

 

Muhammad Almas

Highlighted
Technical Evangelist
Posts: 1,313
Registered: ‎09-11-2015

Re: Error in running CacheFiller service

Hi Muhammad,

 

You can also enable logging of the CacheFillerService (again log4net section in its .config file, set to DEBUG), and see if you get any clue from the logs there.

 

Jan

Jan Neumann
Post Sales Engineer Web Applications
Hexagon Geospatial

Highlighted
Contributor
Posts: 39
Registered: ‎10-07-2019

Re: Error in running CacheFiller service

Hi Jan,

 

Thank you for your help. Tiles are now being created fine, but I have run into another issue. These tiles are neither being shown in Geospatial portal nor in Geomedia. The WMTS I created is at: 

http://204.83.222.229/test_core_wmts/service.svc/get?request=GetCapabilities&service=WMTS

 

I can see the tiles are there by url: 

http://204.83.222.229/test_core_wmts/service.svc/get?service=WMTS&request=GetTile&version=1.0.0&Laye...

 

I have used following cache configuration:

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<AdvancedRasterServices name="[name]" contactPerson="[contactPerson]" contactOrganization="[contactOrganization]">

<RasterService>
<Code>test_core_wmts</Code>
<Name>test_core_wmts</Name>
<DateStamp>20201202</DateStamp>
<MapType>PNG</MapType>
<MapSize>256</MapSize>
<JpegQuality>0</JpegQuality>
<VectorQuality>100</VectorQuality>
<CoordinateSystem geographic="true">EPSG:3857</CoordinateSystem>
<BoundingBox minx="-15488954.57" miny="5214761.84" maxx="-8058052.43" maxy="8903307.08"/>
<Levels>
<Level levelNumber="0" tileSize="7500000" />
<Level levelNumber="1" tileSize="3750000" />
<Level levelNumber="2" tileSize="1875000" />
<Level levelNumber="3" tileSize="937500" />
<Level levelNumber="4" tileSize="468750" />
<Level levelNumber="5" tileSize="234375" />
</Levels>
</RasterService>

</AdvancedRasterServices>

 

Can you please help in fixing this issue. I have spent quite a few days, but could not resolve it.

 

Thanks,

 

Muhammad Almas

Highlighted
Technical Evangelist
Posts: 392
Registered: ‎02-04-2016

Re: Error in running CacheFiller service

Hi Mohammad,

 

I looked up one of my sample cache config xml for your reference:

 

<RasterService>
<Code>MyFeature_3857</Code>
<Name>MyFeature_3857</Name>
<DateStamp>20191021</DateStamp>
<MapType>PNG</MapType>
<MapSize>256</MapSize>
<JpegQuality>0</JpegQuality>
<VectorQuality>100</VectorQuality>
<CoordinateSystem geographic="false">EPSG:3857</CoordinateSystem>
<BoundingBox minx="-1968215.25616208" miny="3796119.84160631" maxx="-1721266.89423091" maxy="3928513.4194747"/>
<Levels>
<Level levelNumber="0" tileSize="30000" />
<Level levelNumber="1" tileSize="15000" />
<Level levelNumber="2" tileSize="7500" />
<Level levelNumber="3" tileSize="3750" />
</Levels>
</RasterService>

 

+++

 

Please make a copy of your current files and start making adjustment one at a time, I would decrease the level number to a total of 3 or 2 levels so that every test/trial would test less time.

 

Hope this helps.

 

Regards,

 

Frank

 

 

Highlighted
Contributor
Posts: 39
Registered: ‎10-07-2019

Re: Error in running CacheFiller service

Hi Frank,

 

Thanks for identifying the mistake. I actually had changed geographic to false in this file:

C:\Program Files\Common Files\Hexagon\Services\Supporting Services\SDIProCacheFillerService\sharedConfiguration\CacheConfiguration.xml

 

but I forgot to change it in this file (as you pointed out):

C:\Program Files\Common Files\Hexagon\Services\Instances\test_core_wmts\SharedConfiguration\CacheConfiguration.xml

 

Cache is being created and is visible in Geospatial Portal now. The Config file I am using is:

 

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<AdvancedRasterServices name="[name]" contactPerson="[contactPerson]" contactOrganization="[contactOrganization]">

<RasterService>
<Code>test_core_wmts</Code>
<Name>test_core_wmts</Name>
<DateStamp>20201202</DateStamp>
<MapType>PNG</MapType>
<MapSize>256</MapSize>
<JpegQuality>0</JpegQuality>
<VectorQuality>100</VectorQuality>
<CoordinateSystem geographic="false">EPSG:3857</CoordinateSystem>
<BoundingBox minx="-12372154" miny="6158979" maxx="-11025665" maxy="8442551"/>
<Levels>
<Level levelNumber="0" tileSize="300000" />
<Level levelNumber="1" tileSize="150000" />
<Level levelNumber="2" tileSize="75000" />
<Level levelNumber="3" tileSize="37500" />
<Level levelNumber="4" tileSize="18750" />
<Level levelNumber="5" tileSize="9375" />
</Levels>
</RasterService>

</AdvancedRasterServices>

 

However, there is one minor issue left behind i.e. if I add a levels with tileSize '60000' and/or '120000' (so that tiles for whole province are created), then no tiles are shown at all for any scale. When I omitted '60000' and '120000' then all cached tiles are available and visible on the map. Any guess why this is happening ? and how it can be fixed.

 

Regards,

 

Muhammad Almas

Highlighted
Technical Evangelist
Posts: 392
Registered: ‎02-04-2016

Re: Error in running CacheFiller service

Hi Muhammad,

 

Glad I can help.

 

Could you show me the before/after of the <Levels> section ?

 

Have you tried creating just one level with tilesize = 60000 ?  Clear the tile cache folder, restart the tile service...

 

Thanks

 

Frank