[GeoNetwork-devel] Change servlet path [SEC=UNCLASSIFIED]

Hi everyone,

Hope this is the right list (*flame suit on*), we are currently using an
older version of GN that in the installer allows you to change the Servlet
name (or more accurately the "path" of the context), there seems to be a bug
because all the resources still reference the default path, but not to bother
we plan on upgrading to the new version soon. The new version (at first
glance) does not appear to allow you to change the name of the path during
the install.

We wish to run a number of instances concurrently,

eg /group_x/srv/en/main.home
   /group_y/srv/en/main.home
   /group_z/srv/en/main.home

and this sort of functionality would make our life a little easier.

Has anyone done this or can someone confirm that you can change the path with
some degree of ease in 2.1?

Cheers,
Mik.

Michael.Gannon@anonymised.com wrote:

We wish to run a number of instances concurrently,

eg /group_x/srv/en/main.home
   /group_y/srv/en/main.home
   /group_z/srv/en/main.home

and this sort of functionality would make our life a little easier.

Has anyone done this or can someone confirm that you can change the path with
some degree of ease in 2.1?

Hi Michael, yes you can but you have to do it manually updating :
* jetty/jetty.xml if you're using jetty. Add new web application.
* web/geonetwork/WEB-INF/web.xml
* web/geonetwork/index.html (http and javascript redirect call)

Maybe you need to define db connection. If using mckoi, you need to use
3 different ports.

Z39.50 port should be also different (2100 is the default value)

Once your node started, move to the administration / system config to
set up node name, etc.

Then all your GeoNetwork nodes should be able to run using the same
intermap (could someone confirm that point ?) and geoserver applications
I guess.

HTH
Francois

Cheers,
Mik.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

Hello Michael,

Yes you can do what you want, but you certainly know that the latest version
run with geoserver and intermap.

Do you want your different instance use the same intermap and geoserver or
do you want they will be totally independent ? If you want they will be
totally independent i will induce more cost to configure all path.

If you want to use the harvesting functionality you may have thinking about
this point because with the use of the protocole Z39.50 each Geonetwork are
using a port. ( 2100 as example ), and you can't run two geonetwork on the
same port.

Best regards, Fabien Bachraty

Michael.Gannon wrote:

Hi everyone,

Hope this is the right list (*flame suit on*), we are currently using an
older version of GN that in the installer allows you to change the Servlet
name (or more accurately the "path" of the context), there seems to be a
bug
because all the resources still reference the default path, but not to
bother
we plan on upgrading to the new version soon. The new version (at first
glance) does not appear to allow you to change the name of the path during
the install.

We wish to run a number of instances concurrently,

eg /group_x/srv/en/main.home
   /group_y/srv/en/main.home
   /group_z/srv/en/main.home

and this sort of functionality would make our life a little easier.

Has anyone done this or can someone confirm that you can change the path
with
some degree of ease in 2.1?

Cheers,
Mik.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--
View this message in context: http://www.nabble.com/Change-servlet-path--SEC%3DUNCLASSIFIED--tp14991349s18419p14992788.html
Sent from the geonetwork-devel mailing list archive at Nabble.com.

Thanks guys for the quick responses,

I'll have to try with the new version, I am aware of most the changes you
have mentioned, but the z3950 port was something I had overlooked.

The main problem that I have encountered in the older version is that the
resources are coded /geonetwork/scripts/someJavaScript.js, such that
changing the path to geonetwork_dev will break this link to the resource.
Would I have to do a search and replace to get all these references or are
they controlled from one place?

-----Original Message-----
From: geonetwork-devel-bounces@lists.sourceforge.net
[mailto:geonetwork-devel-bounces@lists.sourceforge.net] On Behalf Of
FBachraty
Sent: Monday, January 21, 2008 7:10 PM
To: geonetwork-devel@lists.sourceforge.net
Subject: Re: [GeoNetwork-devel] Change servlet path [SEC=UNCLASSIFIED]

Hello Michael,

Yes you can do what you want, but you certainly know that the latest version
run with geoserver and intermap.

Do you want your different instance use the same intermap and geoserver or
do you want they will be totally independent ? If you want they will be
totally independent i will induce more cost to configure all path.

If you want to use the harvesting functionality you may have thinking about
this point because with the use of the protocole Z39.50 each Geonetwork are
using a port. ( 2100 as example ), and you can't run two geonetwork on the
same port.

Best regards, Fabien Bachraty

Michael.Gannon wrote:

Hi everyone,

Hope this is the right list (*flame suit on*), we are currently using an
older version of GN that in the installer allows you to change the Servlet
name (or more accurately the "path" of the context), there seems to be a
bug
because all the resources still reference the default path, but not to
bother
we plan on upgrading to the new version soon. The new version (at first
glance) does not appear to allow you to change the name of the path during
the install.

We wish to run a number of instances concurrently,

eg /group_x/srv/en/main.home
   /group_y/srv/en/main.home
   /group_z/srv/en/main.home

and this sort of functionality would make our life a little easier.

Has anyone done this or can someone confirm that you can change the path
with
some degree of ease in 2.1?

Cheers,
Mik.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--
View this message in context:
http://www.nabble.com/Change-servlet-path--SEC%3DUNCLASSIFIED--tp14991349s18
419p14992788.html
Sent from the geonetwork-devel mailing list archive at Nabble.com.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork