[GeoNetwork-users] Error with URL returned in status change emails

Hi List,

Our geonetwork instance (2.10.4, tomcat6) is successfully sending emails
when the status of a record changes, but the URL leads to an error message,
and the log files are not helping me to understand where the problem is.
The URL is of the form
http://URL/geonetwork/srv/eng/search#fast=index&from=1&to=50&_status=4&_statusChangeDate=2015-03-02

With debug switched on for searches in log4j.cfg I see the following:
2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> exception during
transformation for : search
2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> (C) stylesheet :
/var/lib/tomcat6/webapps/geonetwork/xsl/search.xsl
2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> (C) message :
Failed to compile stylesheet. 2 errors detected.
2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> (C) exception :
TransformerConfigurationException
2015-03-02 12:07:19,908 DEBUG [jeeves.service] - Raised exception while
executing service
<error id="error">
  <message>Failed to compile stylesheet. 2 errors detected.</message>
  <class>TransformerConfigurationException</class>
  <stack>
    <at class="net.sf.saxon.PreparedStylesheet"
file="PreparedStylesheet.java" line="176" method="prepare" />
    <at class="net.sf.saxon.TransformerFactoryImpl"
file="TransformerFactoryImpl.java" line="139" method="newTemplates" />
    <at class="de.fzi.dbs.xml.transform.CachingTransformerFactory"
file="CachingTransformerFactory.java" line="120" method="newTransformer" />
    <at class="de.fzi.dbs.xml.transform.CachingTransformerFactory"
file="CachingTransformerFactory.java" line="76" method="newTransformer" />
    <at class="jeeves.utils.Xml" file="Xml.java" line="520"
method="transform" />
    <at class="jeeves.utils.Xml" file="Xml.java" line="418"
method="transform" />
    <at class="jeeves.server.dispatchers.ServiceManager"
file="ServiceManager.java" line="790" method="dispatchOutput" />
    <at class="jeeves.server.dispatchers.ServiceManager"
file="ServiceManager.java" line="450" method="dispatch" />
    <at class="jeeves.server.dispatchers.ServiceManager"
file="ServiceManager.java" line="362" method="dispatch" />
    <at class="jeeves.server.JeevesEngine" file="JeevesEngine.java"
line="811" method="dispatch" />
    <at class="jeeves.server.sources.http.JeevesServlet"
file="JeevesServlet.java" line="216" method="execute" />
    <at class="jeeves.server.sources.http.JeevesServlet"
file="JeevesServlet.java" line="115" method="doGet" />
    <skip>...</skip>
    <at class="org.fao.geonet.monitor.webapp.WebappMetricsFilter"
file="WebappMetricsFilter.java" line="96" method="doFilter" />
    <skip>...</skip>
    <at
class="org.fao.geonet.monitor.webapp.MetricsRegistryInitializerFilter"
file="MetricsRegistryInitializerFilter.java" line="31" method="doFilter" />
    <skip>...</skip>
    <at
class="jeeves.config.springutil.GeonetworkFilterSecurityInterceptor"
file="GeonetworkFilterSecurityInterceptor.java" line="46" method="invoke" />
    <skip>...</skip>
    <at
class="jeeves.config.springutil.GeonetworkFilterSecurityInterceptor"
file="GeonetworkFilterSecurityInterceptor.java" line="46" method="invoke" />
    <skip>...</skip>
    <at class="org.fao.geonet.kernel.security.PassthroughFilter"
file="PassthroughFilter.java" line="26" method="doFilter" />
    <skip>...</skip>
  </stack>
  <request>
    <language>eng</language>
    <service>search</service>
  </request>
  <request>
    <tmp />
    <user>
      user
      <authenticated>true</authenticated>
      <name>admin</name>
      <username>admin</username>
      <profile>Administrator</profile>
    </user>
  </request>
</error>
2015-03-02 12:07:19,908 INFO [jeeves.service] - -> dispatching to error
for : search
2015-03-02 12:07:19,961 INFO [jeeves] - Overrides being applied to
configuration file: .*/WEB-INF/config-gui.xml
2015-03-02 12:07:19,961 INFO [jeeves] - Replacing child xml elements of
languages
2015-03-02 12:07:19,961 DEBUG [jeeves] - New elements are:<toAdd>
  <eng />
</toAdd>
2015-03-02 12:07:19,961 DEBUG [jeeves] - replacingXML of /config/languages
2015-03-02 12:07:19,961 INFO [jeeves] - Replacing child xml elements of
proj
2015-03-02 12:07:19,961 DEBUG [jeeves] - New elements are:<toAdd>
  <crs code="EPSG:4326" default="1" edit="1" />
  <crs code="EPSG:27700" edit="1" def="+proj=tmerc +lat_0=49 +lon_0=-2
+k=0.9996012717 +x_0=400000 +y_0=-100000 +ellps=airy +datum=OSGB36 +units=m
+no_defs " />
</toAdd>
2015-03-02 12:07:19,961 INFO [jeeves] - Replacing attribute options of
node mapSearch
2015-03-02 12:07:19,961 DEBUG [jeeves] - New attribute is:{projection:
'EPSG:27700', maxExtent: new OpenLayers.Bounds(0,0,700000,1300000), units:
'm', restrictedExtent: new OpenLayers.Bounds(0,0,700000,1300000),
resolutions: [1600,800,400,200,100,50,25,10,5,2.5,1,0.5,0.25]}
2015-03-02 12:07:19,961 DEBUG [jeeves] - Updating attibute of node
/config/mapSearch
2015-03-02 12:07:19,961 INFO [jeeves] - Replacing child xml elements of
mapSearch/layers
2015-03-02 12:07:19,962 DEBUG [jeeves] - New elements are:<toAdd>
  <layer server="
http://t0.ads.astuntechnology.com/astuntechnology/osopen/service&quot;
tocName="OS Open" params="{layers: 'osopen', format: 'image/png'}"
options="{isBaseLayer: true}" />
</toAdd>
2015-03-02 12:07:19,962 DEBUG [jeeves] - replacingXML of
/config/mapSearch/layers
2015-03-02 12:07:19,962 INFO [jeeves] - Replacing attribute options of
node mapViewer
2015-03-02 12:07:19,962 DEBUG [jeeves] - New attribute is:{projection:
'EPSG:27700', maxExtent: new
OpenLayers.Bounds(-3276800,-3276800,3276800,3276800), units: 'm',
restrictedExtent: new OpenLayers.Bounds(0,0,700000,1300000), resolutions:
[3200,1600,800,400,200,100,50,25,10,5,2.5,1,0.5]}
2015-03-02 12:07:19,962 DEBUG [jeeves] - Updating attibute of node
/config/mapViewer
2015-03-02 12:07:19,962 INFO [jeeves] - Replacing child xml elements of
mapViewer
2015-03-02 12:07:19,962 DEBUG [jeeves] - New elements are:<toAdd>
  <layers>
    <layer server="
http://t0.ads.astuntechnology.com/astuntechnology/osopen/service&quot;
tocName="OS Open" params="{layers: 'oso2015-03-02 12:07:19,907 ERROR
[jeeves.service] - -> exception during transformation for : search
2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> (C) stylesheet :
/var/lib/tomcat6/webapps/geonetwork/xsl/search.xsl
2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> (C) message :
Failed to compile stylesheet. 2 errors detected.
2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> (C) exception :
TransformerConfigurationException
2015-03-02 12:07:19,908 DEBUG [jeeves.service] - Raised exception while
executing service
<error id="error">
  <message>Failed to compile stylesheet. 2 errors detected.</message>
  <class>TransformerConfigurationException</class>
  <stack>
    <at class="net.sf.saxon.PreparedStylesheet"
file="PreparedStylesheet.java" line="176" method="prepare" />
    <at class="net.sf.saxon.TransformerFactoryImpl"
file="TransformerFactoryImpl.java" line="139" method="newTemplates" />
    <at class="de.fzi.dbs.xml.transform.CachingTransformerFactory"
file="CachingTransformerFactory.java" line="120" method="newTransformer" />
    <at class="de.fzi.dbs.xml.transform.CachingTransformerFactory"
file="CachingTransformerFactory.java" line="76" method="newTransformer" />
    <at class="jeeves.utils.Xml" file="Xml.java" line="520"
method="transform" />
    <at class="jeeves.utils.Xml" file="Xml.java" line="418"
method="transform" />
    <at class="jeeves.server.dispatchers.ServiceManager"
file="ServiceManager.java" line="790" method="dispatchOutput" />
    <at class="jeeves.server.dispatchers.ServiceManager"
file="ServiceManager.java" line="450" method="dispatch" />
    <at class="jeeves.server.dispatchers.ServiceManager"
file="ServiceManager.java" line="362" method="dispatch" />
    <at class="jeeves.server.JeevesEngine" file="JeevesEngine.java"
line="811" method="dispatch" />
    <at class="jeeves.server.sources.http.JeevesServlet"
file="JeevesServlet.java" line="216" method="execute" />
    <at class="jeeves.server.sources.http.JeevesServlet"
file="JeevesServlet.java" line="115" method="doGet" />
    <skip>...</skip>
    <at class="org.fao.geonet.monitor.webapp.WebappMetricsFilter"
file="WebappMetricsFilter.java" line="96" method="doFilter" />
    <skip>...</skip>
    <at
class="org.fao.geonet.monitor.webapp.MetricsRegistryInitializerFilter"
file="MetricsRegistryInitializerFilter.java" line="31" method="doFilter" />
    <skip>...</skip>
    <at
class="jeeves.config.springutil.GeonetworkFilterSecurityInterceptor"
file="GeonetworkFilterSecurityInterceptor.java" line="46" method="invoke" />
    <skip>...</skip>
    <at
class="jeeves.config.springutil.GeonetworkFilterSecurityInterceptor"
file="GeonetworkFilterSecurityInterceptor.java" line="46" method="invoke" />
    <skip>...</skip>
    <at class="org.fao.geonet.kernel.security.PassthroughFilter"
file="PassthroughFilter.java" line="26" method="doFilter" />
    <skip>...</skip>
  </stack>
  <request>
    <language>eng</language>
    <service>search</service>
  </request>
  <request>
    <tmp />
    <user>
      user
      <authenticated>true</authenticated>
      <name>admin</name>
      <username>admin</username>
      <profile>Administrator</profile>
    </user>
  </request>
</error>
2015-03-02 12:07:19,908 INFO [jeeves.service] - -> dispatching to error
for : search
2015-03-02 12:07:19,961 INFO [jeeves] - Overrides being applied to
configuration file: .*/WEB-INF/config-gui.xml
2015-03-02 12:07:19,961 INFO [jeeves] - Replacing child xml elements of
languages
2015-03-02 12:07:19,961 DEBUG [jeeves] - New elements are:<toAdd>
  <eng />
</toAdd>
2015-03-02 12:07:19,961 DEBUG [jeeves] - replacingXML of /config/languages
2015-03-02 12:07:19,961 INFO [jeeves] - Replacing child xml elements of
proj
2015-03-02 12:07:19,961 DEBUG [jeeves] - New elements are:<toAdd>
  <crs code="EPSG:4326" default="1" edit="1" />
  <crs code="EPSG:27700" edit="1" def="+proj=tmerc +lat_0=49 +lon_0=-2
+k=0.9996012717 +x_0=400000 +y_0=-100000 +ellps=airy +datum=OSGB36 +units=m
+no_defs " />
</toAdd>
2015-03-02 12:07:19,961 INFO [jeeves] - Replacing attribute options of
node mapSearch
2015-03-02 12:07:19,961 DEBUG [jeeves] - New attribute is:{projection:
'EPSG:27700', maxExtent: new OpenLayers.Bounds(0,0,700000,1300000), units:
'm', restrictedExtent: new OpenLayers.Bounds(0,0,700000,1300000),
resolutions: [1600,800,400,200,100,50,25,10,5,2.5,1,0.5,0.25]}
2015-03-02 12:07:19,961 DEBUG [jeeves] - Updating attibute of node
/config/mapSearch
2015-03-02 12:07:19,961 INFO [jeeves] - Replacing child xml elements of
mapSearch/layers
2015-03-02 12:07:19,962 DEBUG [jeeves] - New elements are:<toAdd>
  <layer server="
http://t0.ads.astuntechnology.com/astuntechnology/osopen/service&quot;
tocName="OS Open" params="{layers: 'osopen', format: 'image/png'}"
options="{isBaseLayer: true}" />
</toAdd>
2015-03-02 12:07:19,962 DEBUG [jeeves] - replacingXML of
/config/mapSearch/layers
2015-03-02 12:07:19,962 INFO [jeeves] - Replacing attribute options of
node mapViewer
2015-03-02 12:07:19,962 DEBUG [jeeves] - New attribute is:{projection:
'EPSG:27700', maxExtent: new
OpenLayers.Bounds(-3276800,-3276800,3276800,3276800), units: 'm',
restrictedExtent: new OpenLayers.Bounds(0,0,700000,1300000), resolutions:
[3200,1600,800,400,200,100,50,25,10,5,2.5,1,0.5]}
2015-03-02 12:07:19,962 DEBUG [jeeves] - Updating attibute of node
/config/mapViewer
2015-03-02 12:07:19,962 INFO [jeeves] - Replacing child xml elements of
mapViewer
2015-03-02 12:07:19,962 DEBUG [jeeves] - New elements are:<toAdd>
  <layers>
    <layer server="
http://t0.ads.astuntechnology.com/astuntechnology/osopen/service&quot;
tocName="OS Open" params="{layers: 'osopen', format: 'image/png'}"
options="{isBaseLayer: true}" />
  </layers>
  <scales values="" />
  <proj>
    <crs code="EPSG:27700" default="1" name="BNG" />
  </proj>
  <servers>
    <server name="ADS" url="
http://t0.ads.astuntechnology.com/astuntechnology/osopen/service?&quot; />
  </servers>
</toAdd>
2015-03-02 12:07:19,962 DEBUG [jeeves] - replacingXML of /config/mapViewer
2015-03-02 12:07:19,963 INFO [jeeves.service] - -> transforming with
stylesheet : /var/lib/tomcat6/webapps/geonetwork/xsl/error.xsl
2015-03-02 12:07:19,988 INFO [jeeves.service] - -> end error
transformation for : search
2015-03-02 12:07:19,988 INFO [jeeves.service] - -> error ended for :
search
pen', format: 'image/png'}" options="{isBaseLayer: true}" />
  </layers>
  <scales values="" />
  <proj>
    <crs code="EPSG:27700" default="1" name="BNG" />
  </proj>
  <servers>
    <server name="ADS" url="
http://t0.ads.astuntechnology.com/astuntechnology/osopen/service?&quot; />
  </servers>
</toAdd>
2015-03-02 12:07:19,962 DEBUG [jeeves] - replacingXML of /config/mapViewer
2015-03-02 12:07:19,963 INFO [jeeves.service] - -> transforming with
stylesheet : /var/lib/tomcat6/webapps/geonetwork/xsl/error.xsl
2015-03-02 12:07:19,988 INFO [jeeves.service] - -> end error
transformation for : search
2015-03-02 12:07:19,988 INFO [jeeves.service] - -> error ended for :
search

I can see that there are two errors detected but I don't know where to
start looking for the solution. Can anyone assist?

Thanks

Jo
--
*Jo Cook*
Astun Technology Ltd, The Coach House, 17 West Street, Epsom, Surrey, KT18
7RL, UK
t:+44 7930 524 155
iShare - Data integration and publishing platform
<http://www.isharemaps.com/&gt;

*****************************************

Company registration no. 5410695. Registered in England and Wales.
Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT no.
864201149.

Hi Jo

If using Tomcat, check in the catalina.out for
TransformerConfigurationException, usually contains the exact xslt file and
line where the error happens.

I guess that can help to find the issue better.

Regards,
Jose García

On Mon, Mar 2, 2015 at 1:10 PM, Jo Cook <jocook@anonymised.com> wrote:

Hi List,

Our geonetwork instance (2.10.4, tomcat6) is successfully sending emails
when the status of a record changes, but the URL leads to an error message,
and the log files are not helping me to understand where the problem is.
The URL is of the form

http://URL/geonetwork/srv/eng/search#fast=index&from=1&to=50&_status=4&_statusChangeDate=2015-03-02

With debug switched on for searches in log4j.cfg I see the following:
2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> exception during
transformation for : search
2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> (C) stylesheet :
/var/lib/tomcat6/webapps/geonetwork/xsl/search.xsl
2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> (C) message :
Failed to compile stylesheet. 2 errors detected.
2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> (C) exception :
TransformerConfigurationException
2015-03-02 12:07:19,908 DEBUG [jeeves.service] - Raised exception while
executing service
<error id="error">
  <message>Failed to compile stylesheet. 2 errors detected.</message>
  <class>TransformerConfigurationException</class>
  <stack>
    <at class="net.sf.saxon.PreparedStylesheet"
file="PreparedStylesheet.java" line="176" method="prepare" />
    <at class="net.sf.saxon.TransformerFactoryImpl"
file="TransformerFactoryImpl.java" line="139" method="newTemplates" />
    <at class="de.fzi.dbs.xml.transform.CachingTransformerFactory"
file="CachingTransformerFactory.java" line="120" method="newTransformer" />
    <at class="de.fzi.dbs.xml.transform.CachingTransformerFactory"
file="CachingTransformerFactory.java" line="76" method="newTransformer" />
    <at class="jeeves.utils.Xml" file="Xml.java" line="520"
method="transform" />
    <at class="jeeves.utils.Xml" file="Xml.java" line="418"
method="transform" />
    <at class="jeeves.server.dispatchers.ServiceManager"
file="ServiceManager.java" line="790" method="dispatchOutput" />
    <at class="jeeves.server.dispatchers.ServiceManager"
file="ServiceManager.java" line="450" method="dispatch" />
    <at class="jeeves.server.dispatchers.ServiceManager"
file="ServiceManager.java" line="362" method="dispatch" />
    <at class="jeeves.server.JeevesEngine" file="JeevesEngine.java"
line="811" method="dispatch" />
    <at class="jeeves.server.sources.http.JeevesServlet"
file="JeevesServlet.java" line="216" method="execute" />
    <at class="jeeves.server.sources.http.JeevesServlet"
file="JeevesServlet.java" line="115" method="doGet" />
    <skip>...</skip>
    <at class="org.fao.geonet.monitor.webapp.WebappMetricsFilter"
file="WebappMetricsFilter.java" line="96" method="doFilter" />
    <skip>...</skip>
    <at
class="org.fao.geonet.monitor.webapp.MetricsRegistryInitializerFilter"
file="MetricsRegistryInitializerFilter.java" line="31" method="doFilter" />
    <skip>...</skip>
    <at
class="jeeves.config.springutil.GeonetworkFilterSecurityInterceptor"
file="GeonetworkFilterSecurityInterceptor.java" line="46" method="invoke"
/>
    <skip>...</skip>
    <at
class="jeeves.config.springutil.GeonetworkFilterSecurityInterceptor"
file="GeonetworkFilterSecurityInterceptor.java" line="46" method="invoke"
/>
    <skip>...</skip>
    <at class="org.fao.geonet.kernel.security.PassthroughFilter"
file="PassthroughFilter.java" line="26" method="doFilter" />
    <skip>...</skip>
  </stack>
  <request>
    <language>eng</language>
    <service>search</service>
  </request>
  <request>
    <tmp />
    <user>
      user
      <authenticated>true</authenticated>
      <name>admin</name>
      <username>admin</username>
      <profile>Administrator</profile>
    </user>
  </request>
</error>
2015-03-02 12:07:19,908 INFO [jeeves.service] - -> dispatching to error
for : search
2015-03-02 12:07:19,961 INFO [jeeves] - Overrides being applied to
configuration file: .*/WEB-INF/config-gui.xml
2015-03-02 12:07:19,961 INFO [jeeves] - Replacing child xml elements of
languages
2015-03-02 12:07:19,961 DEBUG [jeeves] - New elements are:<toAdd>
  <eng />
</toAdd>
2015-03-02 12:07:19,961 DEBUG [jeeves] - replacingXML of /config/languages
2015-03-02 12:07:19,961 INFO [jeeves] - Replacing child xml elements of
proj
2015-03-02 12:07:19,961 DEBUG [jeeves] - New elements are:<toAdd>
  <crs code="EPSG:4326" default="1" edit="1" />
  <crs code="EPSG:27700" edit="1" def="+proj=tmerc +lat_0=49 +lon_0=-2
+k=0.9996012717 +x_0=400000 +y_0=-100000 +ellps=airy +datum=OSGB36 +units=m
+no_defs " />
</toAdd>
2015-03-02 12:07:19,961 INFO [jeeves] - Replacing attribute options of
node mapSearch
2015-03-02 12:07:19,961 DEBUG [jeeves] - New attribute is:{projection:
'EPSG:27700', maxExtent: new OpenLayers.Bounds(0,0,700000,1300000), units:
'm', restrictedExtent: new OpenLayers.Bounds(0,0,700000,1300000),
resolutions: [1600,800,400,200,100,50,25,10,5,2.5,1,0.5,0.25]}
2015-03-02 12:07:19,961 DEBUG [jeeves] - Updating attibute of node
/config/mapSearch
2015-03-02 12:07:19,961 INFO [jeeves] - Replacing child xml elements of
mapSearch/layers
2015-03-02 12:07:19,962 DEBUG [jeeves] - New elements are:<toAdd>
  <layer server="
http://t0.ads.astuntechnology.com/astuntechnology/osopen/service&quot;
tocName="OS Open" params="{layers: 'osopen', format: 'image/png'}"
options="{isBaseLayer: true}" />
</toAdd>
2015-03-02 12:07:19,962 DEBUG [jeeves] - replacingXML of
/config/mapSearch/layers
2015-03-02 12:07:19,962 INFO [jeeves] - Replacing attribute options of
node mapViewer
2015-03-02 12:07:19,962 DEBUG [jeeves] - New attribute is:{projection:
'EPSG:27700', maxExtent: new
OpenLayers.Bounds(-3276800,-3276800,3276800,3276800), units: 'm',
restrictedExtent: new OpenLayers.Bounds(0,0,700000,1300000), resolutions:
[3200,1600,800,400,200,100,50,25,10,5,2.5,1,0.5]}
2015-03-02 12:07:19,962 DEBUG [jeeves] - Updating attibute of node
/config/mapViewer
2015-03-02 12:07:19,962 INFO [jeeves] - Replacing child xml elements of
mapViewer
2015-03-02 12:07:19,962 DEBUG [jeeves] - New elements are:<toAdd>
  <layers>
    <layer server="
http://t0.ads.astuntechnology.com/astuntechnology/osopen/service&quot;
tocName="OS Open" params="{layers: 'oso2015-03-02 12:07:19,907 ERROR
[jeeves.service] - -> exception during transformation for : search
2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> (C) stylesheet :
/var/lib/tomcat6/webapps/geonetwork/xsl/search.xsl
2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> (C) message :
Failed to compile stylesheet. 2 errors detected.
2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> (C) exception :
TransformerConfigurationException
2015-03-02 12:07:19,908 DEBUG [jeeves.service] - Raised exception while
executing service
<error id="error">
  <message>Failed to compile stylesheet. 2 errors detected.</message>
  <class>TransformerConfigurationException</class>
  <stack>
    <at class="net.sf.saxon.PreparedStylesheet"
file="PreparedStylesheet.java" line="176" method="prepare" />
    <at class="net.sf.saxon.TransformerFactoryImpl"
file="TransformerFactoryImpl.java" line="139" method="newTemplates" />
    <at class="de.fzi.dbs.xml.transform.CachingTransformerFactory"
file="CachingTransformerFactory.java" line="120" method="newTransformer" />
    <at class="de.fzi.dbs.xml.transform.CachingTransformerFactory"
file="CachingTransformerFactory.java" line="76" method="newTransformer" />
    <at class="jeeves.utils.Xml" file="Xml.java" line="520"
method="transform" />
    <at class="jeeves.utils.Xml" file="Xml.java" line="418"
method="transform" />
    <at class="jeeves.server.dispatchers.ServiceManager"
file="ServiceManager.java" line="790" method="dispatchOutput" />
    <at class="jeeves.server.dispatchers.ServiceManager"
file="ServiceManager.java" line="450" method="dispatch" />
    <at class="jeeves.server.dispatchers.ServiceManager"
file="ServiceManager.java" line="362" method="dispatch" />
    <at class="jeeves.server.JeevesEngine" file="JeevesEngine.java"
line="811" method="dispatch" />
    <at class="jeeves.server.sources.http.JeevesServlet"
file="JeevesServlet.java" line="216" method="execute" />
    <at class="jeeves.server.sources.http.JeevesServlet"
file="JeevesServlet.java" line="115" method="doGet" />
    <skip>...</skip>
    <at class="org.fao.geonet.monitor.webapp.WebappMetricsFilter"
file="WebappMetricsFilter.java" line="96" method="doFilter" />
    <skip>...</skip>
    <at
class="org.fao.geonet.monitor.webapp.MetricsRegistryInitializerFilter"
file="MetricsRegistryInitializerFilter.java" line="31" method="doFilter" />
    <skip>...</skip>
    <at
class="jeeves.config.springutil.GeonetworkFilterSecurityInterceptor"
file="GeonetworkFilterSecurityInterceptor.java" line="46" method="invoke"
/>
    <skip>...</skip>
    <at
class="jeeves.config.springutil.GeonetworkFilterSecurityInterceptor"
file="GeonetworkFilterSecurityInterceptor.java" line="46" method="invoke"
/>
    <skip>...</skip>
    <at class="org.fao.geonet.kernel.security.PassthroughFilter"
file="PassthroughFilter.java" line="26" method="doFilter" />
    <skip>...</skip>
  </stack>
  <request>
    <language>eng</language>
    <service>search</service>
  </request>
  <request>
    <tmp />
    <user>
      user
      <authenticated>true</authenticated>
      <name>admin</name>
      <username>admin</username>
      <profile>Administrator</profile>
    </user>
  </request>
</error>
2015-03-02 12:07:19,908 INFO [jeeves.service] - -> dispatching to error
for : search
2015-03-02 12:07:19,961 INFO [jeeves] - Overrides being applied to
configuration file: .*/WEB-INF/config-gui.xml
2015-03-02 12:07:19,961 INFO [jeeves] - Replacing child xml elements of
languages
2015-03-02 12:07:19,961 DEBUG [jeeves] - New elements are:<toAdd>
  <eng />
</toAdd>
2015-03-02 12:07:19,961 DEBUG [jeeves] - replacingXML of /config/languages
2015-03-02 12:07:19,961 INFO [jeeves] - Replacing child xml elements of
proj
2015-03-02 12:07:19,961 DEBUG [jeeves] - New elements are:<toAdd>
  <crs code="EPSG:4326" default="1" edit="1" />
  <crs code="EPSG:27700" edit="1" def="+proj=tmerc +lat_0=49 +lon_0=-2
+k=0.9996012717 +x_0=400000 +y_0=-100000 +ellps=airy +datum=OSGB36 +units=m
+no_defs " />
</toAdd>
2015-03-02 12:07:19,961 INFO [jeeves] - Replacing attribute options of
node mapSearch
2015-03-02 12:07:19,961 DEBUG [jeeves] - New attribute is:{projection:
'EPSG:27700', maxExtent: new OpenLayers.Bounds(0,0,700000,1300000), units:
'm', restrictedExtent: new OpenLayers.Bounds(0,0,700000,1300000),
resolutions: [1600,800,400,200,100,50,25,10,5,2.5,1,0.5,0.25]}
2015-03-02 12:07:19,961 DEBUG [jeeves] - Updating attibute of node
/config/mapSearch
2015-03-02 12:07:19,961 INFO [jeeves] - Replacing child xml elements of
mapSearch/layers
2015-03-02 12:07:19,962 DEBUG [jeeves] - New elements are:<toAdd>
  <layer server="
http://t0.ads.astuntechnology.com/astuntechnology/osopen/service&quot;
tocName="OS Open" params="{layers: 'osopen', format: 'image/png'}"
options="{isBaseLayer: true}" />
</toAdd>
2015-03-02 12:07:19,962 DEBUG [jeeves] - replacingXML of
/config/mapSearch/layers
2015-03-02 12:07:19,962 INFO [jeeves] - Replacing attribute options of
node mapViewer
2015-03-02 12:07:19,962 DEBUG [jeeves] - New attribute is:{projection:
'EPSG:27700', maxExtent: new
OpenLayers.Bounds(-3276800,-3276800,3276800,3276800), units: 'm',
restrictedExtent: new OpenLayers.Bounds(0,0,700000,1300000), resolutions:
[3200,1600,800,400,200,100,50,25,10,5,2.5,1,0.5]}
2015-03-02 12:07:19,962 DEBUG [jeeves] - Updating attibute of node
/config/mapViewer
2015-03-02 12:07:19,962 INFO [jeeves] - Replacing child xml elements of
mapViewer
2015-03-02 12:07:19,962 DEBUG [jeeves] - New elements are:<toAdd>
  <layers>
    <layer server="
http://t0.ads.astuntechnology.com/astuntechnology/osopen/service&quot;
tocName="OS Open" params="{layers: 'osopen', format: 'image/png'}"
options="{isBaseLayer: true}" />
  </layers>
  <scales values="" />
  <proj>
    <crs code="EPSG:27700" default="1" name="BNG" />
  </proj>
  <servers>
    <server name="ADS" url="
http://t0.ads.astuntechnology.com/astuntechnology/osopen/service?&quot; />
  </servers>
</toAdd>
2015-03-02 12:07:19,962 DEBUG [jeeves] - replacingXML of /config/mapViewer
2015-03-02 12:07:19,963 INFO [jeeves.service] - -> transforming with
stylesheet : /var/lib/tomcat6/webapps/geonetwork/xsl/error.xsl
2015-03-02 12:07:19,988 INFO [jeeves.service] - -> end error
transformation for : search
2015-03-02 12:07:19,988 INFO [jeeves.service] - -> error ended for :
search
pen', format: 'image/png'}" options="{isBaseLayer: true}" />
  </layers>
  <scales values="" />
  <proj>
    <crs code="EPSG:27700" default="1" name="BNG" />
  </proj>
  <servers>
    <server name="ADS" url="
http://t0.ads.astuntechnology.com/astuntechnology/osopen/service?&quot; />
  </servers>
</toAdd>
2015-03-02 12:07:19,962 DEBUG [jeeves] - replacingXML of /config/mapViewer
2015-03-02 12:07:19,963 INFO [jeeves.service] - -> transforming with
stylesheet : /var/lib/tomcat6/webapps/geonetwork/xsl/error.xsl
2015-03-02 12:07:19,988 INFO [jeeves.service] - -> end error
transformation for : search
2015-03-02 12:07:19,988 INFO [jeeves.service] - -> error ended for :
search

I can see that there are two errors detected but I don't know where to
start looking for the solution. Can anyone assist?

Thanks

Jo
--
*Jo Cook*
Astun Technology Ltd, The Coach House, 17 West Street, Epsom, Surrey, KT18
7RL, UK
t:+44 7930 524 155
iShare - Data integration and publishing platform
<http://www.isharemaps.com/&gt;

*****************************************

Company registration no. 5410695. Registered in England and Wales.
Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT no.
864201149.

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website,
sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for
all
things parallel software development, from weekly thought leadership blogs
to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--

*GeoCat Bridge for ArcGIS allows instant publishing of data and metadata on
GeoServer and GeoNetwork. Visit http://geocat.net/&gt; for
details. _________________________Jose GarcíaGeoCat bvVeenderweg 136721 WD
BennekomThe Netherlandshttp://GeoCat.net/>*

Hi Jose,

Brilliant, thanks. I didn't even realise that catalina.out has different
messages in it compared to the geonetwork.log file, so I've learnt
something new!

Jo

On Mon, Mar 2, 2015 at 12:25 PM, Jose Garcia <jose.garcia@anonymised.com> wrote:

Hi Jo

If using Tomcat, check in the catalina.out for
TransformerConfigurationException, usually contains the exact xslt file
and line where the error happens.

I guess that can help to find the issue better.

Regards,
Jose García

On Mon, Mar 2, 2015 at 1:10 PM, Jo Cook <jocook@anonymised.com>
wrote:

Hi List,

Our geonetwork instance (2.10.4, tomcat6) is successfully sending emails
when the status of a record changes, but the URL leads to an error
message,
and the log files are not helping me to understand where the problem is.
The URL is of the form

http://URL/geonetwork/srv/eng/search#fast=index&from=1&to=50&_status=4&_statusChangeDate=2015-03-02

With debug switched on for searches in log4j.cfg I see the following:
2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> exception during
transformation for : search
2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> (C) stylesheet :
/var/lib/tomcat6/webapps/geonetwork/xsl/search.xsl
2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> (C) message :
Failed to compile stylesheet. 2 errors detected.
2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> (C) exception :
TransformerConfigurationException
2015-03-02 12:07:19,908 DEBUG [jeeves.service] - Raised exception while
executing service
<error id="error">
  <message>Failed to compile stylesheet. 2 errors detected.</message>
  <class>TransformerConfigurationException</class>
  <stack>
    <at class="net.sf.saxon.PreparedStylesheet"
file="PreparedStylesheet.java" line="176" method="prepare" />
    <at class="net.sf.saxon.TransformerFactoryImpl"
file="TransformerFactoryImpl.java" line="139" method="newTemplates" />
    <at class="de.fzi.dbs.xml.transform.CachingTransformerFactory"
file="CachingTransformerFactory.java" line="120" method="newTransformer"
/>
    <at class="de.fzi.dbs.xml.transform.CachingTransformerFactory"
file="CachingTransformerFactory.java" line="76" method="newTransformer" />
    <at class="jeeves.utils.Xml" file="Xml.java" line="520"
method="transform" />
    <at class="jeeves.utils.Xml" file="Xml.java" line="418"
method="transform" />
    <at class="jeeves.server.dispatchers.ServiceManager"
file="ServiceManager.java" line="790" method="dispatchOutput" />
    <at class="jeeves.server.dispatchers.ServiceManager"
file="ServiceManager.java" line="450" method="dispatch" />
    <at class="jeeves.server.dispatchers.ServiceManager"
file="ServiceManager.java" line="362" method="dispatch" />
    <at class="jeeves.server.JeevesEngine" file="JeevesEngine.java"
line="811" method="dispatch" />
    <at class="jeeves.server.sources.http.JeevesServlet"
file="JeevesServlet.java" line="216" method="execute" />
    <at class="jeeves.server.sources.http.JeevesServlet"
file="JeevesServlet.java" line="115" method="doGet" />
    <skip>...</skip>
    <at class="org.fao.geonet.monitor.webapp.WebappMetricsFilter"
file="WebappMetricsFilter.java" line="96" method="doFilter" />
    <skip>...</skip>
    <at
class="org.fao.geonet.monitor.webapp.MetricsRegistryInitializerFilter"
file="MetricsRegistryInitializerFilter.java" line="31" method="doFilter"
/>
    <skip>...</skip>
    <at
class="jeeves.config.springutil.GeonetworkFilterSecurityInterceptor"
file="GeonetworkFilterSecurityInterceptor.java" line="46" method="invoke"
/>
    <skip>...</skip>
    <at
class="jeeves.config.springutil.GeonetworkFilterSecurityInterceptor"
file="GeonetworkFilterSecurityInterceptor.java" line="46" method="invoke"
/>
    <skip>...</skip>
    <at class="org.fao.geonet.kernel.security.PassthroughFilter"
