How to connect postgres-postgis to geonetwork (tomcat server)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

How to connect postgres-postgis to geonetwork (tomcat server)

Khadija ASABR
Hi,

I would like to connect a postgis-postgris database created in pgAdmin to
geonetwork, which files in the webInf under the geonetwork folder I am
supposed to modify and how ?

Please help
Thanks in advance

_______________________________________________
GeoNetwork-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork
Reply | Threaded
Open this post in threaded view
|

Re: How to connect postgres-postgis to geonetwork (tomcat server)

Jo Cook
Hi,

This documentation should help:
https://geonetwork-opensource.org/manuals/trunk/en/install-guide/configuring-database.html#configuring-database

In short there are two files to change- WEB-INF/config-node/srv.xml
where you need to uncomment the postgres-postgis driver (and comment
out the default one) and WEB-INF/config-db/jdbc.properties where you
define the connection details.

All the best

Jo

On Mon, Oct 19, 2020 at 1:26 PM Khadija ASABR <[hidden email]> wrote:

>
> Hi,
>
> I would like to connect a postgis-postgris database created in pgAdmin to
> geonetwork, which files in the webInf under the geonetwork folder I am
> supposed to modify and how ?
>
> Please help
> Thanks in advance
>
> _______________________________________________
> GeoNetwork-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/geonetwork-users
> GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork



--
Jo Cook
t:+44 7930 524 155/twitter:@archaeogeek
Please note that currently I do not work on Friday afternoons. For
urgent responses at that time, please visit
support.astuntechnology.com or phone our office on 01372 744009

--
-- 
*Sign up to our mailing list
<https://astuntechnology.com/company/#email-updates> for updates on news,
products, conferences, events and training*
*
*

Astun Technology Ltd,
Epsom Square Centre, 6-7 The Derby Square, Epsom, Surrey, KT19 8AG, UK 
t:+44 1372 744 009 w: astuntechnology.com <http://astuntechnology.com/
twitter:@astuntech <https://twitter.com/astuntech>



iShare - enterprise
geographic intelligence platform <https://astuntechnology.com/ishare/>
GeoServer, PostGIS and QGIS training
<https://astuntechnology.com/training-courses/>
Helpdesk and customer
portal
<https://astuntech.atlassian.net/wiki/spaces/ISHAREHELP/pages/364970043/Astun+Technology+Support+Portal>




Company registration no. 5410695. Registered in England and Wales.
Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT no.
864201149.


_______________________________________________
GeoNetwork-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork
Reply | Threaded
Open this post in threaded view
|

Re: How to connect postgres-postgis to geonetwork (tomcat server)

ianwallen
In reply to this post by Khadija ASABR
Khadija ,

https://geonetwork-opensource.org/manuals/trunk/eng/users/install-guide/configuring-database.html

Or you can try using env variables.

https://github.com/geonetwork/core-geonetwork/blob/master/pom.xml#L1405-L1417


________________________________
From: Khadija ASABR <[hidden email]>
Sent: October 19, 2020 5:24 AM
To: [hidden email] <[hidden email]>
Subject: [GeoNetwork-users] How to connect postgres-postgis to geonetwork (tomcat server)

Hi,

I would like to connect a postgis-postgris database created in pgAdmin to
geonetwork, which files in the webInf under the geonetwork folder I am
supposed to modify and how ?

Please help
Thanks in advance

_______________________________________________
GeoNetwork-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

_______________________________________________
GeoNetwork-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork
Reply | Threaded
Open this post in threaded view
|

Re: How to connect postgres-postgis to geonetwork (tomcat server)

Khadija ASABR
Hi Allen,

Thank you so much for your help 😃
Can you give some instructions about the environment variable method please
? What should I do exactly to make it work ?

Thanks in advance,
Have a nice day


On Mon, 19 Oct 2020, 20:56 Ian Allen, <[hidden email]> wrote:

> Khadija ,
>
>
> https://geonetwork-opensource.org/manuals/trunk/eng/users/install-guide/configuring-database.html
>
> Or you can try using env variables.
>
>
> https://github.com/geonetwork/core-geonetwork/blob/master/pom.xml#L1405-L1417
>
>
> ________________________________
> From: Khadija ASABR <[hidden email]>
> Sent: October 19, 2020 5:24 AM
> To: [hidden email] <
> [hidden email]>
> Subject: [GeoNetwork-users] How to connect postgres-postgis to geonetwork
> (tomcat server)
>
> Hi,
>
> I would like to connect a postgis-postgris database created in pgAdmin to
> geonetwork, which files in the webInf under the geonetwork folder I am
> supposed to modify and how ?
>
> Please help
> Thanks in advance
>
> _______________________________________________
> GeoNetwork-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/geonetwork-users
> GeoNetwork OpenSource is maintained at
> http://sourceforge.net/projects/geonetwork
>
> _______________________________________________
> GeoNetwork-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/geonetwork-users
> GeoNetwork OpenSource is maintained at
> http://sourceforge.net/projects/geonetwork
>

_______________________________________________
GeoNetwork-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork