[GeoNetwork-devel] Error setting up privileges for groups in Geonetwork Harvest.

Hi,

I am encountering an exception when attempting to fetch the groups for assigning privilege on a Geonetwork 2.1.x harvest type. This only occurs when I supply an account to use for the harvest. Do others encounter this? Is there a fix possibly in kernel.js or info-service.js to set up another header ‘Access-Control-Allow-Origin’ as many forums talk about this as the solution for this type of CORS error?

2014-07-30 11:04:14,024 INFO [jeeves.request] - ==========================================================
2014-07-30 11:04:14,024 INFO [jeeves.request] - HTML Request (from 138.7.36.134) : /geonetwork/srv/eng/xml.forward
2014-07-30 11:04:14,026 INFO [jeeves.service] - Dispatching : xml.forward
2014-07-30 11:04:14,718 ERROR [jeeves.service] - Exception when executing service
2014-07-30 11:04:14,718 ERROR [jeeves.service] - (C) Exc : BadXmlResponseEx :

Please wait...

Patientez s'il vous plaﴮ..

Bitte warten...

Un momento per favore...

JavaScript warning

To use GeoNetwork you need to enable JavaScript in your browser

2014-07-30 11:04:14,720 ERROR [jeeves.service] - Strack : BadXmlResponseEx :

Please wait...

Patientez s'il vous plaﴮ..

Bitte warten...

Un momento per favore...

JavaScript warning

To use GeoNetwork you need to enable JavaScript in your browser

at jeeves.utils.XmlRequest.doExecute(XmlRequest.java:357)
at jeeves.utils.XmlRequest.execute(XmlRequest.java:257)
at org.fao.geonet.services.main.Forward.authenticate(Forward.java:116)
at org.fao.geonet.services.main.Forward.exec(Forward.java:80)
at jeeves.server.dispatchers.ServiceInfo.execService(ServiceInfo.java:231)
at jeeves.server.dispatchers.ServiceInfo.execServices(ServiceInfo.java:140)
at jeeves.server.dispatchers.ServiceManager.dispatch(ServiceManager.java:430)
at jeeves.server.dispatchers.ServiceManager.dispatch(ServiceManager.java:362)
at jeeves.server.JeevesEngine.dispatch(JeevesEngine.java:806)
at jeeves.server.sources.http.JeevesServlet.execute(JeevesServlet.java:216)
at jeeves.server.sources.http.JeevesServlet.doPost(JeevesServlet.java:125)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.fao.geonet.monitor.webapp.WebappMetricsFilter.doFilter(WebappMetricsFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.fao.geonet.monitor.webapp.MetricsRegistryInitializerFilter.doFilter(MetricsRegistryInitializerFilter.java:31)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:381)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:322)
at jeeves.config.springutil.GeonetworkFilterSecurityInterceptor.invoke(GeonetworkFilterSecurityInterceptor.java:46)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at jeeves.config.springutil.GeonetworkFilterSecurityInterceptor.invoke(GeonetworkFilterSecurityInterceptor.java:46)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:103)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:182)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:150)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.fao.geonet.kernel.security.PassthroughFilter.doFilter(PassthroughFilter.java:26)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:184)
at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:155)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:193)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Unknown Source)

Cheers

Kevin Gunn

Database Programmer and Instrument Technician

Australian Institute of Marine Science

Cape Ferguson Townsville Qld Aust. 4810

+61 7 47534305

k.gunn@…187…

www.aims.gov.au


The information contained within this transmission is for the use of the intended recipient only and may contain confidential and/or legally privileged material and/or material the subject of copyright and/or personal information and/or sensitive information that is subject to the Privacy Act 1988. Any review, re-transmission, disclosure, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please notify the AIMS Privacy Officer on (07) 4753 4444 and delete all copies of this transmission together with any attachments.


Hi Kevin,

Serendipity: this bug had come up down here in two different contexts as well, so I was looking at it! :slight_smile:

