jxblum / pivotal-gemfire-clientserver-examples

Example project demonstrating Pivotal GemFire client/server application configurations using both Spring and GemFire native configuration meta-data.
15 stars 11 forks source link

Jmx manager could not be started #4

Closed komushi closed 6 years ago

komushi commented 6 years ago

3 spring-data-geode(gemfire) 2.0.2.RELEASE

After pulling the previous commit I tried spring-gemfire-clientserver again and had exception like below:

spring-gemfire-clientserver $mvn spring-boot:run
[INFO] Scanning for projects...
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Building Spring GemFire Client/Server Example Application 1.0.0.BUILD-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] >>> spring-boot-maven-plugin:1.5.9.RELEASE:run (default-cli) > test-compile @ spring-gemfire-clientserver >>>
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ spring-gemfire-clientserver ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/komushi/pivotal-gemfire-clientserver-examples/spring-gemfire-clientserver/src/main/resources
[INFO] skip non existing resourceDirectory /Users/komushi/pivotal-gemfire-clientserver-examples/spring-gemfire-clientserver/src/main/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ spring-gemfire-clientserver ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ spring-gemfire-clientserver ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/komushi/pivotal-gemfire-clientserver-examples/spring-gemfire-clientserver/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ spring-gemfire-clientserver ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] <<< spring-boot-maven-plugin:1.5.9.RELEASE:run (default-cli) < test-compile @ spring-gemfire-clientserver <<<
[INFO] 
[INFO] 
[INFO] --- spring-boot-maven-plugin:1.5.9.RELEASE:run (default-cli) @ spring-gemfire-clientserver ---

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::        (v1.5.9.RELEASE)

[info 2017/12/20 22:14:57.381 JST <main> tid=0xc] Starting SpringGemFireServerApplication on 4c32759f2b3f.ant.amazon.com with PID 43630 (/Users/komushi/pivotal-gemfire-clientserver-examples/spring-gemfire-clientserver/target/classes started by komushi in /Users/komushi/pivotal-gemfire-clientserver-examples/spring-gemfire-clientserver)

[info 2017/12/20 22:14:57.383 JST <main> tid=0xc] No active profile set, falling back to default profiles: default

[info 2017/12/20 22:14:57.410 JST <main> tid=0xc] Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@29037ef0: startup date [Wed Dec 20 22:14:57 JST 2017]; root of context hierarchy

[info 2017/12/20 22:14:58.479 JST <main> tid=0xc] 
---------------------------------------------------------------------------

  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: 2017-09-08 19:39:04 +0000
Build-Id: root 51
Build-Java-Version: 1.8.0_144
Build-Platform: Linux 4.4.0-62-generic amd64
GemFire-Source-Date: 2017-09-01 21:01:32 +0000
GemFire-Source-Repository: support/9.1
GemFire-Source-Revision: ac20a06062204a8f6ba2acaaf2c7dbc1a3d0cfe0
Product-Name: Pivotal GemFire
Product-Version: 9.1.1
Source-Date: 2017-09-08 19:07:34 +0000
Source-Repository: support/9.1
Source-Revision: e756828d0e631cec47f3d027555c022f0fb0e5cc
Native version: native code unavailable
Running on: /192.168.11.109, 8 cpu(s), x86_64 Mac OS X 10.12.6 
Communications version: 65
Process ID: 43630
User: komushi
Current dir: /Users/komushi/pivotal-gemfire-clientserver-examples/spring-gemfire-clientserver
Home dir: /Users/komushi
Command Line Parameters:
  -Dclassworlds.conf=/usr/local/Cellar/maven/3.5.0/libexec/bin/m2.conf
  -Dmaven.home=/usr/local/Cellar/maven/3.5.0/libexec
  -Dmaven.multiModuleProjectDirectory=/Users/komushi/pivotal-gemfire-clientserver-examples/spring-gemfire-clientserver
Class Path:
  /usr/local/Cellar/maven/3.5.0/libexec/boot/plexus-classworlds-2.5.2.jar
Library Path:
  /Users/komushi/Library/Java/Extensions
  /Library/Java/Extensions
  /Network/Library/Java/Extensions
  /System/Library/Java/Extensions
  /usr/lib/java
  .
System Properties:
    PID = 43630
    awt.toolkit = sun.lwawt.macosx.LWCToolkit
    classworlds.conf = /usr/local/Cellar/maven/3.5.0/libexec/bin/m2.conf
    file.encoding = UTF-8
    file.encoding.pkg = sun.io
    file.separator = /
    gopherProxySet = false
    guice.disable.misplaced.annotation.check = true
    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_151.jdk/Contents/Home/jre/lib/endorsed
    java.ext.dirs = /Users/komushi/Library/Java/Extensions:/Library/Java/JavaVirtualMachines/jdk1.8.0_151.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_151.jdk/Contents/Home/jre
    java.io.tmpdir = /var/folders/yr/7rnnqb4n1r77yxl6_0w206dsv0z2pp/T/
    java.runtime.name = Java(TM) SE Runtime Environment
    java.runtime.version = 1.8.0_151-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_151
    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.151-b12
    library.jansi.path = /usr/local/Cellar/maven/3.5.0/libexec/lib/jansi-native/osx64
    line.separator = 
    maven.conf = /usr/local/Cellar/maven/3.5.0/libexec/conf
    maven.home = /usr/local/Cellar/maven/3.5.0/libexec
    maven.multiModuleProjectDirectory = /Users/komushi/pivotal-gemfire-clientserver-examples/spring-gemfire-clientserver
    os.version = 10.12.6
    path.separator = :
    spring.beaninfo.ignore = true
    sun.arch.data.model = 64
    sun.boot.class.path = /Library/Java/JavaVirtualMachines/jdk1.8.0_151.jdk/Contents/Home/jre/lib/resources.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_151.jdk/Contents/Home/jre/lib/rt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_151.jdk/Contents/Home/jre/lib/sunrsasign.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_151.jdk/Contents/Home/jre/lib/jsse.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_151.jdk/Contents/Home/jre/lib/jce.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_151.jdk/Contents/Home/jre/lib/charsets.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_151.jdk/Contents/Home/jre/lib/jfr.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_151.jdk/Contents/Home/jre/classes
    sun.boot.library.path = /Library/Java/JavaVirtualMachines/jdk1.8.0_151.jdk/Contents/Home/jre/lib
    sun.cpu.endian = little
    sun.cpu.isalist = 
    sun.io.unicode.encoding = UnicodeBig
    sun.java.command = org.codehaus.plexus.classworlds.launcher.Launcher spring-boot:run
    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.country.format = JP
    user.language = en
    user.timezone = Asia/Tokyo
Log4J 2 Configuration:
    jar:file:/Users/komushi/.m2/repository/io/pivotal/gemfire/geode-core/9.1.1/geode-core-9.1.1.jar!/log4j2.xml
---------------------------------------------------------------------------

[info 2017/12/20 22:14:58.488 JST <main> tid=0xc] Startup Configuration:
 ### GemFire Properties defined with api ###
disable-auto-reconnect=true
jmx-manager=true
jmx-manager-port=1099
jmx-manager-start=true
log-level=config
name=SpringGemFireServerApplication
start-locator=localhost[10334]
use-cluster-configuration=false
### 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/komushi/pivotal-gemfire-clientserver-examples/spring-gemfire-clientserver
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-access-file=
jmx-manager-bind-address=
jmx-manager-hostname-for-clients=
jmx-manager-http-port=7070
jmx-manager-password-file=
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-update-rate=2000
load-cluster-configuration-from-dir=false
locator-wait-time=0
locators=localhost[10334]
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-port=0
mcast-recv-buffer-size=1048576
mcast-send-buffer-size=65535
mcast-ttl=32
member-timeout=5000
membership-port-range=1024-65535
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=
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-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-web-alias=
ssl-web-require-authentication=false
start-dev-rest-api=false
statistic-archive-file=
statistic-sample-rate=1000
statistic-sampling-enabled=true
tcp-port=0
udp-fragment-size=60000
udp-recv-buffer-size=1048576
udp-send-buffer-size=65535
user-command-packages=

SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
[info 2017/12/20 22:14:58.535 JST <main> tid=0xc] Starting peer location for Distribution Locator on localhost/127.0.0.1

[info 2017/12/20 22:14:58.537 JST <main> tid=0xc] Starting Distribution Locator on localhost/127.0.0.1

[info 2017/12/20 22:14:58.542 JST <main> tid=0xc] Locator was created at Wed Dec 20 22:14:58 JST 2017

[info 2017/12/20 22:14:58.543 JST <main> tid=0xc] Listening on port 10334 bound on address localhost/127.0.0.1

[info 2017/12/20 22:14:58.543 JST <main> tid=0xc] GemFire peer location service starting.  Other locators: localhost[10334]  Locators preferred as coordinators: true  Network partition detection enabled: true  View persistence file: locator10334view.dat

[info 2017/12/20 22:14:58.544 JST <main> tid=0xc] Peer locator attempting to recover from localhost/127.0.0.1:10334

[info 2017/12/20 22:14:58.555 JST <main> tid=0xc] Peer locator was unable to recover state from this locator

[info 2017/12/20 22:14:58.555 JST <main> tid=0xc] recovery file not found: /Users/komushi/pivotal-gemfire-clientserver-examples/spring-gemfire-clientserver/locator10334view.dat

[info 2017/12/20 22:14:58.667 JST <main> tid=0xc] Starting membership services

[info 2017/12/20 22:14:58.739 JST <main> tid=0xc] JGroups channel created (took 72ms)

[info 2017/12/20 22:14:58.753 JST <main> tid=0xc] GemFire P2P Listener started on /192.168.11.109:35866

[info 2017/12/20 22:14:58.753 JST <main> tid=0xc] This member is hosting a locator will be preferred as a membership coordinator

[info 2017/12/20 22:14:58.755 JST <Geode Failure Detection Server thread 0> tid=0x23] Started failure detection server thread on /192.168.11.109:28175.

[info 2017/12/20 22:14:58.756 JST <main> tid=0xc] Peer locator is connecting to local membership services with ID 192.168.11.109(SpringGemFireServerApplication:43630)<ec>:1024

[info 2017/12/20 22:14:58.759 JST <main> tid=0xc] This member is becoming the membership coordinator with address 192.168.11.109(SpringGemFireServerApplication:43630)<ec>:1024

[info 2017/12/20 22:14:58.759 JST <main> tid=0xc] received new view: View[192.168.11.109(SpringGemFireServerApplication:43630)<ec><v0>:1024|0] members: [192.168.11.109(SpringGemFireServerApplication:43630)<ec><v0>:1024{lead}]
old view is: null

[info 2017/12/20 22:14:58.759 JST <main> tid=0xc] Peer locator received new membership view: View[192.168.11.109(SpringGemFireServerApplication:43630)<ec><v0>:1024|0] members: [192.168.11.109(SpringGemFireServerApplication:43630)<ec><v0>:1024{lead}]

[info 2017/12/20 22:14:58.768 JST <main> tid=0xc] ViewCreator starting on:192.168.11.109(SpringGemFireServerApplication:43630)<ec><v0>:1024

[info 2017/12/20 22:14:58.768 JST <Geode Membership View Creator> tid=0x26] View Creator thread is starting

[info 2017/12/20 22:14:58.769 JST <main> tid=0xc] Finished joining (took 13ms).

[info 2017/12/20 22:14:58.770 JST <Geode Membership View Creator> tid=0x26] no recipients for new view aside from myself

[info 2017/12/20 22:14:58.770 JST <main> tid=0xc] Starting DistributionManager 192.168.11.109(SpringGemFireServerApplication:43630)<ec><v0>:1024.  (took 193 ms)

[info 2017/12/20 22:14:58.772 JST <main> tid=0xc] Initial (distribution manager) view =  View[192.168.11.109(SpringGemFireServerApplication:43630)<ec><v0>:1024|0] members: [192.168.11.109(SpringGemFireServerApplication:43630)<ec><v0>:1024{lead}]

[info 2017/12/20 22:14:58.772 JST <main> tid=0xc] Admitting member <192.168.11.109(SpringGemFireServerApplication:43630)<ec><v0>:1024>. Now there are 1 non-admin member(s).

[info 2017/12/20 22:14:58.773 JST <main> tid=0xc] 192.168.11.109(SpringGemFireServerApplication:43630)<ec><v0>:1024 is the elder and the only member.

[info 2017/12/20 22:14:58.775 JST <main> tid=0xc] Did not hear back from any other system. I am the first one.

[info 2017/12/20 22:14:58.777 JST <main> tid=0xc] Starting server location for Distribution Locator on localhost/127.0.0.1[10334]

[info 2017/12/20 22:14:58.956 JST <main> tid=0xc] Requesting cluster configuration

[info 2017/12/20 22:14:59.032 JST <main> tid=0xc] Initializing region _monitoringRegion_192.168.11.109<v0>1024

[info 2017/12/20 22:14:59.035 JST <main> tid=0xc] Initialization of region _monitoringRegion_192.168.11.109<v0>1024 completed

[warn 2017/12/20 22:14:59.209 JST <main> tid=0xc] (tid=12 msgId=0) Could not load Command from: class org.apache.geode.management.internal.cli.commands.lifecycle.StartJVisualVMCommand due to org.apache.geode.management.internal.cli.commands.lifecycle.StartJVisualVMCommand cannot be cast to org.springframework.shell.core.CommandMarker

[warn 2017/12/20 22:14:59.215 JST <main> tid=0xc] (tid=12 msgId=1) Could not load Command from: class org.apache.geode.management.internal.cli.commands.DiskStoreCommands due to org.apache.geode.management.internal.cli.commands.DiskStoreCommands cannot be cast to org.springframework.shell.core.CommandMarker

[warn 2017/12/20 22:14:59.216 JST <main> tid=0xc] (tid=12 msgId=2) Could not load Command from: class org.apache.geode.management.internal.cli.commands.lifecycle.StopServerCommand due to org.apache.geode.management.internal.cli.commands.lifecycle.StopServerCommand cannot be cast to org.springframework.shell.core.CommandMarker

[warn 2017/12/20 22:14:59.792 JST <main> tid=0xc] (tid=12 msgId=3) Could not load Command from: class org.apache.geode.management.internal.cli.commands.DeployCommands due to org.apache.geode.management.internal.cli.commands.DeployCommands cannot be cast to org.springframework.shell.core.CommandMarker

[warn 2017/12/20 22:14:59.794 JST <main> tid=0xc] (tid=12 msgId=4) Could not load Command from: class org.apache.geode.management.internal.cli.commands.ShellCommands due to org.apache.geode.management.internal.cli.commands.ShellCommands cannot be cast to org.springframework.shell.core.CommandMarker

[warn 2017/12/20 22:14:59.795 JST <main> tid=0xc] (tid=12 msgId=5) Could not load Command from: class org.apache.geode.management.internal.cli.commands.MemberCommands due to org.apache.geode.management.internal.cli.commands.MemberCommands cannot be cast to org.springframework.shell.core.CommandMarker

[warn 2017/12/20 22:14:59.796 JST <main> tid=0xc] (tid=12 msgId=6) Could not load Command from: class org.apache.geode.management.internal.cli.commands.ExportImportClusterConfigurationCommands due to org.apache.geode.management.internal.cli.commands.ExportImportClusterConfigurationCommands cannot be cast to org.springframework.shell.core.CommandMarker

[warn 2017/12/20 22:14:59.797 JST <main> tid=0xc] (tid=12 msgId=7) Could not load Command from: class org.apache.geode.management.internal.cli.commands.QueueCommands due to org.apache.geode.management.internal.cli.commands.QueueCommands cannot be cast to org.springframework.shell.core.CommandMarker

[warn 2017/12/20 22:14:59.798 JST <main> tid=0xc] (tid=12 msgId=8) Could not load Command from: class org.apache.geode.management.internal.cli.commands.GfshHelpCommands due to org.apache.geode.management.internal.cli.commands.GfshHelpCommands cannot be cast to org.springframework.shell.core.CommandMarker

[warn 2017/12/20 22:14:59.804 JST <main> tid=0xc] (tid=12 msgId=9) Could not load Command from: class org.apache.geode.management.internal.cli.commands.MiscellaneousCommands due to org.apache.geode.management.internal.cli.commands.MiscellaneousCommands cannot be cast to org.springframework.shell.core.CommandMarker

[warn 2017/12/20 22:14:59.805 JST <main> tid=0xc] (tid=12 msgId=10) Could not load Command from: class org.apache.geode.management.internal.cli.commands.lifecycle.StatusLocatorCommand due to org.apache.geode.management.internal.cli.commands.lifecycle.StatusLocatorCommand cannot be cast to org.springframework.shell.core.CommandMarker

[warn 2017/12/20 22:14:59.805 JST <main> tid=0xc] (tid=12 msgId=11) Could not load Command from: class org.apache.geode.management.internal.cli.commands.lifecycle.StartPulseCommand due to org.apache.geode.management.internal.cli.commands.lifecycle.StartPulseCommand cannot be cast to org.springframework.shell.core.CommandMarker

[warn 2017/12/20 22:14:59.807 JST <main> tid=0xc] (tid=12 msgId=12) Could not load Command from: class org.apache.geode.management.internal.cli.commands.WanCommands due to org.apache.geode.management.internal.cli.commands.WanCommands cannot be cast to org.springframework.shell.core.CommandMarker

[warn 2017/12/20 22:14:59.810 JST <main> tid=0xc] (tid=12 msgId=13) Could not load Command from: class org.apache.geode.management.internal.cli.commands.PDXCommands due to org.apache.geode.management.internal.cli.commands.PDXCommands cannot be cast to org.springframework.shell.core.CommandMarker

[warn 2017/12/20 22:14:59.816 JST <main> tid=0xc] (tid=12 msgId=14) Could not load Command from: class org.apache.geode.management.internal.cli.commands.RegionCommands due to org.apache.geode.management.internal.cli.commands.RegionCommands cannot be cast to org.springframework.shell.core.CommandMarker