file="PassthroughFilter.java" line="26" method="doFilter" />
    <skip>...</skip>
  </stack>
  <request>
    <language>eng</language>
    <service>search</service>
  </request>
  <request>
    <tmp />
    <user>
      user
      <authenticated>true</authenticated>
      <name>admin</name>
      <username>admin</username>
      <profile>Administrator</profile>
    </user>
  </request>
</error>
2015-03-02 12:07:19,908 INFO [jeeves.service] - -> dispatching to
error
for : search
2015-03-02 12:07:19,961 INFO [jeeves] - Overrides being applied to
configuration file: .*/WEB-INF/config-gui.xml
2015-03-02 12:07:19,961 INFO [jeeves] - Replacing child xml elements of
languages
2015-03-02 12:07:19,961 DEBUG [jeeves] - New elements are:<toAdd>
  <eng />
</toAdd>
2015-03-02 12:07:19,961 DEBUG [jeeves] - replacingXML of /config/languages
2015-03-02 12:07:19,961 INFO [jeeves] - Replacing child xml elements of
proj
2015-03-02 12:07:19,961 DEBUG [jeeves] - New elements are:<toAdd>
  <crs code="EPSG:4326" default="1" edit="1" />
  <crs code="EPSG:27700" edit="1" def="+proj=tmerc +lat_0=49 +lon_0=-2
+k=0.9996012717 +x_0=400000 +y_0=-100000 +ellps=airy +datum=OSGB36
+units=m
+no_defs " />
</toAdd>
2015-03-02 12:07:19,961 INFO [jeeves] - Replacing attribute options of
node mapSearch
2015-03-02 12:07:19,961 DEBUG [jeeves] - New attribute is:{projection:
'EPSG:27700', maxExtent: new OpenLayers.Bounds(0,0,700000,1300000), units:
'm', restrictedExtent: new OpenLayers.Bounds(0,0,700000,1300000),
resolutions: [1600,800,400,200,100,50,25,10,5,2.5,1,0.5,0.25]}
2015-03-02 12:07:19,961 DEBUG [jeeves] - Updating attibute of node
/config/mapSearch
2015-03-02 12:07:19,961 INFO [jeeves] - Replacing child xml elements of
mapSearch/layers
2015-03-02 12:07:19,962 DEBUG [jeeves] - New elements are:<toAdd>
  <layer server="
http://t0.ads.astuntechnology.com/astuntechnology/osopen/service&quot;
tocName="OS Open" params="{layers: 'osopen', format: 'image/png'}"
options="{isBaseLayer: true}" />
</toAdd>
2015-03-02 12:07:19,962 DEBUG [jeeves] - replacingXML of
/config/mapSearch/layers
2015-03-02 12:07:19,962 INFO [jeeves] - Replacing attribute options of
node mapViewer
2015-03-02 12:07:19,962 DEBUG [jeeves] - New attribute is:{projection:
'EPSG:27700', maxExtent: new
OpenLayers.Bounds(-3276800,-3276800,3276800,3276800), units: 'm',
restrictedExtent: new OpenLayers.Bounds(0,0,700000,1300000), resolutions:
[3200,1600,800,400,200,100,50,25,10,5,2.5,1,0.5]}
2015-03-02 12:07:19,962 DEBUG [jeeves] - Updating attibute of node
/config/mapViewer
2015-03-02 12:07:19,962 INFO [jeeves] - Replacing child xml elements of
mapViewer
2015-03-02 12:07:19,962 DEBUG [jeeves] - New elements are:<toAdd>
  <layers>
    <layer server="
http://t0.ads.astuntechnology.com/astuntechnology/osopen/service&quot;
tocName="OS Open" params="{layers: 'oso2015-03-02 12:07:19,907 ERROR
[jeeves.service] - -> exception during transformation for : search
2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> (C) stylesheet :
/var/lib/tomcat6/webapps/geonetwork/xsl/search.xsl
2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> (C) message :
Failed to compile stylesheet. 2 errors detected.
2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> (C) exception :
TransformerConfigurationException
2015-03-02 12:07:19,908 DEBUG [jeeves.service] - Raised exception while
executing service
<error id="error">
  <message>Failed to compile stylesheet. 2 errors detected.</message>
  <class>TransformerConfigurationException</class>
  <stack>
    <at class="net.sf.saxon.PreparedStylesheet"
file="PreparedStylesheet.java" line="176" method="prepare" />
    <at class="net.sf.saxon.TransformerFactoryImpl"
file="TransformerFactoryImpl.java" line="139" method="newTemplates" />
    <at class="de.fzi.dbs.xml.transform.CachingTransformerFactory"
file="CachingTransformerFactory.java" line="120" method="newTransformer"
/>
    <at class="de.fzi.dbs.xml.transform.CachingTransformerFactory"
file="CachingTransformerFactory.java" line="76" method="newTransformer" />
    <at class="jeeves.utils.Xml" file="Xml.java" line="520"
method="transform" />
    <at class="jeeves.utils.Xml" file="Xml.java" line="418"
method="transform" />
    <at class="jeeves.server.dispatchers.ServiceManager"
file="ServiceManager.java" line="790" method="dispatchOutput" />
    <at class="jeeves.server.dispatchers.ServiceManager"
file="ServiceManager.java" line="450" method="dispatch" />
    <at class="jeeves.server.dispatchers.ServiceManager"
file="ServiceManager.java" line="362" method="dispatch" />
    <at class="jeeves.server.JeevesEngine" file="JeevesEngine.java"
line="811" method="dispatch" />
    <at class="jeeves.server.sources.http.JeevesServlet"
file="JeevesServlet.java" line="216" method="execute" />
    <at class="jeeves.server.sources.http.JeevesServlet"
file="JeevesServlet.java" line="115" method="doGet" />
    <skip>...</skip>
    <at class="org.fao.geonet.monitor.webapp.WebappMetricsFilter"
file="WebappMetricsFilter.java" line="96" method="doFilter" />
    <skip>...</skip>
    <at
class="org.fao.geonet.monitor.webapp.MetricsRegistryInitializerFilter"
file="MetricsRegistryInitializerFilter.java" line="31" method="doFilter"
/>
    <skip>...</skip>
    <at
class="jeeves.config.springutil.GeonetworkFilterSecurityInterceptor"
file="GeonetworkFilterSecurityInterceptor.java" line="46" method="invoke"
/>
    <skip>...</skip>
    <at
class="jeeves.config.springutil.GeonetworkFilterSecurityInterceptor"
file="GeonetworkFilterSecurityInterceptor.java" line="46" method="invoke"
/>
    <skip>...</skip>
    <at class="org.fao.geonet.kernel.security.PassthroughFilter"
file="PassthroughFilter.java" line="26" method="doFilter" />
    <skip>...</skip>
  </stack>
  <request>
    <language>eng</language>
    <service>search</service>
  </request>
  <request>
    <tmp />
    <user>
      user
      <authenticated>true</authenticated>
      <name>admin</name>
      <username>admin</username>
      <profile>Administrator</profile>
    </user>
  </request>
</error>
2015-03-02 12:07:19,908 INFO [jeeves.service] - -> dispatching to
error
for : search
2015-03-02 12:07:19,961 INFO [jeeves] - Overrides being applied to
configuration file: .*/WEB-INF/config-gui.xml
2015-03-02 12:07:19,961 INFO [jeeves] - Replacing child xml elements of
languages
2015-03-02 12:07:19,961 DEBUG [jeeves] - New elements are:<toAdd>
  <eng />
</toAdd>
2015-03-02 12:07:19,961 DEBUG [jeeves] - replacingXML of /config/languages
2015-03-02 12:07:19,961 INFO [jeeves] - Replacing child xml elements of
proj
2015-03-02 12:07:19,961 DEBUG [jeeves] - New elements are:<toAdd>
  <crs code="EPSG:4326" default="1" edit="1" />
  <crs code="EPSG:27700" edit="1" def="+proj=tmerc +lat_0=49 +lon_0=-2
+k=0.9996012717 +x_0=400000 +y_0=-100000 +ellps=airy +datum=OSGB36
+units=m
+no_defs " />
</toAdd>
2015-03-02 12:07:19,961 INFO [jeeves] - Replacing attribute options of
node mapSearch
2015-03-02 12:07:19,961 DEBUG [jeeves] - New attribute is:{projection:
'EPSG:27700', maxExtent: new OpenLayers.Bounds(0,0,700000,1300000), units:
'm', restrictedExtent: new OpenLayers.Bounds(0,0,700000,1300000),
resolutions: [1600,800,400,200,100,50,25,10,5,2.5,1,0.5,0.25]}
2015-03-02 12:07:19,961 DEBUG [jeeves] - Updating attibute of node
/config/mapSearch
2015-03-02 12:07:19,961 INFO [jeeves] - Replacing child xml elements of
mapSearch/layers
2015-03-02 12:07:19,962 DEBUG [jeeves] - New elements are:<toAdd>
  <layer server="
http://t0.ads.astuntechnology.com/astuntechnology/osopen/service&quot;
tocName="OS Open" params="{layers: 'osopen', format: 'image/png'}"
options="{isBaseLayer: true}" />
</toAdd>
2015-03-02 12:07:19,962 DEBUG [jeeves] - replacingXML of
/config/mapSearch/layers
2015-03-02 12:07:19,962 INFO [jeeves] - Replacing attribute options of
node mapViewer
2015-03-02 12:07:19,962 DEBUG [jeeves] - New attribute is:{projection:
'EPSG:27700', maxExtent: new
OpenLayers.Bounds(-3276800,-3276800,3276800,3276800), units: 'm',
restrictedExtent: new OpenLayers.Bounds(0,0,700000,1300000), resolutions:
[3200,1600,800,400,200,100,50,25,10,5,2.5,1,0.5]}
2015-03-02 12:07:19,962 DEBUG [jeeves] - Updating attibute of node
/config/mapViewer
2015-03-02 12:07:19,962 INFO [jeeves] - Replacing child xml elements of
mapViewer
2015-03-02 12:07:19,962 DEBUG [jeeves] - New elements are:<toAdd>
  <layers>
    <layer server="
http://t0.ads.astuntechnology.com/astuntechnology/osopen/service&quot;
tocName="OS Open" params="{layers: 'osopen', format: 'image/png'}"
options="{isBaseLayer: true}" />
  </layers>
  <scales values="" />
  <proj>
    <crs code="EPSG:27700" default="1" name="BNG" />
  </proj>
  <servers>
    <server name="ADS" url="
http://t0.ads.astuntechnology.com/astuntechnology/osopen/service?&quot; />
  </servers>
</toAdd>
2015-03-02 12:07:19,962 DEBUG [jeeves] - replacingXML of /config/mapViewer
2015-03-02 12:07:19,963 INFO [jeeves.service] - -> transforming with
stylesheet : /var/lib/tomcat6/webapps/geonetwork/xsl/error.xsl
2015-03-02 12:07:19,988 INFO [jeeves.service] - -> end error
transformation for : search
2015-03-02 12:07:19,988 INFO [jeeves.service] - -> error ended for :
search
pen', format: 'image/png'}" options="{isBaseLayer: true}" />
  </layers>
  <scales values="" />
  <proj>
    <crs code="EPSG:27700" default="1" name="BNG" />
  </proj>
  <servers>
    <server name="ADS" url="
http://t0.ads.astuntechnology.com/astuntechnology/osopen/service?&quot; />
  </servers>
</toAdd>
2015-03-02 12:07:19,962 DEBUG [jeeves] - replacingXML of /config/mapViewer
2015-03-02 12:07:19,963 INFO [jeeves.service] - -> transforming with
stylesheet : /var/lib/tomcat6/webapps/geonetwork/xsl/error.xsl
2015-03-02 12:07:19,988 INFO [jeeves.service] - -> end error
transformation for : search
2015-03-02 12:07:19,988 INFO [jeeves.service] - -> error ended for :
search

I can see that there are two errors detected but I don't know where to
start looking for the solution. Can anyone assist?

Thanks

Jo
--
*Jo Cook*
Astun Technology Ltd, The Coach House, 17 West Street, Epsom, Surrey, KT18
7RL, UK
t:+44 7930 524 155
iShare - Data integration and publishing platform
<http://www.isharemaps.com/&gt;

*****************************************

Company registration no. 5410695. Registered in England and Wales.
Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT no.
864201149.

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website,
sponsored
by Intel and developed in partnership with Slashdot Media, is your hub
for all
things parallel software development, from weekly thought leadership
blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--

*GeoCat Bridge for ArcGIS allows instant publishing of data and metadata
on GeoServer and GeoNetwork. Visit http://geocat.net
<http://geocat.net/&gt; for details. _________________________Jose
GarcíaGeoCat bvVeenderweg 136721 WD BennekomThe
Netherlandshttp://GeoCat.net/>*

--
*Jo Cook*
Astun Technology Ltd, The Coach House, 17 West Street, Epsom, Surrey, KT18
7RL, UK
t:+44 7930 524 155
iShare - Data integration and publishing platform
<http://www.isharemaps.com/&gt;

*****************************************

Company registration no. 5410695. Registered in England and Wales.
Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT no.
864201149.

Hi Jo

All the printStackTrace() only go to the catalina.out or to the console,
not to geonetwork.log. The messages logged with the logger classes should
end in both places.

Regards,
Jose García

On Mon, Mar 2, 2015 at 1:31 PM, Jo Cook <jocook@anonymised.com> wrote:

Hi Jose,

Brilliant, thanks. I didn't even realise that catalina.out has different
messages in it compared to the geonetwork.log file, so I've learnt
something new!

Jo

On Mon, Mar 2, 2015 at 12:25 PM, Jose Garcia <jose.garcia@anonymised.com>
wrote:

Hi Jo

If using Tomcat, check in the catalina.out for
TransformerConfigurationException, usually contains the exact xslt file
and line where the error happens.

I guess that can help to find the issue better.

Regards,
Jose García

On Mon, Mar 2, 2015 at 1:10 PM, Jo Cook <jocook@anonymised.com>
wrote:

Hi List,

Our geonetwork instance (2.10.4, tomcat6) is successfully sending emails
when the status of a record changes, but the URL leads to an error
message,
and the log files are not helping me to understand where the problem is.
The URL is of the form

http://URL/geonetwork/srv/eng/search#fast=index&from=1&to=50&_status=4&_statusChangeDate=2015-03-02

With debug switched on for searches in log4j.cfg I see the following:
2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> exception during
transformation for : search
2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> (C) stylesheet :
/var/lib/tomcat6/webapps/geonetwork/xsl/search.xsl
2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> (C) message :
Failed to compile stylesheet. 2 errors detected.
2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> (C) exception :
TransformerConfigurationException
2015-03-02 12:07:19,908 DEBUG [jeeves.service] - Raised exception while
executing service
<error id="error">
  <message>Failed to compile stylesheet. 2 errors detected.</message>
  <class>TransformerConfigurationException</class>
  <stack>
    <at class="net.sf.saxon.PreparedStylesheet"
file="PreparedStylesheet.java" line="176" method="prepare" />
    <at class="net.sf.saxon.TransformerFactoryImpl"
file="TransformerFactoryImpl.java" line="139" method="newTemplates" />
    <at class="de.fzi.dbs.xml.transform.CachingTransformerFactory"
file="CachingTransformerFactory.java" line="120" method="newTransformer"
/>
    <at class="de.fzi.dbs.xml.transform.CachingTransformerFactory"
file="CachingTransformerFactory.java" line="76" method="newTransformer"
/>
    <at class="jeeves.utils.Xml" file="Xml.java" line="520"
method="transform" />
    <at class="jeeves.utils.Xml" file="Xml.java" line="418"
method="transform" />
    <at class="jeeves.server.dispatchers.ServiceManager"
file="ServiceManager.java" line="790" method="dispatchOutput" />
    <at class="jeeves.server.dispatchers.ServiceManager"
file="ServiceManager.java" line="450" method="dispatch" />
    <at class="jeeves.server.dispatchers.ServiceManager"
file="ServiceManager.java" line="362" method="dispatch" />
    <at class="jeeves.server.JeevesEngine" file="JeevesEngine.java"
line="811" method="dispatch" />
    <at class="jeeves.server.sources.http.JeevesServlet"
file="JeevesServlet.java" line="216" method="execute" />
    <at class="jeeves.server.sources.http.JeevesServlet"
file="JeevesServlet.java" line="115" method="doGet" />
    <skip>...</skip>
    <at class="org.fao.geonet.monitor.webapp.WebappMetricsFilter"
file="WebappMetricsFilter.java" line="96" method="doFilter" />
    <skip>...</skip>
    <at
class="org.fao.geonet.monitor.webapp.MetricsRegistryInitializerFilter"
file="MetricsRegistryInitializerFilter.java" line="31" method="doFilter"
/>
    <skip>...</skip>
    <at
class="jeeves.config.springutil.GeonetworkFilterSecurityInterceptor"
file="GeonetworkFilterSecurityInterceptor.java" line="46"
method="invoke" />
    <skip>...</skip>
    <at
class="jeeves.config.springutil.GeonetworkFilterSecurityInterceptor"
file="GeonetworkFilterSecurityInterceptor.java" line="46"
method="invoke" />
    <skip>...</skip>
    <at class="org.fao.geonet.kernel.security.PassthroughFilter"
file="PassthroughFilter.java" line="26" method="doFilter" />
    <skip>...</skip>
  </stack>
  <request>
    <language>eng</language>
    <service>search</service>
  </request>
  <request>
    <tmp />
    <user>
      user
      <authenticated>true</authenticated>
      <name>admin</name>
      <username>admin</username>
      <profile>Administrator</profile>
    </user>
  </request>
</error>
2015-03-02 12:07:19,908 INFO [jeeves.service] - -> dispatching to
error
for : search
2015-03-02 12:07:19,961 INFO [jeeves] - Overrides being applied to
configuration file: .*/WEB-INF/config-gui.xml
2015-03-02 12:07:19,961 INFO [jeeves] - Replacing child xml elements of
languages
2015-03-02 12:07:19,961 DEBUG [jeeves] - New elements are:<toAdd>
  <eng />
</toAdd>
2015-03-02 12:07:19,961 DEBUG [jeeves] - replacingXML of
/config/languages
2015-03-02 12:07:19,961 INFO [jeeves] - Replacing child xml elements of
proj
2015-03-02 12:07:19,961 DEBUG [jeeves] - New elements are:<toAdd>
  <crs code="EPSG:4326" default="1" edit="1" />
  <crs code="EPSG:27700" edit="1" def="+proj=tmerc +lat_0=49 +lon_0=-2
+k=0.9996012717 +x_0=400000 +y_0=-100000 +ellps=airy +datum=OSGB36
+units=m
+no_defs " />
</toAdd>
2015-03-02 12:07:19,961 INFO [jeeves] - Replacing attribute options of
node mapSearch
2015-03-02 12:07:19,961 DEBUG [jeeves] - New attribute is:{projection:
'EPSG:27700', maxExtent: new OpenLayers.Bounds(0,0,700000,1300000),
units:
'm', restrictedExtent: new OpenLayers.Bounds(0,0,700000,1300000),
resolutions: [1600,800,400,200,100,50,25,10,5,2.5,1,0.5,0.25]}
2015-03-02 12:07:19,961 DEBUG [jeeves] - Updating attibute of node
/config/mapSearch
2015-03-02 12:07:19,961 INFO [jeeves] - Replacing child xml elements of
mapSearch/layers
2015-03-02 12:07:19,962 DEBUG [jeeves] - New elements are:<toAdd>
  <layer server="
http://t0.ads.astuntechnology.com/astuntechnology/osopen/service&quot;
tocName="OS Open" params="{layers: 'osopen', format: 'image/png'}"
options="{isBaseLayer: true}" />
</toAdd>
2015-03-02 12:07:19,962 DEBUG [jeeves] - replacingXML of
/config/mapSearch/layers
2015-03-02 12:07:19,962 INFO [jeeves] - Replacing attribute options of
node mapViewer
2015-03-02 12:07:19,962 DEBUG [jeeves] - New attribute is:{projection:
'EPSG:27700', maxExtent: new
OpenLayers.Bounds(-3276800,-3276800,3276800,3276800), units: 'm',
restrictedExtent: new OpenLayers.Bounds(0,0,700000,1300000), resolutions:
[3200,1600,800,400,200,100,50,25,10,5,2.5,1,0.5]}
2015-03-02 12:07:19,962 DEBUG [jeeves] - Updating attibute of node
/config/mapViewer
2015-03-02 12:07:19,962 INFO [jeeves] - Replacing child xml elements of
mapViewer
2015-03-02 12:07:19,962 DEBUG [jeeves] - New elements are:<toAdd>
  <layers>
    <layer server="
http://t0.ads.astuntechnology.com/astuntechnology/osopen/service&quot;
tocName="OS Open" params="{layers: 'oso2015-03-02 12:07:19,907 ERROR
[jeeves.service] - -> exception during transformation for : search
2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> (C) stylesheet :
/var/lib/tomcat6/webapps/geonetwork/xsl/search.xsl
2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> (C) message :
Failed to compile stylesheet. 2 errors detected.
2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> (C) exception :
TransformerConfigurationException
2015-03-02 12:07:19,908 DEBUG [jeeves.service] - Raised exception while
executing service
<error id="error">
  <message>Failed to compile stylesheet. 2 errors detected.</message>
  <class>TransformerConfigurationException</class>
  <stack>
    <at class="net.sf.saxon.PreparedStylesheet"
file="PreparedStylesheet.java" line="176" method="prepare" />
    <at class="net.sf.saxon.TransformerFactoryImpl"
file="TransformerFactoryImpl.java" line="139" method="newTemplates" />
    <at class="de.fzi.dbs.xml.transform.CachingTransformerFactory"
file="CachingTransformerFactory.java" line="120" method="newTransformer"
/>
    <at class="de.fzi.dbs.xml.transform.CachingTransformerFactory"
file="CachingTransformerFactory.java" line="76" method="newTransformer"
/>
    <at class="jeeves.utils.Xml" file="Xml.java" line="520"
method="transform" />
    <at class="jeeves.utils.Xml" file="Xml.java" line="418"
method="transform" />
    <at class="jeeves.server.dispatchers.ServiceManager"
file="ServiceManager.java" line="790" method="dispatchOutput" />
    <at class="jeeves.server.dispatchers.ServiceManager"
file="ServiceManager.java" line="450" method="dispatch" />
    <at class="jeeves.server.dispatchers.ServiceManager"
file="ServiceManager.java" line="362" method="dispatch" />
    <at class="jeeves.server.JeevesEngine" file="JeevesEngine.java"
line="811" method="dispatch" />
    <at class="jeeves.server.sources.http.JeevesServlet"
file="JeevesServlet.java" line="216" method="execute" />
    <at class="jeeves.server.sources.http.JeevesServlet"
file="JeevesServlet.java" line="115" method="doGet" />
    <skip>...</skip>
    <at class="org.fao.geonet.monitor.webapp.WebappMetricsFilter"
file="WebappMetricsFilter.java" line="96" method="doFilter" />
    <skip>...</skip>
    <at
class="org.fao.geonet.monitor.webapp.MetricsRegistryInitializerFilter"
file="MetricsRegistryInitializerFilter.java" line="31" method="doFilter"
/>
    <skip>...</skip>
    <at
class="jeeves.config.springutil.GeonetworkFilterSecurityInterceptor"
file="GeonetworkFilterSecurityInterceptor.java" line="46"
method="invoke" />
    <skip>...</skip>
    <at
class="jeeves.config.springutil.GeonetworkFilterSecurityInterceptor"
file="GeonetworkFilterSecurityInterceptor.java" line="46"
method="invoke" />
    <skip>...</skip>
    <at class="org.fao.geonet.kernel.security.PassthroughFilter"
file="PassthroughFilter.java" line="26" method="doFilter" />
    <skip>...</skip>
  </stack>
  <request>
    <language>eng</language>
    <service>search</service>
  </request>
  <request>
    <tmp />
    <user>
      user
      <authenticated>true</authenticated>
      <name>admin</name>
      <username>admin</username>
      <profile>Administrator</profile>
    </user>
  </request>
</error>
2015-03-02 12:07:19,908 INFO [jeeves.service] - -> dispatching to
error
for : search
2015-03-02 12:07:19,961 INFO [jeeves] - Overrides being applied to
configuration file: .*/WEB-INF/config-gui.xml
2015-03-02 12:07:19,961 INFO [jeeves] - Replacing child xml elements of
languages
2015-03-02 12:07:19,961 DEBUG [jeeves] - New elements are:<toAdd>
  <eng />
</toAdd>
2015-03-02 12:07:19,961 DEBUG [jeeves] - replacingXML of
/config/languages
2015-03-02 12:07:19,961 INFO [jeeves] - Replacing child xml elements of
proj
2015-03-02 12:07:19,961 DEBUG [jeeves] - New elements are:<toAdd>
  <crs code="EPSG:4326" default="1" edit="1" />
  <crs code="EPSG:27700" edit="1" def="+proj=tmerc +lat_0=49 +lon_0=-2
+k=0.9996012717 +x_0=400000 +y_0=-100000 +ellps=airy +datum=OSGB36
+units=m
+no_defs " />
</toAdd>
2015-03-02 12:07:19,961 INFO [jeeves] - Replacing attribute options of
node mapSearch
2015-03-02 12:07:19,961 DEBUG [jeeves] - New attribute is:{projection:
'EPSG:27700', maxExtent: new OpenLayers.Bounds(0,0,700000,1300000),
units:
'm', restrictedExtent: new OpenLayers.Bounds(0,0,700000,1300000),
resolutions: [1600,800,400,200,100,50,25,10,5,2.5,1,0.5,0.25]}
2015-03-02 12:07:19,961 DEBUG [jeeves] - Updating attibute of node
/config/mapSearch
2015-03-02 12:07:19,961 INFO [jeeves] - Replacing child xml elements of
mapSearch/layers
2015-03-02 12:07:19,962 DEBUG [jeeves] - New elements are:<toAdd>
  <layer server="
http://t0.ads.astuntechnology.com/astuntechnology/osopen/service&quot;
tocName="OS Open" params="{layers: 'osopen', format: 'image/png'}"
options="{isBaseLayer: true}" />
</toAdd>
2015-03-02 12:07:19,962 DEBUG [jeeves] - replacingXML of
/config/mapSearch/layers
2015-03-02 12:07:19,962 INFO [jeeves] - Replacing attribute options of
node mapViewer
2015-03-02 12:07:19,962 DEBUG [jeeves] - New attribute is:{projection:
'EPSG:27700', maxExtent: new
OpenLayers.Bounds(-3276800,-3276800,3276800,3276800), units: 'm',
restrictedExtent: new OpenLayers.Bounds(0,0,700000,1300000), resolutions:
[3200,1600,800,400,200,100,50,25,10,5,2.5,1,0.5]}
2015-03-02 12:07:19,962 DEBUG [jeeves] - Updating attibute of node
/config/mapViewer
2015-03-02 12:07:19,962 INFO [jeeves] - Replacing child xml elements of
mapViewer
2015-03-02 12:07:19,962 DEBUG [jeeves] - New elements are:<toAdd>
  <layers>
    <layer server="
http://t0.ads.astuntechnology.com/astuntechnology/osopen/service&quot;
tocName="OS Open" params="{layers: 'osopen', format: 'image/png'}"
options="{isBaseLayer: true}" />
  </layers>
  <scales values="" />
  <proj>
    <crs code="EPSG:27700" default="1" name="BNG" />
  </proj>
  <servers>
    <server name="ADS" url="
http://t0.ads.astuntechnology.com/astuntechnology/osopen/service?&quot; />
  </servers>
</toAdd>
2015-03-02 12:07:19,962 DEBUG [jeeves] - replacingXML of
/config/mapViewer
2015-03-02 12:07:19,963 INFO [jeeves.service] - -> transforming
with
stylesheet : /var/lib/tomcat6/webapps/geonetwork/xsl/error.xsl
2015-03-02 12:07:19,988 INFO [jeeves.service] - -> end error
transformation for : search
2015-03-02 12:07:19,988 INFO [jeeves.service] - -> error ended for :
search
pen', format: 'image/png'}" options="{isBaseLayer: true}" />
  </layers>
  <scales values="" />
  <proj>
    <crs code="EPSG:27700" default="1" name="BNG" />
  </proj>
  <servers>
    <server name="ADS" url="
http://t0.ads.astuntechnology.com/astuntechnology/osopen/service?&quot; />
  </servers>
</toAdd>
2015-03-02 12:07:19,962 DEBUG [jeeves] - replacingXML of
/config/mapViewer
2015-03-02 12:07:19,963 INFO [jeeves.service] - -> transforming
with
stylesheet : /var/lib/tomcat6/webapps/geonetwork/xsl/error.xsl
2015-03-02 12:07:19,988 INFO [jeeves.service] - -> end error
transformation for : search
2015-03-02 12:07:19,988 INFO [jeeves.service] - -> error ended for :
search

I can see that there are two errors detected but I don't know where to
start looking for the solution. Can anyone assist?

Thanks

Jo
--
*Jo Cook*
Astun Technology Ltd, The Coach House, 17 West Street, Epsom, Surrey,
KT18
7RL, UK
t:+44 7930 524 155
iShare - Data integration and publishing platform
<http://www.isharemaps.com/&gt;

*****************************************

Company registration no. 5410695. Registered in England and Wales.
Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT no.
864201149.

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website,
sponsored
by Intel and developed in partnership with Slashdot Media, is your hub
for all
things parallel software development, from weekly thought leadership
blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--

*GeoCat Bridge for ArcGIS allows instant publishing of data and metadata
on GeoServer and GeoNetwork. Visit http://geocat.net
<http://geocat.net/&gt; for details. _________________________Jose
GarcíaGeoCat bvVeenderweg 136721 WD BennekomThe
Netherlandshttp://GeoCat.net/>*

--
*Jo Cook*
Astun Technology Ltd, The Coach House, 17 West Street, Epsom, Surrey, KT18
7RL, UK
t:+44 7930 524 155
iShare - Data integration and publishing platform
<http://www.isharemaps.com/&gt;

*****************************************

Company registration no. 5410695. Registered in England and Wales.
Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT no.
864201149.

--

*GeoCat Bridge for ArcGIS allows instant publishing of data and metadata on
GeoServer and GeoNetwork. Visit http://geocat.net/&gt; for
details. _________________________Jose GarcíaGeoCat bvVeenderweg 136721 WD
BennekomThe Netherlandshttp://GeoCat.net/>*

Hi Jose,

In catalina.out I can now see the following error:

2015-03-02 10:41:15,668 INFO [jeeves.service] - -> transforming with
stylesheet : /var/lib/tomcat6/webapps/geonetwork/xsl/search.xsl
Error at xsl:call-template on line 26 column 61 of metadata-edit.xsl:
  XTSE0090: Attribute @select is not allowed on element <xsl:call-template>

Originally I had two of these errors, one for line 27 column 61, and I have
resolved that- but I can't see where the second example is. Have you any
pointers on where I should be looking?

Jo

On Mon, Mar 2, 2015 at 12:35 PM, Jose Garcia <jose.garcia@anonymised.com> wrote:

Hi Jo

All the printStackTrace() only go to the catalina.out or to the console,
not to geonetwork.log. The messages logged with the logger classes should
end in both places.

Regards,
Jose García

On Mon, Mar 2, 2015 at 1:31 PM, Jo Cook <jocook@anonymised.com>
wrote:

Hi Jose,

Brilliant, thanks. I didn't even realise that catalina.out has different
messages in it compared to the geonetwork.log file, so I've learnt
something new!

Jo

On Mon, Mar 2, 2015 at 12:25 PM, Jose Garcia <jose.garcia@anonymised.com>
wrote:

Hi Jo

If using Tomcat, check in the catalina.out for
TransformerConfigurationException, usually contains the exact xslt file
and line where the error happens.

I guess that can help to find the issue better.

Regards,
Jose García

On Mon, Mar 2, 2015 at 1:10 PM, Jo Cook <jocook@anonymised.com>
wrote:

Hi List,

Our geonetwork instance (2.10.4, tomcat6) is successfully sending emails
when the status of a record changes, but the URL leads to an error
message,
and the log files are not helping me to understand where the problem is.
The URL is of the form

http://URL/geonetwork/srv/eng/search#fast=index&from=1&to=50&_status=4&_statusChangeDate=2015-03-02

With debug switched on for searches in log4j.cfg I see the following:
2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> exception during
transformation for : search
2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> (C) stylesheet :
/var/lib/tomcat6/webapps/geonetwork/xsl/search.xsl
2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> (C) message :
Failed to compile stylesheet. 2 errors detected.
2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> (C) exception :
TransformerConfigurationException
2015-03-02 12:07:19,908 DEBUG [jeeves.service] - Raised exception while
executing service
<error id="error">
  <message>Failed to compile stylesheet. 2 errors detected.</message>
  <class>TransformerConfigurationException</class>
  <stack>
    <at class="net.sf.saxon.PreparedStylesheet"
file="PreparedStylesheet.java" line="176" method="prepare" />
    <at class="net.sf.saxon.TransformerFactoryImpl"
file="TransformerFactoryImpl.java" line="139" method="newTemplates" />
    <at class="de.fzi.dbs.xml.transform.CachingTransformerFactory"
file="CachingTransformerFactory.java" line="120"
method="newTransformer" />
    <at class="de.fzi.dbs.xml.transform.CachingTransformerFactory"
file="CachingTransformerFactory.java" line="76" method="newTransformer"
/>
    <at class="jeeves.utils.Xml" file="Xml.java" line="520"
method="transform" />
    <at class="jeeves.utils.Xml" file="Xml.java" line="418"
method="transform" />
    <at class="jeeves.server.dispatchers.ServiceManager"
file="ServiceManager.java" line="790" method="dispatchOutput" />
    <at class="jeeves.server.dispatchers.ServiceManager"
file="ServiceManager.java" line="450" method="dispatch" />
    <at class="jeeves.server.dispatchers.ServiceManager"
file="ServiceManager.java" line="362" method="dispatch" />
    <at class="jeeves.server.JeevesEngine" file="JeevesEngine.java"
line="811" method="dispatch" />
    <at class="jeeves.server.sources.http.JeevesServlet"
file="JeevesServlet.java" line="216" method="execute" />
    <at class="jeeves.server.sources.http.JeevesServlet"
file="JeevesServlet.java" line="115" method="doGet" />
    <skip>...</skip>
    <at class="org.fao.geonet.monitor.webapp.WebappMetricsFilter"
file="WebappMetricsFilter.java" line="96" method="doFilter" />
    <skip>...</skip>
    <at
class="org.fao.geonet.monitor.webapp.MetricsRegistryInitializerFilter"
file="MetricsRegistryInitializerFilter.java" line="31"
method="doFilter" />
    <skip>...</skip>
    <at
class="jeeves.config.springutil.GeonetworkFilterSecurityInterceptor"
file="GeonetworkFilterSecurityInterceptor.java" line="46"
method="invoke" />
    <skip>...</skip>
    <at
class="jeeves.config.springutil.GeonetworkFilterSecurityInterceptor"
file="GeonetworkFilterSecurityInterceptor.java" line="46"
method="invoke" />
    <skip>...</skip>
    <at class="org.fao.geonet.kernel.security.PassthroughFilter"
