[Geoserver-users] R: Problem with Geoserver 1.5.0 RC1 and geotiff

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:

/root/webapps/geoserver-1.5.0-RC1/data/coverages/settimoprg

I think this is right… right?

Fabio

PS: thank you for your blazing fast replay!


Da: Alessio Fabiani [mailto:alessio.fabiani@anonymised.com]
Inviato: lunedì 19 febbraio 2007 12.10
A: Fabio Da Soghe
Cc: geoserver-users@lists.sourceforge.net
Oggetto: Re: [Geoserver-users] Problem with Geoserver 1.5.0 RC1 and geotiff

It seems like the CoverageStore is not able to find the file … maybe the path specified is wrong?

On 2/19/07, Fabio Da Soghe < fabio.dasoghe@anonymised.com> wrote:

Hello list.

I’m doing some test with Geoserver 1.5.0 RC1 and I’m not able to create a coverage, following the tutorial at:

http://docs.codehaus.org/display/GEOSDOC/User+Tutorial+Coverage

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.

Maybe I have to update my JAI native libraries?

Thank you,

Fabio Da Soghe


Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net’s Techsay panel and you’ll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV


Geoserver-users mailing list
Geoserver-users@anonymised.comists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Eng. Alessio Fabiani
Vice President/CTO GeoSolutions

http://www.geo-solutions.it


No, it should be

file:coverages/settimoprg/cascinanuova2.tif

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/…

Otherwise, use a full path, like this:

file:/ root/webapps/geoserver-1.5.0-RC1/data/coverages/settimoprg/cascinanuova2.tif

On 2/19/07, Fabio Da Soghe <fabio.dasoghe@anonymised.com> wrote:

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:

/root/webapps/geoserver-1.5.0-RC1/data/coverages/settimoprg

I think this is right… right?

Fabio

PS: thank you for your blazing fast replay!


Da: Alessio Fabiani [mailto:alessio.fabiani@anonymised.com…]
Inviato: lunedì 19 febbraio 2007 12.10
A: Fabio Da Soghe
Cc: geoserver-users@lists.sourceforge.net
Oggetto: Re: [Geoserver-users] Problem with Geoserver 1.5.0 RC1 and geotiff

It seems like the CoverageStore is not able to find the file … maybe the path specified is wrong?

On 2/19/07, Fabio Da Soghe < fabio.dasoghe@anonymised.com> wrote:

Hello list.

I’m doing some test with Geoserver 1.5.0 RC1 and I’m not able to create a coverage, following the tutorial at:

http://docs.codehaus.org/display/GEOSDOC/User+Tutorial+Coverage

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.

Maybe I have to update my JAI native libraries?

Thank you,

Fabio Da Soghe


Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net’s Techsay panel and you’ll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV


Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Eng. Alessio Fabiani
Vice President/CTO GeoSolutions

http://www.geo-solutions.it



Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net’s Techsay panel and you’ll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV


Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Eng. Alessio Fabiani
Vice President/CTO GeoSolutions

http://www.geo-solutions.it