[warn 2017/12/20 22:14:59.818 JST <main> tid=0xc] (tid=12 msgId=15) Could not load Command from: class org.apache.geode.management.internal.cli.commands.ExportLogsCommand due to org.apache.geode.management.internal.cli.commands.ExportLogsCommand cannot be cast to org.springframework.shell.core.CommandMarker

[warn 2017/12/20 22:14:59.820 JST <main> tid=0xc] (tid=12 msgId=16) Could not load Command from: class org.apache.geode.management.internal.cli.commands.DurableClientCommands due to org.apache.geode.management.internal.cli.commands.DurableClientCommands cannot be cast to org.springframework.shell.core.CommandMarker

[warn 2017/12/20 22:14:59.823 JST <main> tid=0xc] (tid=12 msgId=17) Could not load Command from: class org.apache.geode.management.internal.cli.commands.ConfigCommands due to org.apache.geode.management.internal.cli.commands.ConfigCommands cannot be cast to org.springframework.shell.core.CommandMarker

[warn 2017/12/20 22:14:59.824 JST <main> tid=0xc] (tid=12 msgId=18) Could not load Command from: class org.apache.geode.management.internal.cli.commands.lifecycle.StartJConsoleCommand due to org.apache.geode.management.internal.cli.commands.lifecycle.StartJConsoleCommand cannot be cast to org.springframework.shell.core.CommandMarker

[warn 2017/12/20 22:14:59.834 JST <main> tid=0xc] (tid=12 msgId=19) Could not load Command from: class org.apache.geode.management.internal.cli.commands.IndexCommands due to org.apache.geode.management.internal.cli.commands.IndexCommands cannot be cast to org.springframework.shell.core.CommandMarker

[warn 2017/12/20 22:14:59.835 JST <main> tid=0xc] (tid=12 msgId=20) Could not load Command from: class org.apache.geode.management.internal.cli.commands.QueryCommand due to org.apache.geode.management.internal.cli.commands.QueryCommand cannot be cast to org.springframework.shell.core.CommandMarker

[warn 2017/12/20 22:14:59.836 JST <main> tid=0xc] (tid=12 msgId=21) Could not load Command from: class org.apache.geode.management.internal.cli.commands.lifecycle.StopLocatorCommand due to org.apache.geode.management.internal.cli.commands.lifecycle.StopLocatorCommand cannot be cast to org.springframework.shell.core.CommandMarker

[warn 2017/12/20 22:14:59.839 JST <main> tid=0xc] (tid=12 msgId=22) Could not load Command from: class org.apache.geode.management.internal.cli.commands.FunctionCommands due to org.apache.geode.management.internal.cli.commands.FunctionCommands cannot be cast to org.springframework.shell.core.CommandMarker

[warn 2017/12/20 22:14:59.839 JST <main> tid=0xc] (tid=12 msgId=23) Could not load Command from: class org.apache.geode.management.internal.cli.commands.lifecycle.StatusServerCommand due to org.apache.geode.management.internal.cli.commands.lifecycle.StatusServerCommand cannot be cast to org.springframework.shell.core.CommandMarker

[warn 2017/12/20 22:14:59.861 JST <main> tid=0xc] (tid=12 msgId=24) Could not load Command from: class org.apache.geode.management.internal.cli.commands.LauncherLifecycleCommands due to org.apache.geode.management.internal.cli.commands.LauncherLifecycleCommands cannot be cast to org.springframework.shell.core.CommandMarker

[warn 2017/12/20 22:14:59.862 JST <main> tid=0xc] (tid=12 msgId=25) Could not load Command from: class org.apache.geode.management.internal.cli.commands.lifecycle.StartVsdCommand due to org.apache.geode.management.internal.cli.commands.lifecycle.StartVsdCommand cannot be cast to org.springframework.shell.core.CommandMarker

[warn 2017/12/20 22:14:59.863 JST <main> tid=0xc] (tid=12 msgId=26) Could not load Command from: class org.apache.geode.management.internal.cli.commands.StatusCommands due to org.apache.geode.management.internal.cli.commands.StatusCommands cannot be cast to org.springframework.shell.core.CommandMarker

[warn 2017/12/20 22:14:59.866 JST <main> tid=0xc] (tid=12 msgId=27) Could not load Command from: class org.apache.geode.management.internal.cli.commands.DataCommands due to org.apache.geode.management.internal.cli.commands.DataCommands cannot be cast to org.springframework.shell.core.CommandMarker

[warn 2017/12/20 22:14:59.867 JST <main> tid=0xc] (tid=12 msgId=28) Could not load Command from: class org.apache.geode.management.internal.cli.commands.ClientCommands due to org.apache.geode.management.internal.cli.commands.ClientCommands cannot be cast to org.springframework.shell.core.CommandMarker

[warn 2017/12/20 22:14:59.873 JST <main> tid=0xc] (tid=12 msgId=29) Could not load Command from: class org.apache.geode.management.internal.cli.commands.CreateAlterDestroyRegionCommands due to org.apache.geode.management.internal.cli.commands.CreateAlterDestroyRegionCommands cannot be cast to org.springframework.shell.core.CommandMarker

[warn 2017/12/20 22:15:00.032 JST <main> tid=0xc] (tid=12 msgId=30) Could not load Converter from: class org.apache.geode.management.internal.cli.converters.HintTopicConverter due to org.apache.geode.management.internal.cli.converters.HintTopicConverter cannot be cast to org.springframework.shell.core.Converter

[warn 2017/12/20 22:15:00.033 JST <main> tid=0xc] (tid=12 msgId=31) Could not load Converter from: class org.apache.geode.management.internal.cli.converters.IndexTypeConverter due to org.apache.geode.management.internal.cli.converters.IndexTypeConverter cannot be cast to org.springframework.shell.core.Converter

[warn 2017/12/20 22:15:00.043 JST <main> tid=0xc] (tid=12 msgId=32) Could not load Converter from: class org.apache.geode.management.internal.cli.converters.LogLevelConverter due to org.apache.geode.management.internal.cli.converters.LogLevelConverter cannot be cast to org.springframework.shell.core.Converter

