Hi list, I’ve just copied a geoserver from one server to another and, invoking the wms, I get this error:
<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE ServiceExceptionReport SYSTEM "http:
//schemas.opengis.net/wms/1.1.1/WMS_exception_1_1_1.dtd">
java.lang.NoClassDefFoundError: com/sun/media/imageioimpl/common/LZWCompressor
com/sun/media/imageioimpl/common/LZWCompressor
I have these three jars in the web-inf/lib:
jai_codec-1.1.3.jar
jai_core-1.1.3.jar
jai_imageio-1.1.jar
The server have a jre1.6.
Probably I have some issue with jai_imageio-1.1.jar, but I can’t find where…
Ant ideas?
Thanks.
Gianni Barrotta ha scritto:
Hi list, I've just copied a geoserver from one server to another and, invoking the wms, I get this error:
<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE ServiceExceptionReport SYSTEM "http:
//schemas.opengis.net/wms/1.1.1/WMS_exception_1_1_1.dtd <http://schemas.opengis.net/wms/1.1.1/WMS_exception_1_1_1.dtd>"> <ServiceExceptionReport version="1.1.1" >
<ServiceException>
java.lang.NoClassDefFoundError: com/sun/media/imageioimpl/common/LZWCompressor
com/sun/media/imageioimpl/common/LZWCompressor
</ServiceException></ServiceExceptionReport>
I have these three jars in the web-inf/lib:
jai_codec-1.1.3.jar
jai_core-1.1.3.jar
jai_imageio-1.1.jar
The server have a jre1.6.
Curious, you need a jdk tu run GeoServer... well, actually
it's needed to compile the jsp of the UI so maybe there is
no need for it if you just try to use the OGC services.
Probably I have some issue with jai_imageio-1.1.jar, but I can't find where...
Ant ideas?
Very odd, do not remember seeing this problem. Aren't you
by any chance using a JDK other than a Sun one, such as the
OpenJDK? If so, try out one coming from Sun. Some linux distros
have both but install OpenJDK by default, is this your case?
Cheers
Andrea
Sorry Andrea,
everything’s working again just after a restart of the tomcat.
Thank you, bye.
On Wed, Jul 9, 2008 at 8:38 AM, Andrea Aime <aaime@anonymised.com> wrote:
Gianni Barrotta ha scritto:
Hi list, I’ve just copied a geoserver from one server to another and, invoking the wms, I get this error:
<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE ServiceExceptionReport SYSTEM "http:
//schemas.opengis.net/wms/1.1.1/WMS_exception_1_1_1.dtd <http://schemas.opengis.net/wms/1.1.1/WMS_exception_1_1_1.dtd>">
java.lang.NoClassDefFoundError: com/sun/media/imageioimpl/common/LZWCompressor
com/sun/media/imageioimpl/common/LZWCompressor
I have these three jars in the web-inf/lib:
jai_codec-1.1.3.jar
jai_core-1.1.3.jar
jai_imageio-1.1.jar
The server have a jre1.6.
Curious, you need a jdk tu run GeoServer… well, actually
it’s needed to compile the jsp of the UI so maybe there is
no need for it if you just try to use the OGC services.
Probably I have some issue with jai_imageio-1.1.jar, but I can’t find where…
Ant ideas?
Very odd, do not remember seeing this problem. Aren’t you
by any chance using a JDK other than a Sun one, such as the
OpenJDK? If so, try out one coming from Sun. Some linux distros
have both but install OpenJDK by default, is this your case?
Cheers
Andrea