Geoserver: 2.11.2 Freebsd: 10.3-RELEASE-p21 Calling 'service geoserver start' In /var/log/geoserver_error.log: Usage: java -jar start.jar [options] [properties] [configs] java -jar start.jar --help # for more information In /var/log/geoserver_error.log: WARNING: Nothing to start, exiting ... Calling start.jar with debug flag (--debug) outputs: jetty.home=/usr/local/geoserver jetty.base=/usr/local/geoserver Parsing collected arguments parse("--debug", "<command-line>", true) Registering all modules getPaths('modules/*.mod') Using relative path pattern: glob:**/modules/*.mod Building Module Graph Expanding Libs Expanding Modules StartArgs: StartArgs [enabledModules=[], xmlRefs=[], properties=org.eclipse.jetty.start.Props@baf30c, jvmArgs=[]] Loaded 0 URLs into URLClassLoader WARNING: Nothing to start, exiting ... java.lang.ClassNotFoundException: org.eclipse.jetty.xml.XmlConfiguration at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at org.eclipse.jetty.start.Main.invokeMain(Main.java:299) at org.eclipse.jetty.start.Main.start(Main.java:817) at org.eclipse.jetty.start.Main.main(Main.java:112) I noticed that the start.ini-file is missing from /usr/local/geoserver after install. Not sure if that's intended or not.
Updated Geoserver. Can you please try to reproduce?
(In reply to Muhammad Moinur Rahman from comment #1) running 'service geoserver start' after update In error log: WARNING: Cannot enable requested module [webapp]: not a valid module name. WARNING: Cannot enable requested module [server]: not a valid module name. WARNING: Cannot enable requested module [resources]: not a valid module name. WARNING: Cannot enable requested module [http]: not a valid module name. WARNING: Cannot enable requested module [deploy]: not a valid module name. Usage: java -jar start.jar [options] [properties] [configs] java -jar start.jar --help # for more information
(In reply to David Wahlund from comment #2) There's no modules directory in /usr/local/geoserver Copying it from the workdir fixes this problem, now I just get: 'WARNING: Module not found [ssl]' but it works.
This is still broken. I still need to manually copy start.ini and the modules dir for it to run.
Last Release: http://geoserver.org/release/2.14.0/
We have now version 2.15.1. Is this still relevant?
(In reply to Walter Schwarzenfeld from comment #6) Yes. The problem is with the port not the version. You still need to manually copy start.ini and modules/ from the work dir of the port. The pkg is also broken because of this since there's files missing that's required for it to start. There's also new errors because a few config files in geoserver/etc/ are only samples. They need do be renamed for it to start. There's 12 of them so it's a bit dedious. It's probably just a simple update to the port for it to copy and rename the files. I'm lacking the time/knowledge though.
So this is still a very broken port. This does not start after install. Nor does the packages. Can someone PLEASE at least remove the part of the Makefile that renames all xml-files to xml.sample. That's just terrible. Spent a few days now trying to make this work after reinstall. Just please test this after install and make the port work. It's so broken...
Fixing @sample but can you please confirm where should I put start.ini? In ETCDIR or PREFIX/geoserver/ ?
A commit references this bug: Author: bofh Date: Sun Dec 15 21:43:31 UTC 2019 New revision: 520201 URL: https://svnweb.freebsd.org/changeset/ports/520201 Log: graphics/geoserver: Update version 2.15.1=>2.16.1 - Fix geoserver start [1] PR: 222783 [1] Reported by: david@dafnet.se [1] Changes: head/graphics/geoserver/Makefile head/graphics/geoserver/distinfo head/graphics/geoserver/pkg-plist