I don't think its a CORS problem because the request is made through the GeoNetwork proxy service (xml.forward) on your server. The problem is that the xml.forward service was still trying to use the xml.login service to do the authentication (that's why it doesn't work when you use an account but is fine otherwise). The fix is easy: make the xml.forward service use basic/digest etc for geonetwork (just like it does for all non-geonetwork sites). I've committed the fix to anzmest (2.10.x) on GitHub - anzmest/core-geonetwork: GeoNetwork repository, I'll move it on up to 2.10.x shortly (I think the bug is still present in develop as well).

Cheers,
Simon
________________________________________
From: Kevin Gunn [K.Gunn@...187...]
Sent: Wednesday, 30 July 2014 1:23 PM
To: geonetwork-devel@lists.sourceforge.net
Subject: [GeoNetwork-devel] Error setting up privileges for groups in Geonetwork Harvest.

Hi,

I am encountering an exception when attempting to fetch the groups for assigning privilege on a Geonetwork 2.1.x harvest type. This only occurs when I supply an account to use for the harvest. Do others encounter this? Is there a fix possibly in kernel.js or info-service.js to set up another header ‘Access-Control-Allow-Origin’ as many forums talk about this as the solution for this type of CORS error?
2014-07-30 11:04:14,024 INFO [jeeves.request] - ==========================================================
2014-07-30 11:04:14,024 INFO [jeeves.request] - HTML Request (from 138.7.36.134) : /geonetwork/srv/eng/xml.forward
2014-07-30 11:04:14,026 INFO [jeeves.service] - Dispatching : xml.forward
2014-07-30 11:04:14,718 ERROR [jeeves.service] - Exception when executing service
2014-07-30 11:04:14,718 ERROR [jeeves.service] - (C) Exc : BadXmlResponseEx :
<html xmlns="http://www.w3.org/1999/xhtml&quot;&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> Please wait...</p>
<p> Patientez s'il vous plaﴮ..</p>
<p> Bitte warten...</p>
<p> 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>

2014-07-30 11:04:14,720 ERROR [jeeves.service] - Strack : BadXmlResponseEx :
<html xmlns="http://www.w3.org/1999/xhtml&quot;&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> Please wait...</p>
<p> Patientez s'il vous plaﴮ..</p>
<p> Bitte warten...</p>
<p> 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>
at jeeves.utils.XmlRequest.doExecute(XmlRequest.java:357)
at jeeves.utils.XmlRequest.execute(XmlRequest.java:257)
at org.fao.geonet.services.main.Forward.authenticate(Forward.java:116)
at org.fao.geonet.services.main.Forward.exec(Forward.java:80)
at jeeves.server.dispatchers.ServiceInfo.execService(ServiceInfo.java:231)
at jeeves.server.dispatchers.ServiceInfo.execServices(ServiceInfo.java:140)
at jeeves.server.dispatchers.ServiceManager.dispatch(ServiceManager.java:430)
at jeeves.server.dispatchers.ServiceManager.dispatch(ServiceManager.java:362)
at jeeves.server.JeevesEngine.dispatch(JeevesEngine.java:806)
at jeeves.server.sources.http.JeevesServlet.execute(JeevesServlet.java:216)
at jeeves.server.sources.http.JeevesServlet.doPost(JeevesServlet.java:125)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.fao.geonet.monitor.webapp.WebappMetricsFilter.doFilter(WebappMetricsFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.fao.geonet.monitor.webapp.MetricsRegistryInitializerFilter.doFilter(MetricsRegistryInitializerFilter.java:31)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:381)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:322)
at jeeves.config.springutil.GeonetworkFilterSecurityInterceptor.invoke(GeonetworkFilterSecurityInterceptor.java:46)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at jeeves.config.springutil.GeonetworkFilterSecurityInterceptor.invoke(GeonetworkFilterSecurityInterceptor.java:46)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:103)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:182)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:150)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.fao.geonet.kernel.security.PassthroughFilter.doFilter(PassthroughFilter.java:26)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:184)
at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:155)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:193)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Unknown Source)

