[Geoserver-users] Need help by Geoserver installation on MAC (M1)

Hello all,

can someone maybe help me with a Geoserver installation on MAC (M1)?
Have it installed with Homebrew, ran so far on this computer wonderfully, but since an update with brew on Geoserver2.21.1 it no longer runs, Java problem?
I get the following messages:

mikee.@anonymised.com ~ % java --version
openjdk 18.0.2 2022-07-19
OpenJDK Runtime Environment Homebrew (build 18.0.2+0)
OpenJDK 64-Bit Server VM Homebrew (build 18.0.2+0, mixed mode, sharing)
mikee.@anonymised.com ~ % geoserver /home/mikee./Data
ERROR : Nothing to start, exiting ...

Usage: java -jar $JETTY_HOME/start.jar [options] [properties] [configs]
       java -jar $JETTY_HOME/start.jar --help # for more information
mikee.@anonymised.com ~ %

THX, mikeE.

On Wednesday, 3 August 2022 3:57:57 AM AEST Elstermann, Mike wrote:

Hello all,

can someone maybe help me with a Geoserver installation on MAC (M1)?
Have it installed with Homebrew, ran so far on this computer wonderfully,
but since an update with brew on Geoserver2.21.1 it no longer runs, Java
problem? I get the following messages:

mikee.@anonymised.com ~ % java --version
openjdk 18.0.2 2022-07-19

I'd suggest you try JDK 11.

https://docs.geoserver.org/latest/en/user/production/java.html

Brad

THX! Sorry, the same errors. Hmm…
Best regard, mikeE.

Am 03.08.2022 um 00:38 schrieb Brad Hards <bradh@...7296...>:

ACHTUNG: Diese E-Mail stammt von einem externen Absender (außerhalb der SWH-Gruppe). Bitte höchste Vorsicht mit Dateianhängen und Hyperlinks! Im Zweifelsfall wird empfohlen, den Absender (z.B. per Telefon) zu kontaktieren und die Echtheit der E-Mail zu prüfen.

On Wednesday, 3 August 2022 3:57:57 AM AEST Elstermann, Mike wrote:

Hello all,

can someone maybe help me with a Geoserver installation on MAC (M1)?
Have it installed with Homebrew, ran so far on this computer wonderfully,
but since an update with brew on Geoserver2.21.1 it no longer runs, Java
problem? I get the following messages:

mikee.@...11522... ~ % java --version
openjdk 18.0.2 2022-07-19

I'd suggest you try JDK 11.

https://docs.geoserver.org/latest/en/user/production/java.html

Brad

_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer

Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Hello,

Just taking a random uninformed stab at this. The error seems to come from jetty, not java. This is presumably the relevant manual: https://www.eclipse.org/jetty/documentation/jetty-11/operations-guide/index.html#og-begin-start

My first guess would be there is something wrong with $JETTY_BASE or the folder it points at. Jetty might not be able to find the (correct?) geoserver installation.

If I look at the generic geoserver distribution, it contains the file start.ini right next to start.jar in the main folder, so maybe try this:

cd /path/to/geoserver
#validate with ls: this should show start.ini is there
ls
# presumably not necessary, as you already cd'd here, but just to be sure
export JETTY_BASE=/path/to/geoserver
# now bin/startup.sh starts java -jar start.jar , whichs starts jetty, which looks for start.ini
bin/startup.sh

-----Original Message-----
From: Elstermann, Mike <Mike.Elstermann@...1786...>
Sent: vrijdag 5 augustus 2022 12:42
To: Brad Hards <bradh@...7296...>
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] [EXT] Need help by Geoserver installation on MAC (M1) [Marketing Mail]

THX! Sorry, the same errors. Hmm…
Best regard, mikeE.

Am 03.08.2022 um 00:38 schrieb Brad Hards <bradh@...7296...>:

ACHTUNG: Diese E-Mail stammt von einem externen Absender (außerhalb der SWH-Gruppe). Bitte höchste Vorsicht mit Dateianhängen und Hyperlinks! Im Zweifelsfall wird empfohlen, den Absender (z.B. per Telefon) zu kontaktieren und die Echtheit der E-Mail zu prüfen.

On Wednesday, 3 August 2022 3:57:57 AM AEST Elstermann, Mike wrote:

Hello all,

can someone maybe help me with a Geoserver installation on MAC (M1)?
Have it installed with Homebrew, ran so far on this computer
wonderfully, but since an update with brew on Geoserver2.21.1 it no
longer runs, Java problem? I get the following messages:

mikee.@...11522... ~ % java --version openjdk 18.0.2 2022-07-19

I'd suggest you try JDK 11.

https://docs.geoserver.org/latest/en/user/production/java.html

Brad

_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer

Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer

Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users