[warn 2017/12/20 22:15:00.044 JST <main> tid=0xc] (tid=12 msgId=33) Could not load Converter from: class org.apache.geode.management.internal.cli.converters.FilePathStringConverter due to org.apache.geode.management.internal.cli.converters.FilePathStringConverter cannot be cast to org.springframework.shell.core.Converter

[warn 2017/12/20 22:15:00.045 JST <main> tid=0xc] (tid=12 msgId=34) Could not load Converter from: class org.apache.geode.management.internal.cli.converters.MemberIdNameConverter due to org.apache.geode.management.internal.cli.converters.MemberIdNameConverter cannot be cast to org.springframework.shell.core.Converter

[warn 2017/12/20 22:15:00.045 JST <main> tid=0xc] (tid=12 msgId=35) Could not load Converter from: class org.apache.geode.management.internal.cli.converters.ConnectionEndpointConverter due to org.apache.geode.management.internal.cli.converters.ConnectionEndpointConverter cannot be cast to org.springframework.shell.core.Converter

[warn 2017/12/20 22:15:00.046 JST <main> tid=0xc] (tid=12 msgId=36) Could not load Converter from: class org.apache.geode.management.internal.cli.converters.GatewaySenderIdConverter due to org.apache.geode.management.internal.cli.converters.GatewaySenderIdConverter cannot be cast to org.springframework.shell.core.Converter

[warn 2017/12/20 22:15:00.046 JST <main> tid=0xc] (tid=12 msgId=37) Could not load Converter from: class org.apache.geode.management.internal.cli.converters.GatewayReceiverIdsConverter due to org.apache.geode.management.internal.cli.converters.GatewayReceiverIdsConverter cannot be cast to org.springframework.shell.core.Converter

[warn 2017/12/20 22:15:00.046 JST <main> tid=0xc] (tid=12 msgId=38) Could not load Converter from: class org.apache.geode.management.internal.cli.converters.LocatorIdNameConverter due to org.apache.geode.management.internal.cli.converters.LocatorIdNameConverter cannot be cast to org.springframework.shell.core.Converter

[warn 2017/12/20 22:15:00.047 JST <main> tid=0xc] (tid=12 msgId=39) Could not load Converter from: class org.apache.geode.management.internal.cli.converters.ClusterMemberIdNameConverter due to org.apache.geode.management.internal.cli.converters.ClusterMemberIdNameConverter cannot be cast to org.springframework.shell.core.Converter

[warn 2017/12/20 22:15:00.047 JST <main> tid=0xc] (tid=12 msgId=40) Could not load Converter from: class org.apache.geode.management.internal.cli.converters.LocatorDiscoveryConfigConverter due to org.apache.geode.management.internal.cli.converters.LocatorDiscoveryConfigConverter cannot be cast to org.springframework.shell.core.Converter

[warn 2017/12/20 22:15:00.048 JST <main> tid=0xc] (tid=12 msgId=41) Could not load Converter from: class org.apache.geode.management.internal.cli.converters.RegionPathConverter due to org.apache.geode.management.internal.cli.converters.RegionPathConverter cannot be cast to org.springframework.shell.core.Converter

[warn 2017/12/20 22:15:00.048 JST <main> tid=0xc] (tid=12 msgId=42) Could not load Converter from: class org.apache.geode.management.internal.cli.converters.FilePathConverter due to org.apache.geode.management.internal.cli.converters.FilePathConverter cannot be cast to org.springframework.shell.core.Converter

[warn 2017/12/20 22:15:00.048 JST <main> tid=0xc] (tid=12 msgId=43) Could not load Converter from: class org.apache.geode.management.internal.cli.converters.DiskStoreNameConverter due to org.apache.geode.management.internal.cli.converters.DiskStoreNameConverter cannot be cast to org.springframework.shell.core.Converter

[warn 2017/12/20 22:15:00.049 JST <main> tid=0xc] (tid=12 msgId=44) Could not load Converter from: class org.apache.geode.management.internal.cli.converters.HelpConverter due to org.apache.geode.management.internal.cli.converters.HelpConverter cannot be cast to org.springframework.shell.core.Converter

[warn 2017/12/20 22:15:00.049 JST <main> tid=0xc] (tid=12 msgId=45) Could not load Converter from: class org.apache.geode.management.internal.cli.converters.MemberGroupConverter due to org.apache.geode.management.internal.cli.converters.MemberGroupConverter cannot be cast to org.springframework.shell.core.Converter

[warn 2017/12/20 22:15:00.091 JST <main> tid=0xc] (tid=12 msgId=46) Could not load Converter from: class org.springframework.shell.converters.BooleanConverter due to org.springframework.shell.converters.BooleanConverter cannot be cast to org.springframework.shell.core.Converter

[warn 2017/12/20 22:15:00.092 JST <main> tid=0xc] (tid=12 msgId=47) Could not load Converter from: class org.springframework.shell.converters.EnumConverter due to org.springframework.shell.converters.EnumConverter cannot be cast to org.springframework.shell.core.Converter

[warn 2017/12/20 22:15:00.092 JST <main> tid=0xc] (tid=12 msgId=48) Could not load Converter from: class org.springframework.shell.converters.FloatConverter due to org.springframework.shell.converters.FloatConverter cannot be cast to org.springframework.shell.core.Converter

[warn 2017/12/20 22:15:00.093 JST <main> tid=0xc] (tid=12 msgId=49) Could not load Converter from: class org.springframework.shell.converters.AvailableCommandsConverter due to org.springframework.shell.converters.AvailableCommandsConverter cannot be cast to org.springframework.shell.core.Converter

[warn 2017/12/20 22:15:00.094 JST <main> tid=0xc] (tid=12 msgId=50) Could not load Converter from: class org.springframework.shell.converters.BigDecimalConverter due to org.springframework.shell.converters.BigDecimalConverter cannot be cast to org.springframework.shell.core.Converter

[warn 2017/12/20 22:15:00.094 JST <main> tid=0xc] (tid=12 msgId=51) Could not load Converter from: class org.springframework.shell.converters.DoubleConverter due to org.springframework.shell.converters.DoubleConverter cannot be cast to org.springframework.shell.core.Converter

