Ciao Markus, I would check the following: -1- did you put the .so in the LD_LIBRARY_PATH? -2- I would explicitly also set the -Djava.library.path switch -3- did you set the GDAL_DATA and GDAL_DRIVER_PATJ env var?
This looks like a misconfiguration of your env vars. Regards, Simone Giannecchini == Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information. == Ing. Simone Giannecchini @simogeo Founder/Director GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 333 8128928 http://www.geo-solutions.it http://twitter.com/geosolutions_it ------------------------------------------------------- On Mon, Jul 1, 2013 at 9:07 AM, Daniele Romagnoli <[email protected]> wrote: > Hi Markus, > are you deploying it on Tomcat? If affirmative, which version? > > Can you check that link to see if it solves your issue? > http://geo-solutions.blogspot.it/2010/05/fix-geotools-and-geoserver-not-able-to.html > > > Cheers, > Daniele > > > == > Our support, Your Success! Visit http://opensdi.geo-solutions.it for more > information. > == > Ing. Daniele Romagnoli > Senior Software Engineer > > > GeoSolutions S.A.S. > Via Poggio alle Viti 1187 > 55054 Massarosa (LU) > Italy > phone: +39 0584 962313 > fax: +39 0584 1660272 > > http://www.geo-solutions.it > http://twitter.com/geosolutions_it > > ------------------------------------------------------- > > > On Mon, Jul 1, 2013 at 8:20 AM, Markus Innerebner > <[email protected]> wrote: >> >> Ciao Simone, >> >> thanks for you prompt answer. Please, read my comments below too. >> >> > So, let me get this right, you built GDAL on Red Hat yourself to use >> > it in GeoServer? >> >> Exactly, I build gdal by myself with ecw: (./configure >> --with-ecw=/usr/local/) >> >> > Assuming you built GDAL yourself, I would suggest to first test the >> > gdalinfo executable tool to make >> > sure the build was successful and the drivers you need are there. >> > You can also then check the SWIG java bindings using the gdalinfo.java >> > snippet that we distribute with our own builds. >> >> I tested both tools: gdalinfo from your builds and the java too that gives >> me the following output: >> >> ./gdalinfo.sh /raid0/GeoserverDATA/ecw_st1/001140w.ecw >> Driver: ECW/ERDAS Compressed Wavelets (SDK 3.x) >> Files: /raid0/GeoserverDATA/ecw_st1/001140w.ecw >> Size is 13540, 12020 >> Coordinate System is: >> PROJCS["NUTM32", >> GEOGCS["WGS 84", >> DATUM["WGS_1984", >> SPHEROID["WGS 84",6378137,298.257223563, >> AUTHORITY["EPSG","7030"]], >> TOWGS84[0,0,0,0,0,0,0], >> AUTHORITY["EPSG","6326"]], >> PRIMEM["Greenwich",0, >> AUTHORITY["EPSG","8901"]], >> UNIT["degree",0.0174532925199433, >> AUTHORITY["EPSG","9108"]], >> AXIS["Lat",NORTH], >> AXIS["Long",EAST], >> AUTHORITY["EPSG","4326"]], >> PROJECTION["Transverse_Mercator"], >> PARAMETER["latitude_of_origin",0], >> PARAMETER["central_meridian",9], >> PARAMETER["scale_factor",0.9996], >> PARAMETER["false_easting",500000], >> PARAMETER["false_northing",0], >> UNIT["Meter",1]] >> Origin = (683347.037701787,5213800.08958991) >> Pixel Size = (0.5,-0.5) >> Metadata: >> COLORSPACE=RGB >> COMPRESSION_RATE_TARGET=1 >> VERSION=2 >> Corner Coordinates: >> Upper Left (683347.037701787,5213800.08958991) ( 11d24'50.60"E, 47d 3' >> 8.15"N) >> Lower Left (683347.037701787,5207790.08958991) ( 11d24'41.83"E, >> 46d59'53.63"N) >> Upper Right (690117.037701787,5213800.08958991) ( 11d30'11.18"E, 47d 3' >> 1.26"N) >> Lower Right (690117.037701787,5207790.08958991) ( 11d30' 2.09"E, >> 46d59'46.75"N) >> Center (686732.037701787,5210795.08958991) ( 11d27'26.43"E, 47d >> 1'27.48"N) >> Band 1 Block=256x256 Type=Byte, ColorInterp=Red >> Description = Red >> Overviews: 6770x6010, 3385x3005, 1692x1502, 846x751, 423x375, 211x187 >> Band 2 Block=256x256 Type=Byte, ColorInterp=Green >> Description = Green >> Overviews: 6770x6010, 3385x3005, 1692x1502, 846x751, 423x375, 211x187 >> Band 3 Block=256x256 Type=Byte, ColorInterp=Blue >> Description = Blue >> Overviews: 6770x6010, 3385x3005, 1692x1502, 846x751, 423x375, 211x187 >> >> >> Should I test with a previous version of geoserver? >> >> >> Cheers Markus >> >> >> >> ------------------------------------------------------------------------------ >> This SF.net email is sponsored by Windows: >> >> Build for Windows Store. >> >> http://p.sf.net/sfu/windows-dev2dev >> _______________________________________________ >> Geoserver-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/geoserver-users > > ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
