Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
Currently, Eclipse Jetty is a "compile-time" dependency of geode-core:
[INFO] | | | +- org.apache.geode:geode-core:jar:1.9.0:compile [INFO] | | | | +- com.github.stephenc.findbugs:findbugs-annotations:jar:1.3.9-1:compile [INFO] | | | | +- org.jgroups:jgroups:jar:3.6.14.Final:compile [INFO] | | | | +- commons-validator:commons-validator:jar:1.6:compile [INFO] | | | | | +- commons-beanutils:commons-beanutils:jar:1.9.2:compile [INFO] | | | | | +- commons-logging:commons-logging:jar:1.2:compile [INFO] | | | | | \- commons-collections:commons-collections:jar:3.2.2:compile [INFO] | | | | +- commons-digester:commons-digester:jar:2.1:compile [INFO] | | | | +- com.sun.activation:javax.activation:jar:1.2.0:compile [INFO] | | | | +- javax.xml.bind:jaxb-api:jar:2.3.1:compile [INFO] | | | | | \- javax.activation:javax.activation-api:jar:1.2.0:compile [INFO] | | | | +- com.sun.xml.bind:jaxb-impl:jar:2.3.1:compile [INFO] | | | | +- com.sun.istack:istack-commons-runtime:jar:2.2:compile [INFO] | | | | +- org.apache.commons:commons-lang3:jar:3.9:compile [INFO] | | | | +- io.micrometer:micrometer-core:jar:1.2.0:compile [INFO] | | | | | +- org.hdrhistogram:HdrHistogram:jar:2.1.11:compile [INFO] | | | | | \- org.latencyutils:LatencyUtils:jar:2.0.3:compile [INFO] | | | | +- it.unimi.dsi:fastutil:jar:8.2.2:compile [INFO] | | | | +- javax.resource:javax.resource-api:jar:1.7.1:compile [INFO] | | | | | \- javax.transaction:javax.transaction-api:jar:1.3:compile [INFO] | | | | +- net.java.dev.jna:jna:jar:4.5.2:compile [INFO] | | | | +- net.sf.jopt-simple:jopt-simple:jar:5.0.4:compile [INFO] | | | | +- org.eclipse.jetty:jetty-server:jar:9.4.19.v20190610:compile [INFO] | | | | | +- javax.servlet:javax.servlet-api:jar:4.0.1:compile [INFO] | | | | | +- org.eclipse.jetty:jetty-http:jar:9.4.19.v20190610:compile [INFO] | | | | | | \- org.eclipse.jetty:jetty-util:jar:9.4.19.v20190610:compile [INFO] | | | | | \- org.eclipse.jetty:jetty-io:jar:9.4.19.v20190610:compile [INFO] | | | | +- org.apache.shiro:shiro-core:jar:1.4.0:compile [INFO] | | | | | +- org.apache.shiro:shiro-lang:jar:1.4.0:compile [INFO] | | | | | +- org.apache.shiro:shiro-cache:jar:1.4.0:compile [INFO] | | | | | +- org.apache.shiro:shiro-crypto-hash:jar:1.4.0:compile [INFO] | | | | | | \- org.apache.shiro:shiro-crypto-core:jar:1.4.0:compile [INFO] | | | | | +- org.apache.shiro:shiro-crypto-cipher:jar:1.4.0:compile [INFO] | | | | | +- org.apache.shiro:shiro-config-core:jar:1.4.0:compile [INFO] | | | | | +- org.apache.shiro:shiro-config-ogdl:jar:1.4.0:compile [INFO] | | | | | \- org.apache.shiro:shiro-event:jar:1.4.0:compile [INFO] | | | | +- io.github.classgraph:classgraph:jar:4.0.6:compile [INFO] | | | | +- com.healthmarketscience.rmiio:rmiio:jar:2.1.2:compile [INFO] | | | | +- org.apache.geode:geode-common:jar:1.9.0:compile
If Jetty is not on the classpath of an Apache Geode (client or peer) cache application, then Geode will throw an Exception on shutdown:
2019-08-21 00:44:32.819 WARN 63204 --- [m shutdown hook] o.a.g.d.i.InternalDistributedSystem : Exception trying to close cache java.lang.BootstrapMethodError: java.lang.IllegalAccessError: no such method: org.apache.geode.internal.cache.HttpService.stop()void/invokeVirtual at org.apache.geode.internal.cache.GemFireCacheImpl.close(GemFireCacheImpl.java:2183) ~[geode-core-1.9.0.jar:na] at org.apache.geode.distributed.internal.InternalDistributedSystem.disconnect(InternalDistributedSystem.java:1627) [geode-core-1.9.0.jar:na] at org.apache.geode.distributed.internal.InternalDistributedSystem.lambda$static$4(InternalDistributedSystem.java:2278) [geode-core-1.9.0.jar:na] at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_192] Caused by: java.lang.IllegalAccessError: no such method: org.apache.geode.internal.cache.HttpService.stop()void/invokeVirtual at java.lang.invoke.MethodHandleNatives.linkMethodHandleConstant(MethodHandleNatives.java:483) ~[na:1.8.0_192] ... 4 common frames omitted Caused by: java.lang.NoClassDefFoundError: org/eclipse/jetty/server/Handler at java.lang.invoke.MethodHandleNatives.resolve(Native Method) ~[na:1.8.0_192] at java.lang.invoke.MemberName$Factory.resolve(MemberName.java:975) ~[na:1.8.0_192] at java.lang.invoke.MemberName$Factory.resolveOrFail(MemberName.java:1000) ~[na:1.8.0_192] at java.lang.invoke.MethodHandles$Lookup.resolveOrFail(MethodHandles.java:1394) ~[na:1.8.0_192] at java.lang.invoke.MethodHandles$Lookup.linkMethodHandleConstant(MethodHandles.java:1750) ~[na:1.8.0_192] at java.lang.invoke.MethodHandleNatives.linkMethodHandleConstant(MethodHandleNatives.java:477) ~[na:1.8.0_192] ... 4 common frames omitted Caused by: java.lang.ClassNotFoundException: org.eclipse.jetty.server.Handler at java.net.URLClassLoader.findClass(URLClassLoader.java:382) ~[na:1.8.0_192] at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[na:1.8.0_192] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349) ~[na:1.8.0_192] at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[na:1.8.0_192] ... 10 common frames omitted
Ironically, Jetty has NO significance on the client, in a ClientCache application.
Even when the application embeds a peer Cache, the server still might not require Jetty.
Jetty is only used to enable the embedded HTTP service in a GemFire server-side node (e.g. Locator/Manager or Server).
In the Manager, the embedded HTTP service implemented with Jetty is used to host the Management (Admin) REST API and Pulse.
In a Server, the embedded HTTP service implemented with Jetty is used to host the Developer REST API.
Jetty should only be required when a server-side node (i.e. Locator/Manager or Server) is hosting the Developer/Management REST API or Pulse.
Please consider this change!
Attachments
Attachments
- apache-geode-app.zip
- 13 kB
- John Blum
Issue Links
Activity
The following output of the Spring Boot, Apache Geode ClientCache application is as follows:
/Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/bin/java "-javaagent:/Applications/IntelliJ IDEA 19 CE.app/Contents/lib/idea_rt.jar=64272:/Applications/IntelliJ IDEA 19 CE.app/Contents/bin" -Dfile.encoding=UTF-8 -classpath /Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/lib/charsets.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/lib/deploy.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/lib/ext/cldrdata.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/lib/ext/dnsns.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/lib/ext/jaccess.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/lib/ext/jfxrt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/lib/ext/localedata.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/lib/ext/nashorn.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/lib/ext/sunec.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/lib/ext/sunjce_provider.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/lib/ext/sunpkcs11.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/lib/ext/tools.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/lib/ext/zipfs.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/lib/javaws.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/lib/jce.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/lib/jfr.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/lib/jfxswt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/lib/jsse.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/lib/management-agent.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/lib/plugin.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/lib/resources.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/lib/rt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/lib/ant-javafx.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/lib/dt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/lib/javafx-mx.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/lib/jconsole.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/lib/packager.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/lib/sa-jdi.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/lib/tools.jar:/Users/jblum/pivdev/tmp/spring-geode-app/target/classes:/Users/jblum/.m2/repository/org/springframework/geode/spring-geode-starter/1.2.0.BUILD-SNAPSHOT/spring-geode-starter-1.2.0.BUILD-20190820.224451-3.jar:/Users/jblum/.m2/repository/org/springframework/boot/spring-boot-starter/2.2.0.M5/spring-boot-starter-2.2.0.M5.jar:/Users/jblum/.m2/repository/org/springframework/boot/spring-boot/2.2.0.M5/spring-boot-2.2.0.M5.jar:/Users/jblum/.m2/repository/org/springframework/spring-context/5.2.0.RC1/spring-context-5.2.0.RC1.jar:/Users/jblum/.m2/repository/org/springframework/spring-aop/5.2.0.RC1/spring-aop-5.2.0.RC1.jar:/Users/jblum/.m2/repository/org/springframework/spring-expression/5.2.0.RC1/spring-expression-5.2.0.RC1.jar:/Users/jblum/.m2/repository/org/springframework/boot/spring-boot-autoconfigure/2.2.0.M5/spring-boot-autoconfigure-2.2.0.M5.jar:/Users/jblum/.m2/repository/org/springframework/boot/spring-boot-starter-logging/2.2.0.M5/spring-boot-starter-logging-2.2.0.M5.jar:/Users/jblum/.m2/repository/ch/qos/logback/logback-classic/1.2.3/logback-classic-1.2.3.jar:/Users/jblum/.m2/repository/ch/qos/logback/logback-core/1.2.3/logback-core-1.2.3.jar:/Users/jblum/.m2/repository/org/apache/logging/log4j/log4j-to-slf4j/2.12.0/log4j-to-slf4j-2.12.0.jar:/Users/jblum/.m2/repository/org/apache/logging/log4j/log4j-api/2.12.0/log4j-api-2.12.0.jar:/Users/jblum/.m2/repository/org/slf4j/jul-to-slf4j/1.7.26/jul-to-slf4j-1.7.26.jar:/Users/jblum/.m2/repository/jakarta/annotation/jakarta.annotation-api/1.3.4/jakarta.annotation-api-1.3.4.jar:/Users/jblum/.m2/repository/org/yaml/snakeyaml/1.24/snakeyaml-1.24.jar:/Users/jblum/.m2/repository/org/springframework/geode/spring-geode/1.2.0.BUILD-SNAPSHOT/spring-geode-1.2.0.BUILD-20190820.224451-3.jar:/Users/jblum/.m2/repository/org/springframework/data/spring-data-geode/2.2.0.RC2/spring-data-geode-2.2.0.RC2.jar:/Users/jblum/.m2/repository/org/springframework/spring-tx/5.2.0.RC1/spring-tx-5.2.0.RC1.jar:/Users/jblum/.m2/repository/org/springframework/data/spring-data-commons/2.2.0.RC2/spring-data-commons-2.2.0.RC2.jar:/Users/jblum/.m2/repository/org/apache/geode/geode-core/1.9.0/geode-core-1.9.0.jar:/Users/jblum/.m2/repository/com/github/stephenc/findbugs/findbugs-annotations/1.3.9-1/findbugs-annotations-1.3.9-1.jar:/Users/jblum/.m2/repository/org/jgroups/jgroups/3.6.14.Final/jgroups-3.6.14.Final.jar:/Users/jblum/.m2/repository/commons-validator/commons-validator/1.6/commons-validator-1.6.jar:/Users/jblum/.m2/repository/commons-beanutils/commons-beanutils/1.9.2/commons-beanutils-1.9.2.jar:/Users/jblum/.m2/repository/commons-logging/commons-logging/1.2/commons-logging-1.2.jar:/Users/jblum/.m2/repository/commons-collections/commons-collections/3.2.2/commons-collections-3.2.2.jar:/Users/jblum/.m2/repository/commons-digester/commons-digester/2.1/commons-digester-2.1.jar:/Users/jblum/.m2/repository/com/sun/activation/javax.activation/1.2.0/javax.activation-1.2.0.jar:/Users/jblum/.m2/repository/javax/xml/bind/jaxb-api/2.3.1/jaxb-api-2.3.1.jar:/Users/jblum/.m2/repository/javax/activation/javax.activation-api/1.2.0/javax.activation-api-1.2.0.jar:/Users/jblum/.m2/repository/com/sun/xml/bind/jaxb-impl/2.3.1/jaxb-impl-2.3.1.jar:/Users/jblum/.m2/repository/com/sun/istack/istack-commons-runtime/2.2/istack-commons-runtime-2.2.jar:/Users/jblum/.m2/repository/org/apache/commons/commons-lang3/3.9/commons-lang3-3.9.jar:/Users/jblum/.m2/repository/io/micrometer/micrometer-core/1.2.0/micrometer-core-1.2.0.jar:/Users/jblum/.m2/repository/org/hdrhistogram/HdrHistogram/2.1.11/HdrHistogram-2.1.11.jar:/Users/jblum/.m2/repository/org/latencyutils/LatencyUtils/2.0.3/LatencyUtils-2.0.3.jar:/Users/jblum/.m2/repository/it/unimi/dsi/fastutil/8.2.2/fastutil-8.2.2.jar:/Users/jblum/.m2/repository/javax/resource/javax.resource-api/1.7.1/javax.resource-api-1.7.1.jar:/Users/jblum/.m2/repository/javax/transaction/javax.transaction-api/1.3/javax.transaction-api-1.3.jar:/Users/jblum/.m2/repository/net/java/dev/jna/jna/4.5.2/jna-4.5.2.jar:/Users/jblum/.m2/repository/net/sf/jopt-simple/jopt-simple/5.0.4/jopt-simple-5.0.4.jar:/Users/jblum/.m2/repository/org/apache/shiro/shiro-core/1.4.0/shiro-core-1.4.0.jar:/Users/jblum/.m2/repository/org/apache/shiro/shiro-lang/1.4.0/shiro-lang-1.4.0.jar:/Users/jblum/.m2/repository/org/apache/shiro/shiro-cache/1.4.0/shiro-cache-1.4.0.jar:/Users/jblum/.m2/repository/org/apache/shiro/shiro-crypto-hash/1.4.0/shiro-crypto-hash-1.4.0.jar:/Users/jblum/.m2/repository/org/apache/shiro/shiro-crypto-core/1.4.0/shiro-crypto-core-1.4.0.jar:/Users/jblum/.m2/repository/org/apache/shiro/shiro-crypto-cipher/1.4.0/shiro-crypto-cipher-1.4.0.jar:/Users/jblum/.m2/repository/org/apache/shiro/shiro-config-core/1.4.0/shiro-config-core-1.4.0.jar:/Users/jblum/.m2/repository/org/apache/shiro/shiro-config-ogdl/1.4.0/shiro-config-ogdl-1.4.0.jar:/Users/jblum/.m2/repository/org/apache/shiro/shiro-event/1.4.0/shiro-event-1.4.0.jar:/Users/jblum/.m2/repository/io/github/classgraph/classgraph/4.0.6/classgraph-4.0.6.jar:/Users/jblum/.m2/repository/com/healthmarketscience/rmiio/rmiio/2.1.2/rmiio-2.1.2.jar:/Users/jblum/.m2/repository/org/apache/geode/geode-common/1.9.0/geode-common-1.9.0.jar:/Users/jblum/.m2/repository/org/apache/geode/geode-management/1.9.0/geode-management-1.9.0.jar:/Users/jblum/.m2/repository/org/apache/httpcomponents/httpclient/4.5.9/httpclient-4.5.9.jar:/Users/jblum/.m2/repository/org/apache/httpcomponents/httpcore/4.4.11/httpcore-4.4.11.jar:/Users/jblum/.m2/repository/org/apache/geode/geode-cq/1.9.0/geode-cq-1.9.0.jar:/Users/jblum/.m2/repository/org/apache/geode/geode-lucene/1.9.0/geode-lucene-1.9.0.jar:/Users/jblum/.m2/repository/org/apache/lucene/lucene-core/6.6.2/lucene-core-6.6.2.jar:/Users/jblum/.m2/repository/mx4j/mx4j/3.0.2/mx4j-3.0.2.jar:/Users/jblum/.m2/repository/org/apache/lucene/lucene-analyzers-common/6.6.2/lucene-analyzers-common-6.6.2.jar:/Users/jblum/.m2/repository/org/apache/lucene/lucene-queryparser/6.6.2/lucene-queryparser-6.6.2.jar:/Users/jblum/.m2/repository/org/apache/lucene/lucene-queries/6.6.2/lucene-queries-6.6.2.jar:/Users/jblum/.m2/repository/org/apache/lucene/lucene-analyzers-phonetic/6.6.2/lucene-analyzers-phonetic-6.6.2.jar:/Users/jblum/.m2/repository/commons-codec/commons-codec/1.13/commons-codec-1.13.jar:/Users/jblum/.m2/repository/org/apache/geode/geode-wan/1.9.0/geode-wan-1.9.0.jar:/Users/jblum/.m2/repository/antlr/antlr/2.7.7/antlr-2.7.7.jar:/Users/jblum/.m2/repository/org/apache/shiro/shiro-spring/1.3.2/shiro-spring-1.3.2.jar:/Users/jblum/.m2/repository/org/apache/shiro/shiro-web/1.3.2/shiro-web-1.3.2.jar:/Users/jblum/.m2/repository/org/aspectj/aspectjweaver/1.9.4/aspectjweaver-1.9.4.jar:/Users/jblum/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.9.0/jackson-annotations-2.9.0.jar:/Users/jblum/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.9.9/jackson-databind-2.9.9.jar:/Users/jblum/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.9.9/jackson-core-2.9.9.jar:/Users/jblum/.m2/repository/org/springframework/spring-context-support/5.2.0.RC1/spring-context-support-5.2.0.RC1.jar:/Users/jblum/.m2/repository/org/springframework/spring-beans/5.2.0.RC1/spring-beans-5.2.0.RC1.jar:/Users/jblum/.m2/repository/org/springframework/spring-jcl/5.2.0.RC1/spring-jcl-5.2.0.RC1.jar:/Users/jblum/.m2/repository/org/springframework/geode/spring-geode-autoconfigure/1.2.0.BUILD-SNAPSHOT/spring-geode-autoconfigure-1.2.0.BUILD-20190820.224451-3.jar:/Users/jblum/.m2/repository/javax/cache/cache-api/1.1.1/cache-api-1.1.1.jar:/Users/jblum/.m2/repository/org/springframework/shell/spring-shell/1.2.0.RELEASE/spring-shell-1.2.0.RELEASE.jar:/Users/jblum/.m2/repository/com/google/guava/guava/17.0/guava-17.0.jar:/Users/jblum/.m2/repository/jline/jline/2.12/jline-2.12.jar:/Users/jblum/.m2/repository/commons-io/commons-io/2.4/commons-io-2.4.jar:/Users/jblum/.m2/repository/org/slf4j/slf4j-api/1.7.26/slf4j-api-1.7.26.jar:/Users/jblum/.m2/repository/org/springframework/spring-core/5.2.0.RC1/spring-core-5.2.0.RC1.jar org.example.app.springgeodeapp.SpringGeodeAppApplication . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v2.2.0.M5) 2019-08-21 10:56:37.608 INFO 67253 --- [ main] o.e.a.s.SpringGeodeAppApplication : Starting SpringGeodeAppApplication on jblum-mbpro-2.local with PID 67253 (/Users/jblum/pivdev/tmp/spring-geode-app/target/classes started by jblum in /Users/jblum/pivdev/tmp/spring-geode-app) 2019-08-21 10:56:37.612 INFO 67253 --- [ main] o.e.a.s.SpringGeodeAppApplication : No active profile set, falling back to default profiles: default 2019-08-21 10:56:38.179 INFO 67253 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data repositories in DEFAULT mode. 2019-08-21 10:56:38.192 INFO 67253 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 5ms. Found 0 repository interfaces. 2019-08-21 10:56:38.338 INFO 67253 --- [ main] o.s.c.a.ConfigurationClassEnhancer : @Bean method PdxConfiguration.pdxDiskStoreAwareBeanFactoryPostProcessor is non-static and returns an object assignable to Spring's BeanFactoryPostProcessor interface. This will result in a failure to process annotations such as @Autowired, @Resource and @PostConstruct within the method's declaring @Configuration class. Add the 'static' modifier to this method to avoid these container lifecycle issues; see @Bean javadoc for complete details. 2019-08-21 10:56:38.476 INFO 67253 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.data.gemfire.config.annotation.ContinuousQueryConfiguration' of type [org.springframework.data.gemfire.config.annotation.ContinuousQueryConfiguration$$EnhancerBySpringCGLIB$$11c3eb94] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2019-08-21 10:56:38.492 INFO 67253 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.geode.boot.autoconfigure.RegionTemplateAutoConfiguration' of type [org.springframework.geode.boot.autoconfigure.RegionTemplateAutoConfiguration$$EnhancerBySpringCGLIB$$f25b38c7] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2019-08-21 10:56:39.391 INFO 67253 --- [ main] o.a.g.internal.logging.LoggingSession : --------------------------------------------------------------------------- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --------------------------------------------------------------------------- Build-Date: 2019-04-19 11:49:13 -0700 Build-Id: onichols 0 Build-Java-Version: 1.8.0_192 Build-Platform: Mac OS X 10.14.4 x86_64 Product-Name: Apache Geode Product-Version: 1.9.0 Source-Date: 2019-04-19 11:11:31 -0700 Source-Repository: release/1.9.0 Source-Revision: c0a73d1cb84986d432003bd12e70175520e63597 Native version: native code unavailable Running on: /10.99.199.24, 8 cpu(s), x86_64 Mac OS X 10.13.6 Communications version: 100 Process ID: 67253 User: jblum Current dir: /Users/jblum/pivdev/tmp/spring-geode-app Home dir: /Users/jblum Command Line Parameters: -javaagent:/Applications/IntelliJ IDEA 19 CE.app/Contents/lib/idea_rt.jar=64272:/Applications/IntelliJ IDEA 19 CE.app/Contents/bin -Dfile.encoding=UTF-8 Class Path: /Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/lib/charsets.jar /Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/lib/deploy.jar /Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/lib/ext/cldrdata.jar /Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/lib/ext/dnsns.jar /Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/lib/ext/jaccess.jar /Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/lib/ext/jfxrt.jar /Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/lib/ext/localedata.jar /Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/lib/ext/nashorn.jar /Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/lib/ext/sunec.jar /Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/lib/ext/sunjce_provider.jar /Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/lib/ext/sunpkcs11.jar /Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/lib/ext/tools.jar /Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/lib/ext/zipfs.jar /Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/lib/javaws.jar /Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/lib/jce.jar /Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/lib/jfr.jar /Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/lib/jfxswt.jar /Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/lib/jsse.jar /Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/lib/management-agent.jar /Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/lib/plugin.jar /Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/lib/resources.jar /Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/lib/rt.jar /Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/lib/ant-javafx.jar /Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/lib/dt.jar /Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/lib/javafx-mx.jar /Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/lib/jconsole.jar /Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/lib/packager.jar /Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/lib/sa-jdi.jar /Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/lib/tools.jar /Users/jblum/pivdev/tmp/spring-geode-app/target/classes /Users/jblum/.m2/repository/org/springframework/geode/spring-geode-starter/1.2.0.BUILD-SNAPSHOT/spring-geode-starter-1.2.0.BUILD-20190820.224451-3.jar /Users/jblum/.m2/repository/org/springframework/boot/spring-boot-starter/2.2.0.M5/spring-boot-starter-2.2.0.M5.jar /Users/jblum/.m2/repository/org/springframework/boot/spring-boot/2.2.0.M5/spring-boot-2.2.0.M5.jar /Users/jblum/.m2/repository/org/springframework/spring-context/5.2.0.RC1/spring-context-5.2.0.RC1.jar /Users/jblum/.m2/repository/org/springframework/spring-aop/5.2.0.RC1/spring-aop-5.2.0.RC1.jar /Users/jblum/.m2/repository/org/springframework/spring-expression/5.2.0.RC1/spring-expression-5.2.0.RC1.jar /Users/jblum/.m2/repository/org/springframework/boot/spring-boot-autoconfigure/2.2.0.M5/spring-boot-autoconfigure-2.2.0.M5.jar /Users/jblum/.m2/repository/org/springframework/boot/spring-boot-starter-logging/2.2.0.M5/spring-boot-starter-logging-2.2.0.M5.jar /Users/jblum/.m2/repository/ch/qos/logback/logback-classic/1.2.3/logback-classic-1.2.3.jar /Users/jblum/.m2/repository/ch/qos/logback/logback-core/1.2.3/logback-core-1.2.3.jar /Users/jblum/.m2/repository/org/apache/logging/log4j/log4j-to-slf4j/2.12.0/log4j-to-slf4j-2.12.0.jar /Users/jblum/.m2/repository/org/apache/logging/log4j/log4j-api/2.12.0/log4j-api-2.12.0.jar /Users/jblum/.m2/repository/org/slf4j/jul-to-slf4j/1.7.26/jul-to-slf4j-1.7.26.jar /Users/jblum/.m2/repository/jakarta/annotation/jakarta.annotation-api/1.3.4/jakarta.annotation-api-1.3.4.jar /Users/jblum/.m2/repository/org/yaml/snakeyaml/1.24/snakeyaml-1.24.jar /Users/jblum/.m2/repository/org/springframework/geode/spring-geode/1.2.0.BUILD-SNAPSHOT/spring-geode-1.2.0.BUILD-20190820.224451-3.jar /Users/jblum/.m2/repository/org/springframework/data/spring-data-geode/2.2.0.RC2/spring-data-geode-2.2.0.RC2.jar /Users/jblum/.m2/repository/org/springframework/spring-tx/5.2.0.RC1/spring-tx-5.2.0.RC1.jar /Users/jblum/.m2/repository/org/springframework/data/spring-data-commons/2.2.0.RC2/spring-data-commons-2.2.0.RC2.jar /Users/jblum/.m2/repository/org/apache/geode/geode-core/1.9.0/geode-core-1.9.0.jar /Users/jblum/.m2/repository/com/github/stephenc/findbugs/findbugs-annotations/1.3.9-1/findbugs-annotations-1.3.9-1.jar /Users/jblum/.m2/repository/org/jgroups/jgroups/3.6.14.Final/jgroups-3.6.14.Final.jar /Users/jblum/.m2/repository/commons-validator/commons-validator/1.6/commons-validator-1.6.jar /Users/jblum/.m2/repository/commons-beanutils/commons-beanutils/1.9.2/commons-beanutils-1.9.2.jar /Users/jblum/.m2/repository/commons-logging/commons-logging/1.2/commons-logging-1.2.jar /Users/jblum/.m2/repository/commons-collections/commons-collections/3.2.2/commons-collections-3.2.2.jar /Users/jblum/.m2/repository/commons-digester/commons-digester/2.1/commons-digester-2.1.jar /Users/jblum/.m2/repository/com/sun/activation/javax.activation/1.2.0/javax.activation-1.2.0.jar /Users/jblum/.m2/repository/javax/xml/bind/jaxb-api/2.3.1/jaxb-api-2.3.1.jar /Users/jblum/.m2/repository/javax/activation/javax.activation-api/1.2.0/javax.activation-api-1.2.0.jar /Users/jblum/.m2/repository/com/sun/xml/bind/jaxb-impl/2.3.1/jaxb-impl-2.3.1.jar /Users/jblum/.m2/repository/com/sun/istack/istack-commons-runtime/2.2/istack-commons-runtime-2.2.jar /Users/jblum/.m2/repository/org/apache/commons/commons-lang3/3.9/commons-lang3-3.9.jar /Users/jblum/.m2/repository/io/micrometer/micrometer-core/1.2.0/micrometer-core-1.2.0.jar /Users/jblum/.m2/repository/org/hdrhistogram/HdrHistogram/2.1.11/HdrHistogram-2.1.11.jar /Users/jblum/.m2/repository/org/latencyutils/LatencyUtils/2.0.3/LatencyUtils-2.0.3.jar /Users/jblum/.m2/repository/it/unimi/dsi/fastutil/8.2.2/fastutil-8.2.2.jar /Users/jblum/.m2/repository/javax/resource/javax.resource-api/1.7.1/javax.resource-api-1.7.1.jar /Users/jblum/.m2/repository/javax/transaction/javax.transaction-api/1.3/javax.transaction-api-1.3.jar /Users/jblum/.m2/repository/net/java/dev/jna/jna/4.5.2/jna-4.5.2.jar /Users/jblum/.m2/repository/net/sf/jopt-simple/jopt-simple/5.0.4/jopt-simple-5.0.4.jar /Users/jblum/.m2/repository/org/apache/shiro/shiro-core/1.4.0/shiro-core-1.4.0.jar /Users/jblum/.m2/repository/org/apache/shiro/shiro-lang/1.4.0/shiro-lang-1.4.0.jar /Users/jblum/.m2/repository/org/apache/shiro/shiro-cache/1.4.0/shiro-cache-1.4.0.jar /Users/jblum/.m2/repository/org/apache/shiro/shiro-crypto-hash/1.4.0/shiro-crypto-hash-1.4.0.jar /Users/jblum/.m2/repository/org/apache/shiro/shiro-crypto-core/1.4.0/shiro-crypto-core-1.4.0.jar /Users/jblum/.m2/repository/org/apache/shiro/shiro-crypto-cipher/1.4.0/shiro-crypto-cipher-1.4.0.jar /Users/jblum/.m2/repository/org/apache/shiro/shiro-config-core/1.4.0/shiro-config-core-1.4.0.jar /Users/jblum/.m2/repository/org/apache/shiro/shiro-config-ogdl/1.4.0/shiro-config-ogdl-1.4.0.jar /Users/jblum/.m2/repository/org/apache/shiro/shiro-event/1.4.0/shiro-event-1.4.0.jar /Users/jblum/.m2/repository/io/github/classgraph/classgraph/4.0.6/classgraph-4.0.6.jar /Users/jblum/.m2/repository/com/healthmarketscience/rmiio/rmiio/2.1.2/rmiio-2.1.2.jar /Users/jblum/.m2/repository/org/apache/geode/geode-common/1.9.0/geode-common-1.9.0.jar /Users/jblum/.m2/repository/org/apache/geode/geode-management/1.9.0/geode-management-1.9.0.jar /Users/jblum/.m2/repository/org/apache/httpcomponents/httpclient/4.5.9/httpclient-4.5.9.jar /Users/jblum/.m2/repository/org/apache/httpcomponents/httpcore/4.4.11/httpcore-4.4.11.jar /Users/jblum/.m2/repository/org/apache/geode/geode-cq/1.9.0/geode-cq-1.9.0.jar /Users/jblum/.m2/repository/org/apache/geode/geode-lucene/1.9.0/geode-lucene-1.9.0.jar /Users/jblum/.m2/repository/org/apache/lucene/lucene-core/6.6.2/lucene-core-6.6.2.jar /Users/jblum/.m2/repository/mx4j/mx4j/3.0.2/mx4j-3.0.2.jar /Users/jblum/.m2/repository/org/apache/lucene/lucene-analyzers-common/6.6.2/lucene-analyzers-common-6.6.2.jar /Users/jblum/.m2/repository/org/apache/lucene/lucene-queryparser/6.6.2/lucene-queryparser-6.6.2.jar /Users/jblum/.m2/repository/org/apache/lucene/lucene-queries/6.6.2/lucene-queries-6.6.2.jar /Users/jblum/.m2/repository/org/apache/lucene/lucene-analyzers-phonetic/6.6.2/lucene-analyzers-phonetic-6.6.2.jar /Users/jblum/.m2/repository/commons-codec/commons-codec/1.13/commons-codec-1.13.jar /Users/jblum/.m2/repository/org/apache/geode/geode-wan/1.9.0/geode-wan-1.9.0.jar /Users/jblum/.m2/repository/antlr/antlr/2.7.7/antlr-2.7.7.jar /Users/jblum/.m2/repository/org/apache/shiro/shiro-spring/1.3.2/shiro-spring-1.3.2.jar /Users/jblum/.m2/repository/org/apache/shiro/shiro-web/1.3.2/shiro-web-1.3.2.jar /Users/jblum/.m2/repository/org/aspectj/aspectjweaver/1.9.4/aspectjweaver-1.9.4.jar /Users/jblum/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.9.0/jackson-annotations-2.9.0.jar /Users/jblum/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.9.9/jackson-databind-2.9.9.jar /Users/jblum/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.9.9/jackson-core-2.9.9.jar /Users/jblum/.m2/repository/org/springframework/spring-context-support/5.2.0.RC1/spring-context-support-5.2.0.RC1.jar /Users/jblum/.m2/repository/org/springframework/spring-beans/5.2.0.RC1/spring-beans-5.2.0.RC1.jar /Users/jblum/.m2/repository/org/springframework/spring-jcl/5.2.0.RC1/spring-jcl-5.2.0.RC1.jar /Users/jblum/.m2/repository/org/springframework/geode/spring-geode-autoconfigure/1.2.0.BUILD-SNAPSHOT/spring-geode-autoconfigure-1.2.0.BUILD-20190820.224451-3.jar /Users/jblum/.m2/repository/javax/cache/cache-api/1.1.1/cache-api-1.1.1.jar /Users/jblum/.m2/repository/org/springframework/shell/spring-shell/1.2.0.RELEASE/spring-shell-1.2.0.RELEASE.jar /Users/jblum/.m2/repository/com/google/guava/guava/17.0/guava-17.0.jar /Users/jblum/.m2/repository/jline/jline/2.12/jline-2.12.jar /Users/jblum/.m2/repository/commons-io/commons-io/2.4/commons-io-2.4.jar /Users/jblum/.m2/repository/org/slf4j/slf4j-api/1.7.26/slf4j-api-1.7.26.jar /Users/jblum/.m2/repository/org/springframework/spring-core/5.2.0.RC1/spring-core-5.2.0.RC1.jar /Applications/IntelliJ IDEA 19 CE.app/Contents/lib/idea_rt.jar Library Path: /Users/jblum/Library/Java/Extensions /Library/Java/Extensions /Network/Library/Java/Extensions /System/Library/Java/Extensions /usr/lib/java . System Properties: PID = 67253 awt.toolkit = sun.lwawt.macosx.LWCToolkit file.encoding = UTF-8 file.encoding.pkg = sun.io file.separator = / ftp.nonProxyHosts = local|*.local|169.254/16|*.169.254/16 gopherProxySet = false http.nonProxyHosts = local|*.local|169.254/16|*.169.254/16 java.awt.graphicsenv = sun.awt.CGraphicsEnvironment java.awt.headless = true java.awt.printerjob = sun.lwawt.macosx.CPrinterJob java.class.version = 52.0 java.endorsed.dirs = /Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/lib/endorsed java.ext.dirs = /Users/jblum/Library/Java/Extensions:/Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/lib/ext:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java java.home = /Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre java.io.tmpdir = /var/folders/ly/d_6wcpgx7qv146hbwnp7zvfr0000gn/T/ java.runtime.name = Java(TM) SE Runtime Environment java.runtime.version = 1.8.0_192-b12 java.specification.name = Java Platform API Specification java.specification.vendor = Oracle Corporation java.specification.version = 1.8 java.vendor = Oracle Corporation java.vendor.url = http://java.oracle.com/ java.vendor.url.bug = http://bugreport.sun.com/bugreport/ java.version = 1.8.0_192 java.vm.info = mixed mode java.vm.name = Java HotSpot(TM) 64-Bit Server VM java.vm.specification.name = Java Virtual Machine Specification java.vm.specification.vendor = Oracle Corporation java.vm.specification.version = 1.8 java.vm.vendor = Oracle Corporation java.vm.version = 25.192-b12 line.separator = os.version = 10.13.6 path.separator = : socksNonProxyHosts = local|*.local|169.254/16|*.169.254/16 spring.beaninfo.ignore = true sun.arch.data.model = 64 sun.boot.class.path = /Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/lib/resources.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/lib/rt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/lib/sunrsasign.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/lib/jsse.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/lib/jce.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/lib/charsets.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/lib/jfr.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/classes sun.boot.library.path = /Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/lib sun.cpu.endian = little sun.cpu.isalist = sun.io.unicode.encoding = UnicodeBig sun.java.command = org.example.app.springgeodeapp.SpringGeodeAppApplication sun.java.launcher = SUN_STANDARD sun.jnu.encoding = UTF-8 sun.management.compiler = HotSpot 64-Bit Tiered Compilers sun.nio.ch.bugLevel = sun.os.patch.level = unknown user.country = US user.language = en user.timezone = America/Los_Angeles Log4J 2 Configuration: org.apache.geode.internal.logging.NullProviderAgent --------------------------------------------------------------------------- 2019-08-21 10:56:39.399 INFO 67253 --- [ main] o.a.g.internal.logging.LoggingSession : Startup Configuration: ### GemFire Properties defined with api ### locators= log-level=config mcast-port=0 name=SpringBasedCacheClientApplication ### GemFire Properties using default values ### ack-severe-alert-threshold=0 ack-wait-threshold=15 archive-disk-space-limit=0 archive-file-size-limit=0 async-distribution-timeout=0 async-max-queue-size=8 async-queue-timeout=60000 bind-address= cache-xml-file=cache.xml cluster-configuration-dir= cluster-ssl-ciphers=any cluster-ssl-enabled=false cluster-ssl-keystore= cluster-ssl-keystore-password= cluster-ssl-keystore-type= cluster-ssl-protocols=any cluster-ssl-require-authentication=true cluster-ssl-truststore= cluster-ssl-truststore-password= conflate-events=server conserve-sockets=true delta-propagation=true deploy-working-dir=/Users/jblum/pivdev/tmp/spring-geode-app disable-auto-reconnect=false disable-jmx=false disable-tcp=false distributed-system-id=-1 distributed-transactions=false durable-client-id= durable-client-timeout=300 enable-cluster-configuration=true enable-network-partition-detection=true enable-time-statistics=false enforce-unique-host=false gateway-ssl-ciphers=any gateway-ssl-enabled=false gateway-ssl-keystore= gateway-ssl-keystore-password= gateway-ssl-keystore-type= gateway-ssl-protocols=any gateway-ssl-require-authentication=true gateway-ssl-truststore= gateway-ssl-truststore-password= groups= http-service-bind-address= http-service-port=7070 http-service-ssl-ciphers=any http-service-ssl-enabled=false http-service-ssl-keystore= http-service-ssl-keystore-password= http-service-ssl-keystore-type= http-service-ssl-protocols=any http-service-ssl-require-authentication=false http-service-ssl-truststore= http-service-ssl-truststore-password= jmx-manager=false jmx-manager-access-file= jmx-manager-bind-address= jmx-manager-hostname-for-clients= jmx-manager-http-port=7070 jmx-manager-password-file= jmx-manager-port=1099 jmx-manager-ssl-ciphers=any jmx-manager-ssl-enabled=false jmx-manager-ssl-keystore= jmx-manager-ssl-keystore-password= jmx-manager-ssl-keystore-type= jmx-manager-ssl-protocols=any jmx-manager-ssl-require-authentication=true jmx-manager-ssl-truststore= jmx-manager-ssl-truststore-password= jmx-manager-start=false jmx-manager-update-rate=2000 load-cluster-configuration-from-dir=false locator-wait-time=0 lock-memory=false log-disk-space-limit=0 log-file= log-file-size-limit=0 max-num-reconnect-tries=3 max-wait-time-reconnect=60000 mcast-address=239.192.81.1 mcast-flow-control=1048576, 0.25, 5000 mcast-recv-buffer-size=1048576 mcast-send-buffer-size=65535 mcast-ttl=32 member-timeout=5000 membership-port-range=41000-61000 memcached-bind-address= memcached-port=0 memcached-protocol=ASCII off-heap-memory-size= redis-bind-address= redis-password= redis-port=0 redundancy-zone= remote-locators= remove-unresponsive-client=false roles= security-client-accessor= security-client-accessor-pp= security-client-auth-init= security-client-authenticator= security-client-dhalgo= security-log-file= security-log-level=config security-manager= security-peer-auth-init= security-peer-authenticator= security-peer-verifymember-timeout=1000 security-post-processor= security-udp-dhalgo= serializable-object-filter=!* server-bind-address= server-ssl-ciphers=any server-ssl-enabled=false server-ssl-keystore= server-ssl-keystore-password= server-ssl-keystore-type= server-ssl-protocols=any server-ssl-require-authentication=true server-ssl-truststore= server-ssl-truststore-password= socket-buffer-size=32768 socket-lease-time=60000 ssl-ciphers=any ssl-cluster-alias= ssl-default-alias= ssl-enabled-components= ssl-endpoint-identification-enabled=false ssl-gateway-alias= ssl-jmx-alias= ssl-keystore= ssl-keystore-password= ssl-keystore-type= ssl-locator-alias= ssl-protocols=any ssl-require-authentication=true ssl-server-alias= ssl-truststore= ssl-truststore-password= ssl-truststore-type= ssl-use-default-context=false ssl-web-alias= ssl-web-require-authentication=false start-dev-rest-api=false start-locator= statistic-archive-file= statistic-sample-rate=1000 statistic-sampling-enabled=true tcp-port=0 thread-monitor-enabled=true thread-monitor-interval-ms=60000 thread-monitor-time-limit-ms=30000 udp-fragment-size=60000 udp-recv-buffer-size=1048576 udp-send-buffer-size=65535 use-cluster-configuration=true user-command-packages= validate-serializable-objects=false 2019-08-21 10:56:39.405 INFO 67253 --- [ main] o.a.g.internal.InternalDataSerializer : initializing InternalDataSerializer with 3 services 2019-08-21 10:56:39.445 INFO 67253 --- [ main] org.apache.geode : [ThreadsMonitor] New Monitor object and process were created. 2019-08-21 10:56:39.471 INFO 67253 --- [ StatSampler] o.a.g.i.statistics.StatArchiveHandler : Disabling statistic archival. 2019-08-21 10:56:39.535 INFO 67253 --- [ main] o.a.g.internal.cache.GemFireCacheImpl : Running in client mode 2019-08-21 10:56:39.734 INFO 67253 --- [ main] o.a.g.internal.cache.GemFireCacheImpl : Initialized cache service org.apache.geode.cache.lucene.internal.LuceneServiceImpl 2019-08-21 10:56:39.747 INFO 67253 --- [ main] o.s.d.g.client.ClientCacheFactoryBean : Connected to Distributed System [SpringBasedCacheClientApplication] as Member [10.99.199.24(SpringBasedCacheClientApplication:67253:loner):0:7ad152b5:SpringBasedCacheClientApplication] in Group(s) [[]] with Role(s) [[]] on Host [10.99.199.24] having PID [67253] 2019-08-21 10:56:39.748 INFO 67253 --- [ main] o.s.d.g.client.ClientCacheFactoryBean : Created new Apache Geode version [1.9.0] Cache [SpringBasedCacheClientApplication] 2019-08-21 10:56:39.864 WARN 67253 --- [Timer-DEFAULT-2] o.a.g.c.c.i.ConnectionFactoryImpl : Could not connect to: localhost:40404 java.net.ConnectException: Connection refused (Connection refused) at java.net.PlainSocketImpl.socketConnect(Native Method) ~[na:1.8.0_192] at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) ~[na:1.8.0_192] at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) ~[na:1.8.0_192] at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) ~[na:1.8.0_192] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[na:1.8.0_192] at java.net.Socket.connect(Socket.java:589) ~[na:1.8.0_192] at org.apache.geode.internal.net.SocketCreator.connect(SocketCreator.java:946) ~[geode-core-1.9.0.jar:na] at org.apache.geode.internal.net.SocketCreator.connect(SocketCreator.java:887) ~[geode-core-1.9.0.jar:na] at org.apache.geode.internal.net.SocketCreator.connectForClient(SocketCreator.java:859) ~[geode-core-1.9.0.jar:na] at org.apache.geode.cache.client.internal.ConnectionImpl.connect(ConnectionImpl.java:106) ~[geode-core-1.9.0.jar:na] at org.apache.geode.cache.client.internal.ConnectionConnector.connectClientToServer(ConnectionConnector.java:75) ~[geode-core-1.9.0.jar:na] at org.apache.geode.cache.client.internal.ConnectionFactoryImpl.createClientToServerConnection(ConnectionFactoryImpl.java:111) [geode-core-1.9.0.jar:na] at org.apache.geode.cache.client.internal.ConnectionFactoryImpl.createClientToServerConnection(ConnectionFactoryImpl.java:222) [geode-core-1.9.0.jar:na] at org.apache.geode.cache.client.internal.pooling.ConnectionManagerImpl.prefillConnection(ConnectionManagerImpl.java:747) [geode-core-1.9.0.jar:na] at org.apache.geode.cache.client.internal.pooling.ConnectionManagerImpl.prefill(ConnectionManagerImpl.java:691) [geode-core-1.9.0.jar:na] at org.apache.geode.cache.client.internal.pooling.ConnectionManagerImpl$PrefillConnectionsTask.run2(ConnectionManagerImpl.java:837) [geode-core-1.9.0.jar:na] at org.apache.geode.cache.client.internal.PoolImpl$PoolTask.run(PoolImpl.java:1371) [geode-core-1.9.0.jar:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_192] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_192] at java.lang.Thread.run(Thread.java:748) [na:1.8.0_192] 2019-08-21 10:56:39.864 WARN 67253 --- [ main] o.a.g.c.c.i.ConnectionFactoryImpl : Could not connect to: localhost:40404 java.net.ConnectException: Connection refused (Connection refused) at java.net.PlainSocketImpl.socketConnect(Native Method) ~[na:1.8.0_192] at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) ~[na:1.8.0_192] at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) ~[na:1.8.0_192] at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) ~[na:1.8.0_192] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[na:1.8.0_192] at java.net.Socket.connect(Socket.java:589) ~[na:1.8.0_192] at org.apache.geode.internal.net.SocketCreator.connect(SocketCreator.java:946) ~[geode-core-1.9.0.jar:na] at org.apache.geode.internal.net.SocketCreator.connect(SocketCreator.java:887) ~[geode-core-1.9.0.jar:na] at org.apache.geode.internal.net.SocketCreator.connectForClient(SocketCreator.java:859) ~[geode-core-1.9.0.jar:na] at org.apache.geode.cache.client.internal.ConnectionImpl.connect(ConnectionImpl.java:106) ~[geode-core-1.9.0.jar:na] at org.apache.geode.cache.client.internal.ConnectionConnector.connectClientToServer(ConnectionConnector.java:75) ~[geode-core-1.9.0.jar:na] at org.apache.geode.cache.client.internal.ConnectionFactoryImpl.createClientToServerConnection(ConnectionFactoryImpl.java:111) ~[geode-core-1.9.0.jar:na] at org.apache.geode.cache.client.internal.QueueManagerImpl.initializeConnections(QueueManagerImpl.java:452) [geode-core-1.9.0.jar:na] at org.apache.geode.cache.client.internal.QueueManagerImpl.start(QueueManagerImpl.java:290) [geode-core-1.9.0.jar:na] at org.apache.geode.cache.client.internal.PoolImpl.start(PoolImpl.java:337) [geode-core-1.9.0.jar:na] at org.apache.geode.cache.client.internal.PoolImpl.finishCreate(PoolImpl.java:176) [geode-core-1.9.0.jar:na] at org.apache.geode.cache.client.internal.PoolImpl.create(PoolImpl.java:162) [geode-core-1.9.0.jar:na] at org.apache.geode.internal.cache.PoolFactoryImpl.create(PoolFactoryImpl.java:372) [geode-core-1.9.0.jar:na] at org.apache.geode.internal.cache.GemFireCacheImpl.determineDefaultPool(GemFireCacheImpl.java:2902) [geode-core-1.9.0.jar:na] at org.apache.geode.internal.cache.GemFireCacheImpl.getDefaultPool(GemFireCacheImpl.java:1151) [geode-core-1.9.0.jar:na] at org.apache.geode.internal.cache.GemFireCacheImpl.getQueryService(GemFireCacheImpl.java:4161) [geode-core-1.9.0.jar:na] at org.apache.geode.internal.cache.GemFireCacheImpl.getQueryService(GemFireCacheImpl.java:255) [geode-core-1.9.0.jar:na] at org.springframework.data.gemfire.listener.ContinuousQueryListenerContainer.setCache(ContinuousQueryListenerContainer.java:419) [spring-data-geode-2.2.0.RC2.jar:2.2.0.RC2] at org.springframework.data.gemfire.config.annotation.ContinuousQueryConfiguration.continuousQueryListenerContainer(ContinuousQueryConfiguration.java:202) [spring-data-geode-2.2.0.RC2.jar:2.2.0.RC2] at org.springframework.data.gemfire.config.annotation.ContinuousQueryConfiguration$$EnhancerBySpringCGLIB$$11c3eb94.CGLIB$continuousQueryListenerContainer$4(<generated>) [spring-data-geode-2.2.0.RC2.jar:2.2.0.RC2] at org.springframework.data.gemfire.config.annotation.ContinuousQueryConfiguration$$EnhancerBySpringCGLIB$$11c3eb94$$FastClassBySpringCGLIB$$693deb8b.invoke(<generated>) [spring-data-geode-2.2.0.RC2.jar:2.2.0.RC2] at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:244) [spring-core-5.2.0.RC1.jar:5.2.0.RC1] at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:363) [spring-context-5.2.0.RC1.jar:5.2.0.RC1] at org.springframework.data.gemfire.config.annotation.ContinuousQueryConfiguration$$EnhancerBySpringCGLIB$$11c3eb94.continuousQueryListenerContainer(<generated>) [spring-data-geode-2.2.0.RC2.jar:2.2.0.RC2] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_192] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_192] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_192] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_192] at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154) [spring-beans-5.2.0.RC1.jar:5.2.0.RC1] at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:632) [spring-beans-5.2.0.RC1.jar:5.2.0.RC1] at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:617) [spring-beans-5.2.0.RC1.jar:5.2.0.RC1] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1339) [spring-beans-5.2.0.RC1.jar:5.2.0.RC1] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1178) [spring-beans-5.2.0.RC1.jar:5.2.0.RC1] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:557) [spring-beans-5.2.0.RC1.jar:5.2.0.RC1] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:517) [spring-beans-5.2.0.RC1.jar:5.2.0.RC1] at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:323) [spring-beans-5.2.0.RC1.jar:5.2.0.RC1] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-5.2.0.RC1.jar:5.2.0.RC1] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:321) [spring-beans-5.2.0.RC1.jar:5.2.0.RC1] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) [spring-beans-5.2.0.RC1.jar:5.2.0.RC1] at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:877) ~[spring-beans-5.2.0.RC1.jar:5.2.0.RC1] at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:877) ~[spring-context-5.2.0.RC1.jar:5.2.0.RC1] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:549) ~[spring-context-5.2.0.RC1.jar:5.2.0.RC1] at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:746) ~[spring-boot-2.2.0.M5.jar:2.2.0.M5] at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:396) ~[spring-boot-2.2.0.M5.jar:2.2.0.M5] at org.springframework.boot.SpringApplication.run(SpringApplication.java:315) ~[spring-boot-2.2.0.M5.jar:2.2.0.M5] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1225) ~[spring-boot-2.2.0.M5.jar:2.2.0.M5] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1214) ~[spring-boot-2.2.0.M5.jar:2.2.0.M5] at org.example.app.springgeodeapp.SpringGeodeAppApplication.main(SpringGeodeAppApplication.java:10) ~[classes/:na] 2019-08-21 10:56:39.864 ERROR 67253 --- [ main] o.a.g.c.c.internal.QueueManagerImpl : Could not find any server to host primary client queue. Number of excluded servers is 1 and exception is no exception 2019-08-21 10:56:39.864 ERROR 67253 --- [ main] o.a.g.c.c.internal.QueueManagerImpl : Could not initialize a primary queue on startup. No queue servers available. 2019-08-21 10:56:39.866 INFO 67253 --- [ main] o.a.g.cache.client.internal.PoolImpl : Pool DEFAULT started with multiuser-authentication=false 2019-08-21 10:56:39.928 INFO 67253 --- [ main] o.e.a.s.SpringGeodeAppApplication : Started SpringGeodeAppApplication in 3.05 seconds (JVM running for 3.729) 2019-08-21 10:56:39.930 INFO 67253 --- [m shutdown hook] o.a.g.d.i.InternalDistributedSystem : VM is exiting - shutting down distributed system 2019-08-21 10:56:39.931 INFO 67253 --- [m shutdown hook] o.a.g.internal.cache.GemFireCacheImpl : GemFireCache[id = 1877901692; isClosing = true; isShutDownAll = false; created = Wed Aug 21 10:56:39 PDT 2019; server = false; copyOnRead = false; lockLease = 120; lockTimeout = 60]: Now closing. 2019-08-21 10:56:40.001 WARN 67253 --- [m shutdown hook] o.a.g.d.i.InternalDistributedSystem : Exception trying to close cache java.lang.BootstrapMethodError: java.lang.IllegalAccessError: no such method: org.apache.geode.internal.cache.HttpService.stop()void/invokeVirtual at org.apache.geode.internal.cache.GemFireCacheImpl.close(GemFireCacheImpl.java:2183) ~[geode-core-1.9.0.jar:na] at org.apache.geode.distributed.internal.InternalDistributedSystem.disconnect(InternalDistributedSystem.java:1627) [geode-core-1.9.0.jar:na] at org.apache.geode.distributed.internal.InternalDistributedSystem.lambda$static$4(InternalDistributedSystem.java:2278) [geode-core-1.9.0.jar:na] at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_192] Caused by: java.lang.IllegalAccessError: no such method: org.apache.geode.internal.cache.HttpService.stop()void/invokeVirtual at java.lang.invoke.MethodHandleNatives.linkMethodHandleConstant(MethodHandleNatives.java:483) ~[na:1.8.0_192] ... 4 common frames omitted Caused by: java.lang.NoClassDefFoundError: org/eclipse/jetty/server/Handler at java.lang.invoke.MethodHandleNatives.resolve(Native Method) ~[na:1.8.0_192] at java.lang.invoke.MemberName$Factory.resolve(MemberName.java:975) ~[na:1.8.0_192] at java.lang.invoke.MemberName$Factory.resolveOrFail(MemberName.java:1000) ~[na:1.8.0_192] at java.lang.invoke.MethodHandles$Lookup.resolveOrFail(MethodHandles.java:1394) ~[na:1.8.0_192] at java.lang.invoke.MethodHandles$Lookup.linkMethodHandleConstant(MethodHandles.java:1750) ~[na:1.8.0_192] at java.lang.invoke.MethodHandleNatives.linkMethodHandleConstant(MethodHandleNatives.java:477) ~[na:1.8.0_192] ... 4 common frames omitted Caused by: java.lang.ClassNotFoundException: org.eclipse.jetty.server.Handler at java.net.URLClassLoader.findClass(URLClassLoader.java:382) ~[na:1.8.0_192] at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[na:1.8.0_192] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349) ~[na:1.8.0_192] at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[na:1.8.0_192] ... 10 common frames omitted Process finished with exit code 0
I have attached a simple example application using only the Apache Geode Java API that reproduces this issue!
See the attached apache-geode-app.zip file for more details!
In GEODE 1.10 jetty is now a runtime dependency. Please see this commit for details: https://github.com/apache/geode/commit/8fd839e8b73e40bd2dfd14f331b587431bd35a66
Jens Deppe- A bit of feedback on the commit you referenced:
1. First, it is really difficult to follow which changes specifically pertain to, and resolve, "this" issue with all the other modifications made to Geode's build.gradle files, w.r.t. dependencies.
2. Setting the Jetty dependency to "runtime" does not fix the issue!
3. I don't see any changes in Geode's codebase that prevents the ClassNotFoundException on the Jetty class I noted in my first comment above, when a cache instance (especially a client) is shutdown.
Commit feb75670350806bb34f70db92d3fcc95407b450b in geode's branch refs/heads/develop from Jens Deppe
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=feb7567 ]
GEODE-7107: Introduce HttpService interface (#3963)
- This allows for Jetty to be optional on the classpath.
Commit feb75670350806bb34f70db92d3fcc95407b450b in geode's branch refs/heads/dsfid_separation_wip from Jens Deppe
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=feb7567 ]
GEODE-7107: Introduce HttpService interface (#3963)
- This allows for Jetty to be optional on the classpath.
Commit d853adfee61bbc7d6d93ebd79a575dd93349e3c8 in geode's branch refs/heads/develop from Jens Deppe
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=d853adf ]
GEODE-7107: Make jetty-server optional in geode-core pom (#3968)
Commit d853adfee61bbc7d6d93ebd79a575dd93349e3c8 in geode's branch refs/heads/feature/GEODE-7168 from Jens Deppe
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=d853adf ]
GEODE-7107: Make jetty-server optional in geode-core pom (#3968)
Transition from Resolved to Closed for Apache Geode 1.11.0 RC4 release.
Steps to reproduce this issue:
1. Navigate to http://start-development.cfapps.io/.
2. Create a Maven, Java 8, Spring Boot 2.2.0.M5 project.
3. Set an appropriate Group and Artifact.
4. Add the "Spring Data for Apache Geode" Dependency.
5. Click "Generate the project".
6. Download the ZIP file, unzip it, and open the Spring Boot, Maven project in your IDE.
7. Add exclusions to the org.springframework.geode:spring-geode-starter dependency declared in the project Maven POM file, as follows:
8. Run the SpringGeodeAppApplication class.
Witness the following Exception:
I expect that Apache Geode, in no way, tries to manipulate the embedded HTTP service (implemented with Jetty), especially for a Spring Boot, Apache Geode ClientCache application, which is what this is!