Skip to content

Configures a GeoServer war containing extensions and configuration required by AODN instances

License

Unknown, GPL-3.0 licenses found

Licenses found

Unknown
LICENSE
GPL-3.0
LICENSE.md
Notifications You must be signed in to change notification settings

IMASau/geoserver-build

 
 

Repository files navigation

Geoserver Build

Configures a GeoServer war file with the following extensions installed

Builds the following AODN extensions and includes them:

Makes the following customisations to the geoserver war

  • Return 500 errors instead of 200 for API errors so squid doesn't cache API errors
  • Enable CORS for GET requests so IMAS can use it for GetFeatureInfo requests

Might be good to use transformation sets as per geonetwork-build to enable CORS instead of a full replacement of web.xml so that we get other updates made when upgrading.

Licensing

This project is licensed under the terms of the GNU GPLv3 license.

To build

mvn clean install -U 

Copy the sample context.xml file to configure the default/additional jndi resources

cd src/main/src/jetty
cp context-sample.xml context.xml

Running using Jetty

Maven project is in src/main

cd ../src/main

GeoServer requires extra memory above the normal maven defaults, so you will need to bump up the memory when running this command. For example, run export MAVEN_OPTS='-Xms100m -Xmx512m -XX:MaxPermSize=192m' prior to running this command or add this command to you startup scripts

Then to run jetty on port 9090 you can use:

mvn jetty:run-war -Pjetty -Djetty.port=9090 -Duser.timezone=UTC

GeoServer will then be available at:

http://localhost:9090

About

Configures a GeoServer war containing extensions and configuration required by AODN instances

Resources

License

Unknown, GPL-3.0 licenses found

Licenses found

Unknown
LICENSE
GPL-3.0
LICENSE.md

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 67.3%
  • Scheme 23.3%
  • HTML 5.6%
  • CSS 2.7%
  • Dockerfile 0.5%
  • FreeMarker 0.3%
  • Other 0.3%