Hi, I made a very quick test and the result looks promising:
1) Install Geoserver 2.8 on Windows with the binary-zip alternative 2) Test that Geoserver is running and then stop the server 3) Download Jetty from http://eclipse.org/downloads/download.php?file=/jetty/stable-9/dist/jetty-distribution-9.3.3.v20150827.zip&r=1 4) Unzip Jetty 5) Copy directory "geoserver" from the webapps of default 2.8 installation into webapps of Jetty 9.3.3 6) Start Jetty 9.3.3 from the installation directory with "java -jar start.jar" 7) Check that Geoserver is available at localhost:8080/geoserver 8) Check from server status that data_dir is at jetty933\webapps\geoserver\data and stop the server 9) From command window do "SET GEOSERVER_DATA_DIR=c:\data\test_data_dir" 10) Start Jetty 9.3.3 from the installation directory with "java -jar start.jar" 11) Check from server status that data_dir is at c:\data\test_data_dir" Now Geoserver 2.8 is running on Jetty 9.3.3 and it is using the data_dir that I pointed it to use. Everything seems to work in the user interface and for the services but I have not tested very much yet because I reacted to your mail that you sent 50 minutes ago. -Jukka Rahkonen- walter.nordmann wrote: geowolf wrote > Ah, did not notice this was the devel list. Yeah, wrong list for such > kind of question, a lot smaller audience, and here the discussion > topic is only one, how to improve GeoServer own code/functionality, > it's a list by developers for developers. You should ask on the users > list instead. did it two days ago. http://osgeo-org.1560.x6.nabble.com/setting-Servlet-context-parameter-in-jetty-tp5229293.html - no response :( > Nobody told me is the preferred way. I've been a core developer of > GeoServer for 9 years now, and that's how I always did it. That's of course the easy way - develop a program and than you don't need a documentation ;) Regards walter Btw: the User-Documentation of Geoserver is very, very good and helped me a lot. There is just a gap in the installation/getting to work area. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/changing-data-directory-using-geoserver-war-with-jetty-tp5229890p5230031.html Sent from the GeoServer - Dev mailing list archive at Nabble.com. ------------------------------------------------------------------------------ _______________________________________________ Geoserver-devel mailing list Geoserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-devel ------------------------------------------------------------------------------ _______________________________________________ Geoserver-devel mailing list Geoserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-devel