I am attempting to add a store for raster data source RPFTOC -- RPFTOC
Coverage format. When I hit save I get the following:

  Could not list layers for this store, an error occurred retrieving them:
Incorrect input type!

  In the catalina.out I see the following error:

    Getting list of coverages for saved store file:data/CADRG/250/RPF/A.TOC
    java.lang.RuntimeException: Could not list layers for this store, an
error occurred retrieving them: Incorrect input type!
          at
org.geoserver.web.data.layer.NewLayerPageProvider.getItemsInternal(NewLayerPageProvider.java:158)
          at
org.geoserver.web.data.layer.NewLayerPageProvider.getItems(NewLayerPageProvider.java:61)
          at
org.geoserver.web.wicket.GeoServerDataProvider.fullSize(GeoServerDataProvider.java:243)


--------------------------------------------------

I am using the following:

   geoserver-2.10.1-war.zip
   apache-tomcat-7.0.75.tar.gz
   geowebcache-1.9.1-war.zip

   geoserver-2.10.1-gdal-plugin.zip
   gdal-data.zip
   imageio-ext-1.1.16-jars.zip


In catalina.sh I have the following set:
     export PATH="/usr/java//jdk1.8.0_25/bin:$PATH"
     JAVA_OPTS="-server -Xmx256M"

In setcalsspath.sh I have the following set:
     export LD_LIBRARY_PATH=/opt/gdal-1.9.2_x64_rh6_Cent:$LD_LIBRARY_PATH
     export GDAL_DATA=/cctt/work/gdal_data/gdal-data


When I use gdalinfo on the A.TOC I get valid information back about my
data.(Did not include but can if needed.)

My CADRG data is stored in following path:
     /opt/apache-tomcat-7.0.75/webapps/geoserver/data/data/CADRG/250/RPF

And has the following structure:
  CADRG
            250
                 RPF
                       A.TOC
                       CADRGJA
                                       zone1
                                                00ywz01x.ja1
                                       zone2
           100
                 RPF
             50
                 RPF


Prior to the exception I do see the following in catalina.out
       Feb 22, 2017 5:55:15 PM
it.geosolutions.imageio.gdalframework.GDALUtilities loadGDAL
       INFO: GDAL Native Library loaded (version: 1.9.2)





Any help would be greatly appreciated!



Thank you,
Chris
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to