Try 3?
On 12/3/19 10:30 AM, Udo Kohlmeyer wrote:
Reporting this, since it seems it did not make it through last night.
On 12/3/19 12:04 AM, Udo Kohlmeyer wrote:
Hi there Rajesh,
Thank you for raising this. I have seen this before and I think it
has been tracked to it actually being a toString() issue when logging
the exception and not that it is not finding the region.
Just for interest sake, why are you using Geode 1.1.0? Did you know
Geode 1.10 is already out and we are in the process of cutting 1.11.
In addition, can you confirm that you have created a region of the
same name on the server side?
If not, please create it either in Java code (pretty much the same as
what you are doing with the client region) OR using GFSH, connected
to the cluster to create it.
If you'd like, have a look at Spring Boot for Geode
<https://github.com/spring-projects/spring-boot-data-geode>. I'd
recommend it.. you won't be disappointed. It will simplify the way
you code and interact with the Geode system.
--Udo
On 12/2/19 8:04 PM, Rajesh Kumar wrote:
we are using apache geode 1.1.0 version. sometimes randomly while
trying to get details from a region we are getting exceptions. On
looking at the logs it seems the region is appended to itself and a
region not found exception is thrown.
Caused by: org.apache.geode.cache.RegionDestroyedException: Server
connection from
[identity(10.43.164.241(10772:loner):62563:aebd35c5,connection=1;
port=62563]: Region named /AuthIdRegion/AuthIdRegion was not found
during get request
at
org.apache.geode.internal.cache.tier.sockets.BaseCommand.writeRegionDestroyedEx(BaseCommand.java:633)
at
org.apache.geode.internal.cache.tier.sockets.command.Get70.cmdExecute(Get70.java:126)
at
org.apache.geode.internal.cache.tier.sockets.BaseCommand.execute(BaseCommand.java:141)
at
org.apache.geode.internal.cache.tier.sockets.ServerConnection.doNormalMsg(ServerConnection.java:783)
at
org.apache.geode.internal.cache.tier.sockets.ServerConnection.doOneMessage(ServerConnection.java:914)
at
org.apache.geode.internal.cache.tier.sockets.ServerConnection.run(ServerConnection.java:1171)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at
org.apache.geode.internal.cache.tier.sockets.AcceptorImpl$1$1.run(AcceptorImpl.java:519)
... 1 more
The name of my region is /AuthIdRegion but it tries to query using
"/AuthIdRegion/AuthIdRegion"
we use client region factory to create a region instance
"authIdCacheRegionInstance = GeodeCache.getCacheInstance(
).createClientRegionFactory(ClientRegionShortcut.PROXY).create("AuthIdRegion");"
It will be really helpful if someone can point what exactly is the
issue.
Thanks,
Rajesh