file="PassthroughFilter.java" line="26" method="doFilter" />
    <skip>...</skip>
  </stack>
  <request>
    <language>eng</language>
    <service>search</service>
  </request>
  <request>
    <tmp />
    <user>
      user
      <authenticated>true</authenticated>
      <name>admin</name>
      <username>admin</username>
      <profile>Administrator</profile>
    </user>
  </request>
</error>
2015-03-02 12:07:19,908 INFO [jeeves.service] - -> dispatching to
error
for : search
2015-03-02 12:07:19,961 INFO [jeeves] - Overrides being applied to
configuration file: .*/WEB-INF/config-gui.xml
2015-03-02 12:07:19,961 INFO [jeeves] - Replacing child xml elements of
languages
2015-03-02 12:07:19,961 DEBUG [jeeves] - New elements are:<toAdd>
  <eng />
</toAdd>
2015-03-02 12:07:19,961 DEBUG [jeeves] - replacingXML of
/config/languages
2015-03-02 12:07:19,961 INFO [jeeves] - Replacing child xml elements of
proj
2015-03-02 12:07:19,961 DEBUG [jeeves] - New elements are:<toAdd>
  <crs code="EPSG:4326" default="1" edit="1" />
  <crs code="EPSG:27700" edit="1" def="+proj=tmerc +lat_0=49 +lon_0=-2
+k=0.9996012717 +x_0=400000 +y_0=-100000 +ellps=airy +datum=OSGB36
+units=m
+no_defs " />
</toAdd>
2015-03-02 12:07:19,961 INFO [jeeves] - Replacing attribute options of
node mapSearch
2015-03-02 12:07:19,961 DEBUG [jeeves] - New attribute is:{projection:
'EPSG:27700', maxExtent: new OpenLayers.Bounds(0,0,700000,1300000),
units:
'm', restrictedExtent: new OpenLayers.Bounds(0,0,700000,1300000),
resolutions: [1600,800,400,200,100,50,25,10,5,2.5,1,0.5,0.25]}
2015-03-02 12:07:19,961 DEBUG [jeeves] - Updating attibute of node
/config/mapSearch
2015-03-02 12:07:19,961 INFO [jeeves] - Replacing child xml elements of
mapSearch/layers
2015-03-02 12:07:19,962 DEBUG [jeeves] - New elements are:<toAdd>
  <layer server="
http://t0.ads.astuntechnology.com/astuntechnology/osopen/service&quot;
tocName="OS Open" params="{layers: 'osopen', format: 'image/png'}"
options="{isBaseLayer: true}" />
</toAdd>
2015-03-02 12:07:19,962 DEBUG [jeeves] - replacingXML of
/config/mapSearch/layers
2015-03-02 12:07:19,962 INFO [jeeves] - Replacing attribute options of
node mapViewer
2015-03-02 12:07:19,962 DEBUG [jeeves] - New attribute is:{projection:
'EPSG:27700', maxExtent: new
OpenLayers.Bounds(-3276800,-3276800,3276800,3276800), units: 'm',
restrictedExtent: new OpenLayers.Bounds(0,0,700000,1300000),
resolutions:
[3200,1600,800,400,200,100,50,25,10,5,2.5,1,0.5]}
2015-03-02 12:07:19,962 DEBUG [jeeves] - Updating attibute of node
/config/mapViewer
2015-03-02 12:07:19,962 INFO [jeeves] - Replacing child xml elements of
mapViewer
2015-03-02 12:07:19,962 DEBUG [jeeves] - New elements are:<toAdd>
  <layers>
    <layer server="
http://t0.ads.astuntechnology.com/astuntechnology/osopen/service&quot;
tocName="OS Open" params="{layers: 'oso2015-03-02 12:07:19,907 ERROR
[jeeves.service] - -> exception during transformation for : search
2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> (C) stylesheet :
/var/lib/tomcat6/webapps/geonetwork/xsl/search.xsl
2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> (C) message :
Failed to compile stylesheet. 2 errors detected.
2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> (C) exception :
TransformerConfigurationException
2015-03-02 12:07:19,908 DEBUG [jeeves.service] - Raised exception while
executing service
<error id="error">
  <message>Failed to compile stylesheet. 2 errors detected.</message>
  <class>TransformerConfigurationException</class>
  <stack>
    <at class="net.sf.saxon.PreparedStylesheet"
file="PreparedStylesheet.java" line="176" method="prepare" />
    <at class="net.sf.saxon.TransformerFactoryImpl"
file="TransformerFactoryImpl.java" line="139" method="newTemplates" />
    <at class="de.fzi.dbs.xml.transform.CachingTransformerFactory"
file="CachingTransformerFactory.java" line="120"
method="newTransformer" />
    <at class="de.fzi.dbs.xml.transform.CachingTransformerFactory"
file="CachingTransformerFactory.java" line="76" method="newTransformer"
/>
    <at class="jeeves.utils.Xml" file="Xml.java" line="520"
method="transform" />
    <at class="jeeves.utils.Xml" file="Xml.java" line="418"
method="transform" />
    <at class="jeeves.server.dispatchers.ServiceManager"
file="ServiceManager.java" line="790" method="dispatchOutput" />
    <at class="jeeves.server.dispatchers.ServiceManager"
file="ServiceManager.java" line="450" method="dispatch" />
    <at class="jeeves.server.dispatchers.ServiceManager"
file="ServiceManager.java" line="362" method="dispatch" />
    <at class="jeeves.server.JeevesEngine" file="JeevesEngine.java"
line="811" method="dispatch" />
    <at class="jeeves.server.sources.http.JeevesServlet"
file="JeevesServlet.java" line="216" method="execute" />
    <at class="jeeves.server.sources.http.JeevesServlet"
file="JeevesServlet.java" line="115" method="doGet" />
    <skip>...</skip>
    <at class="org.fao.geonet.monitor.webapp.WebappMetricsFilter"
file="WebappMetricsFilter.java" line="96" method="doFilter" />
    <skip>...</skip>
    <at
class="org.fao.geonet.monitor.webapp.MetricsRegistryInitializerFilter"
file="MetricsRegistryInitializerFilter.java" line="31"
method="doFilter" />
    <skip>...</skip>
    <at
class="jeeves.config.springutil.GeonetworkFilterSecurityInterceptor"
file="GeonetworkFilterSecurityInterceptor.java" line="46"
method="invoke" />
    <skip>...</skip>
    <at
class="jeeves.config.springutil.GeonetworkFilterSecurityInterceptor"
file="GeonetworkFilterSecurityInterceptor.java" line="46"
method="invoke" />
    <skip>...</skip>
    <at class="org.fao.geonet.kernel.security.PassthroughFilter"
file="PassthroughFilter.java" line="26" method="doFilter" />
    <skip>...</skip>
  </stack>
  <request>
    <language>eng</language>
    <service>search</service>
  </request>
  <request>
    <tmp />
    <user>
      user
      <authenticated>true</authenticated>
      <name>admin</name>
      <username>admin</username>
      <profile>Administrator</profile>
    </user>
  </request>
</error>
2015-03-02 12:07:19,908 INFO [jeeves.service] - -> dispatching to
error
for : search
2015-03-02 12:07:19,961 INFO [jeeves] - Overrides being applied to
configuration file: .*/WEB-INF/config-gui.xml
2015-03-02 12:07:19,961 INFO [jeeves] - Replacing child xml elements of
languages
2015-03-02 12:07:19,961 DEBUG [jeeves] - New elements are:<toAdd>
  <eng />
</toAdd>
2015-03-02 12:07:19,961 DEBUG [jeeves] - replacingXML of
/config/languages
2015-03-02 12:07:19,961 INFO [jeeves] - Replacing child xml elements of
proj
2015-03-02 12:07:19,961 DEBUG [jeeves] - New elements are:<toAdd>
  <crs code="EPSG:4326" default="1" edit="1" />
  <crs code="EPSG:27700" edit="1" def="+proj=tmerc +lat_0=49 +lon_0=-2
+k=0.9996012717 +x_0=400000 +y_0=-100000 +ellps=airy +datum=OSGB36
+units=m
+no_defs " />
</toAdd>
2015-03-02 12:07:19,961 INFO [jeeves] - Replacing attribute options of
node mapSearch
2015-03-02 12:07:19,961 DEBUG [jeeves] - New attribute is:{projection:
'EPSG:27700', maxExtent: new OpenLayers.Bounds(0,0,700000,1300000),
units:
'm', restrictedExtent: new OpenLayers.Bounds(0,0,700000,1300000),
resolutions: [1600,800,400,200,100,50,25,10,5,2.5,1,0.5,0.25]}
2015-03-02 12:07:19,961 DEBUG [jeeves] - Updating attibute of node
/config/mapSearch
2015-03-02 12:07:19,961 INFO [jeeves] - Replacing child xml elements of
mapSearch/layers
2015-03-02 12:07:19,962 DEBUG [jeeves] - New elements are:<toAdd>
  <layer server="
http://t0.ads.astuntechnology.com/astuntechnology/osopen/service&quot;
tocName="OS Open" params="{layers: 'osopen', format: 'image/png'}"
options="{isBaseLayer: true}" />
</toAdd>
2015-03-02 12:07:19,962 DEBUG [jeeves] - replacingXML of
/config/mapSearch/layers
2015-03-02 12:07:19,962 INFO [jeeves] - Replacing attribute options of
node mapViewer
2015-03-02 12:07:19,962 DEBUG [jeeves] - New attribute is:{projection:
'EPSG:27700', maxExtent: new
OpenLayers.Bounds(-3276800,-3276800,3276800,3276800), units: 'm',
restrictedExtent: new OpenLayers.Bounds(0,0,700000,1300000),
resolutions:
[3200,1600,800,400,200,100,50,25,10,5,2.5,1,0.5]}
2015-03-02 12:07:19,962 DEBUG [jeeves] - Updating attibute of node
/config/mapViewer
2015-03-02 12:07:19,962 INFO [jeeves] - Replacing child xml elements of
mapViewer
2015-03-02 12:07:19,962 DEBUG [jeeves] - New elements are:<toAdd>
  <layers>
    <layer server="
http://t0.ads.astuntechnology.com/astuntechnology/osopen/service&quot;
tocName="OS Open" params="{layers: 'osopen', format: 'image/png'}"
options="{isBaseLayer: true}" />
  </layers>
  <scales values="" />
  <proj>
    <crs code="EPSG:27700" default="1" name="BNG" />
  </proj>
  <servers>
    <server name="ADS" url="
http://t0.ads.astuntechnology.com/astuntechnology/osopen/service?&quot; />
  </servers>
</toAdd>
2015-03-02 12:07:19,962 DEBUG [jeeves] - replacingXML of
/config/mapViewer
2015-03-02 12:07:19,963 INFO [jeeves.service] - -> transforming
with
stylesheet : /var/lib/tomcat6/webapps/geonetwork/xsl/error.xsl
2015-03-02 12:07:19,988 INFO [jeeves.service] - -> end error
transformation for : search
2015-03-02 12:07:19,988 INFO [jeeves.service] - -> error ended for :
search
pen', format: 'image/png'}" options="{isBaseLayer: true}" />
  </layers>
  <scales values="" />
  <proj>
    <crs code="EPSG:27700" default="1" name="BNG" />
  </proj>
  <servers>
    <server name="ADS" url="
http://t0.ads.astuntechnology.com/astuntechnology/osopen/service?&quot; />
  </servers>
</toAdd>
2015-03-02 12:07:19,962 DEBUG [jeeves] - replacingXML of
/config/mapViewer
2015-03-02 12:07:19,963 INFO [jeeves.service] - -> transforming
with
stylesheet : /var/lib/tomcat6/webapps/geonetwork/xsl/error.xsl
2015-03-02 12:07:19,988 INFO [jeeves.service] - -> end error
transformation for : search
2015-03-02 12:07:19,988 INFO [jeeves.service] - -> error ended for :
search

I can see that there are two errors detected but I don't know where to
start looking for the solution. Can anyone assist?

Thanks

Jo
--
*Jo Cook*
Astun Technology Ltd, The Coach House, 17 West Street, Epsom, Surrey,
KT18
7RL, UK
t:+44 7930 524 155
iShare - Data integration and publishing platform
<http://www.isharemaps.com/&gt;

*****************************************

Company registration no. 5410695. Registered in England and Wales.
Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT no.
864201149.

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website,
sponsored
by Intel and developed in partnership with Slashdot Media, is your hub
for all
things parallel software development, from weekly thought leadership
blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--

*GeoCat Bridge for ArcGIS allows instant publishing of data and metadata
on GeoServer and GeoNetwork. Visit http://geocat.net
<http://geocat.net/&gt; for details. _________________________Jose
GarcíaGeoCat bvVeenderweg 136721 WD BennekomThe
Netherlandshttp://GeoCat.net/>*

--
*Jo Cook*
Astun Technology Ltd, The Coach House, 17 West Street, Epsom, Surrey,
KT18 7RL, UK
t:+44 7930 524 155
iShare - Data integration and publishing platform
<http://www.isharemaps.com/&gt;

*****************************************

Company registration no. 5410695. Registered in England and Wales.
Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT no.
864201149.

--

*GeoCat Bridge for ArcGIS allows instant publishing of data and metadata
on GeoServer and GeoNetwork. Visit http://geocat.net
<http://geocat.net/&gt; for details. _________________________Jose
GarcíaGeoCat bvVeenderweg 136721 WD BennekomThe
Netherlandshttp://GeoCat.net/>*

--
*Jo Cook*
Astun Technology Ltd, The Coach House, 17 West Street, Epsom, Surrey, KT18
7RL, UK
t:+44 7930 524 155
iShare - Data integration and publishing platform
<http://www.isharemaps.com/&gt;

*****************************************

Company registration no. 5410695. Registered in England and Wales.
Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT no.
864201149.

Hi Jose,

Apologies, I have found and fixed that error. However, the link in the
emails goes to the search interface rather than the classic. What do I need
to change (and where) to ensure that only the classic interface is used?

Thanks

Jo

On Mon, Mar 2, 2015 at 2:43 PM, Jo Cook <jocook@anonymised.com> wrote:

Hi Jose,

In catalina.out I can now see the following error:

2015-03-02 10:41:15,668 INFO [jeeves.service] - -> transforming with
stylesheet : /var/lib/tomcat6/webapps/geonetwork/xsl/search.xsl
Error at xsl:call-template on line 26 column 61 of metadata-edit.xsl:
  XTSE0090: Attribute @select is not allowed on element <xsl:call-template>

Originally I had two of these errors, one for line 27 column 61, and I
have resolved that- but I can't see where the second example is. Have you
any pointers on where I should be looking?

Jo

On Mon, Mar 2, 2015 at 12:35 PM, Jose Garcia <jose.garcia@anonymised.com>
wrote:

Hi Jo

All the printStackTrace() only go to the catalina.out or to the console,
not to geonetwork.log. The messages logged with the logger classes should
end in both places.

Regards,
Jose García

On Mon, Mar 2, 2015 at 1:31 PM, Jo Cook <jocook@anonymised.com>
wrote:

Hi Jose,

Brilliant, thanks. I didn't even realise that catalina.out has different
messages in it compared to the geonetwork.log file, so I've learnt
something new!

Jo

On Mon, Mar 2, 2015 at 12:25 PM, Jose Garcia <jose.garcia@anonymised.com>
wrote:

Hi Jo

If using Tomcat, check in the catalina.out for
TransformerConfigurationException, usually contains the exact xslt
file and line where the error happens.

I guess that can help to find the issue better.

Regards,
Jose García

On Mon, Mar 2, 2015 at 1:10 PM, Jo Cook <jocook@anonymised.com>
wrote:

Hi List,

Our geonetwork instance (2.10.4, tomcat6) is successfully sending
emails
when the status of a record changes, but the URL leads to an error
message,
and the log files are not helping me to understand where the problem
is.
The URL is of the form

http://URL/geonetwork/srv/eng/search#fast=index&from=1&to=50&_status=4&_statusChangeDate=2015-03-02

With debug switched on for searches in log4j.cfg I see the following:
2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> exception during
transformation for : search
2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> (C) stylesheet
:
/var/lib/tomcat6/webapps/geonetwork/xsl/search.xsl
2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> (C) message
:
Failed to compile stylesheet. 2 errors detected.
2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> (C) exception
:
TransformerConfigurationException
2015-03-02 12:07:19,908 DEBUG [jeeves.service] - Raised exception while
executing service
<error id="error">
  <message>Failed to compile stylesheet. 2 errors detected.</message>
  <class>TransformerConfigurationException</class>
  <stack>
    <at class="net.sf.saxon.PreparedStylesheet"
file="PreparedStylesheet.java" line="176" method="prepare" />
    <at class="net.sf.saxon.TransformerFactoryImpl"
file="TransformerFactoryImpl.java" line="139" method="newTemplates" />
    <at class="de.fzi.dbs.xml.transform.CachingTransformerFactory"
file="CachingTransformerFactory.java" line="120"
method="newTransformer" />
    <at class="de.fzi.dbs.xml.transform.CachingTransformerFactory"
file="CachingTransformerFactory.java" line="76"
method="newTransformer" />
    <at class="jeeves.utils.Xml" file="Xml.java" line="520"
method="transform" />
    <at class="jeeves.utils.Xml" file="Xml.java" line="418"
method="transform" />
    <at class="jeeves.server.dispatchers.ServiceManager"
file="ServiceManager.java" line="790" method="dispatchOutput" />
    <at class="jeeves.server.dispatchers.ServiceManager"
file="ServiceManager.java" line="450" method="dispatch" />
    <at class="jeeves.server.dispatchers.ServiceManager"
file="ServiceManager.java" line="362" method="dispatch" />
    <at class="jeeves.server.JeevesEngine" file="JeevesEngine.java"
line="811" method="dispatch" />
    <at class="jeeves.server.sources.http.JeevesServlet"
file="JeevesServlet.java" line="216" method="execute" />
    <at class="jeeves.server.sources.http.JeevesServlet"
file="JeevesServlet.java" line="115" method="doGet" />
    <skip>...</skip>
    <at class="org.fao.geonet.monitor.webapp.WebappMetricsFilter"
file="WebappMetricsFilter.java" line="96" method="doFilter" />
    <skip>...</skip>
    <at
class="org.fao.geonet.monitor.webapp.MetricsRegistryInitializerFilter"
file="MetricsRegistryInitializerFilter.java" line="31"
method="doFilter" />
    <skip>...</skip>
    <at
class="jeeves.config.springutil.GeonetworkFilterSecurityInterceptor"
file="GeonetworkFilterSecurityInterceptor.java" line="46"
method="invoke" />
    <skip>...</skip>
    <at
class="jeeves.config.springutil.GeonetworkFilterSecurityInterceptor"
file="GeonetworkFilterSecurityInterceptor.java" line="46"
method="invoke" />
    <skip>...</skip>
    <at class="org.fao.geonet.kernel.security.PassthroughFilter"
file="PassthroughFilter.java" line="26" method="doFilter" />
    <skip>...</skip>
  </stack>
  <request>
    <language>eng</language>
    <service>search</service>
  </request>
  <request>
    <tmp />
    <user>
      user
      <authenticated>true</authenticated>
      <name>admin</name>
      <username>admin</username>
      <profile>Administrator</profile>
    </user>
  </request>
</error>
2015-03-02 12:07:19,908 INFO [jeeves.service] - -> dispatching to
error
for : search
2015-03-02 12:07:19,961 INFO [jeeves] - Overrides being applied to
configuration file: .*/WEB-INF/config-gui.xml
2015-03-02 12:07:19,961 INFO [jeeves] - Replacing child xml elements
of
languages
2015-03-02 12:07:19,961 DEBUG [jeeves] - New elements are:<toAdd>
  <eng />
</toAdd>
2015-03-02 12:07:19,961 DEBUG [jeeves] - replacingXML of
/config/languages
2015-03-02 12:07:19,961 INFO [jeeves] - Replacing child xml elements
of
proj
2015-03-02 12:07:19,961 DEBUG [jeeves] - New elements are:<toAdd>
  <crs code="EPSG:4326" default="1" edit="1" />
  <crs code="EPSG:27700" edit="1" def="+proj=tmerc +lat_0=49 +lon_0=-2
+k=0.9996012717 +x_0=400000 +y_0=-100000 +ellps=airy +datum=OSGB36
+units=m
+no_defs " />
</toAdd>
2015-03-02 12:07:19,961 INFO [jeeves] - Replacing attribute options of
node mapSearch
2015-03-02 12:07:19,961 DEBUG [jeeves] - New attribute is:{projection:
'EPSG:27700', maxExtent: new OpenLayers.Bounds(0,0,700000,1300000),
units:
'm', restrictedExtent: new OpenLayers.Bounds(0,0,700000,1300000),
resolutions: [1600,800,400,200,100,50,25,10,5,2.5,1,0.5,0.25]}
2015-03-02 12:07:19,961 DEBUG [jeeves] - Updating attibute of node
/config/mapSearch
2015-03-02 12:07:19,961 INFO [jeeves] - Replacing child xml elements
of
mapSearch/layers
2015-03-02 12:07:19,962 DEBUG [jeeves] - New elements are:<toAdd>
  <layer server="
http://t0.ads.astuntechnology.com/astuntechnology/osopen/service&quot;
tocName="OS Open" params="{layers: 'osopen', format: 'image/png'}"
options="{isBaseLayer: true}" />
</toAdd>
2015-03-02 12:07:19,962 DEBUG [jeeves] - replacingXML of
/config/mapSearch/layers
2015-03-02 12:07:19,962 INFO [jeeves] - Replacing attribute options of
node mapViewer
2015-03-02 12:07:19,962 DEBUG [jeeves] - New attribute is:{projection:
'EPSG:27700', maxExtent: new
OpenLayers.Bounds(-3276800,-3276800,3276800,3276800), units: 'm',
restrictedExtent: new OpenLayers.Bounds(0,0,700000,1300000),
resolutions:
[3200,1600,800,400,200,100,50,25,10,5,2.5,1,0.5]}
2015-03-02 12:07:19,962 DEBUG [jeeves] - Updating attibute of node
/config/mapViewer
2015-03-02 12:07:19,962 INFO [jeeves] - Replacing child xml elements
of
mapViewer
2015-03-02 12:07:19,962 DEBUG [jeeves] - New elements are:<toAdd>
  <layers>
    <layer server="
http://t0.ads.astuntechnology.com/astuntechnology/osopen/service&quot;
tocName="OS Open" params="{layers: 'oso2015-03-02 12:07:19,907 ERROR
[jeeves.service] - -> exception during transformation for : search
2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> (C) stylesheet
:
/var/lib/tomcat6/webapps/geonetwork/xsl/search.xsl
2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> (C) message
:
Failed to compile stylesheet. 2 errors detected.
2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> (C) exception
:
TransformerConfigurationException
2015-03-02 12:07:19,908 DEBUG [jeeves.service] - Raised exception while
executing service
<error id="error">
  <message>Failed to compile stylesheet. 2 errors detected.</message>
  <class>TransformerConfigurationException</class>
  <stack>
    <at class="net.sf.saxon.PreparedStylesheet"
file="PreparedStylesheet.java" line="176" method="prepare" />
    <at class="net.sf.saxon.TransformerFactoryImpl"
file="TransformerFactoryImpl.java" line="139" method="newTemplates" />
    <at class="de.fzi.dbs.xml.transform.CachingTransformerFactory"
file="CachingTransformerFactory.java" line="120"
method="newTransformer" />
    <at class="de.fzi.dbs.xml.transform.CachingTransformerFactory"
file="CachingTransformerFactory.java" line="76"
method="newTransformer" />
    <at class="jeeves.utils.Xml" file="Xml.java" line="520"
method="transform" />
    <at class="jeeves.utils.Xml" file="Xml.java" line="418"
method="transform" />
    <at class="jeeves.server.dispatchers.ServiceManager"
file="ServiceManager.java" line="790" method="dispatchOutput" />
    <at class="jeeves.server.dispatchers.ServiceManager"
file="ServiceManager.java" line="450" method="dispatch" />
    <at class="jeeves.server.dispatchers.ServiceManager"
file="ServiceManager.java" line="362" method="dispatch" />
    <at class="jeeves.server.JeevesEngine" file="JeevesEngine.java"
line="811" method="dispatch" />
    <at class="jeeves.server.sources.http.JeevesServlet"
file="JeevesServlet.java" line="216" method="execute" />
    <at class="jeeves.server.sources.http.JeevesServlet"
file="JeevesServlet.java" line="115" method="doGet" />
    <skip>...</skip>
    <at class="org.fao.geonet.monitor.webapp.WebappMetricsFilter"
file="WebappMetricsFilter.java" line="96" method="doFilter" />
    <skip>...</skip>
    <at
class="org.fao.geonet.monitor.webapp.MetricsRegistryInitializerFilter"
file="MetricsRegistryInitializerFilter.java" line="31"
method="doFilter" />
    <skip>...</skip>
    <at
class="jeeves.config.springutil.GeonetworkFilterSecurityInterceptor"
file="GeonetworkFilterSecurityInterceptor.java" line="46"
method="invoke" />
    <skip>...</skip>
    <at
class="jeeves.config.springutil.GeonetworkFilterSecurityInterceptor"
file="GeonetworkFilterSecurityInterceptor.java" line="46"
method="invoke" />
    <skip>...</skip>
    <at class="org.fao.geonet.kernel.security.PassthroughFilter"
file="PassthroughFilter.java" line="26" method="doFilter" />
    <skip>...</skip>
  </stack>
  <request>
    <language>eng</language>
    <service>search</service>
  </request>
  <request>
    <tmp />
    <user>
      user
      <authenticated>true</authenticated>
      <name>admin</name>
      <username>admin</username>
      <profile>Administrator</profile>
    </user>
  </request>
</error>
2015-03-02 12:07:19,908 INFO [jeeves.service] - -> dispatching to
error
for : search
2015-03-02 12:07:19,961 INFO [jeeves] - Overrides being applied to
configuration file: .*/WEB-INF/config-gui.xml
2015-03-02 12:07:19,961 INFO [jeeves] - Replacing child xml elements
of
languages
2015-03-02 12:07:19,961 DEBUG [jeeves] - New elements are:<toAdd>
  <eng />
</toAdd>
2015-03-02 12:07:19,961 DEBUG [jeeves] - replacingXML of
/config/languages
2015-03-02 12:07:19,961 INFO [jeeves] - Replacing child xml elements
of
proj
2015-03-02 12:07:19,961 DEBUG [jeeves] - New elements are:<toAdd>
  <crs code="EPSG:4326" default="1" edit="1" />
  <crs code="EPSG:27700" edit="1" def="+proj=tmerc +lat_0=49 +lon_0=-2
+k=0.9996012717 +x_0=400000 +y_0=-100000 +ellps=airy +datum=OSGB36
+units=m
+no_defs " />
</toAdd>
2015-03-02 12:07:19,961 INFO [jeeves] - Replacing attribute options of
node mapSearch
2015-03-02 12:07:19,961 DEBUG [jeeves] - New attribute is:{projection:
'EPSG:27700', maxExtent: new OpenLayers.Bounds(0,0,700000,1300000),
units:
'm', restrictedExtent: new OpenLayers.Bounds(0,0,700000,1300000),
resolutions: [1600,800,400,200,100,50,25,10,5,2.5,1,0.5,0.25]}
2015-03-02 12:07:19,961 DEBUG [jeeves] - Updating attibute of node
/config/mapSearch
2015-03-02 12:07:19,961 INFO [jeeves] - Replacing child xml elements
of
mapSearch/layers
2015-03-02 12:07:19,962 DEBUG [jeeves] - New elements are:<toAdd>
  <layer server="
http://t0.ads.astuntechnology.com/astuntechnology/osopen/service&quot;
tocName="OS Open" params="{layers: 'osopen', format: 'image/png'}"
options="{isBaseLayer: true}" />
</toAdd>
2015-03-02 12:07:19,962 DEBUG [jeeves] - replacingXML of
/config/mapSearch/layers
2015-03-02 12:07:19,962 INFO [jeeves] - Replacing attribute options of
node mapViewer
2015-03-02 12:07:19,962 DEBUG [jeeves] - New attribute is:{projection:
'EPSG:27700', maxExtent: new
OpenLayers.Bounds(-3276800,-3276800,3276800,3276800), units: 'm',
restrictedExtent: new OpenLayers.Bounds(0,0,700000,1300000),
resolutions:
[3200,1600,800,400,200,100,50,25,10,5,2.5,1,0.5]}
2015-03-02 12:07:19,962 DEBUG [jeeves] - Updating attibute of node
/config/mapViewer
2015-03-02 12:07:19,962 INFO [jeeves] - Replacing child xml elements
of
mapViewer
2015-03-02 12:07:19,962 DEBUG [jeeves] - New elements are:<toAdd>
  <layers>
    <layer server="
http://t0.ads.astuntechnology.com/astuntechnology/osopen/service&quot;
tocName="OS Open" params="{layers: 'osopen', format: 'image/png'}"
options="{isBaseLayer: true}" />
  </layers>
  <scales values="" />
  <proj>
    <crs code="EPSG:27700" default="1" name="BNG" />
  </proj>
  <servers>
    <server name="ADS" url="
http://t0.ads.astuntechnology.com/astuntechnology/osopen/service?&quot; />
  </servers>
</toAdd>
2015-03-02 12:07:19,962 DEBUG [jeeves] - replacingXML of
/config/mapViewer
2015-03-02 12:07:19,963 INFO [jeeves.service] - -> transforming
with
stylesheet : /var/lib/tomcat6/webapps/geonetwork/xsl/error.xsl
2015-03-02 12:07:19,988 INFO [jeeves.service] - -> end error
transformation for : search
2015-03-02 12:07:19,988 INFO [jeeves.service] - -> error ended for
:
search
pen', format: 'image/png'}" options="{isBaseLayer: true}" />
  </layers>
  <scales values="" />
  <proj>
    <crs code="EPSG:27700" default="1" name="BNG" />
  </proj>
  <servers>
    <server name="ADS" url="
http://t0.ads.astuntechnology.com/astuntechnology/osopen/service?&quot; />
  </servers>
</toAdd>
2015-03-02 12:07:19,962 DEBUG [jeeves] - replacingXML of
/config/mapViewer
2015-03-02 12:07:19,963 INFO [jeeves.service] - -> transforming
with
stylesheet : /var/lib/tomcat6/webapps/geonetwork/xsl/error.xsl
2015-03-02 12:07:19,988 INFO [jeeves.service] - -> end error
transformation for : search
2015-03-02 12:07:19,988 INFO [jeeves.service] - -> error ended for
:
search

I can see that there are two errors detected but I don't know where to
start looking for the solution. Can anyone assist?

Thanks

Jo
--
*Jo Cook*
Astun Technology Ltd, The Coach House, 17 West Street, Epsom, Surrey,
KT18
7RL, UK
t:+44 7930 524 155
iShare - Data integration and publishing platform
<http://www.isharemaps.com/&gt;

*****************************************

Company registration no. 5410695. Registered in England and Wales.
Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT
no.
864201149.

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website,
sponsored
by Intel and developed in partnership with Slashdot Media, is your hub
for all
things parallel software development, from weekly thought leadership
blogs to
news, videos, case studies, tutorials and more. Take a look and join
the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--

*GeoCat Bridge for ArcGIS allows instant publishing of data and
metadata on GeoServer and GeoNetwork. Visit http://geocat.net
<http://geocat.net/&gt; for details. _________________________Jose
GarcíaGeoCat bvVeenderweg 136721 WD BennekomThe
Netherlandshttp://GeoCat.net/>*

--
*Jo Cook*
Astun Technology Ltd, The Coach House, 17 West Street, Epsom, Surrey,
KT18 7RL, UK
t:+44 7930 524 155
iShare - Data integration and publishing platform
<http://www.isharemaps.com/&gt;

*****************************************

Company registration no. 5410695. Registered in England and Wales.
Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT no.
864201149.

--

*GeoCat Bridge for ArcGIS allows instant publishing of data and metadata
on GeoServer and GeoNetwork. Visit http://geocat.net
<http://geocat.net/&gt; for details. _________________________Jose
GarcíaGeoCat bvVeenderweg 136721 WD BennekomThe
Netherlandshttp://GeoCat.net/>*

--
*Jo Cook*
Astun Technology Ltd, The Coach House, 17 West Street, Epsom, Surrey, KT18
7RL, UK
t:+44 7930 524 155
iShare - Data integration and publishing platform
<http://www.isharemaps.com/&gt;

*****************************************

Company registration no. 5410695. Registered in England and Wales.
Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT no.
864201149.

--
*Jo Cook*
Astun Technology Ltd, The Coach House, 17 West Street, Epsom, Surrey, KT18
7RL, UK
t:+44 7930 524 155
iShare - Data integration and publishing platform
<http://www.isharemaps.com/&gt;

*****************************************

Company registration no. 5410695. Registered in England and Wales.
Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT no.
864201149.

Hi Jo

You could help me with the settings in Geonetwork 2.10.4 for sending emails
when the status of a record changes??

I use interface html5ui.

Thanks.

Regards.

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Error-with-URL-returned-in-status-change-emails-tp5190894p5190938.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

Hi

On my server I configured sendmail to get around AWS security restrictions,
then in the feedback details (system information/feedback) I put localhost
for the server and port 25 for the port. I used the mail log files (for me
they are in /var/log/mail.log) to help.

Jo

On Mon, Mar 2, 2015 at 3:00 PM, cbeltran <cbeltran@anonymised.com> wrote:

Hi Jo

You could help me with the settings in Geonetwork 2.10.4 for sending emails
when the status of a record changes??

I use interface html5ui.

Thanks.

Regards.

--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/Error-with-URL-returned-in-status-change-emails-tp5190894p5190938.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website,
sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for
all
things parallel software development, from weekly thought leadership blogs
to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--
*Jo Cook*
Astun Technology Ltd, The Coach House, 17 West Street, Epsom, Surrey, KT18
7RL, UK
t:+44 7930 524 155
iShare - Data integration and publishing platform
<http://www.isharemaps.com/&gt;

*****************************************

Company registration no. 5410695. Registered in England and Wales.
Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT no.
864201149.

Hi Jo

Thanks for your reply. With "sendmail" Geonetwork can send notifications to
users they have mail accounts for example in gmail???

Other question, in (system information/feedback) in "mail" you put here??

Some other configuration is required?

Thanks for your help.

Regards

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Error-with-URL-returned-in-status-change-emails-tp5190894p5190945.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

Hi,

Yes it can. In the feedback smtp server you would then put "localhost" and
then 25 for the port- but you need to configure sendmail first and that
will be different depending on the setup you are using.

Jo

On Mon, Mar 2, 2015 at 3:19 PM, cbeltran <cbeltran@anonymised.com> wrote:

Hi Jo

Thanks for your reply. With "sendmail" Geonetwork can send notifications to
users they have mail accounts for example in gmail???

Other question, in (system information/feedback) in "mail" you put here??

Some other configuration is required?

Thanks for your help.

Regards

--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/Error-with-URL-returned-in-status-change-emails-tp5190894p5190945.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website,
sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for
all
things parallel software development, from weekly thought leadership blogs
to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--
*Jo Cook*
Astun Technology Ltd, The Coach House, 17 West Street, Epsom, Surrey, KT18
7RL, UK
t:+44 7930 524 155
iShare - Data integration and publishing platform
<http://www.isharemaps.com/&gt;

*****************************************

Company registration no. 5410695. Registered in England and Wales.
Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT no.
864201149.

Hi Jo

Thanks

My question is:

