For some reason your GEODE_HOME is null and it might be causing this issue. Please check that first.
With best regards, Ashish On Sat, Feb 13, 2021, 4:56 PM Pratibha Ayengar <pratibha.ayen...@gmail.com> wrote: > > Hi Geode Team, > > I am upgrading apache geode version from 1.6.0 to 1.12.0 for our project > and I am having trouble starting up the REST API. Could you please help me > understand what I am missing here. > > We start up the locator using gfsh and use a spring data geode project to > start the server. Attached are the geode.properties file used to start the > locator and the project used to start the server. > > Following are the commands and the JVM arguments used for the locator and > server respectively. I have also attached the logs from the server that > does not seem to indicate the reason why the swagger API is not started. > > SpringBoot version - 2.3.0.RELEASE > > Locator start command > start locator --name=Locator1 --port=10334 > --properties-file=D:\apache-geode-1.12.0\geode-locator.properties > > JVM arguments used while starting server > -Dgemfire.home=D:\apache-geode-1.12.0 > > Line in the logs that show the API is not available - > 2021-02-04 10:53:05.983 INFO 8936 --- [ main] > o.a.geode.management.internal.AgentUtil : GEODE_HOME:null > 2021-02-04 10:53:05.984 INFO 8936 --- [ main] > o.a.geode.management.internal.AgentUtil : Reading gemfire.home System > Property -> D:\apache-geode-1.12.0 > 2021-02-04 10:53:05.985 INFO 8936 --- [ main] > o.a.geode.management.internal.AgentUtil : Located war: geode-web-api at > location: > file:/D:/apache-geode-1.12.0/tools/Extensions/geode-web-api-1.12.0.war > 2021-02-04 10:53:05.986 WARN 8936 --- [ main] > o.a.geode.management.internal.RestAgent : HttpService is not available - > could not start Dev REST API > > Appreciate any help I can get. > > Thank you, > Pratibha Ayengar > >