[GeoNetwork-users] GN 3.0.2 and multinode: trouble

Hello

With GN 3.0.2, i can switch between two nodes, but it seems that the specific configuration for the database isn't understood by GN.

What i did is:

    deploy the geonetwork3.0.2.war in tomcat8
    start GN with the default configuration except for the datadir
    stop tomcat
    add a servlet-mapping section for the new node at the end of
    WEB-INF/web.xml
    create a node.xml in WEB-INF/config-node, containing database parameters
    copy an existing datadir from a previous GN installation i want to
    upgrade in a folder node (inside the datadir)
    start tomcat

I was expecting messages in the log about the migration of the database
When i switch to the new node, i obtain an empty Gn catalog.
My switching, i mean replacing "srv" by "nodename" in the default URL.

Am i missing something ?

Thank for your help

Philippe
--
Re: Publication profil geonetwork

Found the mistake: forgot to move the node.xml file in WEB-INF/config-node
folder !

I also used the script node-mgr.sh as presented in this page
<http://geonetwork-opensource.org/manuals/trunk/eng/users/maintainer-guide/installing/using-multinode-mode.html&gt;
But I needed to edit this script and change the value of the WEB_FILE_OUT
variable which got the same value of the WEB_FILE variable. This simply
conduce to delete the WEB-INF/web.xml file, which is not what is expected.

After this change, the script worked perfectly.

pclastre wrote

Hello

With GN 3.0.2, i can switch between two nodes, but it seems that the
specific configuration for the database isn't understood by GN.

What i did is:

    deploy the geonetwork3.0.2.war in tomcat8
    start GN with the default configuration except for the datadir
    stop tomcat
    add a servlet-mapping section for the new node at the end of
    WEB-INF/web.xml
    create a node.xml in WEB-INF/config-node, containing database
parameters
    copy an existing datadir from a previous GN installation i want to
    upgrade in a folder node (inside the datadir)
    start tomcat

I was expecting messages in the log about the migration of the database
When i switch to the new node, i obtain an empty Gn catalog.
My switching, i mean replacing "srv" by "nodename" in the default URL.

Am i missing something ?

Thank for your help

Philippe
--
Re: Publication profil geonetwork

------------------------------------------------------------------------------
_______________________________________________
GeoNetwork-users mailing list

GeoNetwork-users@anonymised.com

https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/GN-3-0-2-and-multinode-trouble-tp5233167p5234071.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

Thanks for reporting. Fixed in
https://github.com/geonetwork/core-geonetwork/commit/ff733def4df2967a2f5c00b452554e671b6d223a

Francois

2015-11-03 8:54 GMT+01:00 pclastre <Philippe.Clastre@anonymised.com>:

Found the mistake: forgot to move the node.xml file in
WEB-INF/config-node
folder !

I also used the script node-mgr.sh as presented in this page
<
http://geonetwork-opensource.org/manuals/trunk/eng/users/maintainer-guide/installing/using-multinode-mode.html
>
But I needed to edit this script and change the value of the WEB_FILE_OUT
variable which got the same value of the WEB_FILE variable. This simply
conduce to delete the WEB-INF/web.xml file, which is not what is expected.

After this change, the script worked perfectly.

pclastre wrote
> Hello
>
> With GN 3.0.2, i can switch between two nodes, but it seems that the
> specific configuration for the database isn't understood by GN.
>
> What i did is:
>
> deploy the geonetwork3.0.2.war in tomcat8
> start GN with the default configuration except for the datadir
> stop tomcat
> add a servlet-mapping section for the new node at the end of
> WEB-INF/web.xml
> create a node.xml in WEB-INF/config-node, containing database
> parameters
> copy an existing datadir from a previous GN installation i want to
> upgrade in a folder node (inside the datadir)
> start tomcat
>
>
> I was expecting messages in the log about the migration of the database
> When i switch to the new node, i obtain an empty Gn catalog.
> My switching, i mean replacing "srv" by "nodename" in the default URL.
>
> Am i missing something ?
>
> Thank for your help
>
> Philippe
> --
> Re: Publication profil geonetwork
>
>
------------------------------------------------------------------------------
> _______________________________________________
> GeoNetwork-users mailing list

> GeoNetwork-users@anonymised.com

> https://lists.sourceforge.net/lists/listinfo/geonetwork-users
> GeoNetwork OpenSource is maintained at
> http://sourceforge.net/projects/geonetwork

--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/GN-3-0-2-and-multinode-trouble-tp5233167p5234071.html
Sent from the GeoNetwork users mailing list archive at Nabble.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