Hi Anthony, Versions:
Apache Geode: 1.1.1
Spring Boot: 1.5.2.RELEASE
Spring Data Geode: 1.0.0.INCUBATING-RELEASE [Within Maven POM Apache Geode jars
have been overridden using version 1.1.1 – Attached pom.xml]
[Using config level logging in geode client logs]
Class path: /dev/lib/event-publisher.jar [It’s a fat UBER jar using spring
boot maven plugin]
Library Path:
/usr/java/packages/lib/amd64
/usr/lib64
/lib64
/lib
/usr/lib
Thanks & Regards,
Dharam
From: Anthony Baker [mailto:[email protected]]
Sent: Wednesday, September 06, 2017 7:51 PM
To: [email protected]
Subject: Re: NoClassDefFoundError on client shutdown
What is your classpath? What versions of Spring Boot and Geode are you using
on the client and server?
Anthony
On Sep 5, 2017, at 10:35 PM, Thacker, Dharam
<[email protected]<mailto:[email protected]>> wrote:
Hi Team,
I am observing few “NoClassDefFoundError” errors on unexpected termination of
client under medium load.
Could you help me to verify? Looks like a bug where it’s not able to find
expected classes in available runtime.
[error 2017/09/05 06:29:57.677 EDT <poolTimer-DEFAULT-17374> tid=0xa9830]
Unexpected error in pool task
<org.apache.geode.cache.client.internal.LiveServerPinger$PingTask@5ba44553<mailto:org.apache.geode.cache.client.internal.LiveServerPinger$PingTask@5ba44553>>
java.lang.NoClassDefFoundError:
org/apache/geode/internal/cache/tier/BatchException
at
org.apache.geode.cache.client.internal.OpExecutorImpl.handleException(OpExecutorImpl.java:669)
at
org.apache.geode.cache.client.internal.OpExecutorImpl.handleException(OpExecutorImpl.java:623)
at
org.apache.geode.cache.client.internal.OpExecutorImpl.executeOnServer(OpExecutorImpl.java:385)
at
org.apache.geode.cache.client.internal.OpExecutorImpl.executeOn(OpExecutorImpl.java:341)
at
org.apache.geode.cache.client.internal.PoolImpl.executeOn(PoolImpl.java:777)
at org.apache.geode.cache.client.internal.PingOp.execute(PingOp.java:36)
at
org.apache.geode.cache.client.internal.LiveServerPinger$PingTask.run2(LiveServerPinger.java:90)
at
org.apache.geode.cache.client.internal.PoolImpl$PoolTask.run(PoolImpl.java:1291)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at
org.apache.geode.internal.ScheduledThreadPoolExecutorWithKeepAlive$DelegatingScheduledFuture.run(ScheduledThreadPoolExecutorWithKeepAlive.java:257)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
[info 2017/09/05 06:30:06.327 EDT <Distributed system shutdown hook> tid=0x21]
VM is exiting - shutting down distributed system
[info 2017/09/05 06:30:06.330 EDT <Distributed system shutdown hook> tid=0x21]
GemFireCache[id = 260620222; isClosing = true; isShutDownAll = false; created =
Wed Aug 16 07:22:16 EDT 2017; server = false; copyOnRead = false; lockLease =
120; lockTimeout = 60]: Now closing.
[warning 2017/09/05 06:30:06.333 EDT <Distributed system shutdown hook>
tid=0x21] Exception trying to close cache
java.lang.NoClassDefFoundError:
org/apache/geode/internal/cache/partitioned/RegionAdvisor
at
org.apache.geode.internal.cache.GemFireCacheImpl.close(GemFireCacheImpl.java:2177)
at
org.apache.geode.distributed.internal.InternalDistributedSystem.disconnect(InternalDistributedSystem.java:1314)
at
org.apache.geode.distributed.internal.InternalDistributedSystem$6.run(InternalDistributedSystem.java:2283)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ClassNotFoundException:
org.apache.geode.internal.cache.partitioned.RegionAdvisor
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at
org.springframework.boot.loader.LaunchedURLClassLoader.loadClass(LaunchedURLClassLoader.java:94)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 4 more
Thanks,
Dharam
This message is confidential and subject to terms at:
http://www.jpmorgan.com/emaildisclaimer<http://www.jpmorgan.com/emaildisclaimer>
including on confidentiality, legal privilege, viruses and monitoring of
electronic messages. If you are not the intended recipient, please delete this
message and notify the sender immediately. Any unauthorized use is strictly
prohibited.
This message is confidential and subject to terms at:
http://www.jpmorgan.com/emaildisclaimer including on confidentiality, legal
privilege, viruses and monitoring of electronic messages. If you are not the
intended recipient, please delete this message and notify the sender
immediately. Any unauthorized use is strictly prohibited.
pom.xml
Description: pom.xml
