[Geoserver-devel] Packaging as an uberwar?

Hello,

Hopefully someone has done this before. :slight_smile:

I’m working on deploying a geoserver cluster into elastic beanstalk. In elastic beanstalk, I’d like to have everything, geoserver and it’s data_dir combined into one WAR file - mainly so I can easily manage the configuration and utilize autoscaling. Elastic beanstalk uses tomcat internally.

In other Java projects i would imagine all you would do is open the geoserver WAR, add your files in a directory under ‘/resources’. And then use an ENV var to point geoserver at that directory so when it starts up it knows to look in resources.

Has anyone done this? Is it as easy as I think it is? Any gotchas?
Thanks for any thoughts.

Thanks!
Cary FitzHugh

Ugh. As seems to always happen, I think I found some info about it after I sent the email asking the question… Doh.

For anyone else who may be wondering.
http://sourceforge.net/p/geoserver/mailman/message/23176935/

Thanks
Cary FitzHugh

···

On Thu, Oct 29, 2015 at 12:27 PM, Cary FitzHugh <cary.fitzhugh@anonymised.com> wrote:

Hello,

Hopefully someone has done this before. :slight_smile:

I’m working on deploying a geoserver cluster into elastic beanstalk. In elastic beanstalk, I’d like to have everything, geoserver and it’s data_dir combined into one WAR file - mainly so I can easily manage the configuration and utilize autoscaling. Elastic beanstalk uses tomcat internally.

In other Java projects i would imagine all you would do is open the geoserver WAR, add your files in a directory under ‘/resources’. And then use an ENV var to point geoserver at that directory so when it starts up it knows to look in resources.

Has anyone done this? Is it as easy as I think it is? Any gotchas?
Thanks for any thoughts.

Thanks!
Cary FitzHugh