Thank you for this answer. I only have a single instance for now, I plan to do a second within a few weeks. I'll have a look on the existing messages. But the main question is : is it possible to connect two instances to the same GIS dir (and not the whole data_dir, as it is explained in the GS doc) ?

Best regards,

Gabriel


On 05/10/2012 14:51, Stefano Iacovella wrote:
Hi Gabriel

having two instances of GeoServer deployed on the same Tomcat is not an ideal situation. You may encounter memory issue, look on the list for a recent and detailed answer of Andrea Aime on this subject. As the Tomcat itself has a very little overhead I would go with two Tomcat instances, each one with a GeoServer. You may also consider, if caching layers makes sense in your case, to deploy an external GeoWebCache instance.

Regards

Stefano
---------------------------------------------------
41.95581N 12.52854E


http://www.linkedin.com/in/stefanoiacovella

http://twitter.com/#!/Iacovellas <http://twitter.com/#%21/Iacovellas>


2012/10/5 Gabriel Vatin <[email protected] <mailto:[email protected]>>

    Hello,

    I wonder if it is possible to create two instances of GS 2.2 on a
    single
    Tomcat7 : both would have the same layers and data (shp, tiff, PostGis
    etc), but they would have different security configuration. The
    idea is
    that one GS would be secured by IP, the other one with password.
    I don't want to share the same "data_dir' because it contains all the
    XML configuration, but the the data in it. In the web.xml
    configuration
    file, the DATA_DIR value contains both configuration and data
    files. Is
    there a variable for only GIS data files, so that I can have different
    configurations ?

    I hope I'm clear enough. Thanks for your help,


    Gabriel Vatin

    
------------------------------------------------------------------------------
    Don't let slow site performance ruin your business. Deploy New
    Relic APM
    Deploy New Relic app performance management and know exactly
    what is happening inside your Ruby, Python, PHP, Java, and .NET app
    Try New Relic at no cost today and get our sweet Data Nerd shirt too!
    http://p.sf.net/sfu/newrelic-dev2dev
    _______________________________________________
    Geoserver-users mailing list
    [email protected]
    <mailto:[email protected]>
    https://lists.sourceforge.net/lists/listinfo/geoserver-users


------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to