Dear List,
We have installed geonetwork 10.2 on tomcat with html5 GUI. Harvesting works but we have one problem in the Harvesting management :
We cannot retrieve the groups.
Whenever we click on the button ‘Retrieve Groups we have following error :
<?xml version="1.0" encoding="UTF-8"?>
<error id="bad-xml-response">
<message><html xmlns="http://www.w3.org/1999/xhtml"&gt;
<head>
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Cache-Control" content="no-cache,no-store">
<link rel="stylesheet" type="text/css" href="geonetwork.css">
<script language="Javascript1.5" type="text/javascript">
function init() {
var userLang = "eng"
if(!userLang) {
userLang = (navigator.language) ? navigator.language : navigator.userLanguage;
}
if(!userLang) {
userLang = "eng";
}
userLang = userLang.split('-')[0].toLowerCase();
if (userLang.match("^en")) {
userLang = "eng";
} else if (userLang.match("^fr")) {
userLang = "fre";
} else if (userLang.match("^de")) {
userLang = "ger";
} else if (userLang.match("^it")) {
userLang = "ita";
} else if (userLang.match("^ca")) {
userLang = "cat";
} else if (userLang.match("^es")) {
userLang = "spa";
} else if (userLang.match("^fi")) {
userLang = "fin";
} else if (userLang.match("^pl")) {
userLang = "pol";
} else if (userLang.match("^no")) {
userLang = "nor";
} else if (userLang.match("^nl")) {
userLang = "dut";
} else if (userLang.match("^pt")) {
userLang = "por";
} else if (userLang.match("^ar")) {
userLang = "ara";
} else if (userLang.match("^zh")) {
userLang = "chi";
} else if (userLang.match("^ru")) {
userLang = "rus";
} else if (userLang.match("^tr")) {
userLang = "tur";
} else {
userLang = "eng";
}
window.location="srv/"+userLang+"/login.form"+window.location.search;
}
</script>
</head>
<body onload="init()">
<p>&nbsp;&nbsp;Please wait...</p>
<p>&nbsp;&nbsp;Patientez s'il vous plaît...</p>
<p>&nbsp;&nbsp;Bitte warten...</p>
<p>&nbsp;&nbsp;Un momento per favore...</p>
<noscript>
<h2>JavaScript warning</h2>
<p>To use GeoNetwork you need to enable JavaScript in your browser</p>
</noscript>
</body>
</html></message>
<class>BadXmlResponseEx</class>
<stack>
<at class="jeeves.utils.XmlRequest" file="XmlRequest.java" line="357" method="doExecute" />
<at class="jeeves.utils.XmlRequest" file="XmlRequest.java" line="257" method="execute" />
<at class="org.fao.geonet.services.main.Forward" file="Forward.java" line="116" method="authenticate" />
<at class="org.fao.geonet.services.main.Forward" file="Forward.java" line="80" method="exec" />
<at class="jeeves.server.dispatchers.ServiceInfo" file="ServiceInfo.java" line="230" method="execService" />
<at class="jeeves.server.dispatchers.ServiceInfo" file="ServiceInfo.java" line="139" method="execServices" />
<at class="jeeves.server.dispatchers.ServiceManager" file="ServiceManager.java" line="430" method="dispatch" />
<at class="jeeves.server.dispatchers.ServiceManager" file="ServiceManager.java" line="362" method="dispatch" />
<at class="jeeves.server.JeevesEngine" file="JeevesEngine.java" line="806" 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="125" method="doPost" />
<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>xml.forward</service>
</request>
</error>
In Firebug we have following errors :
POST http://localhost:8080/geonetwork/srv/eng/xml.forward 400 Bad Request
Our request header is :
Accept text/javascript, text/html, application/xml, text/xml, */*
Accept-Encoding gzip, deflate
Accept-Language en-US,en;q=0.5
Content-Length 330
Content-Type application/xml; charset=UTF-8
Cookie JSESSIONID=1w3j2vyk7c9qk1a6ncwstgw88z; __utma=111872281.1846883191.1405425674.1405425674.1405425674.1; __utmc=111872281; __utmz=111872281.1405425674.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); ys-alreadyShowMessage=b%3A1; ys-user=o%3Ausername%3Ds%253Aadmin%5Ename%3Ds%253Aadmin%5Esurname%3Ds%253Aadmin%5Erole%3Ds%253AAdministrator
Host localhost:8080
Referer http://localhost:8080/geonetwork/srv/eng/harvesting
User-Agent Mozilla/5.0 (Windows NT 6.1; rv:30.0) Gecko/20100101 Firefox/30.0
X-Prototype-Version 1.7
X-Requested-With XMLHttpRequest
Thank you very much for your help !!!!
Rainer