Cheers

Kevin Gunn
Database Programmer and Instrument Technician
Australian Institute of Marine Science
Cape Ferguson Townsville Qld Aust. 4810
+61 7 47534305
k.gunn@...187...<mailto:j.luetchford@…187…>
www.aims.gov.au<http://www.aims.gov.au/&gt;

--

________________________________

The information contained within this transmission is for the use of the intended recipient only and may contain confidential and/or legally privileged material and/or material the subject of copyright and/or personal information and/or sensitive information that is subject to the Privacy Act 1988. Any review, re-transmission, disclosure, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please notify the AIMS Privacy Officer on (07) 4753 4444 and delete all copies of this transmission together with any attachments.

________________________________

Hi,

I followed up some more on this, I’m way off track thinking it was an issue with the JS libs. The issue is the xml.forward service is attempting to use the old “xml.user.login” with the new spring authentication. This old service no longer seems to work even with the url re-directs, and you have to use the spring version “j_spring_security_check” with the credentials bundled in a List in the HttpClient request entity for example. I’m not sure what other services are still using the old “xml.user.login”, has anyone else had to deal with this sort of issue? It seems to affect any use of the XML services that are available that required an authenticated session for operations allowed checks.

Cheers

Kevin

From: Kevin Gunn [mailto:K.Gunn@…187…]
Sent: Wednesday, 30 July 2014 1:24 PM
To: geonetwork-devel@lists.sourceforge.net
Subject: [GeoNetwork-devel] Error setting up privileges for groups in Geonetwork Harvest.

Hi,

I am encountering an exception when attempting to fetch the groups for assigning privilege on a Geonetwork 2.1.x harvest type. This only occurs when I supply an account to use for the harvest. Do others encounter this? Is there a fix possibly in kernel.js or info-service.js to set up another header ‘Access-Control-Allow-Origin’ as many forums talk about this as the solution for this type of CORS error?

2014-07-30 11:04:14,024 INFO [jeeves.request] - ==========================================================
2014-07-30 11:04:14,024 INFO [jeeves.request] - HTML Request (from 138.7.36.134) : /geonetwork/srv/eng/xml.forward
2014-07-30 11:04:14,026 INFO [jeeves.service] - Dispatching : xml.forward
2014-07-30 11:04:14,718 ERROR [jeeves.service] - Exception when executing service
2014-07-30 11:04:14,718 ERROR [jeeves.service] - (C) Exc : BadXmlResponseEx :

Please wait...

Patientez s'il vous plaﴮ..

Bitte warten...

Un momento per favore...

JavaScript warning

To use GeoNetwork you need to enable JavaScript in your browser

2014-07-30 11:04:14,720 ERROR [jeeves.service] - Strack : BadXmlResponseEx :

Please wait...

Patientez s'il vous plaﴮ..

Bitte warten...

Un momento per favore...

JavaScript warning

To use GeoNetwork you need to enable JavaScript in your browser

