[Geoserver-users] Problem with OWS GeoServer 2.2.2

Hello all,

I tried the new version of GS 2.2.2, but I have major problems with publishing / querying layers… Here is the thing :

  • i made a copy of my data_dir (working well with GS 2.2.0)
  • i installed GS 2.2.2
  • i put the new data_dir directory, next to the default data directory

As long as I work with the default data, with default GEOSERVER_DATA_DIR path in the WEB-INF/web.xml (I’m using Tomcat 7), there is no problem.
If I change the GEOSERVER_DATA_DIR to my own data_dir, the web interface seems to work well, but major problems are :

  • WMS queries send 404 error with all layer previews

HTTP Status 404 -
type Status report
message
description The requested resource () is not available.

  • even if I add a new resources, the new layers still has the sam error

If I go to the log, here is the first error :

2012-12-05 12:10:13,230 DEBUG [org.geoserver.security.RESTfulPathBasedFilterInvocationDefinitionMap] - httpMethods[0]: POST
2012-12-05 12:10:13,230 DEBUG [org.geoserver.security.RESTfulPathBasedFilterInvocationDefinitionMap] - httpMethods[1]: DELETE
2012-12-05 12:10:13,230 DEBUG [org.geoserver.security.RESTfulPathBasedFilterInvocationDefinitionMap] - httpMethods[2]: PUT
2012-12-05 12:11:12,860 DEBUG [org.geoserver.security] - Start searching for expired authentication tokens
2012-12-05 12:11:12,862 DEBUG [org.geoserver.security] - Number of expired authentication tokens found: 0
2012-12-05 12:11:12,862 DEBUG [org.geoserver.security] - End searching for expired authentication tokens
2012-12-05 12:12:12,860 DEBUG [org.geoserver.security] - Start searching for expired authentication tokens
2012-12-05 12:12:12,861 DEBUG [org.geoserver.security] - Number of expired authentication tokens found: 0
2012-12-05 12:12:12,861 DEBUG [org.geoserver.security] - End searching for expired authentication tokens
2012-12-05 12:12:45,641 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2012-12-05 12:12:45,644 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2012-12-05 12:12:45,645 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2012-12-05 12:12:45,730 DEBUG [org.geoserver] - Thread 41 locking in mode READ
2012-12-05 12:12:45,731 DEBUG [org.geoserver] - Thread 41 got the lock in mode READ
2012-12-05 12:12:46,053 DEBUG [org.geoserver.security] - Les créances sont erronées
org.springframework.security.authentication.BadCredentialsException: Les créances sont erronées
at org.springframework.security.authentication.dao.DaoAuthenticationProvider.additionalAuthenticationChecks(DaoAuthenticationProvider.java:67)
at org.springframework.security.authentication.dao.AbstractUserDetailsAuthenticationProvider.authenticate(AbstractUserDetailsAuthenticationProvider.java:149)

(…)

2012-12-05 12:12:46,254 INFO [org.geoserver.security] - Strong cryptograhpy is available
2012-12-05 12:12:46,538 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/var/lib/tomcat7/webapps/geoserver/WEB-INF/lib/web-core-2.2.2.jar!/org/geoserver/web/GeoServerHomePage.html to file (URI is not hierarchical), falling back to the inputstream for polling
2012-12-05 12:12:46,583 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/var/lib/tomcat7/webapps/geoserver/WEB-INF/lib/web-core-2.2.2.jar!/org/geoserver/web/GeoServerBasePage.html to file (URI is not hierarchical), falling back to the inputstream for polling

… and it goes on with many errors.

Does anyone have the same problem with services ?

Thank you,

Gabriel Vatin

It seems that this problem only occurs with WMS : I have no problem with WFS queries, but even GetCapabilities returns 404 error, with “requested resource () is not available”…
http://myServer:8080/geoserver/ows?service=wms&version=1.1.1&request=GetCapabilities

And logs give:

2012-12-05 16:25:58,407 DEBUG [org.geoserver.security] - Start searching for expired authentication tokens
2012-12-05 16:25:58,407 DEBUG [org.geoserver.security] - Number of expired authentication tokens found: 0
2012-12-05 16:25:58,408 DEBUG [org.geoserver.security] - End searching for expired authentication tokens
2012-12-05 16:26:58,407 DEBUG [org.geoserver.security] - Start searching for expired authentication tokens
2012-12-05 16:26:58,407 DEBUG [org.geoserver.security] - Number of expired authentication tokens found: 0
2012-12-05 16:26:58,407 DEBUG [org.geoserver.security] - End searching for expired authentication tokens
2012-12-05 16:27:26,996 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/ows]
2012-12-05 16:27:26,997 DEBUG [org.geoserver.ows.OWSHandlerMapping] - Mapping [/ows] to HandlerExecutionChain with handler [org.geoserver.ows.Dispatcher@anonymised.com] and 1 interceptor
2012-12-05 16:27:26,997 INFO [org.geoserver.wms] -
Request: getServiceInfo
2012-12-05 16:27:26,999 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/accessDenied.jsp]
2012-12-05 16:27:26,999 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/accessDenied.jsp]
2012-12-05 16:27:26,999 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/accessDenied.jsp]
2012-12-05 16:27:26,999 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/accessDenied.jsp]
2012-12-05 16:27:26,999 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/accessDenied.jsp]
2012-12-05 16:27:26,999 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/accessDenied.jsp]
2012-12-05 16:27:26,999 TRACE [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/accessDenied.jsp]
2012-12-05 16:27:26,999 WARN [org.springframework.web.servlet.PageNotFound] - No mapping found for HTTP request with URI [/geoserver/accessDenied.jsp] in DispatcherServlet with name ‘dispatcher’