I’m having problems when I upload new xml metadata using the option ‘XML Metadata Insert’ or 'Batch Import.
The system shows the following error: ‘The requested operation could not be performed.’ I’ve checked the data base configuration and it’s well, the data base is Postgres and web server is Tomcat log file of Tomcat shows the following error:
Exception when executing service
2008-02-26 18:26:46,373 ERROR [jeeves.service] - (C) Exc : java.lang.IllegalStateException: Root element not set
2008-02-26 18:26:46,374 DEBUG [jeeves.service] - Raised exception while executing service
Root element not set
IllegalStateException
…
when I upload new metadata.
In the Geonetwork web page, I’ve seen a ticket with this problem but I don’t know if it’s solved in 2.1.0 version.
Could anyone help me with this problem?.
Thanks.
Tecnología, moda, motor, viajes,…suscríbete a nuestros boletines para estar siempre a la última MSN Newsletters
I imported about 500 metadata to GN 2.1. Some of them had special signs like
"<, &," and so on and could not be imported. The batch import works only if
all of the metadata in the directory is valid. You could try to insert
metadata that you know, it is valid. One of the template metadata for
example.
roger
Martin Rodriguez wrote:
Hi,
I'm having problems when I upload new xml metadata using the option 'XML
Metadata Insert' or 'Batch Import.
The system shows the following error: 'The requested operation could not
be performed.' I've checked the data base configuration and it's well, the
data base is Postgres and web server is Tomcat 5, in log file of Tomcat
shows the following error:
Exception when executing service
2008-02-26 18:26:46,373 ERROR [jeeves.service] - (C) Exc :
java.lang.IllegalStateException: Root element not set
2008-02-26 18:26:46,374 DEBUG [jeeves.service] - Raised exception while
executing service
<error id="error">
<message>Root element not set</message>
<class>IllegalStateException</class>
<stack>
<at class="org.jdom.Document" file="Document.java" line="218"
method="getRootElement" />
…
when I upload new metadata.
In the Geonetwork web page, I’ve seen a ticket with this problem but I
don’t know if it’s solved in 2.1.0 version.