Tutorial problems on a VM
I'm trying out GF by following the docs [1] and I found a few issue when running the tutorial in vFabric_GemFire_701_b40235/SampleCode/tutorial: The tutorial on...
View ArticleConnecting to a server using a locator with the native API
I have a program using the native c++ API, and I'm trying to connect it to a server in a different node. When I try this it fails with the message "GemFire Exception: Region::put: not connected to...
View ArticleCacheClosedException: The cache is closed
I've found this problem in my applications. The problem is that i found this exception when the application try to do a put in a Gemfire Region. I attache the exception. In the gemfire.log ican see...
View ArticleGet data from a one member of Partitioned Region from Client
HiI have a partitioned region, this region is across 3 members, is there a way to get data from this region but only from 1 member from Client, if so how?
View ArticleGemfire - SynchronizationCommitConflictException
Hi experts, I am getting SynchronizationCommitConflictException when more threads try to modify the same Region value. Likely there is a misconfiguration in the config files but I don't know what the...
View ArticleHow does GF determine number of threads for Function Execution.
Hi As per the subject, I'm interested in finding out how GF determines the number of threads to give over to Function Execution on a JVM. Also, is there a way to override this property? We're using GF...
View ArticleRegion.getEntry on server
Hi guys, I'm a little confused. I have a client/server topology with "proxy" regions on the client. As Region.getEntry(key) looks on local regions, it always returns null beacouse clients "proxy...
View ArticleJMX Monitoring
I am trying to monitor Gemfire JMX Cache MBean using JConsole. However, when I connect to the Gemfire JMX Agent through JConsole, I had to explicitly invoke the operation 'connectToSystem()' on the JMX...
View ArticleClient missed updates from cache - how do I debug?
We have several GemFire clients that maintain a local cache and register interest in all keys from a server region: <gfe:client-region id="myRegion" data-policy="NORMAL"cache-ref="myCache"...
View Articlegfsh start server for remote debug
HiI am trying to start a server so i can do remote debug of function, here is my command gfsh start server --name=myserver --dir=mydir --locators=localhost[41111] --server-port=41122...
View ArticleCan HTTP session and Spring app within single tcServer instance connect to...
Within a tcServer JVM, we are using the GemFire HTTP session module and also have our own Spring application that uses GemFire. Is it valid for the session module to connect to one GemFire instance...
View ArticleGemfire Query service , which is more optimized or faster
HiIn GemFire which query type is more optimized or faster Object[] params = new Object[1]; params[0] =mykey.getData; CacheFactory.getAnyInstance().getQueryService().newQuery("select * from /myregion...
View ArticleStoring JSON docs as PdxInstances with date support
We are creating an application that will store arbitrary JSON docs within GemFire as PdxInstances. Within these JSON documents, we want support for date fields that we'd also like to be recognized...
View ArticleQuestion about CacheTransactionManager
I have a dude with the CacheTransactionManager I have this code: CacheTransactionManager txMgr = CacheFactory.getAnyInstance().getCacheTransactionManager();try{ txMgr.begin();...
View Articlecolocated proxy regions issue
Hello All, We have 2 groups of cache servers and 2 proxy regions of group2 on group1 which should be colocated. Below is the configuration from group1 cache.xml<region name="regionA">...
View ArticleUpdate Multiple Gemfire instances from Web application
HiI have an requirement where we want to update region in multiple gemfire instances from Web application (only 2 fields in a region) But there is a limitation where we can connect to only 1 gemfire...
View Article"Unable to contact a Locator service" in Tutorial
I am evaluating GemFire and have performed the installation on three nodes. So far everything has gone smoothly. When trying to run the tutorial/samples, (Running the Tutorial) I am told to edit the...
View ArticleGemfire session management for JSF session scoped beans?
Gemfire session management or other similar session management tools explicitly need a "setAttribute" to be called after any modifications to the object in session. We could probably handle that in...
View ArticleLocator Connections
Hi, When clients connect to locator, is this client connection to locator open all the time or after discovering the server address/port, the connection is closed? My question is because in my system,...
View Articlecall function on member howto
HiI have 2 pools defined in clientCache.xml file, I have total 4 gemfire members or jvm up and running, i want to execute function on each member (not on region or pool) i am able to execute function...
View Article