[GeoNetwork-users] Cannot find metadata - Lucene or postgres error ?

Hi,

I just installed last version of GeoNetwork 2.8 on Linux with tomcat using postgres/postgis with JNDI configuration, using geonetwork-branch28-2012-11-07.war <http://nightlybuild.geonetwork-opensource.org/28branch/geonetwork-branch28-2012-11-07.war&gt;\.

I tried to add templates iso19139 using Administration page and after confirmation tried to add New metadata but I get "No templates available, import metadata first.".

I also tried to import a metadata file in iso19139 which worked well as I could edit and view it (even passed to status Approved) but cannot get it when searching My metadata (or normal search) I can only find it when "searching for unused".

In the metadata table in postgres I have the records there including the templates and the metadata file.

When starting tomcat, I have :
"Failure to make _writer, maybe a problem but might also not be an issue:<error id="error">
<message>org.geotools.jdbc.JDBCFeatureSource cannot be cast to org.geotools.data.FeatureStore</message>
   <class>ClassCastException</class>"
and then
"2012-11-09 15:12:32,714 ERROR [geonetwork.spatial] - Unable to call reset on Spatial writer: null
2012-11-09 15:12:32,722 ERROR [geonetwork.index] - Rebuilding lucene index"

Then every metadata is ignored with error:
"The metadata document index with id=4 is corrupt/invalid - ignoring it. Error: org.geotools.jdbc.JDBCFeatureSource cannot be cast to org.geotools.data.FeatureStore"

Finally when I try to rebuild index I have a popup saying "Index operation already in progress please wait".

I checked database configuration many times and have look through all the forum and mailing list I could but I can't figure out what is going wrong.

The spatialindex table is empty in postgres, but I am not sure if it could be the issue as templates might not use it maybe my metadata file ?

What I am missing ?

I can provide the log file if needed.

Thanks in advance,

Sylvie

<http://nightlybuild.geonetwork-opensource.org/28branch/geonetwork-branch28-2012-11-07.war&gt;

--
Sylvie Fiat
Ingénieur d'étude
Unité 227 "Biocomplexité des écosystèmes coralliens de l'Indo-Pacifique"
Institut de Recherche pour le Développement
B.P. A5
98848, Nouméa Cedex
Nouvelle-Calédonie
Tél. : (687) 26 07 95