-----Original Message-----
From: Francois-Xavier Prunayre
[mailto:francois-xavier.prunayre@anonymised.com]
Sent: Tuesday, 14 April 2009 02:31
To: Kralidis,Tom [Ontario]
Cc: geonetwork-devel@lists.sourceforge.net
Subject: Re: [GeoNetwork-devel] enabling and configuration of
CSW in svn trunk
Hi Tom,
2009/4/10 Kralidis,Tom [Ontario] <Tom.Kralidis@anonymised.com>:
>
> Francois: updating per below did the trick. Further issues:
>
> - I still get the JavaScript popup error per below
> - running CSW GetCapabilities now gives me:
>
> <?xml version="1.0" encoding="UTF-8"?> <ows:ExceptionReport
> xmlns:ows="http://www.opengis.net/ows" version="1.0.0">
> <ows:Exception exceptionCode="NoApplicableCode">
> <ows:ExceptionText>Cannot load/process
> capabilities</ows:ExceptionText>
> </ows:Exception>
> </ows:ExceptionReport>
>
I can't reprodruce the problem after a gast -setup. Could you
post the log file ?
Here's what I get when invoking a http://host/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetCapabilities :
2009-04-14 08:16:37,395 INFO [jeeves.request] - ==========================================================
2009-04-14 08:16:37,395 INFO [jeeves.request] - HTML Request (from 199.212.19.130) : /geonetwork//srv/en/csw
2009-04-14 08:16:37,395 DEBUG [jeeves.request] - Method : GET
2009-04-14 08:16:37,396 DEBUG [jeeves.request] - Content type : null
2009-04-14 08:16:37,396 DEBUG [jeeves.request] - Accept : text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
2009-04-14 08:16:37,396 DEBUG [jeeves.request] - Session id is A294B7D1A1273DCF21BB54C58DFB8E32
2009-04-14 08:16:37,396 INFO [jeeves.service] - Dispatching : csw
2009-04-14 08:16:37,396 DEBUG [jeeves.service] - -> parameters are :
<request>
<service>CSW</service>
<request>GetCapabilities</request>
</request>
2009-04-14 08:16:37,398 INFO [jeeves.webapp.csw] - Received:
<request>
<service>CSW</service>
<request>GetCapabilities</request>
</request>
2009-04-14 08:16:37,399 DEBUG [jeeves.webapp.csw] - Adapted GET request is:
<csw:GetCapabilities xmlns:csw="http://www.opengis.net/cat/csw/2.0.2" service="CSW" />
2009-04-14 08:16:37,399 INFO [jeeves.webapp.csw] - Dispatching operation : GetCapabilities
2009-04-14 08:16:37,401 ERROR [geonetwork.csw] - Cannot load/process capabilities
2009-04-14 08:16:37,402 ERROR [geonetwork.csw] - (C) StackTrace
java.lang.NullPointerException
at org.fao.geonet.lib.ElementLib.substitute(ElementLib.java:148)
at org.fao.geonet.lib.ElementLib.substitute(ElementLib.java:119)
at org.fao.geonet.kernel.csw.services.GetCapabilities.substitute(GetCapabilities.java:244)
at org.fao.geonet.kernel.csw.services.GetCapabilities.execute(GetCapabilities.java:90)
at org.fao.geonet.kernel.csw.CatalogDispatcher.dispatchI(CatalogDispatcher.java:181)
at org.fao.geonet.kernel.csw.CatalogDispatcher.dispatch(CatalogDispatcher.java:106)
at org.fao.geonet.services.main.CswDispatcher.exec(CswDispatcher.java:77)
at jeeves.server.dispatchers.ServiceInfo.execService(ServiceInfo.java:238)
at jeeves.server.dispatchers.ServiceInfo.execServices(ServiceInfo.java:141)
at jeeves.server.dispatchers.ServiceManager.dispatch(ServiceManager.java:377)
at jeeves.server.JeevesEngine.dispatch(JeevesEngine.java:621)
at jeeves.server.sources.http.JeevesServlet.execute(JeevesServlet.java:174)
at jeeves.server.sources.http.JeevesServlet.doGet(JeevesServlet.java:89)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
at java.lang.Thread.run(Unknown Source)
2009-04-14 08:16:37,403 INFO [jeeves.service] - -> dispatching to output for : csw
2009-04-14 08:16:37,403 INFO [jeeves.service] - -> writing xml for : csw
2009-04-14 08:16:37,403 DEBUG [jeeves.service] - Service xml is :
<ows:ExceptionReport xmlns:ows="http://www.opengis.net/ows" version="1.0.0">
<ows:Exception exceptionCode="NoApplicableCode">
<ows:ExceptionText>Cannot load/process capabilities</ows:ExceptionText>
</ows:Exception>
</ows:ExceptionReport>
2009-04-14 08:16:37,403 INFO [jeeves.service] - -> output ended for : csw
2009-04-14 08:16:37,403 INFO [jeeves.service] - -> dispatch ended for : csw
..Tom