<http://osgeo-org.1560.x6.nabble.com/file/n5190953/feedback.png&gt;

Thanks

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Error-with-URL-returned-in-status-change-emails-tp5190894p5190953.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

That's the email address you want the emails to come from. Test with your
own email address so you know it works.

Jo

On Mon, Mar 2, 2015 at 3:54 PM, cbeltran <cbeltran@anonymised.com> wrote:

Hi Jo

Thanks

My question is:

<http://osgeo-org.1560.x6.nabble.com/file/n5190953/feedback.png&gt;

Thanks

--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/Error-with-URL-returned-in-status-change-emails-tp5190894p5190953.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website,
sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for
all
things parallel software development, from weekly thought leadership blogs
to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--
*Jo Cook*
Astun Technology Ltd, The Coach House, 17 West Street, Epsom, Surrey, KT18
7RL, UK
t:+44 7930 524 155
iShare - Data integration and publishing platform
<http://www.isharemaps.com/&gt;

*****************************************

Company registration no. 5410695. Registered in England and Wales.
Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT no.
864201149.

Hi Jo

Thanks...

You have any guide for the install Sendmail on centos 6.x.. ?

Regards

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Error-with-URL-returned-in-status-change-emails-tp5190894p5190968.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

Hi,

I'm afraid not- I am using ubuntu on Amazon AWS so these instructions
http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sendmail.html were the
ones I used.

However- I just found this which might help:
http://lists.centos.org/pipermail/centos/2011-October/118531.html

Jo

On Mon, Mar 2, 2015 at 4:58 PM, cbeltran <cbeltran@anonymised.com> wrote:

Hi Jo

Thanks...

You have any guide for the install Sendmail on centos 6.x.. ?

Regards

--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/Error-with-URL-returned-in-status-change-emails-tp5190894p5190968.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website,
sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for
all
things parallel software development, from weekly thought leadership blogs
to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--
*Jo Cook*
Astun Technology Ltd, The Coach House, 17 West Street, Epsom, Surrey, KT18
7RL, UK
t:+44 7930 524 155
iShare - Data integration and publishing platform
<http://www.isharemaps.com/&gt;

*****************************************

Company registration no. 5410695. Registered in England and Wales.
Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT no.
864201149.

Hi Jose

Just following up on the search URL issue Jo raised today - it seems from
this:
https://github.com/geonetwork/core-geonetwork/blob/2.10.x/web/src/main/java/org/fao/geonet/services/metadata/DefaultStatusActions.java#L310

that the html5ui param is set to true, which is why we are getting the
HTML5 UI rather than the classic one in the search results. Is there some
way we can set this to false? If not, we were looking at using the
urlrewrite.xml file, but would rather set the html5ui param to the correct
value if we can.

many thanks
Ant

On 2 March 2015 at 14:53, Jo Cook <jocook@anonymised.com> wrote:

Hi Jose,

Apologies, I have found and fixed that error. However, the link in the
emails goes to the search interface rather than the classic. What do I need
to change (and where) to ensure that only the classic interface is used?

Thanks

Jo

On Mon, Mar 2, 2015 at 2:43 PM, Jo Cook <jocook@anonymised.com>
wrote:

> Hi Jose,
>
> In catalina.out I can now see the following error:
>
> 2015-03-02 10:41:15,668 INFO [jeeves.service] - -> transforming
with
> stylesheet : /var/lib/tomcat6/webapps/geonetwork/xsl/search.xsl
> Error at xsl:call-template on line 26 column 61 of metadata-edit.xsl:
> XTSE0090: Attribute @select is not allowed on element
<xsl:call-template>
>
> Originally I had two of these errors, one for line 27 column 61, and I
> have resolved that- but I can't see where the second example is. Have you
> any pointers on where I should be looking?
>
> Jo
>
>
>
> On Mon, Mar 2, 2015 at 12:35 PM, Jose Garcia <jose.garcia@anonymised.com>
> wrote:
>
>> Hi Jo
>>
>> All the printStackTrace() only go to the catalina.out or to the console,
>> not to geonetwork.log. The messages logged with the logger classes
should
>> end in both places.
>>
>> Regards,
>> Jose García
>>
>>
>> On Mon, Mar 2, 2015 at 1:31 PM, Jo Cook <jocook@anonymised.com>
>> wrote:
>>
>>> Hi Jose,
>>>
>>> Brilliant, thanks. I didn't even realise that catalina.out has
different
>>> messages in it compared to the geonetwork.log file, so I've learnt
>>> something new!
>>>
>>> Jo
>>>
>>> On Mon, Mar 2, 2015 at 12:25 PM, Jose Garcia <jose.garcia@anonymised.com>
>>> wrote:
>>>
>>>> Hi Jo
>>>>
>>>> If using Tomcat, check in the catalina.out for
>>>> TransformerConfigurationException, usually contains the exact xslt
>>>> file and line where the error happens.
>>>>
>>>> I guess that can help to find the issue better.
>>>>
>>>> Regards,
>>>> Jose García
>>>>
>>>>
>>>> On Mon, Mar 2, 2015 at 1:10 PM, Jo Cook <jocook@anonymised.com>
>>>> wrote:
>>>>
>>>>> Hi List,
>>>>>
>>>>> Our geonetwork instance (2.10.4, tomcat6) is successfully sending
>>>>> emails
>>>>> when the status of a record changes, but the URL leads to an error
>>>>> message,
>>>>> and the log files are not helping me to understand where the problem
>>>>> is.
>>>>> The URL is of the form
>>>>>
>>>>>
http://URL/geonetwork/srv/eng/search#fast=index&from=1&to=50&_status=4&_statusChangeDate=2015-03-02
>>>>>
>>>>> With debug switched on for searches in log4j.cfg I see the following:
>>>>> 2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> exception
during
>>>>> transformation for : search
>>>>> 2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> (C)
stylesheet
>>>>> :
>>>>> /var/lib/tomcat6/webapps/geonetwork/xsl/search.xsl
>>>>> 2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> (C) message
>>>>> :
>>>>> Failed to compile stylesheet. 2 errors detected.
>>>>> 2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> (C) exception
>>>>> :
>>>>> TransformerConfigurationException
>>>>> 2015-03-02 12:07:19,908 DEBUG [jeeves.service] - Raised exception
while
>>>>> executing service
>>>>> <error id="error">
>>>>> <message>Failed to compile stylesheet. 2 errors detected.</message>
>>>>> <class>TransformerConfigurationException</class>
>>>>> <stack>
>>>>> <at class="net.sf.saxon.PreparedStylesheet"
>>>>> file="PreparedStylesheet.java" line="176" method="prepare" />
>>>>> <at class="net.sf.saxon.TransformerFactoryImpl"
>>>>> file="TransformerFactoryImpl.java" line="139" method="newTemplates"
/>
>>>>> <at class="de.fzi.dbs.xml.transform.CachingTransformerFactory"
>>>>> file="CachingTransformerFactory.java" line="120"
>>>>> method="newTransformer" />
>>>>> <at class="de.fzi.dbs.xml.transform.CachingTransformerFactory"
>>>>> file="CachingTransformerFactory.java" line="76"
>>>>> method="newTransformer" />
>>>>> <at class="jeeves.utils.Xml" file="Xml.java" line="520"
>>>>> method="transform" />
>>>>> <at class="jeeves.utils.Xml" file="Xml.java" line="418"
>>>>> method="transform" />
>>>>> <at class="jeeves.server.dispatchers.ServiceManager"
>>>>> file="ServiceManager.java" line="790" method="dispatchOutput" />
>>>>> <at class="jeeves.server.dispatchers.ServiceManager"
>>>>> file="ServiceManager.java" line="450" method="dispatch" />
>>>>> <at class="jeeves.server.dispatchers.ServiceManager"
>>>>> file="ServiceManager.java" line="362" method="dispatch" />
>>>>> <at class="jeeves.server.JeevesEngine" file="JeevesEngine.java"
>>>>> line="811" method="dispatch" />
>>>>> <at class="jeeves.server.sources.http.JeevesServlet"
>>>>> file="JeevesServlet.java" line="216" method="execute" />
>>>>> <at class="jeeves.server.sources.http.JeevesServlet"
>>>>> file="JeevesServlet.java" line="115" method="doGet" />
>>>>> <skip>...</skip>
>>>>> <at class="org.fao.geonet.monitor.webapp.WebappMetricsFilter"
>>>>> file="WebappMetricsFilter.java" line="96" method="doFilter" />
>>>>> <skip>...</skip>
>>>>> <at
>>>>>
class="org.fao.geonet.monitor.webapp.MetricsRegistryInitializerFilter"
>>>>> file="MetricsRegistryInitializerFilter.java" line="31"
>>>>> method="doFilter" />
>>>>> <skip>...</skip>
>>>>> <at
>>>>> class="jeeves.config.springutil.GeonetworkFilterSecurityInterceptor"
>>>>> file="GeonetworkFilterSecurityInterceptor.java" line="46"
>>>>> method="invoke" />
>>>>> <skip>...</skip>
>>>>> <at
>>>>> class="jeeves.config.springutil.GeonetworkFilterSecurityInterceptor"
>>>>> file="GeonetworkFilterSecurityInterceptor.java" line="46"
>>>>> method="invoke" />
>>>>> <skip>...</skip>
>>>>> <at class="org.fao.geonet.kernel.security.PassthroughFilter"
>>>>> file="PassthroughFilter.java" line="26" method="doFilter" />
>>>>> <skip>...</skip>
>>>>> </stack>
>>>>> <request>
>>>>> <language>eng</language>
>>>>> <service>search</service>
>>>>> </request>
>>>>> <request>
>>>>> <tmp />
>>>>> <user>
>>>>> user
>>>>> <authenticated>true</authenticated>
>>>>> <name>admin</name>
>>>>> <username>admin</username>
>>>>> <profile>Administrator</profile>
>>>>> </user>
>>>>> </request>
>>>>> </error>
>>>>> 2015-03-02 12:07:19,908 INFO [jeeves.service] - -> dispatching to
>>>>> error
>>>>> for : search
>>>>> 2015-03-02 12:07:19,961 INFO [jeeves] - Overrides being applied to
>>>>> configuration file: .*/WEB-INF/config-gui.xml
>>>>> 2015-03-02 12:07:19,961 INFO [jeeves] - Replacing child xml elements
>>>>> of
>>>>> languages
>>>>> 2015-03-02 12:07:19,961 DEBUG [jeeves] - New elements are:<toAdd>
>>>>> <eng />
>>>>> </toAdd>
>>>>> 2015-03-02 12:07:19,961 DEBUG [jeeves] - replacingXML of
>>>>> /config/languages
>>>>> 2015-03-02 12:07:19,961 INFO [jeeves] - Replacing child xml elements
>>>>> of
>>>>> proj
>>>>> 2015-03-02 12:07:19,961 DEBUG [jeeves] - New elements are:<toAdd>
>>>>> <crs code="EPSG:4326" default="1" edit="1" />
>>>>> <crs code="EPSG:27700" edit="1" def="+proj=tmerc +lat_0=49
+lon_0=-2
>>>>> +k=0.9996012717 +x_0=400000 +y_0=-100000 +ellps=airy +datum=OSGB36
>>>>> +units=m
>>>>> +no_defs " />
>>>>> </toAdd>
>>>>> 2015-03-02 12:07:19,961 INFO [jeeves] - Replacing attribute options
of
>>>>> node mapSearch
>>>>> 2015-03-02 12:07:19,961 DEBUG [jeeves] - New attribute
is:{projection:
>>>>> 'EPSG:27700', maxExtent: new OpenLayers.Bounds(0,0,700000,1300000),
>>>>> units:
>>>>> 'm', restrictedExtent: new OpenLayers.Bounds(0,0,700000,1300000),
>>>>> resolutions: [1600,800,400,200,100,50,25,10,5,2.5,1,0.5,0.25]}
>>>>> 2015-03-02 12:07:19,961 DEBUG [jeeves] - Updating attibute of node
>>>>> /config/mapSearch
>>>>> 2015-03-02 12:07:19,961 INFO [jeeves] - Replacing child xml elements
>>>>> of
>>>>> mapSearch/layers
>>>>> 2015-03-02 12:07:19,962 DEBUG [jeeves] - New elements are:<toAdd>
>>>>> <layer server="
>>>>> http://t0.ads.astuntechnology.com/astuntechnology/osopen/service&quot;
>>>>> tocName="OS Open" params="{layers: 'osopen', format: 'image/png'}"
>>>>> options="{isBaseLayer: true}" />
>>>>> </toAdd>
>>>>> 2015-03-02 12:07:19,962 DEBUG [jeeves] - replacingXML of
>>>>> /config/mapSearch/layers
>>>>> 2015-03-02 12:07:19,962 INFO [jeeves] - Replacing attribute options
of
>>>>> node mapViewer
>>>>> 2015-03-02 12:07:19,962 DEBUG [jeeves] - New attribute
is:{projection:
>>>>> 'EPSG:27700', maxExtent: new
>>>>> OpenLayers.Bounds(-3276800,-3276800,3276800,3276800), units: 'm',
>>>>> restrictedExtent: new OpenLayers.Bounds(0,0,700000,1300000),
>>>>> resolutions:
>>>>> [3200,1600,800,400,200,100,50,25,10,5,2.5,1,0.5]}
>>>>> 2015-03-02 12:07:19,962 DEBUG [jeeves] - Updating attibute of node
>>>>> /config/mapViewer
>>>>> 2015-03-02 12:07:19,962 INFO [jeeves] - Replacing child xml elements
>>>>> of
>>>>> mapViewer
>>>>> 2015-03-02 12:07:19,962 DEBUG [jeeves] - New elements are:<toAdd>
>>>>> <layers>
>>>>> <layer server="
>>>>> http://t0.ads.astuntechnology.com/astuntechnology/osopen/service&quot;
>>>>> tocName="OS Open" params="{layers: 'oso2015-03-02 12:07:19,907 ERROR
>>>>> [jeeves.service] - -> exception during transformation for : search
>>>>> 2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> (C)
stylesheet
>>>>> :
>>>>> /var/lib/tomcat6/webapps/geonetwork/xsl/search.xsl
>>>>> 2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> (C) message
>>>>> :
>>>>> Failed to compile stylesheet. 2 errors detected.
>>>>> 2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> (C) exception
>>>>> :
>>>>> TransformerConfigurationException
>>>>> 2015-03-02 12:07:19,908 DEBUG [jeeves.service] - Raised exception
while
>>>>> executing service
>>>>> <error id="error">
>>>>> <message>Failed to compile stylesheet. 2 errors detected.</message>
>>>>> <class>TransformerConfigurationException</class>
>>>>> <stack>
>>>>> <at class="net.sf.saxon.PreparedStylesheet"
>>>>> file="PreparedStylesheet.java" line="176" method="prepare" />
>>>>> <at class="net.sf.saxon.TransformerFactoryImpl"
>>>>> file="TransformerFactoryImpl.java" line="139" method="newTemplates"
/>
>>>>> <at class="de.fzi.dbs.xml.transform.CachingTransformerFactory"
>>>>> file="CachingTransformerFactory.java" line="120"
>>>>> method="newTransformer" />
>>>>> <at class="de.fzi.dbs.xml.transform.CachingTransformerFactory"
>>>>> file="CachingTransformerFactory.java" line="76"
>>>>> method="newTransformer" />
>>>>> <at class="jeeves.utils.Xml" file="Xml.java" line="520"
>>>>> method="transform" />
>>>>> <at class="jeeves.utils.Xml" file="Xml.java" line="418"
>>>>> method="transform" />
>>>>> <at class="jeeves.server.dispatchers.ServiceManager"
>>>>> file="ServiceManager.java" line="790" method="dispatchOutput" />
>>>>> <at class="jeeves.server.dispatchers.ServiceManager"
>>>>> file="ServiceManager.java" line="450" method="dispatch" />
>>>>> <at class="jeeves.server.dispatchers.ServiceManager"
>>>>> file="ServiceManager.java" line="362" method="dispatch" />
>>>>> <at class="jeeves.server.JeevesEngine" file="JeevesEngine.java"
>>>>> line="811" method="dispatch" />
>>>>> <at class="jeeves.server.sources.http.JeevesServlet"
>>>>> file="JeevesServlet.java" line="216" method="execute" />
>>>>> <at class="jeeves.server.sources.http.JeevesServlet"
>>>>> file="JeevesServlet.java" line="115" method="doGet" />
>>>>> <skip>...</skip>
>>>>> <at class="org.fao.geonet.monitor.webapp.WebappMetricsFilter"
>>>>> file="WebappMetricsFilter.java" line="96" method="doFilter" />
>>>>> <skip>...</skip>
>>>>> <at
>>>>>
class="org.fao.geonet.monitor.webapp.MetricsRegistryInitializerFilter"
>>>>> file="MetricsRegistryInitializerFilter.java" line="31"
>>>>> method="doFilter" />
>>>>> <skip>...</skip>
>>>>> <at
>>>>> class="jeeves.config.springutil.GeonetworkFilterSecurityInterceptor"
>>>>> file="GeonetworkFilterSecurityInterceptor.java" line="46"
>>>>> method="invoke" />
>>>>> <skip>...</skip>
>>>>> <at
>>>>> class="jeeves.config.springutil.GeonetworkFilterSecurityInterceptor"
>>>>> file="GeonetworkFilterSecurityInterceptor.java" line="46"
>>>>> method="invoke" />
>>>>> <skip>...</skip>
>>>>> <at class="org.fao.geonet.kernel.security.PassthroughFilter"
>>>>> file="PassthroughFilter.java" line="26" method="doFilter" />
>>>>> <skip>...</skip>
>>>>> </stack>
>>>>> <request>
>>>>> <language>eng</language>
>>>>> <service>search</service>
>>>>> </request>
>>>>> <request>
>>>>> <tmp />
>>>>> <user>
>>>>> user
>>>>> <authenticated>true</authenticated>
>>>>> <name>admin</name>
>>>>> <username>admin</username>
>>>>> <profile>Administrator</profile>
>>>>> </user>
>>>>> </request>
>>>>> </error>
>>>>> 2015-03-02 12:07:19,908 INFO [jeeves.service] - -> dispatching to
>>>>> error
>>>>> for : search
>>>>> 2015-03-02 12:07:19,961 INFO [jeeves] - Overrides being applied to
>>>>> configuration file: .*/WEB-INF/config-gui.xml
>>>>> 2015-03-02 12:07:19,961 INFO [jeeves] - Replacing child xml elements
>>>>> of
>>>>> languages
>>>>> 2015-03-02 12:07:19,961 DEBUG [jeeves] - New elements are:<toAdd>
>>>>> <eng />
>>>>> </toAdd>
>>>>> 2015-03-02 12:07:19,961 DEBUG [jeeves] - replacingXML of
>>>>> /config/languages
>>>>> 2015-03-02 12:07:19,961 INFO [jeeves] - Replacing child xml elements
>>>>> of
>>>>> proj
>>>>> 2015-03-02 12:07:19,961 DEBUG [jeeves] - New elements are:<toAdd>
>>>>> <crs code="EPSG:4326" default="1" edit="1" />
>>>>> <crs code="EPSG:27700" edit="1" def="+proj=tmerc +lat_0=49
+lon_0=-2
>>>>> +k=0.9996012717 +x_0=400000 +y_0=-100000 +ellps=airy +datum=OSGB36
>>>>> +units=m
>>>>> +no_defs " />
>>>>> </toAdd>
>>>>> 2015-03-02 12:07:19,961 INFO [jeeves] - Replacing attribute options
of
>>>>> node mapSearch
>>>>> 2015-03-02 12:07:19,961 DEBUG [jeeves] - New attribute
is:{projection:
>>>>> 'EPSG:27700', maxExtent: new OpenLayers.Bounds(0,0,700000,1300000),
>>>>> units:
>>>>> 'm', restrictedExtent: new OpenLayers.Bounds(0,0,700000,1300000),
>>>>> resolutions: [1600,800,400,200,100,50,25,10,5,2.5,1,0.5,0.25]}
>>>>> 2015-03-02 12:07:19,961 DEBUG [jeeves] - Updating attibute of node
>>>>> /config/mapSearch
>>>>> 2015-03-02 12:07:19,961 INFO [jeeves] - Replacing child xml elements
>>>>> of
>>>>> mapSearch/layers
>>>>> 2015-03-02 12:07:19,962 DEBUG [jeeves] - New elements are:<toAdd>
>>>>> <layer server="
>>>>> http://t0.ads.astuntechnology.com/astuntechnology/osopen/service&quot;
>>>>> tocName="OS Open" params="{layers: 'osopen', format: 'image/png'}"
>>>>> options="{isBaseLayer: true}" />
>>>>> </toAdd>
>>>>> 2015-03-02 12:07:19,962 DEBUG [jeeves] - replacingXML of
>>>>> /config/mapSearch/layers
>>>>> 2015-03-02 12:07:19,962 INFO [jeeves] - Replacing attribute options
of
>>>>> node mapViewer
>>>>> 2015-03-02 12:07:19,962 DEBUG [jeeves] - New attribute
is:{projection:
>>>>> 'EPSG:27700', maxExtent: new
>>>>> OpenLayers.Bounds(-3276800,-3276800,3276800,3276800), units: 'm',
>>>>> restrictedExtent: new OpenLayers.Bounds(0,0,700000,1300000),
>>>>> resolutions:
>>>>> [3200,1600,800,400,200,100,50,25,10,5,2.5,1,0.5]}
>>>>> 2015-03-02 12:07:19,962 DEBUG [jeeves] - Updating attibute of node
>>>>> /config/mapViewer
>>>>> 2015-03-02 12:07:19,962 INFO [jeeves] - Replacing child xml elements
>>>>> of
>>>>> mapViewer
>>>>> 2015-03-02 12:07:19,962 DEBUG [jeeves] - New elements are:<toAdd>
>>>>> <layers>
>>>>> <layer server="
>>>>> http://t0.ads.astuntechnology.com/astuntechnology/osopen/service&quot;
>>>>> tocName="OS Open" params="{layers: 'osopen', format: 'image/png'}"
>>>>> options="{isBaseLayer: true}" />
>>>>> </layers>
>>>>> <scales values="" />
>>>>> <proj>
>>>>> <crs code="EPSG:27700" default="1" name="BNG" />
>>>>> </proj>
>>>>> <servers>
>>>>> <server name="ADS" url="
>>>>> http://t0.ads.astuntechnology.com/astuntechnology/osopen/service?&quot;
/>
>>>>> </servers>
>>>>> </toAdd>
>>>>> 2015-03-02 12:07:19,962 DEBUG [jeeves] - replacingXML of
>>>>> /config/mapViewer
>>>>> 2015-03-02 12:07:19,963 INFO [jeeves.service] - -> transforming
>>>>> with
>>>>> stylesheet : /var/lib/tomcat6/webapps/geonetwork/xsl/error.xsl
>>>>> 2015-03-02 12:07:19,988 INFO [jeeves.service] - -> end error
>>>>> transformation for : search
>>>>> 2015-03-02 12:07:19,988 INFO [jeeves.service] - -> error ended
for
>>>>> :
>>>>> search
>>>>> pen', format: 'image/png'}" options="{isBaseLayer: true}" />
>>>>> </layers>
>>>>> <scales values="" />
>>>>> <proj>
>>>>> <crs code="EPSG:27700" default="1" name="BNG" />
>>>>> </proj>
>>>>> <servers>
>>>>> <server name="ADS" url="
>>>>> http://t0.ads.astuntechnology.com/astuntechnology/osopen/service?&quot;
/>
>>>>> </servers>
>>>>> </toAdd>
>>>>> 2015-03-02 12:07:19,962 DEBUG [jeeves] - replacingXML of
>>>>> /config/mapViewer
>>>>> 2015-03-02 12:07:19,963 INFO [jeeves.service] - -> transforming
>>>>> with
>>>>> stylesheet : /var/lib/tomcat6/webapps/geonetwork/xsl/error.xsl
>>>>> 2015-03-02 12:07:19,988 INFO [jeeves.service] - -> end error
>>>>> transformation for : search
>>>>> 2015-03-02 12:07:19,988 INFO [jeeves.service] - -> error ended
for
>>>>> :
>>>>> search
>>>>>
>>>>> I can see that there are two errors detected but I don't know where
to
>>>>> start looking for the solution. Can anyone assist?
>>>>>
>>>>> Thanks
>>>>>
>>>>> Jo
>>>>> --
>>>>> *Jo Cook*
>>>>> Astun Technology Ltd, The Coach House, 17 West Street, Epsom, Surrey,
>>>>> KT18
>>>>> 7RL, UK
>>>>> t:+44 7930 524 155
>>>>> iShare - Data integration and publishing platform
>>>>> <http://www.isharemaps.com/&gt;
>>>>>
>>>>> *****************************************
>>>>>
>>>>> Company registration no. 5410695. Registered in England and Wales.
>>>>> Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT
>>>>> no.
>>>>> 864201149.
>>>>>
>>>>>
------------------------------------------------------------------------------
>>>>> Dive into the World of Parallel Programming The Go Parallel Website,
>>>>> sponsored
>>>>> by Intel and developed in partnership with Slashdot Media, is your
hub
>>>>> for all
>>>>> things parallel software development, from weekly thought leadership
>>>>> blogs to
>>>>> news, videos, case studies, tutorials and more. Take a look and join
>>>>> the
>>>>> conversation now. http://goparallel.sourceforge.net/
>>>>> _______________________________________________
>>>>> GeoNetwork-users mailing list
>>>>> GeoNetwork-users@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/geonetwork-users
>>>>> GeoNetwork OpenSource is maintained at
>>>>> http://sourceforge.net/projects/geonetwork
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> *GeoCat Bridge for ArcGIS allows instant publishing of data and
>>>> metadata on GeoServer and GeoNetwork. Visit http://geocat.net
>>>> <http://geocat.net/&gt; for details. _________________________Jose
>>>> GarcíaGeoCat bvVeenderweg 136721 WD BennekomThe
>>>> Netherlandshttp://GeoCat.net/>*
>>>>
>>>
>>>
>>>
>>> --
>>> *Jo Cook*
>>> Astun Technology Ltd, The Coach House, 17 West Street, Epsom, Surrey,
>>> KT18 7RL, UK
>>> t:+44 7930 524 155
>>> iShare - Data integration and publishing platform
>>> <http://www.isharemaps.com/&gt;
>>>
>>> *****************************************
>>>
>>> Company registration no. 5410695. Registered in England and Wales.
>>> Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT
no.
>>> 864201149.
>>>
>>
>>
>>
>> --
>>
>> *GeoCat Bridge for ArcGIS allows instant publishing of data and metadata
>> on GeoServer and GeoNetwork. Visit http://geocat.net
>> <http://geocat.net/&gt; for details. _________________________Jose
>> GarcíaGeoCat bvVeenderweg 136721 WD BennekomThe
>> Netherlandshttp://GeoCat.net/>*
>>
>
>
>
> --
> *Jo Cook*
> Astun Technology Ltd, The Coach House, 17 West Street, Epsom, Surrey,
KT18
> 7RL, UK
> t:+44 7930 524 155
> iShare - Data integration and publishing platform
> <http://www.isharemaps.com/&gt;
>
> *****************************************
>
> Company registration no. 5410695. Registered in England and Wales.
> Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT no.
> 864201149.
>

--
*Jo Cook*
Astun Technology Ltd, The Coach House, 17 West Street, Epsom, Surrey, KT18
7RL, UK
t:+44 7930 524 155
iShare - Data integration and publishing platform
<http://www.isharemaps.com/&gt;

*****************************************

Company registration no. 5410695. Registered in England and Wales.
Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT no.
864201149.

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website,
sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for
all
things parallel software development, from weekly thought leadership blogs
to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--
*Antony Scott*
Astun Technology Ltd, The Coach House, 17 West Street, Epsom, Surrey, KT18
7RL, UK
t:+44 7866 455 515
iShare - Data integration and publishing platform
<http://www.isharemaps.com/&gt;

*****************************************

Company registration no. 5410695. Registered in England and Wales.
Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT no.
864201149.

Hi

Seem not directly configurable. If you can build the code, the fastest is
to set that flag to false in your case.

A generic option is to make it configurable in WEB-INF/config.xml, a way to
handle this can be the following.

1) The DefaultStatusActions in setup in the GeoNetwork class:

https://github.com/geonetwork/core-geonetwork/blob/2.10.x/web/src/main/webapp/WEB-INF/config.xml#L376

You can add a new parameter to the GeoNetwork class configuration in
WEB-INF/config.xml:

<param name="useHtml5ui" value="true"/>

2) Change the code in GeoNetwork class where is initialised the
DefaultStatusActions: to manage this new configuration and update the
property in DefaultStatusActions

https://github.com/geonetwork/core-geonetwork/blob/2.10.x/web/src/main/java/org/fao/geonet/Geonetwork.java#L179

Regards,
Jose García

On Mon, Mar 2, 2015 at 7:27 PM, Antony Scott <
antonyscott@anonymised.com> wrote:

Hi Jose

Just following up on the search URL issue Jo raised today - it seems from
this:

https://github.com/geonetwork/core-geonetwork/blob/2.10.x/web/src/main/java/org/fao/geonet/services/metadata/DefaultStatusActions.java#L310

that the html5ui param is set to true, which is why we are getting the
HTML5 UI rather than the classic one in the search results. Is there some
way we can set this to false? If not, we were looking at using the
urlrewrite.xml file, but would rather set the html5ui param to the correct
value if we can.

many thanks
Ant

On 2 March 2015 at 14:53, Jo Cook <jocook@anonymised.com> wrote:

Hi Jose,

Apologies, I have found and fixed that error. However, the link in the
emails goes to the search interface rather than the classic. What do I
need
to change (and where) to ensure that only the classic interface is used?

Thanks

Jo

On Mon, Mar 2, 2015 at 2:43 PM, Jo Cook <jocook@anonymised.com>
wrote:

> Hi Jose,
>
> In catalina.out I can now see the following error:
>
> 2015-03-02 10:41:15,668 INFO [jeeves.service] - -> transforming
with
> stylesheet : /var/lib/tomcat6/webapps/geonetwork/xsl/search.xsl
> Error at xsl:call-template on line 26 column 61 of metadata-edit.xsl:
> XTSE0090: Attribute @select is not allowed on element
<xsl:call-template>
>
> Originally I had two of these errors, one for line 27 column 61, and I
> have resolved that- but I can't see where the second example is. Have
you
> any pointers on where I should be looking?
>
> Jo
>
>
>
> On Mon, Mar 2, 2015 at 12:35 PM, Jose Garcia <jose.garcia@anonymised.com>
> wrote:
>
>> Hi Jo
>>
>> All the printStackTrace() only go to the catalina.out or to the
console,
>> not to geonetwork.log. The messages logged with the logger classes
should
>> end in both places.
>>
>> Regards,
>> Jose García
>>
>>
>> On Mon, Mar 2, 2015 at 1:31 PM, Jo Cook <jocook@anonymised.com>
>> wrote:
>>
>>> Hi Jose,
>>>
>>> Brilliant, thanks. I didn't even realise that catalina.out has
different
>>> messages in it compared to the geonetwork.log file, so I've learnt
>>> something new!
>>>
>>> Jo
>>>
>>> On Mon, Mar 2, 2015 at 12:25 PM, Jose Garcia <jose.garcia@anonymised.com>
>>> wrote:
>>>
>>>> Hi Jo
>>>>
>>>> If using Tomcat, check in the catalina.out for
>>>> TransformerConfigurationException, usually contains the exact xslt
>>>> file and line where the error happens.
>>>>
>>>> I guess that can help to find the issue better.
>>>>
>>>> Regards,
>>>> Jose García
>>>>
>>>>
>>>> On Mon, Mar 2, 2015 at 1:10 PM, Jo Cook <jocook@anonymised.com>
>>>> wrote:
>>>>
>>>>> Hi List,
>>>>>
>>>>> Our geonetwork instance (2.10.4, tomcat6) is successfully sending
>>>>> emails
>>>>> when the status of a record changes, but the URL leads to an error
>>>>> message,
>>>>> and the log files are not helping me to understand where the problem
>>>>> is.
>>>>> The URL is of the form
>>>>>
>>>>>
http://URL/geonetwork/srv/eng/search#fast=index&from=1&to=50&_status=4&_statusChangeDate=2015-03-02
>>>>>
>>>>> With debug switched on for searches in log4j.cfg I see the
following:
>>>>> 2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> exception
during
>>>>> transformation for : search
>>>>> 2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> (C)
stylesheet
>>>>> :
>>>>> /var/lib/tomcat6/webapps/geonetwork/xsl/search.xsl
>>>>> 2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> (C) message
>>>>> :
>>>>> Failed to compile stylesheet. 2 errors detected.
>>>>> 2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> (C)
exception
>>>>> :
>>>>> TransformerConfigurationException
>>>>> 2015-03-02 12:07:19,908 DEBUG [jeeves.service] - Raised exception
while
>>>>> executing service
>>>>> <error id="error">
>>>>> <message>Failed to compile stylesheet. 2 errors
detected.</message>
>>>>> <class>TransformerConfigurationException</class>
>>>>> <stack>
>>>>> <at class="net.sf.saxon.PreparedStylesheet"
>>>>> file="PreparedStylesheet.java" line="176" method="prepare" />
>>>>> <at class="net.sf.saxon.TransformerFactoryImpl"
>>>>> file="TransformerFactoryImpl.java" line="139" method="newTemplates"
/>
>>>>> <at class="de.fzi.dbs.xml.transform.CachingTransformerFactory"
>>>>> file="CachingTransformerFactory.java" line="120"
>>>>> method="newTransformer" />
>>>>> <at class="de.fzi.dbs.xml.transform.CachingTransformerFactory"
>>>>> file="CachingTransformerFactory.java" line="76"
>>>>> method="newTransformer" />
>>>>> <at class="jeeves.utils.Xml" file="Xml.java" line="520"
>>>>> method="transform" />
>>>>> <at class="jeeves.utils.Xml" file="Xml.java" line="418"
>>>>> method="transform" />
>>>>> <at class="jeeves.server.dispatchers.ServiceManager"
>>>>> file="ServiceManager.java" line="790" method="dispatchOutput" />
>>>>> <at class="jeeves.server.dispatchers.ServiceManager"
>>>>> file="ServiceManager.java" line="450" method="dispatch" />
>>>>> <at class="jeeves.server.dispatchers.ServiceManager"
>>>>> file="ServiceManager.java" line="362" method="dispatch" />
>>>>> <at class="jeeves.server.JeevesEngine" file="JeevesEngine.java"
>>>>> line="811" method="dispatch" />
>>>>> <at class="jeeves.server.sources.http.JeevesServlet"
>>>>> file="JeevesServlet.java" line="216" method="execute" />
>>>>> <at class="jeeves.server.sources.http.JeevesServlet"
>>>>> file="JeevesServlet.java" line="115" method="doGet" />
>>>>> <skip>...</skip>
>>>>> <at class="org.fao.geonet.monitor.webapp.WebappMetricsFilter"
>>>>> file="WebappMetricsFilter.java" line="96" method="doFilter" />
>>>>> <skip>...</skip>
>>>>> <at
>>>>>
class="org.fao.geonet.monitor.webapp.MetricsRegistryInitializerFilter"
>>>>> file="MetricsRegistryInitializerFilter.java" line="31"
>>>>> method="doFilter" />
>>>>> <skip>...</skip>
>>>>> <at
>>>>> class="jeeves.config.springutil.GeonetworkFilterSecurityInterceptor"
>>>>> file="GeonetworkFilterSecurityInterceptor.java" line="46"
>>>>> method="invoke" />
>>>>> <skip>...</skip>
>>>>> <at
>>>>> class="jeeves.config.springutil.GeonetworkFilterSecurityInterceptor"
>>>>> file="GeonetworkFilterSecurityInterceptor.java" line="46"
>>>>> method="invoke" />
>>>>> <skip>...</skip>
>>>>> <at class="org.fao.geonet.kernel.security.PassthroughFilter"
>>>>> file="PassthroughFilter.java" line="26" method="doFilter" />
>>>>> <skip>...</skip>
>>>>> </stack>
>>>>> <request>
>>>>> <language>eng</language>
>>>>> <service>search</service>
>>>>> </request>
>>>>> <request>
>>>>> <tmp />
>>>>> <user>
>>>>> user
>>>>> <authenticated>true</authenticated>
>>>>> <name>admin</name>
>>>>> <username>admin</username>
>>>>> <profile>Administrator</profile>
>>>>> </user>
>>>>> </request>
>>>>> </error>
>>>>> 2015-03-02 12:07:19,908 INFO [jeeves.service] - -> dispatching
to
>>>>> error
>>>>> for : search
>>>>> 2015-03-02 12:07:19,961 INFO [jeeves] - Overrides being applied to
>>>>> configuration file: .*/WEB-INF/config-gui.xml
>>>>> 2015-03-02 12:07:19,961 INFO [jeeves] - Replacing child xml
elements
>>>>> of
>>>>> languages
>>>>> 2015-03-02 12:07:19,961 DEBUG [jeeves] - New elements are:<toAdd>
>>>>> <eng />
>>>>> </toAdd>
>>>>> 2015-03-02 12:07:19,961 DEBUG [jeeves] - replacingXML of
>>>>> /config/languages
>>>>> 2015-03-02 12:07:19,961 INFO [jeeves] - Replacing child xml
elements
>>>>> of
>>>>> proj
>>>>> 2015-03-02 12:07:19,961 DEBUG [jeeves] - New elements are:<toAdd>
>>>>> <crs code="EPSG:4326" default="1" edit="1" />
>>>>> <crs code="EPSG:27700" edit="1" def="+proj=tmerc +lat_0=49
+lon_0=-2
>>>>> +k=0.9996012717 +x_0=400000 +y_0=-100000 +ellps=airy +datum=OSGB36
>>>>> +units=m
>>>>> +no_defs " />
>>>>> </toAdd>
>>>>> 2015-03-02 12:07:19,961 INFO [jeeves] - Replacing attribute
options of
>>>>> node mapSearch
>>>>> 2015-03-02 12:07:19,961 DEBUG [jeeves] - New attribute
is:{projection:
>>>>> 'EPSG:27700', maxExtent: new OpenLayers.Bounds(0,0,700000,1300000),
>>>>> units:
>>>>> 'm', restrictedExtent: new OpenLayers.Bounds(0,0,700000,1300000),
>>>>> resolutions: [1600,800,400,200,100,50,25,10,5,2.5,1,0.5,0.25]}
>>>>> 2015-03-02 12:07:19,961 DEBUG [jeeves] - Updating attibute of node
>>>>> /config/mapSearch
>>>>> 2015-03-02 12:07:19,961 INFO [jeeves] - Replacing child xml
elements
>>>>> of
>>>>> mapSearch/layers
>>>>> 2015-03-02 12:07:19,962 DEBUG [jeeves] - New elements are:<toAdd>
>>>>> <layer server="
>>>>> http://t0.ads.astuntechnology.com/astuntechnology/osopen/service&quot;
>>>>> tocName="OS Open" params="{layers: 'osopen', format: 'image/png'}"
>>>>> options="{isBaseLayer: true}" />
>>>>> </toAdd>
>>>>> 2015-03-02 12:07:19,962 DEBUG [jeeves] - replacingXML of
>>>>> /config/mapSearch/layers
>>>>> 2015-03-02 12:07:19,962 INFO [jeeves] - Replacing attribute
options of
>>>>> node mapViewer
>>>>> 2015-03-02 12:07:19,962 DEBUG [jeeves] - New attribute
is:{projection:
>>>>> 'EPSG:27700', maxExtent: new
>>>>> OpenLayers.Bounds(-3276800,-3276800,3276800,3276800), units: 'm',
>>>>> restrictedExtent: new OpenLayers.Bounds(0,0,700000,1300000),
>>>>> resolutions:
>>>>> [3200,1600,800,400,200,100,50,25,10,5,2.5,1,0.5]}
>>>>> 2015-03-02 12:07:19,962 DEBUG [jeeves] - Updating attibute of node
>>>>> /config/mapViewer
>>>>> 2015-03-02 12:07:19,962 INFO [jeeves] - Replacing child xml
elements
>>>>> of
>>>>> mapViewer
>>>>> 2015-03-02 12:07:19,962 DEBUG [jeeves] - New elements are:<toAdd>
>>>>> <layers>
>>>>> <layer server="
>>>>> http://t0.ads.astuntechnology.com/astuntechnology/osopen/service&quot;
>>>>> tocName="OS Open" params="{layers: 'oso2015-03-02 12:07:19,907 ERROR
>>>>> [jeeves.service] - -> exception during transformation for :
search
>>>>> 2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> (C)
stylesheet
>>>>> :
>>>>> /var/lib/tomcat6/webapps/geonetwork/xsl/search.xsl
>>>>> 2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> (C) message
>>>>> :
>>>>> Failed to compile stylesheet. 2 errors detected.
>>>>> 2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> (C)
exception
>>>>> :
>>>>> TransformerConfigurationException
>>>>> 2015-03-02 12:07:19,908 DEBUG [jeeves.service] - Raised exception
while
>>>>> executing service
>>>>> <error id="error">
>>>>> <message>Failed to compile stylesheet. 2 errors
detected.</message>
>>>>> <class>TransformerConfigurationException</class>
>>>>> <stack>
>>>>> <at class="net.sf.saxon.PreparedStylesheet"
>>>>> file="PreparedStylesheet.java" line="176" method="prepare" />
>>>>> <at class="net.sf.saxon.TransformerFactoryImpl"
>>>>> file="TransformerFactoryImpl.java" line="139" method="newTemplates"
/>
>>>>> <at class="de.fzi.dbs.xml.transform.CachingTransformerFactory"
>>>>> file="CachingTransformerFactory.java" line="120"
>>>>> method="newTransformer" />
>>>>> <at class="de.fzi.dbs.xml.transform.CachingTransformerFactory"
>>>>> file="CachingTransformerFactory.java" line="76"
>>>>> method="newTransformer" />
>>>>> <at class="jeeves.utils.Xml" file="Xml.java" line="520"
>>>>> method="transform" />
>>>>> <at class="jeeves.utils.Xml" file="Xml.java" line="418"
>>>>> method="transform" />
>>>>> <at class="jeeves.server.dispatchers.ServiceManager"
>>>>> file="ServiceManager.java" line="790" method="dispatchOutput" />
>>>>> <at class="jeeves.server.dispatchers.ServiceManager"
>>>>> file="ServiceManager.java" line="450" method="dispatch" />
>>>>> <at class="jeeves.server.dispatchers.ServiceManager"
>>>>> file="ServiceManager.java" line="362" method="dispatch" />
>>>>> <at class="jeeves.server.JeevesEngine" file="JeevesEngine.java"
>>>>> line="811" method="dispatch" />
>>>>> <at class="jeeves.server.sources.http.JeevesServlet"
>>>>> file="JeevesServlet.java" line="216" method="execute" />
>>>>> <at class="jeeves.server.sources.http.JeevesServlet"
>>>>> file="JeevesServlet.java" line="115" method="doGet" />
>>>>> <skip>...</skip>
>>>>> <at class="org.fao.geonet.monitor.webapp.WebappMetricsFilter"
>>>>> file="WebappMetricsFilter.java" line="96" method="doFilter" />
>>>>> <skip>...</skip>
>>>>> <at
>>>>>
class="org.fao.geonet.monitor.webapp.MetricsRegistryInitializerFilter"
>>>>> file="MetricsRegistryInitializerFilter.java" line="31"
>>>>> method="doFilter" />
>>>>> <skip>...</skip>
>>>>> <at
>>>>> class="jeeves.config.springutil.GeonetworkFilterSecurityInterceptor"
>>>>> file="GeonetworkFilterSecurityInterceptor.java" line="46"
>>>>> method="invoke" />
>>>>> <skip>...</skip>
>>>>> <at
>>>>> class="jeeves.config.springutil.GeonetworkFilterSecurityInterceptor"
>>>>> file="GeonetworkFilterSecurityInterceptor.java" line="46"
>>>>> method="invoke" />
>>>>> <skip>...</skip>
>>>>> <at class="org.fao.geonet.kernel.security.PassthroughFilter"
>>>>> file="PassthroughFilter.java" line="26" method="doFilter" />
>>>>> <skip>...</skip>
>>>>> </stack>
>>>>> <request>
>>>>> <language>eng</language>
>>>>> <service>search</service>
>>>>> </request>
>>>>> <request>
>>>>> <tmp />
>>>>> <user>
>>>>> user
>>>>> <authenticated>true</authenticated>
>>>>> <name>admin</name>
>>>>> <username>admin</username>
>>>>> <profile>Administrator</profile>
>>>>> </user>
>>>>> </request>
>>>>> </error>
>>>>> 2015-03-02 12:07:19,908 INFO [jeeves.service] - -> dispatching
to
>>>>> error
>>>>> for : search
>>>>> 2015-03-02 12:07:19,961 INFO [jeeves] - Overrides being applied to
>>>>> configuration file: .*/WEB-INF/config-gui.xml
>>>>> 2015-03-02 12:07:19,961 INFO [jeeves] - Replacing child xml
elements
>>>>> of
>>>>> languages
>>>>> 2015-03-02 12:07:19,961 DEBUG [jeeves] - New elements are:<toAdd>
>>>>> <eng />
>>>>> </toAdd>
>>>>> 2015-03-02 12:07:19,961 DEBUG [jeeves] - replacingXML of
>>>>> /config/languages
>>>>> 2015-03-02 12:07:19,961 INFO [jeeves] - Replacing child xml
elements
>>>>> of
>>>>> proj
>>>>> 2015-03-02 12:07:19,961 DEBUG [jeeves] - New elements are:<toAdd>
>>>>> <crs code="EPSG:4326" default="1" edit="1" />
>>>>> <crs code="EPSG:27700" edit="1" def="+proj=tmerc +lat_0=49
+lon_0=-2
>>>>> +k=0.9996012717 +x_0=400000 +y_0=-100000 +ellps=airy +datum=OSGB36
>>>>> +units=m
>>>>> +no_defs " />
>>>>> </toAdd>
>>>>> 2015-03-02 12:07:19,961 INFO [jeeves] - Replacing attribute
options of
>>>>> node mapSearch
>>>>> 2015-03-02 12:07:19,961 DEBUG [jeeves] - New attribute
is:{projection:
>>>>> 'EPSG:27700', maxExtent: new OpenLayers.Bounds(0,0,700000,1300000),
>>>>> units:
>>>>> 'm', restrictedExtent: new OpenLayers.Bounds(0,0,700000,1300000),
>>>>> resolutions: [1600,800,400,200,100,50,25,10,5,2.5,1,0.5,0.25]}
>>>>> 2015-03-02 12:07:19,961 DEBUG [jeeves] - Updating attibute of node
>>>>> /config/mapSearch
>>>>> 2015-03-02 12:07:19,961 INFO [jeeves] - Replacing child xml
elements
>>>>> of
>>>>> mapSearch/layers
>>>>> 2015-03-02 12:07:19,962 DEBUG [jeeves] - New elements are:<toAdd>
>>>>> <layer server="
>>>>> http://t0.ads.astuntechnology.com/astuntechnology/osopen/service&quot;
>>>>> tocName="OS Open" params="{layers: 'osopen', format: 'image/png'}"
>>>>> options="{isBaseLayer: true}" />
>>>>> </toAdd>
>>>>> 2015-03-02 12:07:19,962 DEBUG [jeeves] - replacingXML of
>>>>> /config/mapSearch/layers
>>>>> 2015-03-02 12:07:19,962 INFO [jeeves] - Replacing attribute
options of
>>>>> node mapViewer
>>>>> 2015-03-02 12:07:19,962 DEBUG [jeeves] - New attribute
is:{projection:
>>>>> 'EPSG:27700', maxExtent: new
>>>>> OpenLayers.Bounds(-3276800,-3276800,3276800,3276800), units: 'm',
>>>>> restrictedExtent: new OpenLayers.Bounds(0,0,700000,1300000),
>>>>> resolutions:
>>>>> [3200,1600,800,400,200,100,50,25,10,5,2.5,1,0.5]}
>>>>> 2015-03-02 12:07:19,962 DEBUG [jeeves] - Updating attibute of node
>>>>> /config/mapViewer
>>>>> 2015-03-02 12:07:19,962 INFO [jeeves] - Replacing child xml
elements
>>>>> of
>>>>> mapViewer
>>>>> 2015-03-02 12:07:19,962 DEBUG [jeeves] - New elements are:<toAdd>
>>>>> <layers>
>>>>> <layer server="
>>>>> http://t0.ads.astuntechnology.com/astuntechnology/osopen/service&quot;
>>>>> tocName="OS Open" params="{layers: 'osopen', format: 'image/png'}"
>>>>> options="{isBaseLayer: true}" />
>>>>> </layers>
>>>>> <scales values="" />
>>>>> <proj>
>>>>> <crs code="EPSG:27700" default="1" name="BNG" />
>>>>> </proj>
>>>>> <servers>
>>>>> <server name="ADS" url="
>>>>> http://t0.ads.astuntechnology.com/astuntechnology/osopen/service?&quot;
/>
>>>>> </servers>
>>>>> </toAdd>
>>>>> 2015-03-02 12:07:19,962 DEBUG [jeeves] - replacingXML of
>>>>> /config/mapViewer
>>>>> 2015-03-02 12:07:19,963 INFO [jeeves.service] - ->
transforming
>>>>> with
>>>>> stylesheet : /var/lib/tomcat6/webapps/geonetwork/xsl/error.xsl
>>>>> 2015-03-02 12:07:19,988 INFO [jeeves.service] - -> end error
>>>>> transformation for : search
>>>>> 2015-03-02 12:07:19,988 INFO [jeeves.service] - -> error ended
for
>>>>> :
>>>>> search
>>>>> pen', format: 'image/png'}" options="{isBaseLayer: true}" />
>>>>> </layers>
>>>>> <scales values="" />
>>>>> <proj>
>>>>> <crs code="EPSG:27700" default="1" name="BNG" />
>>>>> </proj>
>>>>> <servers>
>>>>> <server name="ADS" url="
>>>>> http://t0.ads.astuntechnology.com/astuntechnology/osopen/service?&quot;
/>
>>>>> </servers>
>>>>> </toAdd>
>>>>> 2015-03-02 12:07:19,962 DEBUG [jeeves] - replacingXML of
>>>>> /config/mapViewer
>>>>> 2015-03-02 12:07:19,963 INFO [jeeves.service] - ->
transforming
>>>>> with
>>>>> stylesheet : /var/lib/tomcat6/webapps/geonetwork/xsl/error.xsl
>>>>> 2015-03-02 12:07:19,988 INFO [jeeves.service] - -> end error
>>>>> transformation for : search
>>>>> 2015-03-02 12:07:19,988 INFO [jeeves.service] - -> error ended
for
>>>>> :
>>>>> search
>>>>>
>>>>> I can see that there are two errors detected but I don't know where
to
>>>>> start looking for the solution. Can anyone assist?
>>>>>
>>>>> Thanks
>>>>>
>>>>> Jo
>>>>> --
>>>>> *Jo Cook*
>>>>> Astun Technology Ltd, The Coach House, 17 West Street, Epsom,
Surrey,
>>>>> KT18
>>>>> 7RL, UK
>>>>> t:+44 7930 524 155
>>>>> iShare - Data integration and publishing platform
>>>>> <http://www.isharemaps.com/&gt;
>>>>>
>>>>> *****************************************
>>>>>
>>>>> Company registration no. 5410695. Registered in England and Wales.
>>>>> Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT
>>>>> no.
>>>>> 864201149.
>>>>>
>>>>>
------------------------------------------------------------------------------
>>>>> Dive into the World of Parallel Programming The Go Parallel Website,
>>>>> sponsored
>>>>> by Intel and developed in partnership with Slashdot Media, is your
hub
>>>>> for all
>>>>> things parallel software development, from weekly thought leadership
>>>>> blogs to
>>>>> news, videos, case studies, tutorials and more. Take a look and join
>>>>> the
>>>>> conversation now. http://goparallel.sourceforge.net/
>>>>> _______________________________________________
>>>>> GeoNetwork-users mailing list
>>>>> GeoNetwork-users@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/geonetwork-users
>>>>> GeoNetwork OpenSource is maintained at
>>>>> http://sourceforge.net/projects/geonetwork
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> *GeoCat Bridge for ArcGIS allows instant publishing of data and
>>>> metadata on GeoServer and GeoNetwork. Visit http://geocat.net
>>>> <http://geocat.net/&gt; for details. _________________________Jose
>>>> GarcíaGeoCat bvVeenderweg 136721 WD BennekomThe
>>>> Netherlandshttp://GeoCat.net/>*
>>>>
>>>
>>>
>>>
>>> --
>>> *Jo Cook*
>>> Astun Technology Ltd, The Coach House, 17 West Street, Epsom, Surrey,
>>> KT18 7RL, UK
>>> t:+44 7930 524 155
>>> iShare - Data integration and publishing platform
>>> <http://www.isharemaps.com/&gt;
>>>
>>> *****************************************
>>>
>>> Company registration no. 5410695. Registered in England and Wales.
>>> Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT
no.
>>> 864201149.
>>>
>>
>>
>>
>> --
>>
>> *GeoCat Bridge for ArcGIS allows instant publishing of data and
metadata
>> on GeoServer and GeoNetwork. Visit http://geocat.net
>> <http://geocat.net/&gt; for details. _________________________Jose
>> GarcíaGeoCat bvVeenderweg 136721 WD BennekomThe
>> Netherlandshttp://GeoCat.net/>*

>>
>
>
>
> --
> *Jo Cook*
> Astun Technology Ltd, The Coach House, 17 West Street, Epsom, Surrey,
KT18
> 7RL, UK
> t:+44 7930 524 155
> iShare - Data integration and publishing platform
> <http://www.isharemaps.com/&gt;
>
> *****************************************
>
> Company registration no. 5410695. Registered in England and Wales.
> Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT no.
> 864201149.
>

--
*Jo Cook*
Astun Technology Ltd, The Coach House, 17 West Street, Epsom, Surrey, KT18
7RL, UK
t:+44 7930 524 155
iShare - Data integration and publishing platform
<http://www.isharemaps.com/&gt;

*****************************************

Company registration no. 5410695. Registered in England and Wales.
Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT no.
864201149.

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website,
sponsored
by Intel and developed in partnership with Slashdot Media, is your hub
for all
things parallel software development, from weekly thought leadership
blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--
*Antony Scott*
Astun Technology Ltd, The Coach House, 17 West Street, Epsom, Surrey, KT18
7RL, UK
t:+44 7866 455 515
iShare - Data integration and publishing platform
<http://www.isharemaps.com/&gt;

*****************************************

Company registration no. 5410695. Registered in England and Wales.
Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT no.
864201149.

--

*GeoCat Bridge for ArcGIS allows instant publishing of data and metadata on
GeoServer and GeoNetwork. Visit http://geocat.net/&gt; for
details. _________________________Jose GarcíaGeoCat bvVeenderweg 136721 WD
BennekomThe Netherlandshttp://GeoCat.net/>*

Hi Jose,

We're not really in a position to build the code, so we're trying to get
around this issue with the search URL using URLRewrite.xml. Unfortunately
this seems to be having problems with the "#" sign in the URL, which we
need to remove so we can switch from
/srv/en/search#fast=index&from=1&to=50&_status=4&_statusChangeDate=2015-03-02T10:43:42
to
/srv/eng/main.search?from=1&to=50&_status=4&_statusChangeDate=2015-03-02T10:43:42

We've tried loads of different rules but this one looks like it should
work, but it doesn't (whether or not we use & or &amp;):
<rule>
                <from>^(.*)/en/search#fast=index&amp;(.*)$</from>
                <to type="permanent-redirect"
last="true">%{context-path}$1/eng/main.search?$2</to>
</rule>

If we take out the #fast=index section then the rule fires but it returns
all metadata rather than the search results.

We've looked into the urlrewriter documentation and can find no reason why
this should be a problem.

Is this really the only way of dealing with the problem? Surely since we
have configured geonetwork to always use the classic interface (in
config-gui.xml) it should NEVER try and use the html5 interface anyhow?
This seems like a bug? Unless we are missing something in config-gui.xml?

Thanks

Jo

Jo

On Tue, Mar 3, 2015 at 7:19 AM, Jose Garcia <jose.garcia@anonymised.com> wrote:

Hi

Seem not directly configurable. If you can build the code, the fastest is
to set that flag to false in your case.

A generic option is to make it configurable in WEB-INF/config.xml, a way
to handle this can be the following.

1) The DefaultStatusActions in setup in the GeoNetwork class:

https://github.com/geonetwork/core-geonetwork/blob/2.10.x/web/src/main/webapp/WEB-INF/config.xml#L376

You can add a new parameter to the GeoNetwork class configuration in
WEB-INF/config.xml:

<param name="useHtml5ui" value="true"/>

2) Change the code in GeoNetwork class where is initialised the
DefaultStatusActions: to manage this new configuration and update the
property in DefaultStatusActions

https://github.com/geonetwork/core-geonetwork/blob/2.10.x/web/src/main/java/org/fao/geonet/Geonetwork.java#L179

Regards,
Jose García

On Mon, Mar 2, 2015 at 7:27 PM, Antony Scott <
antonyscott@anonymised.com> wrote:

Hi Jose

Just following up on the search URL issue Jo raised today - it seems from
this:

https://github.com/geonetwork/core-geonetwork/blob/2.10.x/web/src/main/java/org/fao/geonet/services/metadata/DefaultStatusActions.java#L310

that the html5ui param is set to true, which is why we are getting the
HTML5 UI rather than the classic one in the search results. Is there some
way we can set this to false? If not, we were looking at using the
urlrewrite.xml file, but would rather set the html5ui param to the correct
value if we can.

many thanks
Ant

On 2 March 2015 at 14:53, Jo Cook <jocook@anonymised.com> wrote:

Hi Jose,

Apologies, I have found and fixed that error. However, the link in the
emails goes to the search interface rather than the classic. What do I
need
to change (and where) to ensure that only the classic interface is used?

Thanks

Jo

On Mon, Mar 2, 2015 at 2:43 PM, Jo Cook <jocook@anonymised.com>
wrote:

> Hi Jose,
>
> In catalina.out I can now see the following error:
>
> 2015-03-02 10:41:15,668 INFO [jeeves.service] - -> transforming
with
> stylesheet : /var/lib/tomcat6/webapps/geonetwork/xsl/search.xsl
> Error at xsl:call-template on line 26 column 61 of metadata-edit.xsl:
> XTSE0090: Attribute @select is not allowed on element
<xsl:call-template>
>
> Originally I had two of these errors, one for line 27 column 61, and I
> have resolved that- but I can't see where the second example is. Have
you
> any pointers on where I should be looking?
>
> Jo
>
>
>
> On Mon, Mar 2, 2015 at 12:35 PM, Jose Garcia <jose.garcia@anonymised.com>
> wrote:
>
>> Hi Jo
>>
>> All the printStackTrace() only go to the catalina.out or to the
console,
>> not to geonetwork.log. The messages logged with the logger classes
should
>> end in both places.
>>
>> Regards,
>> Jose García
>>
>>
>> On Mon, Mar 2, 2015 at 1:31 PM, Jo Cook <jocook@anonymised.com>
>> wrote:
>>
>>> Hi Jose,
>>>
>>> Brilliant, thanks. I didn't even realise that catalina.out has
different
>>> messages in it compared to the geonetwork.log file, so I've learnt
>>> something new!
>>>
>>> Jo
>>>
>>> On Mon, Mar 2, 2015 at 12:25 PM, Jose Garcia <jose.garcia@anonymised.com
>
>>> wrote:
>>>
>>>> Hi Jo
>>>>
>>>> If using Tomcat, check in the catalina.out for
>>>> TransformerConfigurationException, usually contains the exact xslt
>>>> file and line where the error happens.
>>>>
>>>> I guess that can help to find the issue better.
>>>>
>>>> Regards,
>>>> Jose García
>>>>
>>>>
>>>> On Mon, Mar 2, 2015 at 1:10 PM, Jo Cook <jocook@anonymised.com
>
>>>> wrote:
>>>>
>>>>> Hi List,
>>>>>
>>>>> Our geonetwork instance (2.10.4, tomcat6) is successfully sending
>>>>> emails
>>>>> when the status of a record changes, but the URL leads to an error
>>>>> message,
>>>>> and the log files are not helping me to understand where the
problem
>>>>> is.
>>>>> The URL is of the form
>>>>>
>>>>>
http://URL/geonetwork/srv/eng/search#fast=index&from=1&to=50&_status=4&_statusChangeDate=2015-03-02
>>>>>
>>>>> With debug switched on for searches in log4j.cfg I see the
following:
>>>>> 2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> exception
during
>>>>> transformation for : search
>>>>> 2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> (C)
stylesheet
>>>>> :
>>>>> /var/lib/tomcat6/webapps/geonetwork/xsl/search.xsl
>>>>> 2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> (C) message
>>>>> :
>>>>> Failed to compile stylesheet. 2 errors detected.
>>>>> 2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> (C)
exception
>>>>> :
>>>>> TransformerConfigurationException
>>>>> 2015-03-02 12:07:19,908 DEBUG [jeeves.service] - Raised exception
while
>>>>> executing service
>>>>> <error id="error">
>>>>> <message>Failed to compile stylesheet. 2 errors
detected.</message>
>>>>> <class>TransformerConfigurationException</class>
>>>>> <stack>
>>>>> <at class="net.sf.saxon.PreparedStylesheet"
>>>>> file="PreparedStylesheet.java" line="176" method="prepare" />
>>>>> <at class="net.sf.saxon.TransformerFactoryImpl"
>>>>> file="TransformerFactoryImpl.java" line="139"
method="newTemplates" />
>>>>> <at class="de.fzi.dbs.xml.transform.CachingTransformerFactory"
>>>>> file="CachingTransformerFactory.java" line="120"
>>>>> method="newTransformer" />
>>>>> <at class="de.fzi.dbs.xml.transform.CachingTransformerFactory"
>>>>> file="CachingTransformerFactory.java" line="76"
>>>>> method="newTransformer" />
>>>>> <at class="jeeves.utils.Xml" file="Xml.java" line="520"
>>>>> method="transform" />
>>>>> <at class="jeeves.utils.Xml" file="Xml.java" line="418"
>>>>> method="transform" />
>>>>> <at class="jeeves.server.dispatchers.ServiceManager"
>>>>> file="ServiceManager.java" line="790" method="dispatchOutput" />
>>>>> <at class="jeeves.server.dispatchers.ServiceManager"
>>>>> file="ServiceManager.java" line="450" method="dispatch" />
>>>>> <at class="jeeves.server.dispatchers.ServiceManager"
>>>>> file="ServiceManager.java" line="362" method="dispatch" />
>>>>> <at class="jeeves.server.JeevesEngine" file="JeevesEngine.java"
>>>>> line="811" method="dispatch" />
>>>>> <at class="jeeves.server.sources.http.JeevesServlet"
>>>>> file="JeevesServlet.java" line="216" method="execute" />
>>>>> <at class="jeeves.server.sources.http.JeevesServlet"
>>>>> file="JeevesServlet.java" line="115" method="doGet" />
>>>>> <skip>...</skip>
>>>>> <at class="org.fao.geonet.monitor.webapp.WebappMetricsFilter"
>>>>> file="WebappMetricsFilter.java" line="96" method="doFilter" />
>>>>> <skip>...</skip>
>>>>> <at
>>>>>
class="org.fao.geonet.monitor.webapp.MetricsRegistryInitializerFilter"
>>>>> file="MetricsRegistryInitializerFilter.java" line="31"
>>>>> method="doFilter" />
>>>>> <skip>...</skip>
>>>>> <at
>>>>>
class="jeeves.config.springutil.GeonetworkFilterSecurityInterceptor"
>>>>> file="GeonetworkFilterSecurityInterceptor.java" line="46"
>>>>> method="invoke" />
>>>>> <skip>...</skip>
>>>>> <at
>>>>>
class="jeeves.config.springutil.GeonetworkFilterSecurityInterceptor"
>>>>> file="GeonetworkFilterSecurityInterceptor.java" line="46"
>>>>> method="invoke" />
>>>>> <skip>...</skip>
>>>>> <at class="org.fao.geonet.kernel.security.PassthroughFilter"
>>>>> file="PassthroughFilter.java" line="26" method="doFilter" />
>>>>> <skip>...</skip>
>>>>> </stack>
>>>>> <request>
>>>>> <language>eng</language>
>>>>> <service>search</service>
>>>>> </request>
>>>>> <request>
>>>>> <tmp />
>>>>> <user>
>>>>> user
>>>>> <authenticated>true</authenticated>
>>>>> <name>admin</name>
>>>>> <username>admin</username>
>>>>> <profile>Administrator</profile>
>>>>> </user>
>>>>> </request>
>>>>> </error>
>>>>> 2015-03-02 12:07:19,908 INFO [jeeves.service] - -> dispatching
to
>>>>> error
>>>>> for : search
>>>>> 2015-03-02 12:07:19,961 INFO [jeeves] - Overrides being applied to
>>>>> configuration file: .*/WEB-INF/config-gui.xml
>>>>> 2015-03-02 12:07:19,961 INFO [jeeves] - Replacing child xml
elements
>>>>> of
>>>>> languages
>>>>> 2015-03-02 12:07:19,961 DEBUG [jeeves] - New elements are:<toAdd>
>>>>> <eng />
>>>>> </toAdd>
>>>>> 2015-03-02 12:07:19,961 DEBUG [jeeves] - replacingXML of
>>>>> /config/languages
>>>>> 2015-03-02 12:07:19,961 INFO [jeeves] - Replacing child xml
elements
>>>>> of
>>>>> proj
>>>>> 2015-03-02 12:07:19,961 DEBUG [jeeves] - New elements are:<toAdd>
>>>>> <crs code="EPSG:4326" default="1" edit="1" />
>>>>> <crs code="EPSG:27700" edit="1" def="+proj=tmerc +lat_0=49
+lon_0=-2
>>>>> +k=0.9996012717 +x_0=400000 +y_0=-100000 +ellps=airy +datum=OSGB36
>>>>> +units=m
>>>>> +no_defs " />
>>>>> </toAdd>
>>>>> 2015-03-02 12:07:19,961 INFO [jeeves] - Replacing attribute
options of
>>>>> node mapSearch
>>>>> 2015-03-02 12:07:19,961 DEBUG [jeeves] - New attribute
is:{projection:
>>>>> 'EPSG:27700', maxExtent: new OpenLayers.Bounds(0,0,700000,1300000),
>>>>> units:
>>>>> 'm', restrictedExtent: new OpenLayers.Bounds(0,0,700000,1300000),
>>>>> resolutions: [1600,800,400,200,100,50,25,10,5,2.5,1,0.5,0.25]}
>>>>> 2015-03-02 12:07:19,961 DEBUG [jeeves] - Updating attibute of node
>>>>> /config/mapSearch
>>>>> 2015-03-02 12:07:19,961 INFO [jeeves] - Replacing child xml
elements
>>>>> of
>>>>> mapSearch/layers
>>>>> 2015-03-02 12:07:19,962 DEBUG [jeeves] - New elements are:<toAdd>
>>>>> <layer server="
>>>>> http://t0.ads.astuntechnology.com/astuntechnology/osopen/service&quot;
>>>>> tocName="OS Open" params="{layers: 'osopen', format: 'image/png'}"
>>>>> options="{isBaseLayer: true}" />
>>>>> </toAdd>
>>>>> 2015-03-02 12:07:19,962 DEBUG [jeeves] - replacingXML of
>>>>> /config/mapSearch/layers
>>>>> 2015-03-02 12:07:19,962 INFO [jeeves] - Replacing attribute
options of
>>>>> node mapViewer
>>>>> 2015-03-02 12:07:19,962 DEBUG [jeeves] - New attribute
is:{projection:
>>>>> 'EPSG:27700', maxExtent: new
>>>>> OpenLayers.Bounds(-3276800,-3276800,3276800,3276800), units: 'm',
>>>>> restrictedExtent: new OpenLayers.Bounds(0,0,700000,1300000),
>>>>> resolutions:
>>>>> [3200,1600,800,400,200,100,50,25,10,5,2.5,1,0.5]}
>>>>> 2015-03-02 12:07:19,962 DEBUG [jeeves] - Updating attibute of node
>>>>> /config/mapViewer
>>>>> 2015-03-02 12:07:19,962 INFO [jeeves] - Replacing child xml
elements
>>>>> of
>>>>> mapViewer
>>>>> 2015-03-02 12:07:19,962 DEBUG [jeeves] - New elements are:<toAdd>
>>>>> <layers>
>>>>> <layer server="
>>>>> http://t0.ads.astuntechnology.com/astuntechnology/osopen/service&quot;
>>>>> tocName="OS Open" params="{layers: 'oso2015-03-02 12:07:19,907
ERROR
>>>>> [jeeves.service] - -> exception during transformation for :
search
>>>>> 2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> (C)
stylesheet
>>>>> :
>>>>> /var/lib/tomcat6/webapps/geonetwork/xsl/search.xsl
>>>>> 2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> (C) message
>>>>> :
>>>>> Failed to compile stylesheet. 2 errors detected.
>>>>> 2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> (C)
exception
>>>>> :
>>>>> TransformerConfigurationException
>>>>> 2015-03-02 12:07:19,908 DEBUG [jeeves.service] - Raised exception
while
>>>>> executing service
>>>>> <error id="error">
>>>>> <message>Failed to compile stylesheet. 2 errors
detected.</message>
>>>>> <class>TransformerConfigurationException</class>
>>>>> <stack>
>>>>> <at class="net.sf.saxon.PreparedStylesheet"
>>>>> file="PreparedStylesheet.java" line="176" method="prepare" />
>>>>> <at class="net.sf.saxon.TransformerFactoryImpl"
>>>>> file="TransformerFactoryImpl.java" line="139"
method="newTemplates" />
>>>>> <at class="de.fzi.dbs.xml.transform.CachingTransformerFactory"
>>>>> file="CachingTransformerFactory.java" line="120"
>>>>> method="newTransformer" />
>>>>> <at class="de.fzi.dbs.xml.transform.CachingTransformerFactory"
>>>>> file="CachingTransformerFactory.java" line="76"
>>>>> method="newTransformer" />
>>>>> <at class="jeeves.utils.Xml" file="Xml.java" line="520"
>>>>> method="transform" />
>>>>> <at class="jeeves.utils.Xml" file="Xml.java" line="418"
>>>>> method="transform" />
>>>>> <at class="jeeves.server.dispatchers.ServiceManager"
>>>>> file="ServiceManager.java" line="790" method="dispatchOutput" />
>>>>> <at class="jeeves.server.dispatchers.ServiceManager"
>>>>> file="ServiceManager.java" line="450" method="dispatch" />
>>>>> <at class="jeeves.server.dispatchers.ServiceManager"
>>>>> file="ServiceManager.java" line="362" method="dispatch" />
>>>>> <at class="jeeves.server.JeevesEngine" file="JeevesEngine.java"
>>>>> line="811" method="dispatch" />
>>>>> <at class="jeeves.server.sources.http.JeevesServlet"
>>>>> file="JeevesServlet.java" line="216" method="execute" />
>>>>> <at class="jeeves.server.sources.http.JeevesServlet"
>>>>> file="JeevesServlet.java" line="115" method="doGet" />
>>>>> <skip>...</skip>
>>>>> <at class="org.fao.geonet.monitor.webapp.WebappMetricsFilter"
>>>>> file="WebappMetricsFilter.java" line="96" method="doFilter" />
>>>>> <skip>...</skip>
>>>>> <at
>>>>>
class="org.fao.geonet.monitor.webapp.MetricsRegistryInitializerFilter"
>>>>> file="MetricsRegistryInitializerFilter.java" line="31"
>>>>> method="doFilter" />
>>>>> <skip>...</skip>
>>>>> <at
>>>>>
class="jeeves.config.springutil.GeonetworkFilterSecurityInterceptor"
>>>>> file="GeonetworkFilterSecurityInterceptor.java" line="46"
>>>>> method="invoke" />
>>>>> <skip>...</skip>
>>>>> <at
>>>>>
class="jeeves.config.springutil.GeonetworkFilterSecurityInterceptor"
>>>>> file="GeonetworkFilterSecurityInterceptor.java" line="46"
>>>>> method="invoke" />
>>>>> <skip>...</skip>
>>>>> <at class="org.fao.geonet.kernel.security.PassthroughFilter"
>>>>> file="PassthroughFilter.java" line="26" method="doFilter" />
>>>>> <skip>...</skip>
>>>>> </stack>
>>>>> <request>
>>>>> <language>eng</language>
>>>>> <service>search</service>
>>>>> </request>
>>>>> <request>
>>>>> <tmp />
>>>>> <user>
>>>>> user
>>>>> <authenticated>true</authenticated>
>>>>> <name>admin</name>
>>>>> <username>admin</username>
>>>>> <profile>Administrator</profile>
>>>>> </user>
>>>>> </request>
>>>>> </error>
>>>>> 2015-03-02 12:07:19,908 INFO [jeeves.service] - -> dispatching
to
>>>>> error
>>>>> for : search
>>>>> 2015-03-02 12:07:19,961 INFO [jeeves] - Overrides being applied to
>>>>> configuration file: .*/WEB-INF/config-gui.xml
>>>>> 2015-03-02 12:07:19,961 INFO [jeeves] - Replacing child xml
elements
>>>>> of
>>>>> languages
>>>>> 2015-03-02 12:07:19,961 DEBUG [jeeves] - New elements are:<toAdd>
>>>>> <eng />
>>>>> </toAdd>
>>>>> 2015-03-02 12:07:19,961 DEBUG [jeeves] - replacingXML of
>>>>> /config/languages
>>>>> 2015-03-02 12:07:19,961 INFO [jeeves] - Replacing child xml
elements
>>>>> of
>>>>> proj
>>>>> 2015-03-02 12:07:19,961 DEBUG [jeeves] - New elements are:<toAdd>
>>>>> <crs code="EPSG:4326" default="1" edit="1" />
>>>>> <crs code="EPSG:27700" edit="1" def="+proj=tmerc +lat_0=49
+lon_0=-2
>>>>> +k=0.9996012717 +x_0=400000 +y_0=-100000 +ellps=airy +datum=OSGB36
>>>>> +units=m
>>>>> +no_defs " />
>>>>> </toAdd>
>>>>> 2015-03-02 12:07:19,961 INFO [jeeves] - Replacing attribute
options of
>>>>> node mapSearch
>>>>> 2015-03-02 12:07:19,961 DEBUG [jeeves] - New attribute
is:{projection:
>>>>> 'EPSG:27700', maxExtent: new OpenLayers.Bounds(0,0,700000,1300000),
>>>>> units:
>>>>> 'm', restrictedExtent: new OpenLayers.Bounds(0,0,700000,1300000),
>>>>> resolutions: [1600,800,400,200,100,50,25,10,5,2.5,1,0.5,0.25]}
>>>>> 2015-03-02 12:07:19,961 DEBUG [jeeves] - Updating attibute of node
>>>>> /config/mapSearch
>>>>> 2015-03-02 12:07:19,961 INFO [jeeves] - Replacing child xml
elements
>>>>> of
>>>>> mapSearch/layers
>>>>> 2015-03-02 12:07:19,962 DEBUG [jeeves] - New elements are:<toAdd>
>>>>> <layer server="
>>>>> http://t0.ads.astuntechnology.com/astuntechnology/osopen/service&quot;
>>>>> tocName="OS Open" params="{layers: 'osopen', format: 'image/png'}"
>>>>> options="{isBaseLayer: true}" />
>>>>> </toAdd>
>>>>> 2015-03-02 12:07:19,962 DEBUG [jeeves] - replacingXML of
>>>>> /config/mapSearch/layers
>>>>> 2015-03-02 12:07:19,962 INFO [jeeves] - Replacing attribute
options of
>>>>> node mapViewer
>>>>> 2015-03-02 12:07:19,962 DEBUG [jeeves] - New attribute
is:{projection:
>>>>> 'EPSG:27700', maxExtent: new
>>>>> OpenLayers.Bounds(-3276800,-3276800,3276800,3276800), units: 'm',
>>>>> restrictedExtent: new OpenLayers.Bounds(0,0,700000,1300000),
>>>>> resolutions:
>>>>> [3200,1600,800,400,200,100,50,25,10,5,2.5,1,0.5]}
>>>>> 2015-03-02 12:07:19,962 DEBUG [jeeves] - Updating attibute of node
>>>>> /config/mapViewer
>>>>> 2015-03-02 12:07:19,962 INFO [jeeves] - Replacing child xml
elements
>>>>> of
>>>>> mapViewer
>>>>> 2015-03-02 12:07:19,962 DEBUG [jeeves] - New elements are:<toAdd>
>>>>> <layers>
>>>>> <layer server="
>>>>> http://t0.ads.astuntechnology.com/astuntechnology/osopen/service&quot;
>>>>> tocName="OS Open" params="{layers: 'osopen', format: 'image/png'}"
>>>>> options="{isBaseLayer: true}" />
>>>>> </layers>
>>>>> <scales values="" />
>>>>> <proj>
>>>>> <crs code="EPSG:27700" default="1" name="BNG" />
>>>>> </proj>
>>>>> <servers>
>>>>> <server name="ADS" url="
>>>>> http://t0.ads.astuntechnology.com/astuntechnology/osopen/service?&quot;
/>
>>>>> </servers>
>>>>> </toAdd>
>>>>> 2015-03-02 12:07:19,962 DEBUG [jeeves] - replacingXML of
>>>>> /config/mapViewer
>>>>> 2015-03-02 12:07:19,963 INFO [jeeves.service] - ->
transforming
>>>>> with
>>>>> stylesheet : /var/lib/tomcat6/webapps/geonetwork/xsl/error.xsl
>>>>> 2015-03-02 12:07:19,988 INFO [jeeves.service] - -> end error
>>>>> transformation for : search
>>>>> 2015-03-02 12:07:19,988 INFO [jeeves.service] - -> error ended
for
>>>>> :
>>>>> search
>>>>> pen', format: 'image/png'}" options="{isBaseLayer: true}" />
>>>>> </layers>
>>>>> <scales values="" />
>>>>> <proj>
>>>>> <crs code="EPSG:27700" default="1" name="BNG" />
>>>>> </proj>
>>>>> <servers>
>>>>> <server name="ADS" url="
>>>>> http://t0.ads.astuntechnology.com/astuntechnology/osopen/service?&quot;
/>
>>>>> </servers>
>>>>> </toAdd>
>>>>> 2015-03-02 12:07:19,962 DEBUG [jeeves] - replacingXML of
>>>>> /config/mapViewer
>>>>> 2015-03-02 12:07:19,963 INFO [jeeves.service] - ->
transforming
>>>>> with
>>>>> stylesheet : /var/lib/tomcat6/webapps/geonetwork/xsl/error.xsl
>>>>> 2015-03-02 12:07:19,988 INFO [jeeves.service] - -> end error
>>>>> transformation for : search
>>>>> 2015-03-02 12:07:19,988 INFO [jeeves.service] - -> error ended
for
>>>>> :
>>>>> search
>>>>>
>>>>> I can see that there are two errors detected but I don't know
where to
>>>>> start looking for the solution. Can anyone assist?
>>>>>
>>>>> Thanks
>>>>>
>>>>> Jo
>>>>> --
>>>>> *Jo Cook*
>>>>> Astun Technology Ltd, The Coach House, 17 West Street, Epsom,
Surrey,
>>>>> KT18
>>>>> 7RL, UK
>>>>> t:+44 7930 524 155
>>>>> iShare - Data integration and publishing platform
>>>>> <http://www.isharemaps.com/&gt;
>>>>>
>>>>> *****************************************
>>>>>
>>>>> Company registration no. 5410695. Registered in England and Wales.
>>>>> Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN
VAT
>>>>> no.
>>>>> 864201149.
>>>>>
>>>>>
------------------------------------------------------------------------------
>>>>> Dive into the World of Parallel Programming The Go Parallel
Website,
>>>>> sponsored
>>>>> by Intel and developed in partnership with Slashdot Media, is your
hub
>>>>> for all
>>>>> things parallel software development, from weekly thought
leadership
>>>>> blogs to
>>>>> news, videos, case studies, tutorials and more. Take a look and
join
>>>>> the
>>>>> conversation now. http://goparallel.sourceforge.net/
>>>>> _______________________________________________
>>>>> GeoNetwork-users mailing list
>>>>> GeoNetwork-users@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/geonetwork-users
>>>>> GeoNetwork OpenSource is maintained at
>>>>> http://sourceforge.net/projects/geonetwork
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> *GeoCat Bridge for ArcGIS allows instant publishing of data and
>>>> metadata on GeoServer and GeoNetwork. Visit http://geocat.net
>>>> <http://geocat.net/&gt; for details. _________________________Jose
>>>> GarcíaGeoCat bvVeenderweg 136721 WD BennekomThe
>>>> Netherlandshttp://GeoCat.net/>*
>>>>
>>>
>>>
>>>
>>> --
>>> *Jo Cook*
>>> Astun Technology Ltd, The Coach House, 17 West Street, Epsom, Surrey,
>>> KT18 7RL, UK
>>> t:+44 7930 524 155
>>> iShare - Data integration and publishing platform
>>> <http://www.isharemaps.com/&gt;
>>>
>>> *****************************************
>>>
>>> Company registration no. 5410695. Registered in England and Wales.
>>> Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT
no.
>>> 864201149.
>>>
>>
>>
>>
>> --
>>
>> *GeoCat Bridge for ArcGIS allows instant publishing of data and
metadata
>> on GeoServer and GeoNetwork. Visit http://geocat.net
>> <http://geocat.net/&gt; for details. _________________________Jose
>> GarcíaGeoCat bvVeenderweg 136721 WD BennekomThe
>> Netherlandshttp://GeoCat.net/>*