[warn 2017/12/20 22:15:00.095 JST <main> tid=0xc] (tid=12 msgId=52) Could not load Converter from: class org.springframework.shell.converters.SimpleFileConverter due to org.springframework.shell.converters.SimpleFileConverter cannot be cast to org.springframework.shell.core.Converter

[warn 2017/12/20 22:15:00.096 JST <main> tid=0xc] (tid=12 msgId=53) Could not load Converter from: class org.springframework.shell.converters.StringConverter due to org.springframework.shell.converters.StringConverter cannot be cast to org.springframework.shell.core.Converter

[warn 2017/12/20 22:15:00.096 JST <main> tid=0xc] (tid=12 msgId=54) Could not load Converter from: class org.springframework.shell.converters.BigIntegerConverter due to org.springframework.shell.converters.BigIntegerConverter cannot be cast to org.springframework.shell.core.Converter

[warn 2017/12/20 22:15:00.097 JST <main> tid=0xc] (tid=12 msgId=55) Could not load Converter from: class org.springframework.shell.converters.DateConverter due to org.springframework.shell.converters.DateConverter cannot be cast to org.springframework.shell.core.Converter

[warn 2017/12/20 22:15:00.098 JST <main> tid=0xc] (tid=12 msgId=56) Could not load Converter from: class org.springframework.shell.converters.StaticFieldConverterImpl due to org.springframework.shell.converters.StaticFieldConverterImpl cannot be cast to org.springframework.shell.core.Converter

[warn 2017/12/20 22:15:00.099 JST <main> tid=0xc] (tid=12 msgId=57) Could not load Converter from: class org.springframework.shell.converters.ArrayConverter due to org.springframework.shell.converters.ArrayConverter cannot be cast to org.springframework.shell.core.Converter

[warn 2017/12/20 22:15:00.100 JST <main> tid=0xc] (tid=12 msgId=58) Could not load Converter from: class org.springframework.shell.converters.LocaleConverter due to org.springframework.shell.converters.LocaleConverter cannot be cast to org.springframework.shell.core.Converter

[warn 2017/12/20 22:15:00.100 JST <main> tid=0xc] (tid=12 msgId=59) Could not load Converter from: class org.springframework.shell.converters.CharacterConverter due to org.springframework.shell.converters.CharacterConverter cannot be cast to org.springframework.shell.core.Converter

[warn 2017/12/20 22:15:00.100 JST <main> tid=0xc] (tid=12 msgId=60) Could not load Converter from: class org.springframework.shell.converters.IntegerConverter due to org.springframework.shell.converters.IntegerConverter cannot be cast to org.springframework.shell.core.Converter

[warn 2017/12/20 22:15:00.101 JST <main> tid=0xc] (tid=12 msgId=61) Could not load Converter from: class org.springframework.shell.converters.ShortConverter due to org.springframework.shell.converters.ShortConverter cannot be cast to org.springframework.shell.core.Converter

[warn 2017/12/20 22:15:00.101 JST <main> tid=0xc] (tid=12 msgId=62) Could not load Converter from: class org.springframework.shell.converters.LongConverter due to org.springframework.shell.converters.LongConverter cannot be cast to org.springframework.shell.core.Converter

[info 2017/12/20 22:15:00.396 JST <main> tid=0xc] GEODE_HOME:/usr/local/Cellar/gemfire/9.1.1/libexec

[info 2017/12/20 22:15:00.397 JST <main> tid=0xc] geode-web war found: /usr/local/Cellar/gemfire/9.1.1/libexec/tools/Extensions/geode-web-9.1.1.war

[info 2017/12/20 22:15:00.397 JST <main> tid=0xc] GEODE_HOME:/usr/local/Cellar/gemfire/9.1.1/libexec

[info 2017/12/20 22:15:00.397 JST <main> tid=0xc] geode-pulse war found: /usr/local/Cellar/gemfire/9.1.1/libexec/tools/Pulse/geode-pulse-9.1.1.war

[info 2017/12/20 22:15:00.397 JST <main> tid=0xc] GEODE_HOME:/usr/local/Cellar/gemfire/9.1.1/libexec

[info 2017/12/20 22:15:00.397 JST <main> tid=0xc] geode-web-api war found: /usr/local/Cellar/gemfire/9.1.1/libexec/tools/Extensions/geode-web-api-9.1.1.war

[error 2017/12/20 22:15:00.398 JST <main> tid=0xc] Jmx manager could not be started because org/eclipse/jetty/server/Handler
java.lang.NoClassDefFoundError: org/eclipse/jetty/server/Handler
    at org.apache.geode.management.internal.ManagementAgent.startHttpService(ManagementAgent.java:235)
    at org.apache.geode.management.internal.ManagementAgent.startAgent(ManagementAgent.java:139)
    at org.apache.geode.management.internal.SystemManagementService.startManager(SystemManagementService.java:456)
    at org.apache.geode.management.internal.beans.ManagementAdapter.handleCacheCreation(ManagementAdapter.java:172)
    at org.apache.geode.management.internal.beans.ManagementListener.handleEvent(ManagementListener.java:106)
    at org.apache.geode.distributed.internal.InternalDistributedSystem.notifyResourceEventListeners(InternalDistributedSystem.java:2156)
    at org.apache.geode.distributed.internal.InternalDistributedSystem.handleResourceEvent(InternalDistributedSystem.java:546)
    at org.apache.geode.internal.cache.GemFireCacheImpl.initialize(GemFireCacheImpl.java:1183)
    at org.apache.geode.internal.cache.GemFireCacheImpl.basicCreate(GemFireCacheImpl.java:758)
    at org.apache.geode.internal.cache.GemFireCacheImpl.create(GemFireCacheImpl.java:745)
    at org.apache.geode.cache.CacheFactory.create(CacheFactory.java:173)
    at org.apache.geode.cache.CacheFactory.create(CacheFactory.java:212)
    at java.util.Optional.orElseGet(Optional.java:267)
    at org.springframework.data.gemfire.CacheFactoryBean.createCache(CacheFactoryBean.java:431)
    at org.springframework.data.gemfire.CacheFactoryBean.resolveCache(CacheFactoryBean.java:312)
    at org.springframework.data.gemfire.CacheFactoryBean.init(CacheFactoryBean.java:263)
    at java.util.Optional.orElseGet(Optional.java:267)
    at org.springframework.data.gemfire.CacheFactoryBean.getObject(CacheFactoryBean.java:738)
    at org.springframework.data.gemfire.CacheFactoryBean.getObject(CacheFactoryBean.java:106)
    at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:162)
    at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:101)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1640)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getObjectForBeanInstance(AbstractAutowireCapableBeanFactory.java:1178)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:258)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200)
    at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:251)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.addCandidateEntry(DefaultListableBeanFactory.java:1322)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1288)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1098)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1062)
    at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:815)
    at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:721)
    at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:470)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1250)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1099)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:502)
    at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:312)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:310)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:742)
    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:868)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:549)
    at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:693)
    at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:360)
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:303)
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:1118)
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:1107)
    at io.pivotal.gemfire.main.SpringGemFireServerApplication.main(SpringGemFireServerApplication.java:50)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.springframework.boot.maven.AbstractRunMojo$LaunchRunner.run(AbstractRunMojo.java:527)
    at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.ClassNotFoundException: org.eclipse.jetty.server.Handler
    at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    ... 56 more

