The path inserted during the CoverageStore creation is this:
file:data/coverages/settimoprg/cascinanuova2.tif
and it exists in the geoserver installation directory (obtained from the war file extracted by tomcat itself); I have this directory in my file system:
I follow all the steps, using the geotiff sample file; I create the CoverageStore, but when I create the Coverage from it I get this error on the web page:
GeoServer - Exception
The following exception was thrown:
java.lang.IllegalArgumentException: No input stream for the provided source
From the tomcat log I read this:
19-feb-2007 11.56.56 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.geotiff.GeoTiffReader.(GeoTiffReader.java:193)
at org.geotools.gce.geotiff.GeoTiffFormat.getReader (GeoTiffFormat.java:252)
at org.geotools.gce.geotiff.GeoTiffFormat.getReader(GeoTiffFormat.java:212)
at org.vfny.geoserver.global.CoverageStoreInfo.getReader(CoverageStoreInfo.java:380)
at org.vfny.geoserver.action.data.DataCoveragesNewAction.execute(DataCoveragesNewAction.java:94)
at org.vfny.geoserver.action.ConfigAction.execute(ConfigAction.java:102)
at org.apache.struts.action.RequestProcessor.processActionPerform (RequestProcessor.java:431)
[…]
I’m using Linux Fedora Core 4, Sun Jdk 1.5.0_06, Tomcat 5.5, jai-1_1_4-pre-dr-b03-lib-linux-i586-16_Oct_2006.zip and jai_imageio-1_1-beta-lib-linux-i586-jar.zip.
I think … it depends on your GEOSERVER_DATA_DIR root, if the latter is setted to /root/webapps/geoserver-1.5.0-RC1/data then the path to the image is file:coverages/…
The path inserted during the CoverageStore creation is this:
file:data/coverages/settimoprg/cascinanuova2.tif
and it exists in the geoserver installation directory (obtained from the war file extracted by tomcat itself); I have this directory in my file system:
I follow all the steps, using the geotiff sample file; I create the CoverageStore, but when I create the Coverage from it I get this error on the web page:
GeoServer - Exception
The following exception was thrown:
java.lang.IllegalArgumentException: No input stream for the provided source
From the tomcat log I read this:
19-feb-2007 11.56.56 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.geotiff.GeoTiffReader.(GeoTiffReader.java:193)
at org.geotools.gce.geotiff.GeoTiffFormat.getReader (GeoTiffFormat.java:252)
at org.geotools.gce.geotiff.GeoTiffFormat.getReader(GeoTiffFormat.java:212)
at org.vfny.geoserver.global.CoverageStoreInfo.getReader(CoverageStoreInfo.java:380)
at org.vfny.geoserver.action.data.DataCoveragesNewAction.execute(DataCoveragesNewAction.java:94)
at org.vfny.geoserver.action.ConfigAction.execute(ConfigAction.java:102)
at org.apache.struts.action.RequestProcessor.processActionPerform (RequestProcessor.java:431)
[…]
I’m using Linux Fedora Core 4, Sun Jdk 1.5.0_06, Tomcat 5.5, jai-1_1_4-pre-dr-b03-lib-linux-i586-16_Oct_2006.zip and jai_imageio-1_1-beta-lib-linux-i586-jar.zip.