at jeeves.utils.XmlRequest.doExecute(XmlRequest.java:357)
at jeeves.utils.XmlRequest.execute(XmlRequest.java:257)
at org.fao.geonet.services.main.Forward.authenticate(Forward.java:116)
at org.fao.geonet.services.main.Forward.exec(Forward.java:80)
at jeeves.server.dispatchers.ServiceInfo.execService(ServiceInfo.java:231)
at jeeves.server.dispatchers.ServiceInfo.execServices(ServiceInfo.java:140)
at jeeves.server.dispatchers.ServiceManager.dispatch(ServiceManager.java:430)
at jeeves.server.dispatchers.ServiceManager.dispatch(ServiceManager.java:362)
at jeeves.server.JeevesEngine.dispatch(JeevesEngine.java:806)
at jeeves.server.sources.http.JeevesServlet.execute(JeevesServlet.java:216)
at jeeves.server.sources.http.JeevesServlet.doPost(JeevesServlet.java:125)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.fao.geonet.monitor.webapp.WebappMetricsFilter.doFilter(WebappMetricsFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.fao.geonet.monitor.webapp.MetricsRegistryInitializerFilter.doFilter(MetricsRegistryInitializerFilter.java:31)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:381)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:322)
at jeeves.config.springutil.GeonetworkFilterSecurityInterceptor.invoke(GeonetworkFilterSecurityInterceptor.java:46)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at jeeves.config.springutil.GeonetworkFilterSecurityInterceptor.invoke(GeonetworkFilterSecurityInterceptor.java:46)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:103)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:182)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:150)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.fao.geonet.kernel.security.PassthroughFilter.doFilter(PassthroughFilter.java:26)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:184)
at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:155)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:193)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Unknown Source)

Cheers

Kevin Gunn

Database Programmer and Instrument Technician

Australian Institute of Marine Science

Cape Ferguson Townsville Qld Aust. 4810

+61 7 47534305

k.gunn@…187…

www.aims.gov.au


The information contained within this transmission is for the use of the intended recipient only and may contain confidential and/or legally privileged material and/or material the subject of copyright and/or personal information and/or sensitive information that is subject to the Privacy Act 1988. Any review, re-transmission, disclosure, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please notify the AIMS Privacy Officer on (07) 4753 4444 and delete all copies of this transmission together with any attachments.



The information contained within this transmission is for the use of the intended recipient only and may contain confidential and/or legally privileged material and/or material the subject of copyright and/or personal information and/or sensitive information that is subject to the Privacy Act 1988. Any review, re-transmission, disclosure, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please notify the AIMS Privacy Officer on (07) 4753 4444 and delete all copies of this transmission together with any attachments.


Hi Simon,

Good news. I'll fetch you changes and give it a go.

Cheers
Kevin

-----Original Message-----
From: Simon.Pigot@...192... [mailto:Simon.Pigot@…192…]
Sent: Wednesday, 30 July 2014 2:45 PM
To: Kevin Gunn; geonetwork-devel@lists.sourceforge.net
Subject: RE: [GeoNetwork-devel] Error setting up privileges for groups in Geonetwork Harvest.

Hi Kevin,

Serendipity: this bug had come up down here in two different contexts as well, so I was looking at it! :slight_smile:

I don't think its a CORS problem because the request is made through the GeoNetwork proxy service (xml.forward) on your server. The problem is that the xml.forward service was still trying to use the xml.login service to do the authentication (that's why it doesn't work when you use an account but is fine otherwise). The fix is easy: make the xml.forward service use basic/digest etc for geonetwork (just like it does for all non-geonetwork sites). I've committed the fix to anzmest (2.10.x) on https://github.com/anzmest/core-geonetwork.git, I'll move it on up to 2.10.x shortly (I think the bug is still present in develop as well).

Cheers,
Simon
________________________________________
From: Kevin Gunn [K.Gunn@...187...]
Sent: Wednesday, 30 July 2014 1:23 PM
To: geonetwork-devel@lists.sourceforge.net
Subject: [GeoNetwork-devel] Error setting up privileges for groups in Geonetwork Harvest.

Hi,

