Windows Server appfabric exception ErrorCode<ERRCA0016>:SubStatus<ES0001>
2012-05-16 14:57
501 查看
Appfabric exception:
ErrorCode<ERRCA0016>:SubStatus<ES0001>:The connection was terminated, possibly due to server or network problems or serialized Object size is greater than MaxBufferSize on server. Result of the request is unknown.
解决方法:
Case 1: 在缓存大对象时导致此异常,需要在客户端和服务端设置maxBufferSize
客户端
<dataCacheClient requestTimeout="15000" channelOpenTimeout="3000" maxConnectionsToServer="1">
<localCache isEnabled="true" sync="TimeoutBased" ttlValue="300" objectCount="10000"/>
<clientNotification pollInterval="300" maxQueueLength="10000"/>
<hosts>
<host name="CacheServer1" cachePort="22233"/>
<host name="CacheServer2" cachePort="22233"/>
</hosts>
<securityProperties mode="Transport" protectionLevel="EncryptAndSign" />
<transportProperties maxBufferPoolSize="268435456" maxBufferSize="8388608" />
</dataCacheClient>
服务端:
<advancedProperties>
<transportProperties maxBufferPoolSize="268435456" maxBufferSize="8388608" />
</advancedProperties>
Case 2: 在根本就没存取缓存对象时,就抛出该异常
是因为客户端无法解析appfabric服务的机器名,尽管在config里配置的是appfabric server的IP地址。
解决方式是在C:\WINDOWS\system32\drivers\etc\hosts里加上appfabric机器名和IP的映射。
192.168.0.6 ServerName
ErrorCode<ERRCA0016>:SubStatus<ES0001>:The connection was terminated, possibly due to server or network problems or serialized Object size is greater than MaxBufferSize on server. Result of the request is unknown.
解决方法:
Case 1: 在缓存大对象时导致此异常,需要在客户端和服务端设置maxBufferSize
客户端
<dataCacheClient requestTimeout="15000" channelOpenTimeout="3000" maxConnectionsToServer="1">
<localCache isEnabled="true" sync="TimeoutBased" ttlValue="300" objectCount="10000"/>
<clientNotification pollInterval="300" maxQueueLength="10000"/>
<hosts>
<host name="CacheServer1" cachePort="22233"/>
<host name="CacheServer2" cachePort="22233"/>
</hosts>
<securityProperties mode="Transport" protectionLevel="EncryptAndSign" />
<transportProperties maxBufferPoolSize="268435456" maxBufferSize="8388608" />
</dataCacheClient>
服务端:
<advancedProperties>
<transportProperties maxBufferPoolSize="268435456" maxBufferSize="8388608" />
</advancedProperties>
Case 2: 在根本就没存取缓存对象时,就抛出该异常
是因为客户端无法解析appfabric服务的机器名,尽管在config里配置的是appfabric server的IP地址。
解决方式是在C:\WINDOWS\system32\drivers\etc\hosts里加上appfabric机器名和IP的映射。
192.168.0.6 ServerName
相关文章推荐
- Microsoft.ApplicationServer.Caching.DataCacheException 之 ErrorCode<ERRCA0017>:SubStatus<ES0006>
- Error: ErrorCode<ERRPS008>:SubStatus<ES0001>:Error: Could not read installation path from registry.
- GWT com.google.gwt.user.client.rpc.StatusCodeException: 404 <html>
- Error:java.net.BindException: Address already in use: JVM_Bind <null>:8080
- android.view.InflateException: Binary XML file line#2: Error inflating class<unknown>
- android.view.InflateException: Binary XML file line #2: Error inflating class <unknown> bug解决
- HTTP 错误 500.19 - Internal Server Error | <compilation targetFramework="4.0">
- <错误处理> Error:Execution failed for task ':app:dexDebug'. > com.android.ide.common.process.ProcessExc
- Error:Execution failed for task ':app:dexDebug'. > com.android.ide.common.process.ProcessException:
- 在xml文件里使用<fragment>报android.view.InflateException: Error inflating class fragment
- Android错误之android.view.InflateException: Binary XML file line #2: Error inflating class <unknown>
- SA Concurrent -schedule details & <STATUS_CODE & PHASE_CODE >Columns
- Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 500 解决办法
- Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 500
- Error:Execution failed for task ':app:dexDebug'. > com.android.ide.common.process.ProcessException:
- velocity.exception.ParseErrorException: Encountered "<EOF>"
- <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: java.lang.NullPointerException
- Error:Execution failed for task ':app:dexDebug'.> com.android.ide.common.process.ProcessException: o
- Error:Execution failed for task ':app:dexDebug'. > com.android.ide.common.process.ProcessException
- Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 500 解决办法