Daniele -
gdal192-Redhat6.0-gcc4.4.4-x86_64.tar does contain the MrSID
library. I was trying different versions in case that was the problem.
Are you saying that you should either install
geoserver-2.5.2-gdal-plugin.zip or geoserver-2.5.2-jp2k-plugin.zip, but not
both?
Running javainfo/gdalinfo.sh on one of the MrSIDs looks fine:
[tcatmgr@dlab-gis javainfo]$ ./gdalinfo.sh
/data/geoserver-data/data/images/histopo/CA_anonuevo_50k_1946_1947.sid
Driver: MrSID/Multi-resolution Seamless Image Database (MrSID)
Files:
/data/geoserver-data/data/images/histopo/CA_anonuevo_50k_1946_1947.sid
Size is 8000, 11416
Coordinate System is `'
Origin = (0.0,0.0)
Pixel Size = (1.0,1.0)
Metadata:
IMAGE__COMPRESSION_BLOCK_SIZE=512
IMAGE__COMPRESSION_GAMMA=2.000000
IMAGE__COMPRESSION_NLEV=6
IMAGE__COMPRESSION_VERSION=2,0,0
IMAGE__COMPRESSION_WEIGHT=4.000000
IMAGE__CREATION_DATE=Fri May 14 17:49:24 2004
IMAGE__INPUT_COMPRESSION_FORMAT=Limpel-Ziv-Welsh (LZW)
IMAGE__INPUT_FILE_SIZE=46954294.000000
IMAGE__INPUT_FORMAT=TIFF
IMAGE__INPUT_NAME=D:\My Documents\Burn
CD\monterey_area\tiff\CA_anonuevo_50k_1946_1947.tif
IMAGE__STATISTICS_MAX=232,234,230
IMAGE__STATISTICS_MEAN=175.973706,175.096312,170.263485
IMAGE__STATISTICS_MIN=14,14,9
IMAGE__STATISTICS_STANDARD_DEVIATION=36.793852,38.342654,40.039447
IMAGE__TARGET_COMPRESSION_RATIO=40.000000
VERSION=MG2
Image Structure Metadata:
INTERLEAVE=PIXEL
Corner Coordinates:
Upper Left (0.0,0.0)
Lower Left (0.0,11416.0)
Upper Right (8000.0,0.0)
Lower Right (8000.0,11416.0)
Center (4000.0,5708.0)
Band 1 Block=1024x128 Type=Byte, ColorInterp=Red
Minimum=75.0, Maximum=230.0, Mean=176.0698994413408,
StdDev=28.80637784538155
Overviews: 4000x5708, 2000x2854, 1000x1427, 500x714, 250x357, 125x179
Band 2 Block=1024x128 Type=Byte, ColorInterp=Green
Minimum=78.0, Maximum=224.0, Mean=175.13939664804468,
StdDev=23.79354611509061
Overviews: 4000x5708, 2000x2854, 1000x1427, 500x714, 250x357, 125x179
Band 3 Block=1024x128 Type=Byte, ColorInterp=Blue
Minimum=60.0, Maximum=227.0, Mean=170.20572067039106,
StdDev=29.105676128830783
Overviews: 4000x5708, 2000x2854, 1000x1427, 500x714, 250x357, 125x179
I was just setting up a situation in which I thought it would segfault. I
took the LizardTech Raster_DSDK out of my library path, and reverted to the
GDAL 1.92 binaries that were mentioned above, and, all of a sudden,
everything started working. This is great, because I now have a functioning
production Geoserver, but frustrating, because I don't know why.
Thank you kindly for the time and attention this took;
Garey Mills
On Thu, Aug 28, 2014 at 1:40 AM, Daniele Romagnoli <
daniele.romagn...@geo-solutions.it> wrote:
> Hi Garey,
> I think that the gdal192-Redhat6.0-gcc4.4.4-x86_64.tar already contains
> the MrSID libs (I see a libltidsdk.so on the tar I get from
> http://demo.geo-solutions.it/share/github/imageio-ext/releases/1.1.X/1.1.8/gdal/linux/...
> Not sure if we are talking about the same tar).
> Note that for the MrSID plugin you should use the
> http://sourceforge.net/projects/geoserver/files/GeoServer/2.5.2/extensions/geoserver-2.5.2-gdal-plugin.zip
> instead of the geoserver-2.5.2-jp2k-plugin.zip.
>
> An additional test you may do is running the javainfo/gdalinfo.sh on some
> of your MrSID files and see how it works.
>
> Final question: when did you get that seg fault? At GeoServer startup/when
> configuring a coverage/when reading it?...
>
> Please, let us know.
> Cheers,
> Daniele
>
> ==
> GeoServer Professional Services from the experts! Visit
> http://goo.gl/NWWaa2 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 Wed, Aug 27, 2014 at 8:23 PM, Garey Mills <gmi...@library.berkeley.edu>
> wrote:
>
>> I am on an RHEL6 server. Besides the usual uses of Geoserver, I have an
>> ungeoreferenced image collection that I have to serve that contains many
>> MrSid format images.
>>
>> I am trying to upgrade Geoserver. I have installed Geoserver 2.5.2, JAI
>> 1.1.3 and the GDAL1.9.2 package 'gdal192-Redhat6.0-gcc4.4.4-x86_64.tar',
>> and the geoserver-2.5.2-jp2k-plugin.zip. I downloaded the Geotools 11.2
>> source and compiled the gt-imagecollection-11.2.jar. Finally I downloaded
>> the 'MrSID_DSDK-9.1.0.4045-linux.x86-64.gcc44'.
>>
>> When I arrange the library path so that the MrSID library included with
>> the GDAL distribution is referenced, I get seg faults, as in:
>>
>> #
>> # A fatal error has been detected by the Java Runtime Environment:
>> #
>> # SIGSEGV (0xb) at pc=0x00007f929dbc672d, pid=7451, tid=140268046661376
>> #
>> # JRE version: 7.0_25-b15
>> # Java VM: Java HotSpot(TM) 64-Bit Server VM (23.25-b01 mixed mode
>> linux-amd64 compressed oops)
>> # Problematic frame:
>> # C [libltidsdk.so+0x14572d] LizardTech::MG2Decoder::end()+0xd
>> #
>> # Failed to write core dump. Core dumps have been disabled. To enable
>> core dumping, try "ulimit -c unlimited" before starting Java again
>> #
>> # An error report file with more information is saved as:
>> # /opt/apache-tomcat-7.0.55/bin/hs_err_pid7451.log
>> #
>> # If you would like to submit a bug report, please visit:
>> # http://bugreport.sun.com/bugreport/crash.jsp
>> # The crash happened outside the Java Virtual Machine in native code.
>> # See problematic frame for where to report the bug.
>>
>> However, when I arrange the library path so that the libraries included
>> in the MrSID SDK are in the path, the same thing happens.
>>
>> Any suggestions about where I go from here?
>>
>> Garey Mills
>>
>> --
>> Generate messages about directories that cannot be
>> read, files that cannot be opened ... rather than being silent ...
>> (from `man du`)
>>
>>
>> ------------------------------------------------------------------------------
>> Slashdot TV.
>> Video for Nerds. Stuff that matters.
>> http://tv.slashdot.org/
>> _______________________________________________
>> Geoserver-users mailing list
>> Geoserver-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
>>
>
--
Generate messages about directories that cannot be
read, files that cannot be opened ... rather than being silent ...
(from `man du`)
------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users