Hi Robert, you can have have several Geoserver instances in same Tomcat or at least that was the case with the 1.7 branch. There may be some problems with GWC and maybe with some other things, but besides that, there shouldn't be any major obstacles. The port is same for all instances, only instance name must be different.
- mika - On Tue, 5 Jun 2012 06:33:48 +0100 (BST), Robert Buckley <[email protected]> wrote: > Thanks for the reply. > > The problem with having a shared geoserver_datadir is that I will > then inherit all of the preconfigured layers from the first instance! > This is exactly what I do not want...ie. lots of layers in my > wmsGetCapabilities doc. > > What is the problem with dropping another geoserver .war file into > tomcat, renaming it "geoserver2", changing the default port to :8181 > and giving it a different datadir directory? > > cheers, > > Rob > > ------------------------- > VON: Imran Rajjad > AN: Robert Buckley > GESENDET: 7:19 Dienstag, 5.Juni 2012 > BETREFF: Re: [Geoserver-users] Multiple geoserver / or multiple > tomcats? > > Hi, > > you need to run geoserver on separate instances of tomcat. If you are > only reading and showing maps, then you ought to use the same data > directory for both geoservers, however if you plan to use the > integrated GWC you will need to setup a separate cache directory for > one one the geoserver by setting environment like > -DGEOWEBCACHE_CACHE_DIR= > > regards, > Imran > > On Tue, Jun 5, 2012 at 10:11 AM, Robert Buckley > wrote: >> Hi, >> >> I would like to have two geoserver instances running on one linux > ubuntu >> server. The reason is to be able to offer a wms service for a > particular >> project without the clutter of other layers in the > wmsgetcapabilities doc. I >> would like to just offer a series of layers 20 or so, which will > have one >> organised nomenclature thus making it easier to identify the layers > one >> wants. I find one of the most frustrating things about > wmsgetcapabilities >> docs is the amount of layer info which one has to rumage through. >> >> Anyway...My solution is to install either >> >> 1. geoserver again inside tomcat6, or >> 2. Tomcat6 again and put another geoserver inside >> >> Would anyone have any experience of the best solution? >> >> thanks, >> >> Robert >> >> > > ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. > Discussions >> will include endpoint security, mobile security and the latest in > malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > [2] >> _______________________________________________ >> Geoserver-users mailing list >> [email protected] [3] >> https://lists.sourceforge.net/lists/listinfo/geoserver-users [4] >> ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
