Hello.
I'm trying the WCS release (geoserver-1.4.0-M2-WCS), but I'm experimenting several trouble and until now I was not able to get a map (from a coverage) published correctly.
My configuration is:
- linux fedora core 4
- Java 1.5.0_06 (Sun)
- JAI 1.1.2
- ImageIO 1.0
- Tomcat 5.5
I dropped the war file (renamed to geoserver-wcs) into tomcat, added the JAI and ImageIO jars to the WEB-INF/lib, then moved the data/data content one dir up (before this GeoServer complained about finding the configuration files, someone else already described this behavior in this mailing list).
The WCS and WMS GetCapabilities works fine, but when I try to publish (via WMS) a coverage (one of the supplied examples, the worldImageSample:Img_Sample) I get a runtime error.
The URL I try is this:
The WMS responds with an xml error file, which content is this:
<?xml version="1.0" encoding="UTF-8" standalone="no" ?><!DOCTYPE ServiceExceptionReport SYSTEM "http://beaker:80/geoserver-wcs/schemas//wms/1.1.1/WMS_exception_1_1_1.dtd"> <ServiceExceptionReport version="1.1.1"> <ServiceException code="Internal error : unable to get reader for this coverage layer org.vfny.geoserver.global.MapLayerInfo@anonymised.com">null</ServiceException> </ServiceExceptionReport>
Reading the geoserver's log (/var/log/tomcat55/catalina.out), the last lines are:
^@7906766 [INFO] org.vfny.geoserver.servlets.AbstractService - handling request: org.vfny.geoserver.wms.requests.GetMapRequest@anonymised.com
16-ott-2006 15.01.06 org.vfny.geoserver.global.CoverageStoreInfo getReader
GRAVE: No input stream for the provided source
java.lang.IllegalArgumentException: No input stream for the provided source
at org.geotools.gce.image.WorldImageReader.<init>(WorldImageReader.java:205)
at org.geotools.gce.image.WorldImageReader.<init>(WorldImageReader.java:112)
at org.geotools.gce.image.WorldImageFormat.getReader(WorldImageFormat.java:116)
at org.vfny.geoserver.global.CoverageStoreInfo.getReader(CoverageStoreInfo.java:414)
at org.vfny.geoserver.global.CoverageInfo.getReader(CoverageInfo.java:535)
at org.vfny.geoserver.wms.responses.GetMapResponse.execute(GetMapResponse.java:279)
at org.vfny.geoserver.servlets.AbstractService.doService(AbstractService.java:511)
at org.vfny.geoserver.servlets.AbstractService.doGet(AbstractService.java:325)
at org.geoserver.request.Dispatcher.dispatch(Dispatcher.java:169)
at org.geoserver.request.Dispatcher.handleRequestInternal(Dispatcher.java:54)
at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:139)
[...]
^@7906774 [AVVERTENZA] org.vfny.geoserver.servlets.AbstractService - service exception while executing request: org.vfny.geoserver.wms.reque
sts.GetMapRequest@anonymised.com
cause: null
org.vfny.geoserver.wms.WmsException
at org.vfny.geoserver.wms.responses.GetMapResponse.execute(GetMapResponse.java:288)
at org.vfny.geoserver.servlets.AbstractService.doService(AbstractService.java:511)
at org.vfny.geoserver.servlets.AbstractService.doGet(AbstractService.java:325)
at org.geoserver.request.Dispatcher.dispatch(Dispatcher.java:169)
at org.geoserver.request.Dispatcher.handleRequestInternal(Dispatcher.java:54)
at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:139)
[...]
I searched through the mailing list and the issue tracker but I was unable to find any clue, so any hint would be very appreciated.
Thank you,
Fabio Da Soghe
Alessio Fabiani ha scritto:
Hi all guys,
the release is ready and alredy committed and uploaded to sourceforge.A lot of bugfixes are done during releasing: javadoc, GEOSERVER_DATA_DIR, Jetty, etc...
The release works against Java 1.4.2+, GeoTools 2.3.0-M0 release, JAI 1.1.4 and ImageIO 1.1.
ArcGrid module is not working well on this release because of the new one is available on Geotools 2.4.x+.
Next release will have ArcGrids and GRIBs back plus a lot of other pluginsThanks,
Alessio.--
-------------------------------------------------------
Eng. Alessio Fabiani
Vice President/CTO GeoSolutions---------------------------------------------------------