[GeoNetwork-users] Oracle spatial indexing issue [SEC=UNCLASSIFIED]

Hi all,

I'm unable to get GN 2.8.0 to work with Oracle's spatial indexing, and am hoping someone here may be able to help.

When inserting an ISO 19139 record using GN's import metadata tool in the web GUI, all appears to have worked. There are no errors returned in the GUI and the metadata can be retrieved and viewed through the search GUI. Unfortunately the metadata is not being spatially indexed in the Oracle database, i.e. there are no entries in the SPATIALINDEX table.

I am getting the following error message in the logs:

2013-03-06 13:14:55,905 ERROR [geonetwork.datamanager] - The metadata document index with id=1 is corrupt/invalid - ignoring it. Error: Unknown attribute id org.geotools.feature.IllegalAttributeException:Unknown attribute id:null value:null
        at org.geotools.feature.simple.SimpleFeatureImpl.setAttribute(SimpleFeatureImpl.java:246)
        at org.fao.geonet.kernel.search.spatial.SpatialIndexWriter.index(SpatialIndexWriter.java:162)
        at org.fao.geonet.kernel.search.SearchManager.index(SearchManager.java:686)
        at org.fao.geonet.kernel.DataManager.indexMetadata(DataManager.java:553)
        .
        .

The same error occurs when invoking the "Rebuild Lucene Index" function on the admin page.

I'm using Tomcat 6 configured with a container managed connection pool via JNDI. I've followed the Advanced configuration instructions in the User Manual v2.8.0 as closely as possible, and other than a lack of spatial indexing, GN seems to be pretty happy running against Oracle.

Any advice would be much appreciated.

Thanks,

Aaron Sedgmen
Geoscience Australia

Geoscience Australia Disclaimer: This e-mail (and files transmitted with it) is intended only for the person or entity to which it is addressed. If you are not the intended recipient, then you have received this e-mail by mistake and any use, dissemination, forwarding, printing or copying of this e-mail and its file attachments is prohibited. The security of emails transmitted cannot be guaranteed; by forwarding or replying to this email, you acknowledge and accept these risks.
-------------------------------------------------------------------------------------------------------------------------