I am encountering an exception when attempting to fetch the groups for assigning privilege on a Geonetwork 2.1.x harvest type. This only occurs when I supply an account to use for the harvest. Do others encounter this? Is there a fix possibly in kernel.js or info-service.js to set up another header ‘Access-Control-Allow-Origin’ as many forums talk about this as the solution for this type of CORS error?
2014-07-30 11:04:14,024 INFO [jeeves.request] - ==========================================================
2014-07-30 11:04:14,024 INFO [jeeves.request] - HTML Request (from 138.7.36.134) : /geonetwork/srv/eng/xml.forward
2014-07-30 11:04:14,026 INFO [jeeves.service] - Dispatching : xml.forward
2014-07-30 11:04:14,718 ERROR [jeeves.service] - Exception when executing service
2014-07-30 11:04:14,718 ERROR [jeeves.service] - (C) Exc : BadXmlResponseEx :
<html xmlns="http://www.w3.org/1999/xhtml&quot;&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> Please wait...</p>
<p> Patientez s'il vous plaﴮ..</p>
<p> Bitte warten...</p>
<p> 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>

2014-07-30 11:04:14,720 ERROR [jeeves.service] - Strack : BadXmlResponseEx :
<html xmlns="http://www.w3.org/1999/xhtml&quot;&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> Please wait...</p>
<p> Patientez s'il vous plaﴮ..</p>
<p> Bitte warten...</p>
<p> 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> at jeeves.utils.XmlRequest.doExecute(XmlRequest.java:357)
at jeeves.utils.XmlRequest.execute(XmlRequest.java:257)
at org.fao.geonet.services.main.Forward.authenticate(Forward.java:116)
at org.fao.geonet.services.main.Forward.exec(Forward.java:80)
at jeeves.server.dispatchers.ServiceInfo.execService(ServiceInfo.java:231)
at jeeves.server.dispatchers.ServiceInfo.execServices(ServiceInfo.java:140)
at jeeves.server.dispatchers.ServiceManager.dispatch(ServiceManager.java:430)
at jeeves.server.dispatchers.ServiceManager.dispatch(ServiceManager.java:362)
at jeeves.server.JeevesEngine.dispatch(JeevesEngine.java:806)
at jeeves.server.sources.http.JeevesServlet.execute(JeevesServlet.java:216)
at jeeves.server.sources.http.JeevesServlet.doPost(JeevesServlet.java:125)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.fao.geonet.monitor.webapp.WebappMetricsFilter.doFilter(WebappMetricsFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.fao.geonet.monitor.webapp.MetricsRegistryInitializerFilter.doFilter(MetricsRegistryInitializerFilter.java:31)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:381)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:322)
at jeeves.config.springutil.GeonetworkFilterSecurityInterceptor.invoke(GeonetworkFilterSecurityInterceptor.java:46)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at jeeves.config.springutil.GeonetworkFilterSecurityInterceptor.invoke(GeonetworkFilterSecurityInterceptor.java:46)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:103)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:182)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:150)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.fao.geonet.kernel.security.PassthroughFilter.doFilter(PassthroughFilter.java:26)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:184)
at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:155)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:193)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Unknown Source)

Cheers

Kevin Gunn
Database Programmer and Instrument Technician Australian Institute of Marine Science Cape Ferguson Townsville Qld Aust. 4810
+61 7 47534305
k.gunn@...187...<mailto:j.luetchford@…187…>
www.aims.gov.au<http://www.aims.gov.au/&gt;

--

________________________________

The information contained within this transmission is for the use of the intended recipient only and may contain confidential and/or legally privileged material and/or material the subject of copyright and/or personal information and/or sensitive information that is subject to the Privacy Act 1988. Any review, re-transmission, disclosure, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please notify the AIMS Privacy Officer on (07) 4753 4444 and delete all copies of this transmission together with any attachments.

________________________________
--
------------------------------------------------------------------------
The information contained within this transmission is for the
use of the intended recipient only and may contain confidential
and/or legally privileged material and/or material the subject
of copyright and/or personal information and/or sensitive
information that is subject to the Privacy Act 1988. Any review,
re-transmission, disclosure, dissemination or other use of, or
taking of any action in reliance upon, this information by
persons or entities other than the intended recipient is
prohibited. If you have received this email in error please
notify the AIMS Privacy Officer on (07) 4753 4444 and delete
all copies of this transmission together with any attachments.
------------------------------------------------------------------------