[warn 2017/12/20 22:15:00.406 JST <main> tid=0xc] org/eclipse/jetty/server/Handler
java.lang.NoClassDefFoundError: org/eclipse/jetty/server/Handler
    at org.apache.geode.management.internal.ManagementAgent.startHttpService(ManagementAgent.java:235)
    at org.apache.geode.management.internal.ManagementAgent.startAgent(ManagementAgent.java:139)
    at org.apache.geode.management.internal.SystemManagementService.startManager(SystemManagementService.java:456)
    at org.apache.geode.management.internal.beans.ManagementAdapter.handleCacheCreation(ManagementAdapter.java:172)
    at org.apache.geode.management.internal.beans.ManagementListener.handleEvent(ManagementListener.java:106)
    at org.apache.geode.distributed.internal.InternalDistributedSystem.notifyResourceEventListeners(InternalDistributedSystem.java:2156)
    at org.apache.geode.distributed.internal.InternalDistributedSystem.handleResourceEvent(InternalDistributedSystem.java:546)
    at org.apache.geode.internal.cache.GemFireCacheImpl.initialize(GemFireCacheImpl.java:1183)
    at org.apache.geode.internal.cache.GemFireCacheImpl.basicCreate(GemFireCacheImpl.java:758)
    at org.apache.geode.internal.cache.GemFireCacheImpl.create(GemFireCacheImpl.java:745)
    at org.apache.geode.cache.CacheFactory.create(CacheFactory.java:173)
    at org.apache.geode.cache.CacheFactory.create(CacheFactory.java:212)
    at java.util.Optional.orElseGet(Optional.java:267)
    at org.springframework.data.gemfire.CacheFactoryBean.createCache(CacheFactoryBean.java:431)
    at org.springframework.data.gemfire.CacheFactoryBean.resolveCache(CacheFactoryBean.java:312)
    at org.springframework.data.gemfire.CacheFactoryBean.init(CacheFactoryBean.java:263)
    at java.util.Optional.orElseGet(Optional.java:267)
    at org.springframework.data.gemfire.CacheFactoryBean.getObject(CacheFactoryBean.java:738)
    at org.springframework.data.gemfire.CacheFactoryBean.getObject(CacheFactoryBean.java:106)
    at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:162)
    at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:101)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1640)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getObjectForBeanInstance(AbstractAutowireCapableBeanFactory.java:1178)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:258)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200)
    at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:251)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.addCandidateEntry(DefaultListableBeanFactory.java:1322)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1288)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1098)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1062)
    at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:815)
    at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:721)
    at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:470)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1250)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1099)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:502)
    at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:312)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:310)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:742)
    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:868)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:549)
    at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:693)
    at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:360)
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:303)
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:1118)
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:1107)
    at io.pivotal.gemfire.main.SpringGemFireServerApplication.main(SpringGemFireServerApplication.java:50)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.springframework.boot.maven.AbstractRunMojo$LaunchRunner.run(AbstractRunMojo.java:527)
    at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.ClassNotFoundException: org.eclipse.jetty.server.Handler
    at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    ... 56 more

[info 2017/12/20 22:15:00.423 JST <main> tid=0xc] Loading previously deployed jars

[info 2017/12/20 22:15:00.437 JST <main> tid=0xc] Initializing region PdxTypes

[info 2017/12/20 22:15:00.438 JST <main> tid=0xc] Initialization of region PdxTypes completed

[info 2017/12/20 22:15:00.448 JST <main> tid=0xc] Connected to Distributed System [SpringGemFireServerApplication] as Member [192.168.11.109(SpringGemFireServerApplication:43630)<ec><v0>:1024] in Group(s) [[]] with Role(s) [[]] on Host [192.168.11.109] having PID [43630]

[info 2017/12/20 22:15:00.452 JST <main> tid=0xc] Created new Pivotal GemFire version [9.1.1] Cache [SpringGemFireServerApplication]

[info 2017/12/20 22:15:00.493 JST <main> tid=0xc] Falling back to creating Region [Factorials] in Cache [SpringGemFireServerApplication]

[info 2017/12/20 22:15:00.499 JST <main> tid=0xc] Created Region [Factorials]

[info 2017/12/20 22:15:00.528 JST <main> tid=0xc] Initializing region __PR

[info 2017/12/20 22:15:00.528 JST <main> tid=0xc] Initialization of region __PR completed

[info 2017/12/20 22:15:00.557 JST <main> tid=0xc] Partitioned Region /Factorials is born with prId=1 ident:#Factorials

[info 2017/12/20 22:15:00.861 JST <main> tid=0xc] Registering beans for JMX exposure on startup

[info 2017/12/20 22:15:00.868 JST <main> tid=0xc] Starting beans in phase 2147483647

