Quantcast
Channel: VMware Communities : All Content - vFabric GemFire [ARCHIVED]
Viewing all articles
Browse latest Browse all 990

Error While running FunctionExecution in Cliet/Server topology

$
0
0

Hi,

 

I am getting below given error while running FunctionExecution using Client/Server topolgy

 

 

[warning 2013/07/22 04:19:46.049 MDT <main> tid=0x1] Pool unexpected IOException connection=Pooled Connection to osvvipcj036.echostar.com:40404: Connection[DESTROYED]). Server unreachable: could not connect after 1 attempts

Exception in thread "main" com.gemstone.gemfire.cache.execute.FunctionException: com.gemstone.gemfire.cache.client.ServerConnectivityException: Pool unexpected IOException connection=Pooled Connection to osvvipcj036.echostar.com:40404: Connection[DESTROYED]). Server unreachable: could not connect after 1 attempts

at com.gemstone.gemfire.internal.cache.execute.ServerRegionFunctionExecutor.executeOnServer(ServerRegionFunctionExecutor.java:195)

at com.gemstone.gemfire.internal.cache.execute.ServerRegionFunctionExecutor.executeFunction(ServerRegionFunctionExecutor.java:132)

at com.gemstone.gemfire.internal.cache.execute.AbstractExecution.execute(AbstractExecution.java:407)

at com.gemstone.gemfire.tutorial.FunctionExecutionPeer2.fetchValuesUsingFunctionExectuion(FunctionExecutionPeer2.java:78)

at com.gemstone.gemfire.tutorial.FunctionExecutionPeer2.main(FunctionExecutionPeer2.java:49)

Caused by: com.gemstone.gemfire.cache.client.ServerConnectivityException: Pool unexpected IOException connection=Pooled Connection to osvvipcj036.echostar.com:40404: Connection[DESTROYED]). Server unreachable: could not connect after 1 attempts

at com.gemstone.gemfire.cache.client.internal.OpExecutorImpl.handleException(OpExecutorImpl.java:812)

at com.gemstone.gemfire.cache.client.internal.OpExecutorImpl.handleException(OpExecutorImpl.java:603)

at com.gemstone.gemfire.cache.client.internal.OpExecutorImpl.execute(OpExecutorImpl.java:170)

at com.gemstone.gemfire.cache.client.internal.PoolImpl.execute(PoolImpl.java:652)

at com.gemstone.gemfire.cache.client.internal.ExecuteRegionFunctionOp.execute(ExecuteRegionFunctionOp.java:83)

at com.gemstone.gemfire.cache.client.internal.ServerRegionProxy.executeFunction(ServerRegionProxy.java:704)

at com.gemstone.gemfire.internal.cache.execute.ServerRegionFunctionExecutor.executeOnServer(ServerRegionFunctionExecutor.java:184)

..

server xml

-----------------

<cache>

<cache-server port="40404" maximum-time-between-pings="20000"/>

<region name="gemfireRegion">

  <region-attributes refid="PARTITION">

   <cache-loader>

    <class-name>com.dishnetwork.dishlayer.epcdal.dataload.SimpleCacheLoader</class-name>

   </cache-loader>

   <cache-listener>

    <class-name>com.dishnetwork.dishlayer.epcdal.dataload.SimpleCacheListener</class-name>

   </cache-listener>

  </region-attributes>

</region>

</cache>

 

 

 

Client xml

----------------

<client-cache>

<pool name="client" subscription-enabled="true" max-connections="1000" min-connections="10" server-group="EPCDomain" pr-single-hop-enabled="true">

<server host="10.9.178.216" port="40404"/>

</pool>

<region name="gemfireRegion">

<region-attributes refid="CACHING_PROXY" statistics-enabled="true" pool-name="client">

<subscription-attributes interest-policy="all"/>

<cache-listener>

   <class-name>com.dishnetwork.dishlayer.epcdal.dataload.SimpleCacheListener</class-name>

</cache-listener>

</region-attributes>

</region>

</client-cache>

 

 

Can Anyone help please

 

Thanks,

 

Aqamah


Viewing all articles
Browse latest Browse all 990

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>