the docs (README) stated the dependencies on a local JAI installation and I
did't find any JARs coming with geotools2.1

So removed my JAI JAI_I/O (jai Version 1.1.2)and re-installed 
jai-1_1_2_01-lib-linux-i586-jdk.bin*
jai_imageio-1_0_01-lib-linux-i586-jdk.bin*

and the test passed by ....grid.ResampleTest

However, the test now failed with a java.io.IOException
which I traced to  WorldImageWriterTest.java (c.f. snipplet below)
because the write-to location c:\ does not exist on my Linux box.
Once I changed it "maven build" went through fine.

Thanks for pointing me into the right direction.

Jens


/**
 * Test class for WorldImageWriter. This test tries to read, writer and re-read
successive images
.
 */

public class WorldImageWriterTest extends TestCase {
    WorldImageReader wiReader;
<snip>...
</snip>
 GridCoverageWriter writer = new WorldImageWriter(newFile(
        "c:\\a1.tif"));
.
.
.


On Wed, 26 Oct 2005, Martin Desruisseaux wrote:

%J. Nieschulze a ?crit :
%> javax.imageio.spi.ImageWriterSpi: Provider 
com.sun.media.imageioimpl.plugins.gif.GIFImageWriterSpi could not be 
instantiated:
%> java.lang.SecurityException: sealing violation:
%> package com.sun.media.imageioimpl.common is sealed
%
%If I remember right, some JAI JAR files were bundled into the 2.1 
%release in order to avoid forcing users to download and install JAI 
%themself. This addition is known to cause trouble in some configurations 
%(especially for users who already have a JAI installation I suspect). 
%Could you try to delete all JAI's JAR files bundle with the Geotools 
%release, in order to make sure that only the JAI's JAR files installed 
%on yours machine by the standard Sun's installation program are used 
%please? I would be very interrested to known if it help.
%
%       Martin.
%



-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to