[GeoNetwork-users] How to have two Geonetwork services?

Hello alls,

I want to have two Geonetwork services under one server. I tried this but I am having problems:
- First, I duplicated the Geonetwork directory, and gave different names.
- then I modified the respecting WEB_INF/config.xml to point on my different directories
- I also reflected this in my tomcat config.
- then I tried to enter Gast, but it does not work if I dont have a web/geonetwork directory. once again, Iduplicated it.
- With Gast, I created two GN databases.
- I enter firefox, it seems to work well, but the bitmap from the "search button" is not loaded.
When I click on it, it just says "Error)"

Is this the good way to have separate Gn services? and what is that error?

Tanx,

Michel Le Page
IRD, Institut de Recherche pour le Développement
CESBIO, Centre d'Etudes Spatiales de la Biosphère
http://lepage.michel.googlepages.com

      _____________________________________________________________________________
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail

What I did was to duplicate the geonetwork directory, then I replaced the
/geonetwork calls in some of the search scripts and in some xsl files.
I guess this is a bug as it should as the name of the service is
paramametred in other places, but in this files it is hardcoded.

Michel Le Page
IRD, Institut de Recherche pour le Développement
CESBIO, Centre d'Etudes Spatiales de la Biosphère
http://lepage.michel.googlepages.com

Michel Le Page wrote:

Hello alls,

I want to have two Geonetwork services under one server. I tried this but
I am having problems:
- First, I duplicated the Geonetwork directory, and gave different names.
- then I modified the respecting WEB_INF/config.xml to point on my
different directories
- I also reflected this in my tomcat config.
- then I tried to enter Gast, but it does not work if I dont have a
web/geonetwork directory. once again, Iduplicated it.
- With Gast, I created two GN databases.
- I enter firefox, it seems to work well, but the bitmap from the "search
button" is not loaded.
When I click on it, it just says "Error)"

Is this the good way to have separate Gn services? and what is that error?

Tanx,

Michel Le Page
IRD, Institut de Recherche pour le Développement
CESBIO, Centre d'Etudes Spatiales de la Biosphère
http://lepage.michel.googlepages.com

_____________________________________________________________________________
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo!
Mail
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--
View this message in context: http://www.nabble.com/How-to-have-two-Geonetwork-services--tf4606312s18419.html#a13290656
Sent from the geonetwork-users mailing list archive at Nabble.com.

Hi Michel,
Thanks first of all to your detailed reports on experiences! I'm sure others will benefit from it!

On the directory names, yes there are definitely some hardcoded imperfections there! Some are hard to get by, others need just to be improved in the code. Do you have the list of places where you ran into this? Including line numbers or so?

Thanks again, much appreciated!
Jeroen

On Oct 19, 2007, at 11:14 AM, Michel Le Page wrote:

What I did was to duplicate the geonetwork directory, then I replaced the
/geonetwork calls in some of the search scripts and in some xsl files.
I guess this is a bug as it should as the name of the service is
paramametred in other places, but in this files it is hardcoded.

Michel Le Page
IRD, Institut de Recherche pour le Développement
CESBIO, Centre d'Etudes Spatiales de la Biosphère
http://lepage.michel.googlepages.com

Michel Le Page wrote:

Hello alls,

I want to have two Geonetwork services under one server. I tried this but
I am having problems:
- First, I duplicated the Geonetwork directory, and gave different names.
- then I modified the respecting WEB_INF/config.xml to point on my
different directories
- I also reflected this in my tomcat config.
- then I tried to enter Gast, but it does not work if I dont have a
web/geonetwork directory. once again, Iduplicated it.
- With Gast, I created two GN databases.
- I enter firefox, it seems to work well, but the bitmap from the "search
button" is not loaded.
When I click on it, it just says "Error)"

Is this the good way to have separate Gn services? and what is that error?

Tanx,

Michel Le Page
IRD, Institut de Recherche pour le Développement
CESBIO, Centre d'Etudes Spatiales de la Biosphère
http://lepage.michel.googlepages.com

_____________________________________________________________________________
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo!
Mail
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
geonetwork-users List Signup and Options
GeoNetwork OpenSource is maintained at
GeoNetwork - Geographic Metadata Catalog download | SourceForge.net

--
View this message in context: http://www.nabble.com/How-to-have-two-Geonetwork-services--tf4606312s18419.html#a13290656
Sent from the geonetwork-users mailing list archive at Nabble.com.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
geonetwork-users List Signup and Options
GeoNetwork OpenSource is maintained at GeoNetwork - Geographic Metadata Catalog download | SourceForge.net

Thanks for the thanks :wink:

Well, I don't remember the file names. What I did was to search all files
into "\geonetwork\web\geonetwork\xsl" and
"\geonetwork\web\geonetwork\scripts" for the keyword "\geonetwork".

Sorry, I'll get it right next time!
see you Jeroen

Jeroen Ticheler-3 wrote:

Hi Michel,
Thanks first of all to your detailed reports on experiences! I'm sure
others will benefit from it!

On the directory names, yes there are definitely some hardcoded
imperfections there! Some are hard to get by, others need just to be
improved in the code. Do you have the list of places where you ran
into this? Including line numbers or so?

Thanks again, much appreciated!
Jeroen

On Oct 19, 2007, at 11:14 AM, Michel Le Page wrote:

What I did was to duplicate the geonetwork directory, then I
replaced the
/geonetwork calls in some of the search scripts and in some xsl files.
I guess this is a bug as it should as the name of the service is
paramametred in other places, but in this files it is hardcoded.

Michel Le Page
IRD, Institut de Recherche pour le Développement
CESBIO, Centre d'Etudes Spatiales de la Biosphère
http://lepage.michel.googlepages.com

Michel Le Page wrote:

Hello alls,

I want to have two Geonetwork services under one server. I tried
this but
I am having problems:
- First, I duplicated the Geonetwork directory, and gave different
names.
- then I modified the respecting WEB_INF/config.xml to point on my
different directories
- I also reflected this in my tomcat config.
- then I tried to enter Gast, but it does not work if I dont have a
web/geonetwork directory. once again, Iduplicated it.
- With Gast, I created two GN databases.
- I enter firefox, it seems to work well, but the bitmap from the
"search
button" is not loaded.
When I click on it, it just says "Error)"

Is this the good way to have separate Gn services? and what is
that error?

Tanx,

Michel Le Page
IRD, Institut de Recherche pour le Développement
CESBIO, Centre d'Etudes Spatiales de la Biosphère
http://lepage.michel.googlepages.com

_____________________________________________________________________
________
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers
Yahoo!
Mail
---------------------------------------------------------------------
----
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a
browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--
View this message in context: http://www.nabble.com/How-to-have-two-
Geonetwork-services--tf4606312s18419.html#a13290656
Sent from the geonetwork-users mailing list archive at Nabble.com.

----------------------------------------------------------------------
---
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a
browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/
projects/geonetwork

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--
View this message in context: http://www.nabble.com/How-to-have-two-Geonetwork-services--tf4606312s18419.html#a13299415
Sent from the geonetwork-users mailing list archive at Nabble.com.