Hi,
on the builds server we have intermittent test failures
for the GWCIntegrationTest that I cannot reproduce locally.
Looking at the logs I gathered two things:
- the test tries to make sure the integration when cascading
and caching a png request works, but it gets back a image/html
instead
- my local build, working, reports the following in the logs:
5-mag-2010 12.50.38 it.geosolutions.imageio.gdalframework.GDALUtilities
loadGDAL
AVVERTENZA: Native library load failed.java.lang.UnsatisfiedLinkError:
no gdaljni in java.library.path
05 mag 12:50:41 ERROR [config.XMLConfiguration] - Configuration file
cannot be read or does not exist!
05 mag 12:50:41 ERROR [layer.TileLayerDispatcher] - Configuration
/home/aaime/devel/git-gs/src/gwc/null/../resources contained no layers.
05 mag 12:50:41 ERROR [layer.TileLayerDispatcher] - Error reading
service information from
/home/aaime/devel/git-gs/src/gwc/null/../resources: Error parsing file
/home/aaime/devel/git-gs/src/gwc/null/../resources/geowebcache.xml
However, the build server has this instead:
Running org.geoserver.gwc.GWCCatalogListenerTest
May 5, 2010 6:28:37 AM
it.geosolutions.imageio.gdalframework.GDALUtilities loadGDAL
WARNING: Native library load failed.java.lang.UnsatisfiedLinkError: no
gdaljni in java.library.path
05 May 06:28:39 ERROR [config.XMLConfiguration] - Configuration file
cannot be read or does not exist!
05 May 06:28:39 ERROR [layer.TileLayerDispatcher] - Configuration
/home/tomcat/.hudson/jobs/geoserver-trunk/workspace/geoserver/gwc/null/../resources
contained no layers.
05 May 06:28:39 ERROR [layer.TileLayerDispatcher] - Error reading
service information from
/home/tomcat/.hudson/jobs/geoserver-trunk/workspace/geoserver/gwc/null/../resources:
Error parsing file
/home/tomcat/.hudson/jobs/geoserver-trunk/workspace/geoserver/gwc/null/../resources/geowebcache.xml
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.662 sec
Running org.geoserver.gwc.GWCIntegrationTest
java.lang.NullPointerException
at
org.geowebcache.layer.TileLayerDispatcher.getTileLayer(TileLayerDispatcher.java:69)
at
org.geowebcache.service.wmts.WMTSService.getTile(WMTSService.java:108)
at
org.geowebcache.service.wmts.WMTSService.getConveyor(WMTSService.java:79)
at
org.geowebcache.GeoWebCacheDispatcher.handleServiceRequest(GeoWebCacheDispatcher.java:333)
at
org.geowebcache.GeoWebCacheDispatcher.handleRequestInternal(GeoWebCacheDispatcher.java:252)
at
org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
at
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
at
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809)
at
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
at
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.geoserver.test.GeoServerAbstractTestSupport.dispatch(GeoServerAbstractTestSupport.java:1089)
at
org.geoserver.test.GeoServerAbstractTestSupport.dispatch(GeoServerAbstractTestSupport.java:1056)
at
org.geoserver.test.GeoServerAbstractTestSupport.getAsServletResponse(GeoServerAbstractTestSupport.java:463)
at
org.geoserver.gwc.GWCIntegrationTest.testPngIntegration(GWCIntegrationTest.java:12)
Rings any bell?
Cheers
Andrea
--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.
------------------------------------------------------------------------------
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel