[GeoNetwork-users] Google tag manager in geonetwork 3.2.1

Hi everybody, following some messages in this list, i tried using
base-layout.xsl to use google tag manager [which has two parts of code] to
use it inside geonetwork.
One goal is to record clicks on download buttons.

Unfortunately i did not obtain good results.System gives me an error after
i have inserted GTM code.[ Previously to this i turn off tomcat, then code
changes , finally, turn on tomcat ]
Does anybody know how to solve this? Any clue?.

Thanks in advance for your time and help,
Luis.

P.S: Error, Here is the copy .

{"error": { "message": "Failed to compile stylesheet. 1 error detected." ,
"class": "TransformerConfigurationException" , "stack": { "at":
"net.sf.saxon.PreparedStylesheet PreparedStylesheet.java line 176 #prepare"
, "at": "net.sf.saxon.TransformerFactoryImpl TransformerFactoryImpl.java
line 139 #newTemplates" , "at":
"de.fzi.dbs.xml.transform.CachingTransformerFactory
CachingTransformerFactory.java line 120 #newTransformer" , "at":
"de.fzi.dbs.xml.transform.CachingTransformerFactory
CachingTransformerFactory.java line 79 #newTransformer" , "at":
"org.fao.geonet.utils.Xml Xml.java line 486 #transform" , "at":
"org.fao.geonet.utils.Xml Xml.java line 391 #transform" , "at":
"jeeves.server.dispatchers.ServiceManager ServiceManager.java line 813
#dispatchOutput" , "at": "jeeves.server.dispatchers.ServiceManager
ServiceManager.java line 471 #dispatch" , "at":
"jeeves.server.dispatchers.ServiceManager ServiceManager.java line 390
#dispatch" , "at": "jeeves.server.JeevesEngine JeevesEngine.java line 594
#dispatch" , "at": "org.fao.geonet.services.main.GenericController
GenericController.java line 149 #dispatch" , "at":
"jeeves.config.springutil.JeevesDispatcherServlet
JeevesDispatcherServlet.java line 41 #access$001" , "at":
"jeeves.config.springutil.JeevesDispatcherServlet$1
JeevesDispatcherServlet.java line 54 #doInTransaction" , "at":
"jeeves.config.springutil.JeevesDispatcherServlet$1
JeevesDispatcherServlet.java line 51 #doInTransaction" , "at":
"jeeves.transaction.TransactionManager TransactionManager.java line 73
#runInTransaction" , "at":
"jeeves.config.springutil.JeevesDispatcherServlet
JeevesDispatcherServlet.java line 48 #doDispatch" , "at":
"org.fao.geonet.web.CORSResponseFilter CORSResponseFilter.java line 128
#doFilter" , "at": "org.fao.geonet.monitor.webapp.WebappMetricsFilter
WebappMetricsFilter.java line 121 #doFilter" , "at":
"org.fao.geonet.monitor.webapp.MetricsRegistryInitializerFilter
MetricsRegistryInitializerFilter.java line 58 #doFilter" , "at":
"org.geonetwork.http.SessionTimeoutCookieFilter
SessionTimeoutCookieFilter.java line 89 #doFilter" , "at":
"jeeves.config.springutil.PassthroughFilter PassthroughFilter.java line 50
#doFilter" , "at": "jeeves.config.springutil.MultiNodeAuthenticationFilter
MultiNodeAuthenticationFilter.java line 125 #doFilter" , "at":
"jeeves.config.springutil.JeevesDelegatingFilterProxy
JeevesDelegatingFilterProxy.java line 104 #doFilter" } , "request": {} } }

Hi Luis

Seem a issue with the xsl changes. Can you check the catalina.out log?
Usually it contains additional information that points the exact line of
the xsl file that fails.

Regards,
Jose García

On Thu, Mar 22, 2018 at 10:43 PM, Luis Alexis Avalos <
luis.avalos.ur@anonymised.com> wrote:

Hi everybody, following some messages in this list, i tried using
base-layout.xsl to use google tag manager [which has two parts of code] to
use it inside geonetwork.
One goal is to record clicks on download buttons.

Unfortunately i did not obtain good results.System gives me an error after
i have inserted GTM code.[ Previously to this i turn off tomcat, then code
changes , finally, turn on tomcat ]
Does anybody know how to solve this? Any clue?.

Thanks in advance for your time and help,
Luis.

P.S: Error, Here is the copy .

{"error": { "message": "Failed to compile stylesheet. 1 error detected." ,
"class": "TransformerConfigurationException" , "stack": { "at":
"net.sf.saxon.PreparedStylesheet PreparedStylesheet.java line 176
#prepare"
, "at": "net.sf.saxon.TransformerFactoryImpl TransformerFactoryImpl.java
line 139 #newTemplates" , "at":
"de.fzi.dbs.xml.transform.CachingTransformerFactory
CachingTransformerFactory.java line 120 #newTransformer" , "at":
"de.fzi.dbs.xml.transform.CachingTransformerFactory
CachingTransformerFactory.java line 79 #newTransformer" , "at":
"org.fao.geonet.utils.Xml Xml.java line 486 #transform" , "at":
"org.fao.geonet.utils.Xml Xml.java line 391 #transform" , "at":
"jeeves.server.dispatchers.ServiceManager ServiceManager.java line 813
#dispatchOutput" , "at": "jeeves.server.dispatchers.ServiceManager
ServiceManager.java line 471 #dispatch" , "at":
"jeeves.server.dispatchers.ServiceManager ServiceManager.java line 390
#dispatch" , "at": "jeeves.server.JeevesEngine JeevesEngine.java line 594
#dispatch" , "at": "org.fao.geonet.services.main.GenericController
GenericController.java line 149 #dispatch" , "at":
"jeeves.config.springutil.JeevesDispatcherServlet
JeevesDispatcherServlet.java line 41 #access$001" , "at":
"jeeves.config.springutil.JeevesDispatcherServlet$1
JeevesDispatcherServlet.java line 54 #doInTransaction" , "at":
"jeeves.config.springutil.JeevesDispatcherServlet$1
JeevesDispatcherServlet.java line 51 #doInTransaction" , "at":
"jeeves.transaction.TransactionManager TransactionManager.java line 73
#runInTransaction" , "at":
"jeeves.config.springutil.JeevesDispatcherServlet
JeevesDispatcherServlet.java line 48 #doDispatch" , "at":
"org.fao.geonet.web.CORSResponseFilter CORSResponseFilter.java line 128
#doFilter" , "at": "org.fao.geonet.monitor.webapp.WebappMetricsFilter
WebappMetricsFilter.java line 121 #doFilter" , "at":
"org.fao.geonet.monitor.webapp.MetricsRegistryInitializerFilter
MetricsRegistryInitializerFilter.java line 58 #doFilter" , "at":
"org.geonetwork.http.SessionTimeoutCookieFilter
SessionTimeoutCookieFilter.java line 89 #doFilter" , "at":
"jeeves.config.springutil.PassthroughFilter PassthroughFilter.java line 50
#doFilter" , "at": "jeeves.config.springutil.MultiNodeAuthenticationFilter
MultiNodeAuthenticationFilter.java line 125 #doFilter" , "at":
"jeeves.config.springutil.JeevesDelegatingFilterProxy
JeevesDelegatingFilterProxy.java line 104 #doFilter" } , "request": {} } }
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
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

--

*Vriendelijke groeten / Kind regards,Jose García
<http://www.geocat.net/&gt;Veenderweg 136721 WD BennekomThe NetherlandsT: +31
(0)318 416664 <+31318416664> <https://www.facebook.com/geocatbv&gt;
<https://twitter.com/geocat_bv&gt;
<https://plus.google.com/u/1/+GeocatNetbv/posts&gt;Please consider the
environment before printing this email.*