>>
>
>
>
> --
> *Jo Cook*
> Astun Technology Ltd, The Coach House, 17 West Street, Epsom, Surrey,
KT18
> 7RL, UK
> t:+44 7930 524 155
> iShare - Data integration and publishing platform
> <http://www.isharemaps.com/&gt;
>
> *****************************************
>
> Company registration no. 5410695. Registered in England and Wales.
> Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT
no.
> 864201149.
>

--
*Jo Cook*
Astun Technology Ltd, The Coach House, 17 West Street, Epsom, Surrey,
KT18
7RL, UK
t:+44 7930 524 155
iShare - Data integration and publishing platform
<http://www.isharemaps.com/&gt;

*****************************************

Company registration no. 5410695. Registered in England and Wales.
Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT no.
864201149.

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website,
sponsored
by Intel and developed in partnership with Slashdot Media, is your hub
for all
things parallel software development, from weekly thought leadership
blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--
*Antony Scott*
Astun Technology Ltd, The Coach House, 17 West Street, Epsom, Surrey,
KT18 7RL, UK
t:+44 7866 455 515
iShare - Data integration and publishing platform
<http://www.isharemaps.com/&gt;

*****************************************

Company registration no. 5410695. Registered in England and Wales.
Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT no.
864201149.

--

*GeoCat Bridge for ArcGIS allows instant publishing of data and metadata
on GeoServer and GeoNetwork. Visit http://geocat.net
<http://geocat.net/&gt; for details. _________________________Jose
GarcíaGeoCat bvVeenderweg 136721 WD BennekomThe
Netherlandshttp://GeoCat.net/>*

--
*Jo Cook*
Astun Technology Ltd, The Coach House, 17 West Street, Epsom, Surrey, KT18
7RL, UK
t:+44 7930 524 155
iShare - Data integration and publishing platform
<http://www.isharemaps.com/&gt;

*****************************************

Company registration no. 5410695. Registered in England and Wales.
Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT no.
864201149.

Hi Jo

See comments inline.

Regards,
Jose García

On Thu, Mar 5, 2015 at 12:53 PM, Jo Cook <jocook@anonymised.com> wrote:

Hi Jose,

We're not really in a position to build the code, so we're trying to get
around this issue with the search URL using URLRewrite.xml. Unfortunately
this seems to be having problems with the "#" sign in the URL, which we
need to remove so we can switch from

/srv/en/search#fast=index&from=1&to=50&_status=4&_statusChangeDate=2015-03-02T10:43:42
to

/srv/eng/main.search?from=1&to=50&_status=4&_statusChangeDate=2015-03-02T10:43:42

We've tried loads of different rules but this one looks like it should
work, but it doesn't (whether or not we use & or &amp;):
<rule>
                <from>^(.*)/en/search#fast=index&amp;(.*)$</from>
                <to type="permanent-redirect"
last="true">%{context-path}$1/eng/main.search?$2</to>
</rule>

If we take out the #fast=index section then the rule fires but it returns
all metadata rather than the search results.

In the urlrewrite.xml there's a rule at the top to fix the language codes
from old GeoNetwork versions:

    <rule>
        <from>^(.*)/en/(.*)$</from>
        <to type="permanent-redirect"
last="true">%{context-path}$1/eng/$2</to>
    </rule>

I think can matching the
(/srv/en/search#fast=index&from=1&to=50&_status=4&_statusChangeDate=2015-03-02T10:43:42)
url. Check to put your rule before this one (you'll need to restart
GeoNetwork to take effect the change).

We've looked into the urlrewriter documentation and can find no reason why
this should be a problem.

Is this really the only way of dealing with the problem? Surely since we
have configured geonetwork to always use the classic interface (in
config-gui.xml) it should NEVER try and use the html5 interface anyhow?
This seems like a bug? Unless we are missing something in config-gui.xml?

The problem is that the DefaultStatusActions class has hardcoded to use the
html5ui for mail content, independently of the config-gui.xml

Thanks

Jo

Jo

On Tue, Mar 3, 2015 at 7:19 AM, Jose Garcia <jose.garcia@anonymised.com>
wrote:

Hi

Seem not directly configurable. If you can build the code, the fastest is
to set that flag to false in your case.

A generic option is to make it configurable in WEB-INF/config.xml, a way
to handle this can be the following.

1) The DefaultStatusActions in setup in the GeoNetwork class:

https://github.com/geonetwork/core-geonetwork/blob/2.10.x/web/src/main/webapp/WEB-INF/config.xml#L376

You can add a new parameter to the GeoNetwork class configuration in
WEB-INF/config.xml:

<param name="useHtml5ui" value="true"/>

2) Change the code in GeoNetwork class where is initialised the
DefaultStatusActions: to manage this new configuration and update the
property in DefaultStatusActions

https://github.com/geonetwork/core-geonetwork/blob/2.10.x/web/src/main/java/org/fao/geonet/Geonetwork.java#L179

Regards,
Jose García

On Mon, Mar 2, 2015 at 7:27 PM, Antony Scott <
antonyscott@anonymised.com> wrote:

Hi Jose

Just following up on the search URL issue Jo raised today - it seems
from this:

https://github.com/geonetwork/core-geonetwork/blob/2.10.x/web/src/main/java/org/fao/geonet/services/metadata/DefaultStatusActions.java#L310

that the html5ui param is set to true, which is why we are getting the
HTML5 UI rather than the classic one in the search results. Is there some
way we can set this to false? If not, we were looking at using the
urlrewrite.xml file, but would rather set the html5ui param to the correct
value if we can.

many thanks
Ant

On 2 March 2015 at 14:53, Jo Cook <jocook@anonymised.com> wrote:

Hi Jose,

Apologies, I have found and fixed that error. However, the link in the
emails goes to the search interface rather than the classic. What do I
need
to change (and where) to ensure that only the classic interface is used?

Thanks

Jo

On Mon, Mar 2, 2015 at 2:43 PM, Jo Cook <jocook@anonymised.com>
wrote:

> Hi Jose,
>
> In catalina.out I can now see the following error:
>
> 2015-03-02 10:41:15,668 INFO [jeeves.service] - -> transforming
with
> stylesheet : /var/lib/tomcat6/webapps/geonetwork/xsl/search.xsl
> Error at xsl:call-template on line 26 column 61 of metadata-edit.xsl:
> XTSE0090: Attribute @select is not allowed on element
<xsl:call-template>
>
> Originally I had two of these errors, one for line 27 column 61, and I
> have resolved that- but I can't see where the second example is. Have
you
> any pointers on where I should be looking?
>
> Jo
>
>
>
> On Mon, Mar 2, 2015 at 12:35 PM, Jose Garcia <jose.garcia@anonymised.com>
> wrote:
>
>> Hi Jo
>>
>> All the printStackTrace() only go to the catalina.out or to the
console,
>> not to geonetwork.log. The messages logged with the logger classes
should
>> end in both places.
>>
>> Regards,
>> Jose García
>>
>>
>> On Mon, Mar 2, 2015 at 1:31 PM, Jo Cook <jocook@anonymised.com>
>> wrote:
>>
>>> Hi Jose,
>>>
>>> Brilliant, thanks. I didn't even realise that catalina.out has
different
>>> messages in it compared to the geonetwork.log file, so I've learnt
>>> something new!
>>>
>>> Jo
>>>
>>> On Mon, Mar 2, 2015 at 12:25 PM, Jose Garcia <
jose.garcia@anonymised.com>
>>> wrote:
>>>
>>>> Hi Jo
>>>>
>>>> If using Tomcat, check in the catalina.out for
>>>> TransformerConfigurationException, usually contains the exact xslt
>>>> file and line where the error happens.
>>>>
>>>> I guess that can help to find the issue better.
>>>>
>>>> Regards,
>>>> Jose García
>>>>
>>>>
>>>> On Mon, Mar 2, 2015 at 1:10 PM, Jo Cook <
jocook@anonymised.com>
>>>> wrote:
>>>>
>>>>> Hi List,
>>>>>
>>>>> Our geonetwork instance (2.10.4, tomcat6) is successfully sending
>>>>> emails
>>>>> when the status of a record changes, but the URL leads to an error
>>>>> message,
>>>>> and the log files are not helping me to understand where the
problem
>>>>> is.
>>>>> The URL is of the form
>>>>>
>>>>>
http://URL/geonetwork/srv/eng/search#fast=index&from=1&to=50&_status=4&_statusChangeDate=2015-03-02
>>>>>
>>>>> With debug switched on for searches in log4j.cfg I see the
following:
>>>>> 2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> exception
during
>>>>> transformation for : search
>>>>> 2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> (C)
stylesheet
>>>>> :
>>>>> /var/lib/tomcat6/webapps/geonetwork/xsl/search.xsl
>>>>> 2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> (C)
message
>>>>> :
>>>>> Failed to compile stylesheet. 2 errors detected.
>>>>> 2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> (C)
exception
>>>>> :
>>>>> TransformerConfigurationException
>>>>> 2015-03-02 12:07:19,908 DEBUG [jeeves.service] - Raised exception
while
>>>>> executing service
>>>>> <error id="error">
>>>>> <message>Failed to compile stylesheet. 2 errors
detected.</message>
>>>>> <class>TransformerConfigurationException</class>
>>>>> <stack>
>>>>> <at class="net.sf.saxon.PreparedStylesheet"
>>>>> file="PreparedStylesheet.java" line="176" method="prepare" />
>>>>> <at class="net.sf.saxon.TransformerFactoryImpl"
>>>>> file="TransformerFactoryImpl.java" line="139"
method="newTemplates" />
>>>>> <at class="de.fzi.dbs.xml.transform.CachingTransformerFactory"
>>>>> file="CachingTransformerFactory.java" line="120"
>>>>> method="newTransformer" />
>>>>> <at class="de.fzi.dbs.xml.transform.CachingTransformerFactory"
>>>>> file="CachingTransformerFactory.java" line="76"
>>>>> method="newTransformer" />
>>>>> <at class="jeeves.utils.Xml" file="Xml.java" line="520"
>>>>> method="transform" />
>>>>> <at class="jeeves.utils.Xml" file="Xml.java" line="418"
>>>>> method="transform" />
>>>>> <at class="jeeves.server.dispatchers.ServiceManager"
>>>>> file="ServiceManager.java" line="790" method="dispatchOutput" />
>>>>> <at class="jeeves.server.dispatchers.ServiceManager"
>>>>> file="ServiceManager.java" line="450" method="dispatch" />
>>>>> <at class="jeeves.server.dispatchers.ServiceManager"
>>>>> file="ServiceManager.java" line="362" method="dispatch" />
>>>>> <at class="jeeves.server.JeevesEngine"
file="JeevesEngine.java"
>>>>> line="811" method="dispatch" />
>>>>> <at class="jeeves.server.sources.http.JeevesServlet"
>>>>> file="JeevesServlet.java" line="216" method="execute" />
>>>>> <at class="jeeves.server.sources.http.JeevesServlet"
>>>>> file="JeevesServlet.java" line="115" method="doGet" />
>>>>> <skip>...</skip>
>>>>> <at class="org.fao.geonet.monitor.webapp.WebappMetricsFilter"
>>>>> file="WebappMetricsFilter.java" line="96" method="doFilter" />
>>>>> <skip>...</skip>
>>>>> <at
>>>>>
class="org.fao.geonet.monitor.webapp.MetricsRegistryInitializerFilter"
>>>>> file="MetricsRegistryInitializerFilter.java" line="31"
>>>>> method="doFilter" />
>>>>> <skip>...</skip>
>>>>> <at
>>>>>
class="jeeves.config.springutil.GeonetworkFilterSecurityInterceptor"
>>>>> file="GeonetworkFilterSecurityInterceptor.java" line="46"
>>>>> method="invoke" />
>>>>> <skip>...</skip>
>>>>> <at
>>>>>
class="jeeves.config.springutil.GeonetworkFilterSecurityInterceptor"
>>>>> file="GeonetworkFilterSecurityInterceptor.java" line="46"
>>>>> method="invoke" />
>>>>> <skip>...</skip>
>>>>> <at class="org.fao.geonet.kernel.security.PassthroughFilter"
>>>>> file="PassthroughFilter.java" line="26" method="doFilter" />
>>>>> <skip>...</skip>
>>>>> </stack>
>>>>> <request>
>>>>> <language>eng</language>
>>>>> <service>search</service>
>>>>> </request>
>>>>> <request>
>>>>> <tmp />
>>>>> <user>
>>>>> user
>>>>> <authenticated>true</authenticated>
>>>>> <name>admin</name>
>>>>> <username>admin</username>
>>>>> <profile>Administrator</profile>
>>>>> </user>
>>>>> </request>
>>>>> </error>
>>>>> 2015-03-02 12:07:19,908 INFO [jeeves.service] - ->
dispatching to
>>>>> error
>>>>> for : search
>>>>> 2015-03-02 12:07:19,961 INFO [jeeves] - Overrides being applied
to
>>>>> configuration file: .*/WEB-INF/config-gui.xml
>>>>> 2015-03-02 12:07:19,961 INFO [jeeves] - Replacing child xml
elements
>>>>> of
>>>>> languages
>>>>> 2015-03-02 12:07:19,961 DEBUG [jeeves] - New elements are:<toAdd>
>>>>> <eng />
>>>>> </toAdd>
>>>>> 2015-03-02 12:07:19,961 DEBUG [jeeves] - replacingXML of
>>>>> /config/languages
>>>>> 2015-03-02 12:07:19,961 INFO [jeeves] - Replacing child xml
elements
>>>>> of
>>>>> proj
>>>>> 2015-03-02 12:07:19,961 DEBUG [jeeves] - New elements are:<toAdd>
>>>>> <crs code="EPSG:4326" default="1" edit="1" />
>>>>> <crs code="EPSG:27700" edit="1" def="+proj=tmerc +lat_0=49
+lon_0=-2
>>>>> +k=0.9996012717 +x_0=400000 +y_0=-100000 +ellps=airy +datum=OSGB36
>>>>> +units=m
>>>>> +no_defs " />
>>>>> </toAdd>
>>>>> 2015-03-02 12:07:19,961 INFO [jeeves] - Replacing attribute
options of
>>>>> node mapSearch
>>>>> 2015-03-02 12:07:19,961 DEBUG [jeeves] - New attribute
is:{projection:
>>>>> 'EPSG:27700', maxExtent: new
OpenLayers.Bounds(0,0,700000,1300000),
>>>>> units:
>>>>> 'm', restrictedExtent: new OpenLayers.Bounds(0,0,700000,1300000),
>>>>> resolutions: [1600,800,400,200,100,50,25,10,5,2.5,1,0.5,0.25]}
>>>>> 2015-03-02 12:07:19,961 DEBUG [jeeves] - Updating attibute of node
>>>>> /config/mapSearch
>>>>> 2015-03-02 12:07:19,961 INFO [jeeves] - Replacing child xml
elements
>>>>> of
>>>>> mapSearch/layers
>>>>> 2015-03-02 12:07:19,962 DEBUG [jeeves] - New elements are:<toAdd>
>>>>> <layer server="
>>>>> http://t0.ads.astuntechnology.com/astuntechnology/osopen/service&quot;
>>>>> tocName="OS Open" params="{layers: 'osopen', format: 'image/png'}"
>>>>> options="{isBaseLayer: true}" />
>>>>> </toAdd>
>>>>> 2015-03-02 12:07:19,962 DEBUG [jeeves] - replacingXML of
>>>>> /config/mapSearch/layers
>>>>> 2015-03-02 12:07:19,962 INFO [jeeves] - Replacing attribute
options of
>>>>> node mapViewer
>>>>> 2015-03-02 12:07:19,962 DEBUG [jeeves] - New attribute
is:{projection:
>>>>> 'EPSG:27700', maxExtent: new
>>>>> OpenLayers.Bounds(-3276800,-3276800,3276800,3276800), units: 'm',
>>>>> restrictedExtent: new OpenLayers.Bounds(0,0,700000,1300000),
>>>>> resolutions:
>>>>> [3200,1600,800,400,200,100,50,25,10,5,2.5,1,0.5]}
>>>>> 2015-03-02 12:07:19,962 DEBUG [jeeves] - Updating attibute of node
>>>>> /config/mapViewer
>>>>> 2015-03-02 12:07:19,962 INFO [jeeves] - Replacing child xml
elements
>>>>> of
>>>>> mapViewer
>>>>> 2015-03-02 12:07:19,962 DEBUG [jeeves] - New elements are:<toAdd>
>>>>> <layers>
>>>>> <layer server="
>>>>> http://t0.ads.astuntechnology.com/astuntechnology/osopen/service&quot;
>>>>> tocName="OS Open" params="{layers: 'oso2015-03-02 12:07:19,907
ERROR
>>>>> [jeeves.service] - -> exception during transformation for :
search
>>>>> 2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> (C)
stylesheet
>>>>> :
>>>>> /var/lib/tomcat6/webapps/geonetwork/xsl/search.xsl
>>>>> 2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> (C)
message
>>>>> :
>>>>> Failed to compile stylesheet. 2 errors detected.
>>>>> 2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> (C)
exception
>>>>> :
>>>>> TransformerConfigurationException
>>>>> 2015-03-02 12:07:19,908 DEBUG [jeeves.service] - Raised exception
while
>>>>> executing service
>>>>> <error id="error">
>>>>> <message>Failed to compile stylesheet. 2 errors
detected.</message>
>>>>> <class>TransformerConfigurationException</class>
>>>>> <stack>
>>>>> <at class="net.sf.saxon.PreparedStylesheet"
>>>>> file="PreparedStylesheet.java" line="176" method="prepare" />
>>>>> <at class="net.sf.saxon.TransformerFactoryImpl"
>>>>> file="TransformerFactoryImpl.java" line="139"
method="newTemplates" />
>>>>> <at class="de.fzi.dbs.xml.transform.CachingTransformerFactory"
>>>>> file="CachingTransformerFactory.java" line="120"
>>>>> method="newTransformer" />
>>>>> <at class="de.fzi.dbs.xml.transform.CachingTransformerFactory"
>>>>> file="CachingTransformerFactory.java" line="76"
>>>>> method="newTransformer" />
>>>>> <at class="jeeves.utils.Xml" file="Xml.java" line="520"
>>>>> method="transform" />
>>>>> <at class="jeeves.utils.Xml" file="Xml.java" line="418"
>>>>> method="transform" />
>>>>> <at class="jeeves.server.dispatchers.ServiceManager"
>>>>> file="ServiceManager.java" line="790" method="dispatchOutput" />
>>>>> <at class="jeeves.server.dispatchers.ServiceManager"
>>>>> file="ServiceManager.java" line="450" method="dispatch" />
>>>>> <at class="jeeves.server.dispatchers.ServiceManager"
>>>>> file="ServiceManager.java" line="362" method="dispatch" />
>>>>> <at class="jeeves.server.JeevesEngine"
file="JeevesEngine.java"
>>>>> line="811" method="dispatch" />
>>>>> <at class="jeeves.server.sources.http.JeevesServlet"
>>>>> file="JeevesServlet.java" line="216" method="execute" />
>>>>> <at class="jeeves.server.sources.http.JeevesServlet"
>>>>> file="JeevesServlet.java" line="115" method="doGet" />
>>>>> <skip>...</skip>
>>>>> <at class="org.fao.geonet.monitor.webapp.WebappMetricsFilter"
>>>>> file="WebappMetricsFilter.java" line="96" method="doFilter" />
>>>>> <skip>...</skip>
>>>>> <at
>>>>>
class="org.fao.geonet.monitor.webapp.MetricsRegistryInitializerFilter"
>>>>> file="MetricsRegistryInitializerFilter.java" line="31"
>>>>> method="doFilter" />
>>>>> <skip>...</skip>
>>>>> <at
>>>>>
class="jeeves.config.springutil.GeonetworkFilterSecurityInterceptor"
>>>>> file="GeonetworkFilterSecurityInterceptor.java" line="46"
>>>>> method="invoke" />
>>>>> <skip>...</skip>
>>>>> <at
>>>>>
class="jeeves.config.springutil.GeonetworkFilterSecurityInterceptor"
>>>>> file="GeonetworkFilterSecurityInterceptor.java" line="46"
>>>>> method="invoke" />
>>>>> <skip>...</skip>
>>>>> <at class="org.fao.geonet.kernel.security.PassthroughFilter"
>>>>> file="PassthroughFilter.java" line="26" method="doFilter" />
>>>>> <skip>...</skip>
>>>>> </stack>
>>>>> <request>
>>>>> <language>eng</language>
>>>>> <service>search</service>
>>>>> </request>
>>>>> <request>
>>>>> <tmp />
>>>>> <user>
>>>>> user
>>>>> <authenticated>true</authenticated>
>>>>> <name>admin</name>
>>>>> <username>admin</username>
>>>>> <profile>Administrator</profile>
>>>>> </user>
>>>>> </request>
>>>>> </error>
>>>>> 2015-03-02 12:07:19,908 INFO [jeeves.service] - ->
dispatching to
>>>>> error
>>>>> for : search
>>>>> 2015-03-02 12:07:19,961 INFO [jeeves] - Overrides being applied
to
>>>>> configuration file: .*/WEB-INF/config-gui.xml
>>>>> 2015-03-02 12:07:19,961 INFO [jeeves] - Replacing child xml
elements
>>>>> of
>>>>> languages
>>>>> 2015-03-02 12:07:19,961 DEBUG [jeeves] - New elements are:<toAdd>
>>>>> <eng />
>>>>> </toAdd>
>>>>> 2015-03-02 12:07:19,961 DEBUG [jeeves] - replacingXML of
>>>>> /config/languages
>>>>> 2015-03-02 12:07:19,961 INFO [jeeves] - Replacing child xml
elements
>>>>> of
>>>>> proj
>>>>> 2015-03-02 12:07:19,961 DEBUG [jeeves] - New elements are:<toAdd>
>>>>> <crs code="EPSG:4326" default="1" edit="1" />
>>>>> <crs code="EPSG:27700" edit="1" def="+proj=tmerc +lat_0=49
+lon_0=-2
>>>>> +k=0.9996012717 +x_0=400000 +y_0=-100000 +ellps=airy +datum=OSGB36
>>>>> +units=m
>>>>> +no_defs " />
>>>>> </toAdd>
>>>>> 2015-03-02 12:07:19,961 INFO [jeeves] - Replacing attribute
options of
>>>>> node mapSearch
>>>>> 2015-03-02 12:07:19,961 DEBUG [jeeves] - New attribute
is:{projection:
>>>>> 'EPSG:27700', maxExtent: new
OpenLayers.Bounds(0,0,700000,1300000),
>>>>> units:
>>>>> 'm', restrictedExtent: new OpenLayers.Bounds(0,0,700000,1300000),
>>>>> resolutions: [1600,800,400,200,100,50,25,10,5,2.5,1,0.5,0.25]}
>>>>> 2015-03-02 12:07:19,961 DEBUG [jeeves] - Updating attibute of node
>>>>> /config/mapSearch
>>>>> 2015-03-02 12:07:19,961 INFO [jeeves] - Replacing child xml
elements
>>>>> of
>>>>> mapSearch/layers
>>>>> 2015-03-02 12:07:19,962 DEBUG [jeeves] - New elements are:<toAdd>
>>>>> <layer server="
>>>>> http://t0.ads.astuntechnology.com/astuntechnology/osopen/service&quot;
>>>>> tocName="OS Open" params="{layers: 'osopen', format: 'image/png'}"
>>>>> options="{isBaseLayer: true}" />
>>>>> </toAdd>
>>>>> 2015-03-02 12:07:19,962 DEBUG [jeeves] - replacingXML of
>>>>> /config/mapSearch/layers
>>>>> 2015-03-02 12:07:19,962 INFO [jeeves] - Replacing attribute
options of
>>>>> node mapViewer
>>>>> 2015-03-02 12:07:19,962 DEBUG [jeeves] - New attribute
is:{projection:
>>>>> 'EPSG:27700', maxExtent: new
>>>>> OpenLayers.Bounds(-3276800,-3276800,3276800,3276800), units: 'm',
>>>>> restrictedExtent: new OpenLayers.Bounds(0,0,700000,1300000),
>>>>> resolutions:
>>>>> [3200,1600,800,400,200,100,50,25,10,5,2.5,1,0.5]}
>>>>> 2015-03-02 12:07:19,962 DEBUG [jeeves] - Updating attibute of node
>>>>> /config/mapViewer
>>>>> 2015-03-02 12:07:19,962 INFO [jeeves] - Replacing child xml
elements
>>>>> of
>>>>> mapViewer
>>>>> 2015-03-02 12:07:19,962 DEBUG [jeeves] - New elements are:<toAdd>
>>>>> <layers>
>>>>> <layer server="
>>>>> http://t0.ads.astuntechnology.com/astuntechnology/osopen/service&quot;
>>>>> tocName="OS Open" params="{layers: 'osopen', format: 'image/png'}"
>>>>> options="{isBaseLayer: true}" />
>>>>> </layers>
>>>>> <scales values="" />
>>>>> <proj>
>>>>> <crs code="EPSG:27700" default="1" name="BNG" />
>>>>> </proj>
>>>>> <servers>
>>>>> <server name="ADS" url="
>>>>> http://t0.ads.astuntechnology.com/astuntechnology/osopen/service?&quot;
/>
>>>>> </servers>
>>>>> </toAdd>
>>>>> 2015-03-02 12:07:19,962 DEBUG [jeeves] - replacingXML of
>>>>> /config/mapViewer
>>>>> 2015-03-02 12:07:19,963 INFO [jeeves.service] - ->
transforming
>>>>> with
>>>>> stylesheet : /var/lib/tomcat6/webapps/geonetwork/xsl/error.xsl
>>>>> 2015-03-02 12:07:19,988 INFO [jeeves.service] - -> end error
>>>>> transformation for : search
>>>>> 2015-03-02 12:07:19,988 INFO [jeeves.service] - -> error
ended for
>>>>> :
>>>>> search
>>>>> pen', format: 'image/png'}" options="{isBaseLayer: true}" />
>>>>> </layers>
>>>>> <scales values="" />
>>>>> <proj>
>>>>> <crs code="EPSG:27700" default="1" name="BNG" />
>>>>> </proj>
>>>>> <servers>
>>>>> <server name="ADS" url="
>>>>> http://t0.ads.astuntechnology.com/astuntechnology/osopen/service?&quot;
/>
>>>>> </servers>
>>>>> </toAdd>
>>>>> 2015-03-02 12:07:19,962 DEBUG [jeeves] - replacingXML of
>>>>> /config/mapViewer
>>>>> 2015-03-02 12:07:19,963 INFO [jeeves.service] - ->
transforming
>>>>> with
>>>>> stylesheet : /var/lib/tomcat6/webapps/geonetwork/xsl/error.xsl
>>>>> 2015-03-02 12:07:19,988 INFO [jeeves.service] - -> end error
>>>>> transformation for : search
>>>>> 2015-03-02 12:07:19,988 INFO [jeeves.service] - -> error
ended for
>>>>> :
>>>>> search
>>>>>
>>>>> I can see that there are two errors detected but I don't know
where to
>>>>> start looking for the solution. Can anyone assist?
>>>>>
>>>>> Thanks
>>>>>
>>>>> Jo
>>>>> --
>>>>> *Jo Cook*
>>>>> Astun Technology Ltd, The Coach House, 17 West Street, Epsom,
Surrey,
>>>>> KT18
>>>>> 7RL, UK
>>>>> t:+44 7930 524 155
>>>>> iShare - Data integration and publishing platform
>>>>> <http://www.isharemaps.com/&gt;
>>>>>
>>>>> *****************************************
>>>>>
>>>>> Company registration no. 5410695. Registered in England and
Wales.
>>>>> Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN
VAT
>>>>> no.
>>>>> 864201149.
>>>>>
>>>>>
------------------------------------------------------------------------------
>>>>> Dive into the World of Parallel Programming The Go Parallel
Website,
>>>>> sponsored
>>>>> by Intel and developed in partnership with Slashdot Media, is
your hub
>>>>> for all
>>>>> things parallel software development, from weekly thought
leadership
>>>>> blogs to
>>>>> news, videos, case studies, tutorials and more. Take a look and
join
>>>>> the
>>>>> conversation now. http://goparallel.sourceforge.net/
>>>>> _______________________________________________
>>>>> GeoNetwork-users mailing list
>>>>> GeoNetwork-users@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/geonetwork-users
>>>>> GeoNetwork OpenSource is maintained at
>>>>> http://sourceforge.net/projects/geonetwork
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> *GeoCat Bridge for ArcGIS allows instant publishing of data and
>>>> metadata on GeoServer and GeoNetwork. Visit http://geocat.net
>>>> <http://geocat.net/&gt; for details. _________________________Jose
>>>> GarcíaGeoCat bvVeenderweg 136721 WD BennekomThe
>>>> Netherlandshttp://GeoCat.net/>*
>>>>
>>>
>>>
>>>
>>> --
>>> *Jo Cook*
>>> Astun Technology Ltd, The Coach House, 17 West Street, Epsom,
Surrey,
>>> KT18 7RL, UK
>>> t:+44 7930 524 155
>>> iShare - Data integration and publishing platform
>>> <http://www.isharemaps.com/&gt;
>>>
>>> *****************************************
>>>
>>> Company registration no. 5410695. Registered in England and Wales.
>>> Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN
VAT no.
>>> 864201149.
>>>
>>
>>
>>
>> --
>>
>> *GeoCat Bridge for ArcGIS allows instant publishing of data and
metadata
>> on GeoServer and GeoNetwork. Visit http://geocat.net
>> <http://geocat.net/&gt; for details. _________________________Jose
>> GarcíaGeoCat bvVeenderweg 136721 WD BennekomThe
>> Netherlandshttp://GeoCat.net/>*

