One for the devs probably.
I've customised my geonetwork a little, but only superficially which is
why I'm confused as to this issue. When I'm on the admin's "system
configuration" page (which I've not touched at all in my fiddling)it won't
let me save the thing, even if I've not changed anything. This error
doesn't happen with an unchanged geonetwork (on the same jetty).
The error I get is a javscript popup when I click "save" (even if I've not
touched anything) that says:
---------
Unable to save the system configuration
Error: operation-aborted
Message: cannot set all values
Class: OperationAbortedEx
---------
The geonetwork.log is similarly uninformative (to a mere human like me
anyway).
--------------------
2010-09-20 17:22:11,127 INFO [jeeves.request] -
2010-09-20 17:22:11,127 INFO [jeeves.request] - HTML Request (from
127.0.0.1) : /geonetwork/srv/en/xml.config.set
2010-09-20 17:22:11,127 DEBUG [jeeves.request] - Method : POST
2010-09-20 17:22:11,127 DEBUG [jeeves.request] - Content type :
application/xml
2010-09-20 17:22:11,127 DEBUG [jeeves.request] - Accept :
text/javascript, text/html, application/xml, text/xml, */*
2010-09-20 17:22:11,127 DEBUG [jeeves.request] - Session id is
1n49nc78kmmyo
2010-09-20 17:22:11,127 INFO [jeeves.service] - Dispatching :
xml.config.set
2010-09-20 17:22:11,127 DEBUG [jeeves.service] - -> parameters are :
<config>
<site>
<name>123</name>
<organization />
</site>
<server>
<host>localhost</host>
<port>8080</port>
</server>
<intranet>
<network>127.0.0.1</network>
<netmask>255.0.0.0</netmask>
</intranet>
<selectionmanager>
<maxrecords>1000</maxrecords>
</selectionmanager>
<indexoptimizer>
<enable>true</enable>
<at>
<hour>0</hour>
<min>0</min>
<sec>0</sec>
</at>
<interval>
<day>0</day>
<hour>24</hour>
<min>0</min>
</interval>
</indexoptimizer>
<z3950>
<enable>true</enable>
<port>2100</port>
</z3950>
<oai>
<mdmode>1</mdmode>
<tokentimeout>3600</tokentimeout>
<cachesize>60</cachesize>
</oai>
<xlinkResolver>
<enable>false</enable>
</xlinkResolver>
<downloadservice>
<leave>false</leave>
<simple>false</simple>
<withdisclaimer>false</withdisclaimer>
</downloadservice>
<csw>
<enable>true</enable>
<contactId>-1</contactId>
<individualName />
<positionName />
<contactInfo>
<phone>
<voice />
<facsimile />
</phone>
<address>
<deliveryPoint />
<city />
<administrativeArea />
<postalCode />
<country />
<email />
</address>
<hoursOfService />
<contactInstructions />
</contactInfo>
<role />
<title />
<abstract />
<fees />
<accessConstraints />
<metadataPublic>false</metadataPublic>
</csw>
<clickablehyperlinks>
<enable>true</enable>
</clickablehyperlinks>
<localrating>
<enable>false</enable>
</localrating>
<inspire>
<enable>false</enable>
</inspire>
<proxy>
<use>false</use>
<host />
<port />
<username />
<password />
</proxy>
<feedback>
<email />
<mailServer>
<host />
<port>25</port>
</mailServer>
</feedback>
<removedMetadata>
<dir>WEB-INF/data/removed</dir>
</removedMetadata>
<ldap>
<use>false</use>
<host />
<port />
<defaultProfile>RegisteredUser</defaultProfile>
<distinguishedNames>
<base>dc=fao,dc=org</base>
<users>ou=people</users>
</distinguishedNames>
<userAttribs>
<name>cn</name>
<profile>profile</profile>
</userAttribs>
</ldap>
<shib>
<use>false</use>
<path>/geonetwork/srv/en/shib.user.login</path>
<attrib>
<username>REMOTE_USER</username>
<surname>Shib-Person-surname</surname>
<firstname>Shib-InetOrgPerson-givenName</firstname>
<profile>Shib-EP-Entitlement</profile>
</attrib>
</shib>
<userSelfRegistration>
<enable>false</enable>
</userSelfRegistration>
</config>
2010-09-20 17:22:11,236 ERROR [jeeves.service] - Exception when executing
service
2010-09-20 17:22:11,236 ERROR [jeeves.service] - (C) Exc :
OperationAbortedEx : Cannot set all values
2010-09-20 17:22:11,236 DEBUG [jeeves.service] - Raised exception while
executing service
<error id="operation-aborted">
<message>Cannot set all values</message>
<class>OperationAbortedEx</class>
<stack>
<at class="org.fao.geonet.services.config.Set" file="Set.java"
line="74" method="exec" />
<at class="jeeves.server.dispatchers.ServiceInfo"
file="ServiceInfo.java" line="238" method="execService" />
<at class="jeeves.server.dispatchers.ServiceInfo"
file="ServiceInfo.java" line="141" method="execServices" />
<at class="jeeves.server.dispatchers.ServiceManager"
file="ServiceManager.java" line="396" method="dispatch" />
<at class="jeeves.server.JeevesEngine" file="JeevesEngine.java"
line="624" method="dispatch" />
<at class="jeeves.server.sources.http.JeevesServlet"
file="JeevesServlet.java" line="185" method="execute" />
<at class="jeeves.server.sources.http.JeevesServlet"
file="JeevesServlet.java" line="108" method="doPost" />
<at class="javax.servlet.http.HttpServlet" file="HttpServlet.java"
line="727" method="service" />
<at class="javax.servlet.http.HttpServlet" file="HttpServlet.java"
line="820" method="service" />
<at class="org.mortbay.jetty.servlet.ServletHolder"
file="ServletHolder.java" line="502" method="handle" />
</stack>
<request>
<language>en</language>
<service>xml.config.set</service>
</request>
</error>
------------
This is a complete list of the files I've edited.
C:\Program Files\geonetwork\web\geonetwork\WEB-INF\config.xml
C:\Program Files\geonetwork\web\geonetwork\xsl\banner.xsl
C:\Program Files\geonetwork\web\geonetwork\xsl\admin.xsl
C:\Program Files\geonetwork\web\geonetwork\xsl\main-page.xsl
C:\Program Files\geonetwork\web\geonetwork\loc\en\xml\strings.xml
C:\Program
Files\geonetwork\web\geonetwork\xsl\searchform_simple_template.xsl
C:\Program Files\geonetwork\web\geonetwork\xsl\searchform_advanced.xsl
C:\Program
Files\geonetwork\web\geonetwork\xml\schemas\iso19139\loc\en\labels.xml
C:\Program
Files\geonetwork\web\geonetwork\xml\schemas\iso19139\loc\en\codelists.xml
C:\Program
Files\geonetwork\web\geonetwork\xml\schemas\iso19139\schema\gmd\identification.xsd
C:\Program Files\geonetwork\web\geonetwork\xsl\metadata-iso19139.xsl
C:\Program Files\geonetwork\web\geonetwork\xsl\metadata.edit
There's no obvious (to me) reason why the page has suddenly stopped work.
Anyone able to suggest what's going wrong?
Thanks,
Jonathan
This transmission is intended for the named addressee(s) only and may contain sensitive or protectively marked material up to RESTRICTED and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.