Hi List
How independent is GeoNetwork?
I want to have two or more instances running on a machine under different contexts, each having its own db.
i.e.
Server/geonetwork-dept1 (attached to dbhost:db:geonetwork-dept1-db)
Server/geonetwork-dept2 (attached to dbhost:db:geonetwork-dept2-db)
Can they both share a single instance of /geoserver and /intermap? Are they relying on any system properties which would interfere with each instance?
Regards,
Terry Rankine
Hi Terry
To use an unique geoserver application you can config in intermap applications the file intermap\WEB-INF\mapServers.xml to point to a unique geoserver instance. Locate the next lines and set the proper url:
For intermap, if not wrong, is a bit more complicate as GeoNetwork loads some js, css and images from local intermap application. You can start checking in geonetwork\web\main-page.xsl, searchform_advanced.xsl and searchform_simple_template.xsl for intermap dependencies (did a quick search for ‘/intermap’ in xsl folder) like:
...
<img src="/intermap/images/im_zoomfull16x16.png" ...
to change the path and set the complete url of the unique intermap instance you want to use. Probably more files need modification.
Sorry, but no warranty that will work (i never tried). Maybe other people can confirm about all changes needed.
Regards,
Jose Garcia
On Thu, Aug 12, 2010 at 9:20 AM, wrote:
> Hi List
>
> How independent is GeoNetwork?
>
> I want to have two or more instances running on a machine under different contexts, each having its own db.
>
> i.e.
>
> Server/geonetwork-dept1 (attached to dbhost:db:geonetwork-dept1-db)
>
> Server/geonetwork-dept2 (attached to dbhost:db:geonetwork-dept2-db)
>
> Can they both share a single instance of /geoserver and /intermap? Are they relying on any system properties which would interfere with each instance?
>
> Regards,
>
> Terry Rankine
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by
>
> Make an app they can't live without
> Enter the BlackBerry Developer Challenge
> [http://p.sf.net/sfu/RIM-dev2dev](http://p.sf.net/sfu/RIM-dev2dev)
> _______________________________________________
> GeoNetwork-devel mailing list
> [GeoNetwork-devel@lists.sourceforge.net](mailto:GeoNetwork-devel@lists.sourceforge.net)
> [https://lists.sourceforge.net/lists/listinfo/geonetwork-devel](https://lists.sourceforge.net/lists/listinfo/geonetwork-devel)
> GeoNetwork OpenSource is maintained at [http://sourceforge.net/projects/geonetwork](http://sourceforge.net/projects/geonetwork)
Hi Terry
I have a setup running multiple instances of GN in a single Tomcat server all sharing the same geoserver.
I wrote a wiki entry for it
http://trac.osgeo.org/geonetwork/wiki/HowToRunMultipleGeonetworkInstancesUnderTomcat
Regards Andrew
Andrew Watkins
Systems Development Team Manager
National Institute Water & Atmospheric Research (NIWA).
On 12 Aug 10 at 07:20 PM, in message 4E88C091A57493498EEC9F2A21D5BF4323189ED1CA@anonymised.com, Terry.Rankine@anonymised.com wrote:
Hi List
How independent is GeoNetwork?
I want to have two or more instances running on a machine under different contexts, each having its own db.
i.e.
Server/geonetwork-dept1 (attached to dbhost:db:geonetwork-dept1-db)
Server/geonetwork-dept2 (attached to dbhost:db:geonetwork-dept2-db)
Can they both share a single instance of /geoserver and /intermap? Are they relying on any system properties which would interfere with each instance?
Regards,
Terry Rankine
|
NIWA is the trading name of the National Institute of Water & Atmospheric Research Ltd.