>>
>
>
>
> --
> *Jo Cook*
> Astun Technology Ltd, The Coach House, 17 West Street, Epsom, Surrey,
KT18
> 7RL, UK
> t:+44 7930 524 155
> iShare - Data integration and publishing platform
> <http://www.isharemaps.com/&gt;
>
> *****************************************
>
> Company registration no. 5410695. Registered in England and Wales.
> Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT
no.
> 864201149.
>

--
*Jo Cook*
Astun Technology Ltd, The Coach House, 17 West Street, Epsom, Surrey,
KT18
7RL, UK
t:+44 7930 524 155
iShare - Data integration and publishing platform
<http://www.isharemaps.com/&gt;

*****************************************

Company registration no. 5410695. Registered in England and Wales.
Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT no.
864201149.

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website,
sponsored
by Intel and developed in partnership with Slashdot Media, is your hub
for all
things parallel software development, from weekly thought leadership
blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--
*Antony Scott*
Astun Technology Ltd, The Coach House, 17 West Street, Epsom, Surrey,
KT18 7RL, UK
t:+44 7866 455 515
iShare - Data integration and publishing platform
<http://www.isharemaps.com/&gt;

*****************************************

Company registration no. 5410695. Registered in England and Wales.
Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT no.
864201149.

--

*GeoCat Bridge for ArcGIS allows instant publishing of data and metadata
on GeoServer and GeoNetwork. Visit http://geocat.net
<http://geocat.net/&gt; for details. _________________________Jose
GarcíaGeoCat bvVeenderweg 136721 WD BennekomThe
Netherlandshttp://GeoCat.net/>*

--
*Jo Cook*
Astun Technology Ltd, The Coach House, 17 West Street, Epsom, Surrey, KT18
7RL, UK
t:+44 7930 524 155
iShare - Data integration and publishing platform
<http://www.isharemaps.com/&gt;

*****************************************

Company registration no. 5410695. Registered in England and Wales.
Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT no.
864201149.

--

*GeoCat Bridge for ArcGIS allows instant publishing of data and metadata on
GeoServer and GeoNetwork. Visit http://geocat.net/&gt; for
details. _________________________Jose GarcíaGeoCat bvVeenderweg 136721 WD
BennekomThe Netherlandshttp://GeoCat.net/>*

Hi Jose,

Our rule is the first in the list, and we have set the config in web.xml so
that urlrewriter is checked every time, but we've been restarting
geonetwork anyway.

I would like to understand how the logging for urlrewriter works- I have
set it to sysout:DEBUG in web.xml, which I thought would send it to
catalina.out but nothing is logged for urlrewriter.

Thanks

Jo

On Fri, Mar 6, 2015 at 8:00 AM, Jose Garcia <jose.garcia@anonymised.com> wrote:

Hi Jo

See comments inline.

Regards,
Jose García

On Thu, Mar 5, 2015 at 12:53 PM, Jo Cook <jocook@anonymised.com>
wrote:

Hi Jose,

We're not really in a position to build the code, so we're trying to get
around this issue with the search URL using URLRewrite.xml. Unfortunately
this seems to be having problems with the "#" sign in the URL, which we
need to remove so we can switch from

/srv/en/search#fast=index&from=1&to=50&_status=4&_statusChangeDate=2015-03-02T10:43:42
to

/srv/eng/main.search?from=1&to=50&_status=4&_statusChangeDate=2015-03-02T10:43:42

We've tried loads of different rules but this one looks like it should
work, but it doesn't (whether or not we use & or &amp;):
<rule>
                <from>^(.*)/en/search#fast=index&amp;(.*)$</from>
                <to type="permanent-redirect"
last="true">%{context-path}$1/eng/main.search?$2</to>
</rule>

If we take out the #fast=index section then the rule fires but it returns
all metadata rather than the search results.

In the urlrewrite.xml there's a rule at the top to fix the language codes
from old GeoNetwork versions:

    <rule>
        <from>^(.*)/en/(.*)$</from>
        <to type="permanent-redirect"
last="true">%{context-path}$1/eng/$2</to>
    </rule>

I think can matching the
(/srv/en/search#fast=index&from=1&to=50&_status=4&_statusChangeDate=2015-03-02T10:43:42)
url. Check to put your rule before this one (you'll need to restart
GeoNetwork to take effect the change).

We've looked into the urlrewriter documentation and can find no reason
why this should be a problem.

Is this really the only way of dealing with the problem? Surely since we
have configured geonetwork to always use the classic interface (in
config-gui.xml) it should NEVER try and use the html5 interface anyhow?
This seems like a bug? Unless we are missing something in config-gui.xml?

The problem is that the DefaultStatusActions class has hardcoded to use
the html5ui for mail content, independently of the config-gui.xml

Thanks

Jo

Jo

On Tue, Mar 3, 2015 at 7:19 AM, Jose Garcia <jose.garcia@anonymised.com>
wrote:

Hi

Seem not directly configurable. If you can build the code, the fastest
is to set that flag to false in your case.

A generic option is to make it configurable in WEB-INF/config.xml, a
way to handle this can be the following.

1) The DefaultStatusActions in setup in the GeoNetwork class:

https://github.com/geonetwork/core-geonetwork/blob/2.10.x/web/src/main/webapp/WEB-INF/config.xml#L376

You can add a new parameter to the GeoNetwork class configuration in
WEB-INF/config.xml:

<param name="useHtml5ui" value="true"/>

2) Change the code in GeoNetwork class where is initialised the
DefaultStatusActions: to manage this new configuration and update the
property in DefaultStatusActions

https://github.com/geonetwork/core-geonetwork/blob/2.10.x/web/src/main/java/org/fao/geonet/Geonetwork.java#L179

Regards,
Jose García

On Mon, Mar 2, 2015 at 7:27 PM, Antony Scott <
antonyscott@anonymised.com> wrote:

Hi Jose

Just following up on the search URL issue Jo raised today - it seems
from this:

https://github.com/geonetwork/core-geonetwork/blob/2.10.x/web/src/main/java/org/fao/geonet/services/metadata/DefaultStatusActions.java#L310

that the html5ui param is set to true, which is why we are getting the
HTML5 UI rather than the classic one in the search results. Is there some
way we can set this to false? If not, we were looking at using the
urlrewrite.xml file, but would rather set the html5ui param to the correct
value if we can.

many thanks
Ant

On 2 March 2015 at 14:53, Jo Cook <jocook@anonymised.com> wrote:

Hi Jose,

Apologies, I have found and fixed that error. However, the link in the
emails goes to the search interface rather than the classic. What do I
need
to change (and where) to ensure that only the classic interface is
used?

Thanks

Jo

On Mon, Mar 2, 2015 at 2:43 PM, Jo Cook <jocook@anonymised.com>
wrote:

> Hi Jose,
>
> In catalina.out I can now see the following error:
>
> 2015-03-02 10:41:15,668 INFO [jeeves.service] - ->
transforming with
> stylesheet : /var/lib/tomcat6/webapps/geonetwork/xsl/search.xsl
> Error at xsl:call-template on line 26 column 61 of metadata-edit.xsl:
> XTSE0090: Attribute @select is not allowed on element
<xsl:call-template>
>
> Originally I had two of these errors, one for line 27 column 61, and
I
> have resolved that- but I can't see where the second example is.
Have you
> any pointers on where I should be looking?
>
> Jo
>
>
>
> On Mon, Mar 2, 2015 at 12:35 PM, Jose Garcia <jose.garcia@anonymised.com
>
> wrote:
>
>> Hi Jo
>>
>> All the printStackTrace() only go to the catalina.out or to the
console,
>> not to geonetwork.log. The messages logged with the logger classes
should
>> end in both places.
>>
>> Regards,
>> Jose García
>>
>>
>> On Mon, Mar 2, 2015 at 1:31 PM, Jo Cook <jocook@anonymised.com
>
>> wrote:
>>
>>> Hi Jose,
>>>
>>> Brilliant, thanks. I didn't even realise that catalina.out has
different
>>> messages in it compared to the geonetwork.log file, so I've learnt
>>> something new!
>>>
>>> Jo
>>>
>>> On Mon, Mar 2, 2015 at 12:25 PM, Jose Garcia <
jose.garcia@anonymised.com>
>>> wrote:
>>>
>>>> Hi Jo
>>>>
>>>> If using Tomcat, check in the catalina.out for
>>>> TransformerConfigurationException, usually contains the exact xslt
>>>> file and line where the error happens.
>>>>
>>>> I guess that can help to find the issue better.
>>>>
>>>> Regards,
>>>> Jose García
>>>>
>>>>
>>>> On Mon, Mar 2, 2015 at 1:10 PM, Jo Cook <
jocook@anonymised.com>
>>>> wrote:
>>>>
>>>>> Hi List,
>>>>>
>>>>> Our geonetwork instance (2.10.4, tomcat6) is successfully sending
>>>>> emails
>>>>> when the status of a record changes, but the URL leads to an
error
>>>>> message,
>>>>> and the log files are not helping me to understand where the
problem
>>>>> is.
>>>>> The URL is of the form
>>>>>
>>>>>
http://URL/geonetwork/srv/eng/search#fast=index&from=1&to=50&_status=4&_statusChangeDate=2015-03-02
>>>>>
>>>>> With debug switched on for searches in log4j.cfg I see the
following:
>>>>> 2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> exception
during
>>>>> transformation for : search
>>>>> 2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> (C)
stylesheet
>>>>> :
>>>>> /var/lib/tomcat6/webapps/geonetwork/xsl/search.xsl
>>>>> 2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> (C)
message
>>>>> :
>>>>> Failed to compile stylesheet. 2 errors detected.
>>>>> 2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> (C)
exception
>>>>> :
>>>>> TransformerConfigurationException
>>>>> 2015-03-02 12:07:19,908 DEBUG [jeeves.service] - Raised
exception while
>>>>> executing service
>>>>> <error id="error">
>>>>> <message>Failed to compile stylesheet. 2 errors
detected.</message>
>>>>> <class>TransformerConfigurationException</class>
>>>>> <stack>
>>>>> <at class="net.sf.saxon.PreparedStylesheet"
>>>>> file="PreparedStylesheet.java" line="176" method="prepare" />
>>>>> <at class="net.sf.saxon.TransformerFactoryImpl"
>>>>> file="TransformerFactoryImpl.java" line="139"
method="newTemplates" />
>>>>> <at
class="de.fzi.dbs.xml.transform.CachingTransformerFactory"
>>>>> file="CachingTransformerFactory.java" line="120"
>>>>> method="newTransformer" />
>>>>> <at
class="de.fzi.dbs.xml.transform.CachingTransformerFactory"
>>>>> file="CachingTransformerFactory.java" line="76"
>>>>> method="newTransformer" />
>>>>> <at class="jeeves.utils.Xml" file="Xml.java" line="520"
>>>>> method="transform" />
>>>>> <at class="jeeves.utils.Xml" file="Xml.java" line="418"
>>>>> method="transform" />
>>>>> <at class="jeeves.server.dispatchers.ServiceManager"
>>>>> file="ServiceManager.java" line="790" method="dispatchOutput" />
>>>>> <at class="jeeves.server.dispatchers.ServiceManager"
>>>>> file="ServiceManager.java" line="450" method="dispatch" />
>>>>> <at class="jeeves.server.dispatchers.ServiceManager"
>>>>> file="ServiceManager.java" line="362" method="dispatch" />
>>>>> <at class="jeeves.server.JeevesEngine"
file="JeevesEngine.java"
>>>>> line="811" method="dispatch" />
>>>>> <at class="jeeves.server.sources.http.JeevesServlet"
>>>>> file="JeevesServlet.java" line="216" method="execute" />
>>>>> <at class="jeeves.server.sources.http.JeevesServlet"
>>>>> file="JeevesServlet.java" line="115" method="doGet" />
>>>>> <skip>...</skip>
>>>>> <at class="org.fao.geonet.monitor.webapp.WebappMetricsFilter"
>>>>> file="WebappMetricsFilter.java" line="96" method="doFilter" />
>>>>> <skip>...</skip>
>>>>> <at
>>>>>
class="org.fao.geonet.monitor.webapp.MetricsRegistryInitializerFilter"
>>>>> file="MetricsRegistryInitializerFilter.java" line="31"
>>>>> method="doFilter" />
>>>>> <skip>...</skip>
>>>>> <at
>>>>>
class="jeeves.config.springutil.GeonetworkFilterSecurityInterceptor"
>>>>> file="GeonetworkFilterSecurityInterceptor.java" line="46"
>>>>> method="invoke" />
>>>>> <skip>...</skip>
>>>>> <at
>>>>>
class="jeeves.config.springutil.GeonetworkFilterSecurityInterceptor"
>>>>> file="GeonetworkFilterSecurityInterceptor.java" line="46"
>>>>> method="invoke" />
>>>>> <skip>...</skip>
>>>>> <at class="org.fao.geonet.kernel.security.PassthroughFilter"
>>>>> file="PassthroughFilter.java" line="26" method="doFilter" />
>>>>> <skip>...</skip>
>>>>> </stack>
>>>>> <request>
>>>>> <language>eng</language>
>>>>> <service>search</service>
>>>>> </request>
>>>>> <request>
>>>>> <tmp />
>>>>> <user>
>>>>> user
>>>>> <authenticated>true</authenticated>
>>>>> <name>admin</name>
>>>>> <username>admin</username>
>>>>> <profile>Administrator</profile>
>>>>> </user>
>>>>> </request>
>>>>> </error>
>>>>> 2015-03-02 12:07:19,908 INFO [jeeves.service] - ->
dispatching to
>>>>> error
>>>>> for : search
>>>>> 2015-03-02 12:07:19,961 INFO [jeeves] - Overrides being applied
to
>>>>> configuration file: .*/WEB-INF/config-gui.xml
>>>>> 2015-03-02 12:07:19,961 INFO [jeeves] - Replacing child xml
elements
>>>>> of
>>>>> languages
>>>>> 2015-03-02 12:07:19,961 DEBUG [jeeves] - New elements are:<toAdd>
>>>>> <eng />
>>>>> </toAdd>
>>>>> 2015-03-02 12:07:19,961 DEBUG [jeeves] - replacingXML of
>>>>> /config/languages
>>>>> 2015-03-02 12:07:19,961 INFO [jeeves] - Replacing child xml
elements
>>>>> of
>>>>> proj
>>>>> 2015-03-02 12:07:19,961 DEBUG [jeeves] - New elements are:<toAdd>
>>>>> <crs code="EPSG:4326" default="1" edit="1" />
>>>>> <crs code="EPSG:27700" edit="1" def="+proj=tmerc +lat_0=49
+lon_0=-2
>>>>> +k=0.9996012717 +x_0=400000 +y_0=-100000 +ellps=airy
+datum=OSGB36
>>>>> +units=m
>>>>> +no_defs " />
>>>>> </toAdd>
>>>>> 2015-03-02 12:07:19,961 INFO [jeeves] - Replacing attribute
options of
>>>>> node mapSearch
>>>>> 2015-03-02 12:07:19,961 DEBUG [jeeves] - New attribute
is:{projection:
>>>>> 'EPSG:27700', maxExtent: new
OpenLayers.Bounds(0,0,700000,1300000),
>>>>> units:
>>>>> 'm', restrictedExtent: new OpenLayers.Bounds(0,0,700000,1300000),
>>>>> resolutions: [1600,800,400,200,100,50,25,10,5,2.5,1,0.5,0.25]}
>>>>> 2015-03-02 12:07:19,961 DEBUG [jeeves] - Updating attibute of
node
>>>>> /config/mapSearch
>>>>> 2015-03-02 12:07:19,961 INFO [jeeves] - Replacing child xml
elements
>>>>> of
>>>>> mapSearch/layers
>>>>> 2015-03-02 12:07:19,962 DEBUG [jeeves] - New elements are:<toAdd>
>>>>> <layer server="
>>>>> http://t0.ads.astuntechnology.com/astuntechnology/osopen/service
"
>>>>> tocName="OS Open" params="{layers: 'osopen', format:
'image/png'}"
>>>>> options="{isBaseLayer: true}" />
>>>>> </toAdd>
>>>>> 2015-03-02 12:07:19,962 DEBUG [jeeves] - replacingXML of
>>>>> /config/mapSearch/layers
>>>>> 2015-03-02 12:07:19,962 INFO [jeeves] - Replacing attribute
options of
>>>>> node mapViewer
>>>>> 2015-03-02 12:07:19,962 DEBUG [jeeves] - New attribute
is:{projection:
>>>>> 'EPSG:27700', maxExtent: new
>>>>> OpenLayers.Bounds(-3276800,-3276800,3276800,3276800), units: 'm',
>>>>> restrictedExtent: new OpenLayers.Bounds(0,0,700000,1300000),
>>>>> resolutions:
>>>>> [3200,1600,800,400,200,100,50,25,10,5,2.5,1,0.5]}
>>>>> 2015-03-02 12:07:19,962 DEBUG [jeeves] - Updating attibute of
node
>>>>> /config/mapViewer
>>>>> 2015-03-02 12:07:19,962 INFO [jeeves] - Replacing child xml
elements
>>>>> of
>>>>> mapViewer
>>>>> 2015-03-02 12:07:19,962 DEBUG [jeeves] - New elements are:<toAdd>
>>>>> <layers>
>>>>> <layer server="
>>>>> http://t0.ads.astuntechnology.com/astuntechnology/osopen/service
"
>>>>> tocName="OS Open" params="{layers: 'oso2015-03-02 12:07:19,907
ERROR
>>>>> [jeeves.service] - -> exception during transformation for :
search
>>>>> 2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> (C)
stylesheet
>>>>> :
>>>>> /var/lib/tomcat6/webapps/geonetwork/xsl/search.xsl
>>>>> 2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> (C)
message
>>>>> :
>>>>> Failed to compile stylesheet. 2 errors detected.
>>>>> 2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> (C)
exception
>>>>> :
>>>>> TransformerConfigurationException
>>>>> 2015-03-02 12:07:19,908 DEBUG [jeeves.service] - Raised
exception while
>>>>> executing service
>>>>> <error id="error">
>>>>> <message>Failed to compile stylesheet. 2 errors
detected.</message>
>>>>> <class>TransformerConfigurationException</class>
>>>>> <stack>
>>>>> <at class="net.sf.saxon.PreparedStylesheet"
>>>>> file="PreparedStylesheet.java" line="176" method="prepare" />
>>>>> <at class="net.sf.saxon.TransformerFactoryImpl"
>>>>> file="TransformerFactoryImpl.java" line="139"
method="newTemplates" />
>>>>> <at
class="de.fzi.dbs.xml.transform.CachingTransformerFactory"
>>>>> file="CachingTransformerFactory.java" line="120"
>>>>> method="newTransformer" />
>>>>> <at
class="de.fzi.dbs.xml.transform.CachingTransformerFactory"
>>>>> file="CachingTransformerFactory.java" line="76"
>>>>> method="newTransformer" />
>>>>> <at class="jeeves.utils.Xml" file="Xml.java" line="520"
>>>>> method="transform" />
>>>>> <at class="jeeves.utils.Xml" file="Xml.java" line="418"
>>>>> method="transform" />
>>>>> <at class="jeeves.server.dispatchers.ServiceManager"
>>>>> file="ServiceManager.java" line="790" method="dispatchOutput" />
>>>>> <at class="jeeves.server.dispatchers.ServiceManager"
>>>>> file="ServiceManager.java" line="450" method="dispatch" />
>>>>> <at class="jeeves.server.dispatchers.ServiceManager"
>>>>> file="ServiceManager.java" line="362" method="dispatch" />
>>>>> <at class="jeeves.server.JeevesEngine"
file="JeevesEngine.java"
>>>>> line="811" method="dispatch" />
>>>>> <at class="jeeves.server.sources.http.JeevesServlet"
>>>>> file="JeevesServlet.java" line="216" method="execute" />
>>>>> <at class="jeeves.server.sources.http.JeevesServlet"
>>>>> file="JeevesServlet.java" line="115" method="doGet" />
>>>>> <skip>...</skip>
>>>>> <at class="org.fao.geonet.monitor.webapp.WebappMetricsFilter"
>>>>> file="WebappMetricsFilter.java" line="96" method="doFilter" />
>>>>> <skip>...</skip>
>>>>> <at
>>>>>
class="org.fao.geonet.monitor.webapp.MetricsRegistryInitializerFilter"
>>>>> file="MetricsRegistryInitializerFilter.java" line="31"
>>>>> method="doFilter" />
>>>>> <skip>...</skip>
>>>>> <at
>>>>>
class="jeeves.config.springutil.GeonetworkFilterSecurityInterceptor"
>>>>> file="GeonetworkFilterSecurityInterceptor.java" line="46"
>>>>> method="invoke" />
>>>>> <skip>...</skip>
>>>>> <at
>>>>>
class="jeeves.config.springutil.GeonetworkFilterSecurityInterceptor"
>>>>> file="GeonetworkFilterSecurityInterceptor.java" line="46"
>>>>> method="invoke" />
>>>>> <skip>...</skip>
>>>>> <at class="org.fao.geonet.kernel.security.PassthroughFilter"
>>>>> file="PassthroughFilter.java" line="26" method="doFilter" />
>>>>> <skip>...</skip>
>>>>> </stack>
>>>>> <request>
>>>>> <language>eng</language>
>>>>> <service>search</service>
>>>>> </request>
>>>>> <request>
>>>>> <tmp />
>>>>> <user>
>>>>> user
>>>>> <authenticated>true</authenticated>
>>>>> <name>admin</name>
>>>>> <username>admin</username>
>>>>> <profile>Administrator</profile>
>>>>> </user>
>>>>> </request>
>>>>> </error>
>>>>> 2015-03-02 12:07:19,908 INFO [jeeves.service] - ->
dispatching to
>>>>> error
>>>>> for : search
>>>>> 2015-03-02 12:07:19,961 INFO [jeeves] - Overrides being applied
to
>>>>> configuration file: .*/WEB-INF/config-gui.xml
>>>>> 2015-03-02 12:07:19,961 INFO [jeeves] - Replacing child xml
elements
>>>>> of
>>>>> languages
>>>>> 2015-03-02 12:07:19,961 DEBUG [jeeves] - New elements are:<toAdd>
>>>>> <eng />
>>>>> </toAdd>
>>>>> 2015-03-02 12:07:19,961 DEBUG [jeeves] - replacingXML of
>>>>> /config/languages
>>>>> 2015-03-02 12:07:19,961 INFO [jeeves] - Replacing child xml
elements
>>>>> of
>>>>> proj
>>>>> 2015-03-02 12:07:19,961 DEBUG [jeeves] - New elements are:<toAdd>
>>>>> <crs code="EPSG:4326" default="1" edit="1" />
>>>>> <crs code="EPSG:27700" edit="1" def="+proj=tmerc +lat_0=49
+lon_0=-2
>>>>> +k=0.9996012717 +x_0=400000 +y_0=-100000 +ellps=airy
+datum=OSGB36
>>>>> +units=m
>>>>> +no_defs " />
>>>>> </toAdd>
>>>>> 2015-03-02 12:07:19,961 INFO [jeeves] - Replacing attribute
options of
>>>>> node mapSearch
>>>>> 2015-03-02 12:07:19,961 DEBUG [jeeves] - New attribute
is:{projection:
>>>>> 'EPSG:27700', maxExtent: new
OpenLayers.Bounds(0,0,700000,1300000),
>>>>> units:
>>>>> 'm', restrictedExtent: new OpenLayers.Bounds(0,0,700000,1300000),
>>>>> resolutions: [1600,800,400,200,100,50,25,10,5,2.5,1,0.5,0.25]}
>>>>> 2015-03-02 12:07:19,961 DEBUG [jeeves] - Updating attibute of
node
>>>>> /config/mapSearch
>>>>> 2015-03-02 12:07:19,961 INFO [jeeves] - Replacing child xml
elements
>>>>> of
>>>>> mapSearch/layers
>>>>> 2015-03-02 12:07:19,962 DEBUG [jeeves] - New elements are:<toAdd>
>>>>> <layer server="
>>>>> http://t0.ads.astuntechnology.com/astuntechnology/osopen/service
"
>>>>> tocName="OS Open" params="{layers: 'osopen', format:
'image/png'}"
>>>>> options="{isBaseLayer: true}" />
>>>>> </toAdd>
>>>>> 2015-03-02 12:07:19,962 DEBUG [jeeves] - replacingXML of
>>>>> /config/mapSearch/layers
>>>>> 2015-03-02 12:07:19,962 INFO [jeeves] - Replacing attribute
options of
>>>>> node mapViewer
>>>>> 2015-03-02 12:07:19,962 DEBUG [jeeves] - New attribute
is:{projection:
>>>>> 'EPSG:27700', maxExtent: new
>>>>> OpenLayers.Bounds(-3276800,-3276800,3276800,3276800), units: 'm',
>>>>> restrictedExtent: new OpenLayers.Bounds(0,0,700000,1300000),
>>>>> resolutions:
>>>>> [3200,1600,800,400,200,100,50,25,10,5,2.5,1,0.5]}
>>>>> 2015-03-02 12:07:19,962 DEBUG [jeeves] - Updating attibute of
node
>>>>> /config/mapViewer
>>>>> 2015-03-02 12:07:19,962 INFO [jeeves] - Replacing child xml
elements
>>>>> of
>>>>> mapViewer
>>>>> 2015-03-02 12:07:19,962 DEBUG [jeeves] - New elements are:<toAdd>
>>>>> <layers>
>>>>> <layer server="
>>>>> http://t0.ads.astuntechnology.com/astuntechnology/osopen/service
"
>>>>> tocName="OS Open" params="{layers: 'osopen', format:
'image/png'}"
>>>>> options="{isBaseLayer: true}" />
>>>>> </layers>
>>>>> <scales values="" />
>>>>> <proj>
>>>>> <crs code="EPSG:27700" default="1" name="BNG" />
>>>>> </proj>
>>>>> <servers>
>>>>> <server name="ADS" url="
>>>>> http://t0.ads.astuntechnology.com/astuntechnology/osopen/service?&quot;
/>
>>>>> </servers>
>>>>> </toAdd>
>>>>> 2015-03-02 12:07:19,962 DEBUG [jeeves] - replacingXML of
>>>>> /config/mapViewer
>>>>> 2015-03-02 12:07:19,963 INFO [jeeves.service] - ->
transforming
>>>>> with
>>>>> stylesheet : /var/lib/tomcat6/webapps/geonetwork/xsl/error.xsl
>>>>> 2015-03-02 12:07:19,988 INFO [jeeves.service] - -> end
error
>>>>> transformation for : search
>>>>> 2015-03-02 12:07:19,988 INFO [jeeves.service] - -> error
ended for
>>>>> :
>>>>> search
>>>>> pen', format: 'image/png'}" options="{isBaseLayer: true}" />
>>>>> </layers>
>>>>> <scales values="" />
>>>>> <proj>
>>>>> <crs code="EPSG:27700" default="1" name="BNG" />
>>>>> </proj>
>>>>> <servers>
>>>>> <server name="ADS" url="
>>>>> http://t0.ads.astuntechnology.com/astuntechnology/osopen/service?&quot;
/>
>>>>> </servers>
>>>>> </toAdd>
>>>>> 2015-03-02 12:07:19,962 DEBUG [jeeves] - replacingXML of
>>>>> /config/mapViewer
>>>>> 2015-03-02 12:07:19,963 INFO [jeeves.service] - ->
transforming
>>>>> with
>>>>> stylesheet : /var/lib/tomcat6/webapps/geonetwork/xsl/error.xsl
>>>>> 2015-03-02 12:07:19,988 INFO [jeeves.service] - -> end
error
>>>>> transformation for : search
>>>>> 2015-03-02 12:07:19,988 INFO [jeeves.service] - -> error
ended for
>>>>> :
>>>>> search
>>>>>
>>>>> I can see that there are two errors detected but I don't know
where to
>>>>> start looking for the solution. Can anyone assist?
>>>>>
>>>>> Thanks
>>>>>
>>>>> Jo
>>>>> --
>>>>> *Jo Cook*
>>>>> Astun Technology Ltd, The Coach House, 17 West Street, Epsom,
Surrey,
>>>>> KT18
>>>>> 7RL, UK
>>>>> t:+44 7930 524 155
>>>>> iShare - Data integration and publishing platform
>>>>> <http://www.isharemaps.com/&gt;
>>>>>
>>>>> *****************************************
>>>>>
>>>>> Company registration no. 5410695. Registered in England and
Wales.
>>>>> Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN
VAT
>>>>> no.
>>>>> 864201149.
>>>>>
>>>>>
------------------------------------------------------------------------------
>>>>> Dive into the World of Parallel Programming The Go Parallel
Website,
>>>>> sponsored
>>>>> by Intel and developed in partnership with Slashdot Media, is
your hub
>>>>> for all
>>>>> things parallel software development, from weekly thought
leadership
>>>>> blogs to
>>>>> news, videos, case studies, tutorials and more. Take a look and
join
>>>>> the
>>>>> conversation now. http://goparallel.sourceforge.net/
>>>>> _______________________________________________
>>>>> GeoNetwork-users mailing list
>>>>> GeoNetwork-users@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/geonetwork-users
>>>>> GeoNetwork OpenSource is maintained at
>>>>> http://sourceforge.net/projects/geonetwork
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> *GeoCat Bridge for ArcGIS allows instant publishing of data and
>>>> metadata on GeoServer and GeoNetwork. Visit http://geocat.net
>>>> <http://geocat.net/&gt; for details. _________________________Jose
>>>> GarcíaGeoCat bvVeenderweg 136721 WD BennekomThe
>>>> Netherlandshttp://GeoCat.net/>*
>>>>
>>>
>>>
>>>
>>> --
>>> *Jo Cook*
>>> Astun Technology Ltd, The Coach House, 17 West Street, Epsom,
Surrey,
>>> KT18 7RL, UK
>>> t:+44 7930 524 155
>>> iShare - Data integration and publishing platform
>>> <http://www.isharemaps.com/&gt;
>>>
>>> *****************************************
>>>
>>> Company registration no. 5410695. Registered in England and Wales.
>>> Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN
VAT no.
>>> 864201149.
>>>
>>
>>
>>
>> --
>>
>> *GeoCat Bridge for ArcGIS allows instant publishing of data and
metadata
>> on GeoServer and GeoNetwork. Visit http://geocat.net
>> <http://geocat.net/&gt; for details. _________________________Jose
>> GarcíaGeoCat bvVeenderweg 136721 WD BennekomThe
>> Netherlandshttp://GeoCat.net/>*

