Hi all,
I'm trying to setup GN 2.4.2, Tomcat 6.0, and PostgreSQL 8.4. I have a problem with the configuration of PostgreSQL.
I did what is told in http://trac.osgeo.org/geonetwork/wiki/HowToMoveFromMySQLToPostgres, that is to add several lines in pg_hba.conf. But every time I restart PostgreSQL, the service couldn't start. There is no error log in the event viewer. So, for now I left out this step.
I added this in GN config.xml, and set <resource enabled="false"> for the other database configurations.
<resource enabled="true">
<name>geonetwork</name> <!-- database name -->
<provider>jeeves.resources.dbms.DbmsPool</provider>
<config>
<user>postgres</user>
<password>postgres</password>
<driver>org.postgresql.Driver</driver>
<url>jdbc:postgresql://localhost:5432/geonetwork</url>
<poolSize>10</poolSize>
</config>
</resource>
I also did the database configuration in GAST.
They don't work. I can't fetch the "CATEGORIES" values. In the lib folder, I have these files, postgresql-8.4-701.jdbc3.jar; postgresql-8.4-701.jdbc4.jar. Do I have to enable these drivers in some other configuration files?
Thanks.