[Geoserver-devel] RELEASE BLOCKER: bin package not starting any more?

Hi,

I can confirm. The 2.19 release candidate with jetty-server-9.4.36.v20210114.jar starts but the nightly main with jetty-server-9.4.38.v20210224.jar does not.

-Jukka Rahkonen-

···

Lähettäjä: Andrea Aime <andrea.aime@…1268…>
Lähetetty: keskiviikko 17. maaliskuuta 2021 13.16
Vastaanottaja: Geoserver-devel geoserver-devel@lists.sourceforge.net
Aihe: [Geoserver-devel] RELEASE BLOCKER: bin package not starting any more?

Hi,

I’m trying out the bin package from the main branch, it does not seem to be working any more:

bin/startup.sh
GEOSERVER_HOME environment variable not found, using current
directory. If not set then running this script from other
directories will not work in the future.
GEOSERVER DATA DIR is /tmp/geoserver/data_dir
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

GeoServer 2.19.x nightly builds are behaving the same, however, 2.18.x is working fine.

If I had to guess, it’s due to the different Jetty version:

  • On 2.18.x, <jetty.version>9.4.18.v20190429</jetty.version>
  • On main and 2.19.x, <jetty.version>9.4.38.v20210224</jetty.version>

Can anyone confirm the same behavior?

Cheers

Andrea

== GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it ------------------------------------------------------- Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia. This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.

I tried 9.4.37 - it also does not start.

There is no obvious entry in the changelog indicating anything to do with startup.

Experimenting with changing our script to show pass in options like --help gives a few ideas for debugging.

The --list-config option was the most useful, however it shows our -D options like GEOSERVER_DATA_DIR not being passed in.

And the compare from 9.4.36 to 9.4.37 (
https://github.com/eclipse/jetty.project/compare/jetty-9.4.36.v20210114…jetty-9.4.37.v20210219) is useless as all the files changed headers for 2021.

The recommended layout for jetty has changed a bit since we last made our bin release, you can now set up a “base” directory to isolate any extensions from updates to the core jetty distribution.

Downloading jetty 9.4.38 and setting this up by hand (dropping a geoserver folder into base/webapps showed geoserver can run in 9.4.38 which is something I suppose.

I would recommend rolling back to 9.3.36 for this release as a quick fix is not apparent for this one.

···


Jody Garnett

I’ve confirmed locally that reverting fixes the issue. Created the two revert PRs

Cheers
Andrea

···

Regards, Andrea Aime

== GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it ------------------------------------------------------- Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia. This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.