[info 2017/12/20 22:15:00.870 JST <main> tid=0xc] Cache server connection listener bound to address localhost/127.0.0.1:40404 with backlog 1,000.

[info 2017/12/20 22:15:00.879 JST <main> tid=0xc] ClientHealthMonitorThread maximum allowed time between pings: 60,000

[info 2017/12/20 22:15:00.885 JST <main> tid=0xc] CacheServer Configuration:   port=40404 max-connections=800 max-threads=0 notify-by-subscription=true socket-buffer-size=32768 maximum-time-between-pings=60000 maximum-message-count=230000 message-time-to-live=180 eviction-policy=none capacity=1 overflow directory=. groups=[] loadProbe=ConnectionCountProbe loadPollInterval=5000 tcpNoDelay=true

[info 2017/12/20 22:15:00.902 JST <main> tid=0xc] Started SpringGemFireServerApplication in 3.688 seconds (JVM running for 6.577)
jxblum commented 6 years ago

Hi Lei-

You undoubtedly set the GEODE_HOME environment variable to the installation directory of Pivotal GemFire (or, in your case, Apache Geode) in the run profile/configuration before you ran your Spring-based GemFire/Geode server.

In effect, this enables the embedded HTTP service, which is part of GemFire/Geode's Management Service (i.e. (embedded) "Manager") to startup. And, I have explicitly enabled the Management Service in my SpringGemFireServerApplication class, which allows JMX clients (e.g. Gfsh) to connect to this server.

The embedded HTTP service in the Manager starts up anytime it can find the GemFire/Geode provided WAR files in the $GEODE_HOME/tools/Extensions and $GEODE_HOME/tools/Pulse directories, and therefore attempts to start these provided Web apps. These WAR files are for GemFire/Geode's Developer REST API, non-public Management REST API, and Pulse, respectively.

However, , since I have not included a specific dependency on Jetty (which GemFire/Geode uses as the default Web container to run these provided Web apps), then the embedded HTTP service fails to start (which [you are aware of|https://github.com/komushi/spring-boot-geode-server/blob/d64aa02ea7c2fe83f70a5ff21d6acbca07839e9a/pom.xml#L49-L68], apparently).

Still, this does not prevent the server from starting...

    at io.pivotal.gemfire.main.SpringGemFireServerApplication.main(SpringGemFireServerApplication.java:50)
Caused by: java.lang.ClassNotFoundException: org.eclipse.jetty.server.Handler
    at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:338)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    ... 50 more

[info 2017/12/21 00:19:35.925 PST <main> tid=0x1] Loading previously deployed jars

[info 2017/12/21 00:19:35.939 PST <main> tid=0x1] Initializing region PdxTypes

[info 2017/12/21 00:19:35.939 PST <main> tid=0x1] Initialization of region PdxTypes completed

[info 2017/12/21 00:19:35.947 PST <main> tid=0x1] Connected to Distributed System [SpringGemFireServerApplication] as Member [10.99.199.8(SpringGemFireServerApplication:95526)<ec><v0>:1024] in Group(s) [[]] with Role(s) [[]] on Host [10.99.199.8] having PID [95526]

[info 2017/12/21 00:19:35.949 PST <main> tid=0x1] Created new Pivotal GemFire version [9.1.1] Cache [SpringGemFireServerApplication]

[info 2017/12/21 00:19:35.981 PST <main> tid=0x1] Falling back to creating Region [Factorials] in Cache [SpringGemFireServerApplication]

[info 2017/12/21 00:19:35.989 PST <main> tid=0x1] Created Region [Factorials]

[info 2017/12/21 00:19:36.017 PST <main> tid=0x1] Initializing region __PR

[info 2017/12/21 00:19:36.018 PST <main> tid=0x1] Initialization of region __PR completed

[info 2017/12/21 00:19:36.044 PST <main> tid=0x1] Partitioned Region /Factorials is born with prId=1 ident:#Factorials

[info 2017/12/21 00:19:36.291 PST <main> tid=0x1] Registering beans for JMX exposure on startup

[info 2017/12/21 00:19:36.297 PST <main> tid=0x1] Starting beans in phase 2147483647

[info 2017/12/21 00:19:36.300 PST <main> tid=0x1] Cache server connection listener bound to address localhost/127.0.0.1:40404 with backlog 1,000.

[info 2017/12/21 00:19:36.307 PST <main> tid=0x1] ClientHealthMonitorThread maximum allowed time between pings: 60,000

[info 2017/12/21 00:19:36.311 PST <main> tid=0x1] CacheServer Configuration:   port=40404 max-connections=800 max-threads=0 notify-by-subscription=true socket-buffer-size=32768 maximum-time-between-pings=60000 maximum-message-count=230000 message-time-to-live=180 eviction-policy=none capacity=1 overflow directory=. groups=[] loadProbe=ConnectionCountProbe loadPollInterval=5000 tcpNoDelay=true

[info 2017/12/21 00:19:36.324 PST <main> tid=0x1] Started SpringGemFireServerApplication in 2.505 seconds (JVM running for 3.779)

Additionally, GemFire/Geode cache client applications can still connect to the server and perform cache operations. However, it does prevent Gfsh, or other JMX based clients (e.g. JConsole or JVisualVM) from connecting to this server since, once the embedded HTTP service fails to start, it also causes the Management Service to fail (clearly an uncaught Exception and a bug in GemFire/Geode, IMO!). GemFire/Geode should be more careful to make sure the required dependencies are present (e.g. Jetty) before it attempts to enable/start a service.

Anyway, my initial intention with these examples was not necessarily to enable the provided GemFire/Geode Web apps to run. If a user wishes to use these Web apps, then s/he must provide the necessary dependencies in his/her POM file.

But, since GemFire/Geode is not behaving correctly, and I am enabling the Manager (embedded Management Service) to allow users to administer this server with Gfsh, I suppose I should provide the dependency in case a user sets the GEODE_HOME environment variable.

jxblum commented 6 years ago

Hi Lei-

Alright, I have made this example more resilient to problems, particularly when the user may want to set the GEODE_HOME environment variable.

Appropriate changes were provided in commit 13272db.