>>
>
>
>
> --
> *Jo Cook*
> Astun Technology Ltd, The Coach House, 17 West Street, Epsom,
Surrey, KT18
> 7RL, UK
> t:+44 7930 524 155
> iShare - Data integration and publishing platform
> <http://www.isharemaps.com/&gt;
>
> *****************************************
>
> Company registration no. 5410695. Registered in England and Wales.
> Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT
no.
> 864201149.
>

--
*Jo Cook*
Astun Technology Ltd, The Coach House, 17 West Street, Epsom, Surrey,
KT18
7RL, UK
t:+44 7930 524 155
iShare - Data integration and publishing platform
<http://www.isharemaps.com/&gt;

*****************************************

Company registration no. 5410695. Registered in England and Wales.
Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT
no.
864201149.

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website,
sponsored
by Intel and developed in partnership with Slashdot Media, is your hub
for all
things parallel software development, from weekly thought leadership
blogs to
news, videos, case studies, tutorials and more. Take a look and join
the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--
*Antony Scott*
Astun Technology Ltd, The Coach House, 17 West Street, Epsom, Surrey,
KT18 7RL, UK
t:+44 7866 455 515
iShare - Data integration and publishing platform
<http://www.isharemaps.com/&gt;

*****************************************

Company registration no. 5410695. Registered in England and Wales.
Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT no.
864201149.

--

*GeoCat Bridge for ArcGIS allows instant publishing of data and metadata
on GeoServer and GeoNetwork. Visit http://geocat.net
<http://geocat.net/&gt; for details. _________________________Jose
GarcíaGeoCat bvVeenderweg 136721 WD BennekomThe
Netherlandshttp://GeoCat.net/>*

--
*Jo Cook*
Astun Technology Ltd, The Coach House, 17 West Street, Epsom, Surrey,
KT18 7RL, UK
t:+44 7930 524 155
iShare - Data integration and publishing platform
<http://www.isharemaps.com/&gt;

*****************************************

Company registration no. 5410695. Registered in England and Wales.
Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT no.
864201149.

--

*GeoCat Bridge for ArcGIS allows instant publishing of data and metadata
on GeoServer and GeoNetwork. Visit http://geocat.net
<http://geocat.net/&gt; for details. _________________________Jose
GarcíaGeoCat bvVeenderweg 136721 WD BennekomThe
Netherlandshttp://GeoCat.net/>*

--
*Jo Cook*
Astun Technology Ltd, The Coach House, 17 West Street, Epsom, Surrey, KT18
7RL, UK
t:+44 7930 524 155
iShare - Data integration and publishing platform
<http://www.isharemaps.com/&gt;

*****************************************

Company registration no. 5410695. Registered in England and Wales.
Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT no.
864201149.

Hi Jose,

Doing some more research into this, we are wondering if it's because the
'#' tag is treated as a bookmark link? Looking at other url rewrite options
seems to suggest that the only way around this is to use javascript or
similar.

I'm going to submit a bug about this because it's a big problem for us, and
if we have to compile geonetwork for our client we will need to make sure
we do it for every upgrade in future as well.

Thanks

Jo

On Fri, Mar 6, 2015 at 9:25 AM, Jo Cook <jocook@anonymised.com> wrote:

Hi Jose,

Our rule is the first in the list, and we have set the config in web.xml
so that urlrewriter is checked every time, but we've been restarting
geonetwork anyway.

I would like to understand how the logging for urlrewriter works- I have
set it to sysout:DEBUG in web.xml, which I thought would send it to
catalina.out but nothing is logged for urlrewriter.

Thanks

Jo

On Fri, Mar 6, 2015 at 8:00 AM, Jose Garcia <jose.garcia@anonymised.com>
wrote:

Hi Jo

See comments inline.

Regards,
Jose García

On Thu, Mar 5, 2015 at 12:53 PM, Jo Cook <jocook@anonymised.com>
wrote:

Hi Jose,

We're not really in a position to build the code, so we're trying to get
around this issue with the search URL using URLRewrite.xml. Unfortunately
this seems to be having problems with the "#" sign in the URL, which we
need to remove so we can switch from

/srv/en/search#fast=index&from=1&to=50&_status=4&_statusChangeDate=2015-03-02T10:43:42
to

/srv/eng/main.search?from=1&to=50&_status=4&_statusChangeDate=2015-03-02T10:43:42

We've tried loads of different rules but this one looks like it should
work, but it doesn't (whether or not we use & or &amp;):
<rule>
                <from>^(.*)/en/search#fast=index&amp;(.*)$</from>
                <to type="permanent-redirect"
last="true">%{context-path}$1/eng/main.search?$2</to>
</rule>

If we take out the #fast=index section then the rule fires but it
returns all metadata rather than the search results.

In the urlrewrite.xml there's a rule at the top to fix the language codes
from old GeoNetwork versions:

    <rule>
        <from>^(.*)/en/(.*)$</from>
        <to type="permanent-redirect"
last="true">%{context-path}$1/eng/$2</to>
    </rule>

I think can matching the
(/srv/en/search#fast=index&from=1&to=50&_status=4&_statusChangeDate=2015-03-02T10:43:42)
url. Check to put your rule before this one (you'll need to restart
GeoNetwork to take effect the change).

We've looked into the urlrewriter documentation and can find no reason
why this should be a problem.

Is this really the only way of dealing with the problem? Surely since we
have configured geonetwork to always use the classic interface (in
config-gui.xml) it should NEVER try and use the html5 interface anyhow?
This seems like a bug? Unless we are missing something in config-gui.xml?

The problem is that the DefaultStatusActions class has hardcoded to use
the html5ui for mail content, independently of the config-gui.xml

Thanks

Jo

Jo

On Tue, Mar 3, 2015 at 7:19 AM, Jose Garcia <jose.garcia@anonymised.com>
wrote:

Hi

Seem not directly configurable. If you can build the code, the fastest
is to set that flag to false in your case.

A generic option is to make it configurable in WEB-INF/config.xml, a
way to handle this can be the following.

1) The DefaultStatusActions in setup in the GeoNetwork class:

https://github.com/geonetwork/core-geonetwork/blob/2.10.x/web/src/main/webapp/WEB-INF/config.xml#L376

You can add a new parameter to the GeoNetwork class configuration in
WEB-INF/config.xml:

<param name="useHtml5ui" value="true"/>

2) Change the code in GeoNetwork class where is initialised the
DefaultStatusActions: to manage this new configuration and update the
property in DefaultStatusActions

https://github.com/geonetwork/core-geonetwork/blob/2.10.x/web/src/main/java/org/fao/geonet/Geonetwork.java#L179

Regards,
Jose García

On Mon, Mar 2, 2015 at 7:27 PM, Antony Scott <
antonyscott@anonymised.com> wrote:

Hi Jose

Just following up on the search URL issue Jo raised today - it seems
from this:

https://github.com/geonetwork/core-geonetwork/blob/2.10.x/web/src/main/java/org/fao/geonet/services/metadata/DefaultStatusActions.java#L310

that the html5ui param is set to true, which is why we are getting the
HTML5 UI rather than the classic one in the search results. Is there some
way we can set this to false? If not, we were looking at using the
urlrewrite.xml file, but would rather set the html5ui param to the correct
value if we can.

many thanks
Ant

On 2 March 2015 at 14:53, Jo Cook <jocook@anonymised.com> wrote:

Hi Jose,

Apologies, I have found and fixed that error. However, the link in the
emails goes to the search interface rather than the classic. What do
I need
to change (and where) to ensure that only the classic interface is
used?

Thanks

Jo

On Mon, Mar 2, 2015 at 2:43 PM, Jo Cook <jocook@anonymised.com>
wrote:

> Hi Jose,
>
> In catalina.out I can now see the following error:
>
> 2015-03-02 10:41:15,668 INFO [jeeves.service] - ->
transforming with
> stylesheet : /var/lib/tomcat6/webapps/geonetwork/xsl/search.xsl
> Error at xsl:call-template on line 26 column 61 of
metadata-edit.xsl:
> XTSE0090: Attribute @select is not allowed on element
<xsl:call-template>
>
> Originally I had two of these errors, one for line 27 column 61,
and I
> have resolved that- but I can't see where the second example is.
Have you
> any pointers on where I should be looking?
>
> Jo
>
>
>
> On Mon, Mar 2, 2015 at 12:35 PM, Jose Garcia <
jose.garcia@anonymised.com>
> wrote:
>
>> Hi Jo
>>
>> All the printStackTrace() only go to the catalina.out or to the
console,
>> not to geonetwork.log. The messages logged with the logger classes
should
>> end in both places.
>>
>> Regards,
>> Jose García
>>
>>
>> On Mon, Mar 2, 2015 at 1:31 PM, Jo Cook <
jocook@anonymised.com>
>> wrote:
>>
>>> Hi Jose,
>>>
>>> Brilliant, thanks. I didn't even realise that catalina.out has
different
>>> messages in it compared to the geonetwork.log file, so I've learnt
>>> something new!
>>>
>>> Jo
>>>
>>> On Mon, Mar 2, 2015 at 12:25 PM, Jose Garcia <
jose.garcia@anonymised.com>
>>> wrote:
>>>
>>>> Hi Jo
>>>>
>>>> If using Tomcat, check in the catalina.out for
>>>> TransformerConfigurationException, usually contains the exact
xslt
>>>> file and line where the error happens.
>>>>
>>>> I guess that can help to find the issue better.
>>>>
>>>> Regards,
>>>> Jose García
>>>>
>>>>
>>>> On Mon, Mar 2, 2015 at 1:10 PM, Jo Cook <
jocook@anonymised.com>
>>>> wrote:
>>>>
>>>>> Hi List,
>>>>>
>>>>> Our geonetwork instance (2.10.4, tomcat6) is successfully
sending
>>>>> emails
>>>>> when the status of a record changes, but the URL leads to an
error
>>>>> message,
>>>>> and the log files are not helping me to understand where the
problem
>>>>> is.
>>>>> The URL is of the form
>>>>>
>>>>>
http://URL/geonetwork/srv/eng/search#fast=index&from=1&to=50&_status=4&_statusChangeDate=2015-03-02
>>>>>
>>>>> With debug switched on for searches in log4j.cfg I see the
following:
>>>>> 2015-03-02 12:07:19,907 ERROR [jeeves.service] - ->
exception during
>>>>> transformation for : search
>>>>> 2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> (C)
stylesheet
>>>>> :
>>>>> /var/lib/tomcat6/webapps/geonetwork/xsl/search.xsl
>>>>> 2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> (C)
message
>>>>> :
>>>>> Failed to compile stylesheet. 2 errors detected.
>>>>> 2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> (C)
exception
>>>>> :
>>>>> TransformerConfigurationException
>>>>> 2015-03-02 12:07:19,908 DEBUG [jeeves.service] - Raised
exception while
>>>>> executing service
>>>>> <error id="error">
>>>>> <message>Failed to compile stylesheet. 2 errors
detected.</message>
>>>>> <class>TransformerConfigurationException</class>
>>>>> <stack>
>>>>> <at class="net.sf.saxon.PreparedStylesheet"
>>>>> file="PreparedStylesheet.java" line="176" method="prepare" />
>>>>> <at class="net.sf.saxon.TransformerFactoryImpl"
>>>>> file="TransformerFactoryImpl.java" line="139"
method="newTemplates" />
>>>>> <at
class="de.fzi.dbs.xml.transform.CachingTransformerFactory"
>>>>> file="CachingTransformerFactory.java" line="120"
>>>>> method="newTransformer" />
>>>>> <at
class="de.fzi.dbs.xml.transform.CachingTransformerFactory"
>>>>> file="CachingTransformerFactory.java" line="76"
>>>>> method="newTransformer" />
>>>>> <at class="jeeves.utils.Xml" file="Xml.java" line="520"
>>>>> method="transform" />
>>>>> <at class="jeeves.utils.Xml" file="Xml.java" line="418"
>>>>> method="transform" />
>>>>> <at class="jeeves.server.dispatchers.ServiceManager"
>>>>> file="ServiceManager.java" line="790" method="dispatchOutput" />
>>>>> <at class="jeeves.server.dispatchers.ServiceManager"
>>>>> file="ServiceManager.java" line="450" method="dispatch" />
>>>>> <at class="jeeves.server.dispatchers.ServiceManager"
>>>>> file="ServiceManager.java" line="362" method="dispatch" />
>>>>> <at class="jeeves.server.JeevesEngine"
file="JeevesEngine.java"
>>>>> line="811" method="dispatch" />
>>>>> <at class="jeeves.server.sources.http.JeevesServlet"
>>>>> file="JeevesServlet.java" line="216" method="execute" />
>>>>> <at class="jeeves.server.sources.http.JeevesServlet"
>>>>> file="JeevesServlet.java" line="115" method="doGet" />
>>>>> <skip>...</skip>
>>>>> <at
class="org.fao.geonet.monitor.webapp.WebappMetricsFilter"
>>>>> file="WebappMetricsFilter.java" line="96" method="doFilter" />
>>>>> <skip>...</skip>
>>>>> <at
>>>>>
class="org.fao.geonet.monitor.webapp.MetricsRegistryInitializerFilter"
>>>>> file="MetricsRegistryInitializerFilter.java" line="31"
>>>>> method="doFilter" />
>>>>> <skip>...</skip>
>>>>> <at
>>>>>
class="jeeves.config.springutil.GeonetworkFilterSecurityInterceptor"
>>>>> file="GeonetworkFilterSecurityInterceptor.java" line="46"
>>>>> method="invoke" />
>>>>> <skip>...</skip>
>>>>> <at
>>>>>
class="jeeves.config.springutil.GeonetworkFilterSecurityInterceptor"
>>>>> file="GeonetworkFilterSecurityInterceptor.java" line="46"
>>>>> method="invoke" />
>>>>> <skip>...</skip>
>>>>> <at class="org.fao.geonet.kernel.security.PassthroughFilter"
>>>>> file="PassthroughFilter.java" line="26" method="doFilter" />
>>>>> <skip>...</skip>
>>>>> </stack>
>>>>> <request>
>>>>> <language>eng</language>
>>>>> <service>search</service>
>>>>> </request>
>>>>> <request>
>>>>> <tmp />
>>>>> <user>
>>>>> user
>>>>> <authenticated>true</authenticated>
>>>>> <name>admin</name>
>>>>> <username>admin</username>
>>>>> <profile>Administrator</profile>
>>>>> </user>
>>>>> </request>
>>>>> </error>
>>>>> 2015-03-02 12:07:19,908 INFO [jeeves.service] - ->
dispatching to
>>>>> error
>>>>> for : search
>>>>> 2015-03-02 12:07:19,961 INFO [jeeves] - Overrides being
applied to
>>>>> configuration file: .*/WEB-INF/config-gui.xml
>>>>> 2015-03-02 12:07:19,961 INFO [jeeves] - Replacing child xml
elements
>>>>> of
>>>>> languages
>>>>> 2015-03-02 12:07:19,961 DEBUG [jeeves] - New elements
are:<toAdd>
>>>>> <eng />
>>>>> </toAdd>
>>>>> 2015-03-02 12:07:19,961 DEBUG [jeeves] - replacingXML of
>>>>> /config/languages
>>>>> 2015-03-02 12:07:19,961 INFO [jeeves] - Replacing child xml
elements
>>>>> of
>>>>> proj
>>>>> 2015-03-02 12:07:19,961 DEBUG [jeeves] - New elements
are:<toAdd>
>>>>> <crs code="EPSG:4326" default="1" edit="1" />
>>>>> <crs code="EPSG:27700" edit="1" def="+proj=tmerc +lat_0=49
+lon_0=-2
>>>>> +k=0.9996012717 +x_0=400000 +y_0=-100000 +ellps=airy
+datum=OSGB36
>>>>> +units=m
>>>>> +no_defs " />
>>>>> </toAdd>
>>>>> 2015-03-02 12:07:19,961 INFO [jeeves] - Replacing attribute
options of
>>>>> node mapSearch
>>>>> 2015-03-02 12:07:19,961 DEBUG [jeeves] - New attribute
is:{projection:
>>>>> 'EPSG:27700', maxExtent: new
OpenLayers.Bounds(0,0,700000,1300000),
>>>>> units:
>>>>> 'm', restrictedExtent: new
OpenLayers.Bounds(0,0,700000,1300000),
>>>>> resolutions: [1600,800,400,200,100,50,25,10,5,2.5,1,0.5,0.25]}
>>>>> 2015-03-02 12:07:19,961 DEBUG [jeeves] - Updating attibute of
node
>>>>> /config/mapSearch
>>>>> 2015-03-02 12:07:19,961 INFO [jeeves] - Replacing child xml
elements
>>>>> of
>>>>> mapSearch/layers
>>>>> 2015-03-02 12:07:19,962 DEBUG [jeeves] - New elements
are:<toAdd>
>>>>> <layer server="
>>>>>
http://t0.ads.astuntechnology.com/astuntechnology/osopen/service&quot;
>>>>> tocName="OS Open" params="{layers: 'osopen', format:
'image/png'}"
>>>>> options="{isBaseLayer: true}" />
>>>>> </toAdd>
>>>>> 2015-03-02 12:07:19,962 DEBUG [jeeves] - replacingXML of
>>>>> /config/mapSearch/layers
>>>>> 2015-03-02 12:07:19,962 INFO [jeeves] - Replacing attribute
options of
>>>>> node mapViewer
>>>>> 2015-03-02 12:07:19,962 DEBUG [jeeves] - New attribute
is:{projection:
>>>>> 'EPSG:27700', maxExtent: new
>>>>> OpenLayers.Bounds(-3276800,-3276800,3276800,3276800), units:
'm',
>>>>> restrictedExtent: new OpenLayers.Bounds(0,0,700000,1300000),
>>>>> resolutions:
>>>>> [3200,1600,800,400,200,100,50,25,10,5,2.5,1,0.5]}
>>>>> 2015-03-02 12:07:19,962 DEBUG [jeeves] - Updating attibute of
node
>>>>> /config/mapViewer
>>>>> 2015-03-02 12:07:19,962 INFO [jeeves] - Replacing child xml
elements
>>>>> of
>>>>> mapViewer
>>>>> 2015-03-02 12:07:19,962 DEBUG [jeeves] - New elements
are:<toAdd>
>>>>> <layers>
>>>>> <layer server="
>>>>>
http://t0.ads.astuntechnology.com/astuntechnology/osopen/service&quot;
>>>>> tocName="OS Open" params="{layers: 'oso2015-03-02 12:07:19,907
ERROR
>>>>> [jeeves.service] - -> exception during transformation for :
search
>>>>> 2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> (C)
stylesheet
>>>>> :
>>>>> /var/lib/tomcat6/webapps/geonetwork/xsl/search.xsl
>>>>> 2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> (C)
message
>>>>> :
>>>>> Failed to compile stylesheet. 2 errors detected.
>>>>> 2015-03-02 12:07:19,907 ERROR [jeeves.service] - -> (C)
exception
>>>>> :
>>>>> TransformerConfigurationException
>>>>> 2015-03-02 12:07:19,908 DEBUG [jeeves.service] - Raised
exception while
>>>>> executing service
>>>>> <error id="error">
>>>>> <message>Failed to compile stylesheet. 2 errors
detected.</message>
>>>>> <class>TransformerConfigurationException</class>
>>>>> <stack>
>>>>> <at class="net.sf.saxon.PreparedStylesheet"
>>>>> file="PreparedStylesheet.java" line="176" method="prepare" />
>>>>> <at class="net.sf.saxon.TransformerFactoryImpl"
>>>>> file="TransformerFactoryImpl.java" line="139"
method="newTemplates" />
>>>>> <at
class="de.fzi.dbs.xml.transform.CachingTransformerFactory"
>>>>> file="CachingTransformerFactory.java" line="120"
>>>>> method="newTransformer" />
>>>>> <at
class="de.fzi.dbs.xml.transform.CachingTransformerFactory"
>>>>> file="CachingTransformerFactory.java" line="76"
>>>>> method="newTransformer" />
>>>>> <at class="jeeves.utils.Xml" file="Xml.java" line="520"
>>>>> method="transform" />
>>>>> <at class="jeeves.utils.Xml" file="Xml.java" line="418"
>>>>> method="transform" />
>>>>> <at class="jeeves.server.dispatchers.ServiceManager"
>>>>> file="ServiceManager.java" line="790" method="dispatchOutput" />
>>>>> <at class="jeeves.server.dispatchers.ServiceManager"
>>>>> file="ServiceManager.java" line="450" method="dispatch" />
>>>>> <at class="jeeves.server.dispatchers.ServiceManager"
>>>>> file="ServiceManager.java" line="362" method="dispatch" />
>>>>> <at class="jeeves.server.JeevesEngine"
file="JeevesEngine.java"
>>>>> line="811" method="dispatch" />
>>>>> <at class="jeeves.server.sources.http.JeevesServlet"
>>>>> file="JeevesServlet.java" line="216" method="execute" />
>>>>> <at class="jeeves.server.sources.http.JeevesServlet"
>>>>> file="JeevesServlet.java" line="115" method="doGet" />
>>>>> <skip>...</skip>
>>>>> <at
class="org.fao.geonet.monitor.webapp.WebappMetricsFilter"
>>>>> file="WebappMetricsFilter.java" line="96" method="doFilter" />
>>>>> <skip>...</skip>
>>>>> <at
>>>>>
class="org.fao.geonet.monitor.webapp.MetricsRegistryInitializerFilter"
>>>>> file="MetricsRegistryInitializerFilter.java" line="31"
>>>>> method="doFilter" />
>>>>> <skip>...</skip>
>>>>> <at
>>>>>
class="jeeves.config.springutil.GeonetworkFilterSecurityInterceptor"
>>>>> file="GeonetworkFilterSecurityInterceptor.java" line="46"
>>>>> method="invoke" />
>>>>> <skip>...</skip>
>>>>> <at
>>>>>
class="jeeves.config.springutil.GeonetworkFilterSecurityInterceptor"
>>>>> file="GeonetworkFilterSecurityInterceptor.java" line="46"
>>>>> method="invoke" />
>>>>> <skip>...</skip>
>>>>> <at class="org.fao.geonet.kernel.security.PassthroughFilter"
>>>>> file="PassthroughFilter.java" line="26" method="doFilter" />
>>>>> <skip>...</skip>
>>>>> </stack>
>>>>> <request>
>>>>> <language>eng</language>
>>>>> <service>search</service>
>>>>> </request>
>>>>> <request>
>>>>> <tmp />
>>>>> <user>
>>>>> user
>>>>> <authenticated>true</authenticated>
>>>>> <name>admin</name>
>>>>> <username>admin</username>
>>>>> <profile>Administrator</profile>
>>>>> </user>
>>>>> </request>
>>>>> </error>
>>>>> 2015-03-02 12:07:19,908 INFO [jeeves.service] - ->
dispatching to
>>>>> error
>>>>> for : search
>>>>> 2015-03-02 12:07:19,961 INFO [jeeves] - Overrides being
applied to
>>>>> configuration file: .*/WEB-INF/config-gui.xml
>>>>> 2015-03-02 12:07:19,961 INFO [jeeves] - Replacing child xml
elements
>>>>> of
>>>>> languages
>>>>> 2015-03-02 12:07:19,961 DEBUG [jeeves] - New elements
are:<toAdd>
>>>>> <eng />
>>>>> </toAdd>
>>>>> 2015-03-02 12:07:19,961 DEBUG [jeeves] - replacingXML of
>>>>> /config/languages
>>>>> 2015-03-02 12:07:19,961 INFO [jeeves] - Replacing child xml
elements
>>>>> of
>>>>> proj
>>>>> 2015-03-02 12:07:19,961 DEBUG [jeeves] - New elements
are:<toAdd>
>>>>> <crs code="EPSG:4326" default="1" edit="1" />
>>>>> <crs code="EPSG:27700" edit="1" def="+proj=tmerc +lat_0=49
+lon_0=-2
>>>>> +k=0.9996012717 +x_0=400000 +y_0=-100000 +ellps=airy
+datum=OSGB36
>>>>> +units=m
>>>>> +no_defs " />
>>>>> </toAdd>
>>>>> 2015-03-02 12:07:19,961 INFO [jeeves] - Replacing attribute
options of
>>>>> node mapSearch
>>>>> 2015-03-02 12:07:19,961 DEBUG [jeeves] - New attribute
is:{projection:
>>>>> 'EPSG:27700', maxExtent: new
OpenLayers.Bounds(0,0,700000,1300000),
>>>>> units:
>>>>> 'm', restrictedExtent: new
OpenLayers.Bounds(0,0,700000,1300000),
>>>>> resolutions: [1600,800,400,200,100,50,25,10,5,2.5,1,0.5,0.25]}
>>>>> 2015-03-02 12:07:19,961 DEBUG [jeeves] - Updating attibute of
node
>>>>> /config/mapSearch
>>>>> 2015-03-02 12:07:19,961 INFO [jeeves] - Replacing child xml
elements
>>>>> of
>>>>> mapSearch/layers
>>>>> 2015-03-02 12:07:19,962 DEBUG [jeeves] - New elements
are:<toAdd>
>>>>> <layer server="
>>>>>
http://t0.ads.astuntechnology.com/astuntechnology/osopen/service&quot;
>>>>> tocName="OS Open" params="{layers: 'osopen', format:
'image/png'}"
>>>>> options="{isBaseLayer: true}" />
>>>>> </toAdd>
>>>>> 2015-03-02 12:07:19,962 DEBUG [jeeves] - replacingXML of
>>>>> /config/mapSearch/layers
>>>>> 2015-03-02 12:07:19,962 INFO [jeeves] - Replacing attribute
options of
>>>>> node mapViewer
>>>>> 2015-03-02 12:07:19,962 DEBUG [jeeves] - New attribute
is:{projection:
>>>>> 'EPSG:27700', maxExtent: new
>>>>> OpenLayers.Bounds(-3276800,-3276800,3276800,3276800), units:
'm',
>>>>> restrictedExtent: new OpenLayers.Bounds(0,0,700000,1300000),
>>>>> resolutions:
>>>>> [3200,1600,800,400,200,100,50,25,10,5,2.5,1,0.5]}
>>>>> 2015-03-02 12:07:19,962 DEBUG [jeeves] - Updating attibute of
node
>>>>> /config/mapViewer
>>>>> 2015-03-02 12:07:19,962 INFO [jeeves] - Replacing child xml
elements
>>>>> of
>>>>> mapViewer
>>>>> 2015-03-02 12:07:19,962 DEBUG [jeeves] - New elements
are:<toAdd>
>>>>> <layers>
>>>>> <layer server="
>>>>>
http://t0.ads.astuntechnology.com/astuntechnology/osopen/service&quot;
>>>>> tocName="OS Open" params="{layers: 'osopen', format:
'image/png'}"
>>>>> options="{isBaseLayer: true}" />
>>>>> </layers>
>>>>> <scales values="" />
>>>>> <proj>
>>>>> <crs code="EPSG:27700" default="1" name="BNG" />
>>>>> </proj>
>>>>> <servers>
>>>>> <server name="ADS" url="
>>>>>
http://t0.ads.astuntechnology.com/astuntechnology/osopen/service?&quot; />
>>>>> </servers>
>>>>> </toAdd>
>>>>> 2015-03-02 12:07:19,962 DEBUG [jeeves] - replacingXML of
>>>>> /config/mapViewer
>>>>> 2015-03-02 12:07:19,963 INFO [jeeves.service] - ->
transforming
>>>>> with
>>>>> stylesheet : /var/lib/tomcat6/webapps/geonetwork/xsl/error.xsl
>>>>> 2015-03-02 12:07:19,988 INFO [jeeves.service] - -> end
error
>>>>> transformation for : search
>>>>> 2015-03-02 12:07:19,988 INFO [jeeves.service] - -> error
ended for
>>>>> :
>>>>> search
>>>>> pen', format: 'image/png'}" options="{isBaseLayer: true}" />
>>>>> </layers>
>>>>> <scales values="" />
>>>>> <proj>
>>>>> <crs code="EPSG:27700" default="1" name="BNG" />
>>>>> </proj>
>>>>> <servers>
>>>>> <server name="ADS" url="
>>>>>
http://t0.ads.astuntechnology.com/astuntechnology/osopen/service?&quot; />
>>>>> </servers>
>>>>> </toAdd>
>>>>> 2015-03-02 12:07:19,962 DEBUG [jeeves] - replacingXML of
>>>>> /config/mapViewer
>>>>> 2015-03-02 12:07:19,963 INFO [jeeves.service] - ->
transforming
>>>>> with
>>>>> stylesheet : /var/lib/tomcat6/webapps/geonetwork/xsl/error.xsl
>>>>> 2015-03-02 12:07:19,988 INFO [jeeves.service] - -> end
error
>>>>> transformation for : search
>>>>> 2015-03-02 12:07:19,988 INFO [jeeves.service] - -> error
ended for
>>>>> :
>>>>> search
>>>>>
>>>>> I can see that there are two errors detected but I don't know
where to
>>>>> start looking for the solution. Can anyone assist?
>>>>>
>>>>> Thanks
>>>>>
>>>>> Jo
>>>>> --
>>>>> *Jo Cook*
>>>>> Astun Technology Ltd, The Coach House, 17 West Street, Epsom,
Surrey,
>>>>> KT18
>>>>> 7RL, UK
>>>>> t:+44 7930 524 155
>>>>> iShare - Data integration and publishing platform
>>>>> <http://www.isharemaps.com/&gt;
>>>>>
>>>>> *****************************************
>>>>>
>>>>> Company registration no. 5410695. Registered in England and
Wales.
>>>>> Registered office: 120 Manor Green Road, Epsom, Surrey, KT19
8LN VAT
>>>>> no.
>>>>> 864201149.
>>>>>
>>>>>
------------------------------------------------------------------------------
>>>>> Dive into the World of Parallel Programming The Go Parallel
Website,
>>>>> sponsored
>>>>> by Intel and developed in partnership with Slashdot Media, is
your hub
>>>>> for all
>>>>> things parallel software development, from weekly thought
leadership
>>>>> blogs to
>>>>> news, videos, case studies, tutorials and more. Take a look and
join
>>>>> the
>>>>> conversation now. http://goparallel.sourceforge.net/
>>>>> _______________________________________________
>>>>> GeoNetwork-users mailing list
>>>>> GeoNetwork-users@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/geonetwork-users
>>>>> GeoNetwork OpenSource is maintained at
>>>>> http://sourceforge.net/projects/geonetwork
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> *GeoCat Bridge for ArcGIS allows instant publishing of data and
>>>> metadata on GeoServer and GeoNetwork. Visit http://geocat.net
>>>> <http://geocat.net/&gt; for details. _________________________Jose
>>>> GarcíaGeoCat bvVeenderweg 136721 WD BennekomThe
>>>> Netherlandshttp://GeoCat.net/>*
>>>>
>>>
>>>
>>>
>>> --
>>> *Jo Cook*
>>> Astun Technology Ltd, The Coach House, 17 West Street, Epsom,
Surrey,
>>> KT18 7RL, UK
>>> t:+44 7930 524 155
>>> iShare - Data integration and publishing platform
>>> <http://www.isharemaps.com/&gt;
>>>
>>> *****************************************
>>>
>>> Company registration no. 5410695. Registered in England and
Wales.
>>> Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN
VAT no.
>>> 864201149.
>>>
>>
>>
>>
>> --
>>
>> *GeoCat Bridge for ArcGIS allows instant publishing of data and
metadata
>> on GeoServer and GeoNetwork. Visit http://geocat.net
>> <http://geocat.net/&gt; for details. _________________________Jose
>> GarcíaGeoCat bvVeenderweg 136721 WD BennekomThe
>> Netherlandshttp://GeoCat.net/>*

>>
>
>
>
> --
> *Jo Cook*
> Astun Technology Ltd, The Coach House, 17 West Street, Epsom,
Surrey, KT18
> 7RL, UK
> t:+44 7930 524 155
> iShare - Data integration and publishing platform
> <http://www.isharemaps.com/&gt;
>
> *****************************************
>
> Company registration no. 5410695. Registered in England and Wales.
> Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN
VAT no.
> 864201149.
>

--
*Jo Cook*
Astun Technology Ltd, The Coach House, 17 West Street, Epsom, Surrey,
KT18
7RL, UK
t:+44 7930 524 155
iShare - Data integration and publishing platform
<http://www.isharemaps.com/&gt;

*****************************************

Company registration no. 5410695. Registered in England and Wales.
Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT
no.
864201149.

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website,
sponsored
by Intel and developed in partnership with Slashdot Media, is your
hub for all
things parallel software development, from weekly thought leadership
blogs to
news, videos, case studies, tutorials and more. Take a look and join
the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--
*Antony Scott*
Astun Technology Ltd, The Coach House, 17 West Street, Epsom, Surrey,
KT18 7RL, UK
t:+44 7866 455 515
iShare - Data integration and publishing platform
<http://www.isharemaps.com/&gt;

*****************************************

Company registration no. 5410695. Registered in England and Wales.
Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT no.
864201149.

--

*GeoCat Bridge for ArcGIS allows instant publishing of data and
metadata on GeoServer and GeoNetwork. Visit http://geocat.net
<http://geocat.net/&gt; for details. _________________________Jose
GarcíaGeoCat bvVeenderweg 136721 WD BennekomThe
Netherlandshttp://GeoCat.net/>*

--
*Jo Cook*
Astun Technology Ltd, The Coach House, 17 West Street, Epsom, Surrey,
KT18 7RL, UK
t:+44 7930 524 155
iShare - Data integration and publishing platform
<http://www.isharemaps.com/&gt;

*****************************************

Company registration no. 5410695. Registered in England and Wales.
Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT no.
864201149.

--

*GeoCat Bridge for ArcGIS allows instant publishing of data and metadata
on GeoServer and GeoNetwork. Visit http://geocat.net
<http://geocat.net/&gt; for details. _________________________Jose
GarcíaGeoCat bvVeenderweg 136721 WD BennekomThe
Netherlandshttp://GeoCat.net/>*

--
*Jo Cook*
Astun Technology Ltd, The Coach House, 17 West Street, Epsom, Surrey, KT18
7RL, UK
t:+44 7930 524 155
iShare - Data integration and publishing platform
<http://www.isharemaps.com/&gt;

*****************************************

Company registration no. 5410695. Registered in England and Wales.
Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT no.
864201149.

--
*Jo Cook*
Astun Technology Ltd, The Coach House, 17 West Street, Epsom, Surrey, KT18
7RL, UK
t:+44 7930 524 155
iShare - Data integration and publishing platform
<http://www.isharemaps.com/&gt;

*****************************************

Company registration no. 5410695. Registered in England and Wales.
Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT no.
864201149.