[Geoserver-users] GS 1.7 installation problem Tomcat 6, Ubuntu Intrepid

Hi list,

I cant seem to get GS 1.7 (war) working in Tomcat 6 (.deb), Ubuntu
Intrepid (x86_64). This is the error:

java.util.ServiceConfigurationError: javax.imageio.spi.ImageWriterSpi:
Provider
it.geosolutions.imageio.stream.output.spi.FileImageOutputStreamExtImplSpi could not be instantiated: java.lang.ClassCastException: Cannot cast it.geosolutions.imageio.stream.output.spi.FileImageOutputStreamExtImplSpi to javax.imageio.spi.ImageWriterSpi

and it's caused by:

java.lang.ClassCastException: Cannot cast
it.geosolutions.imageio.stream.output.spi.FileImageOutputStreamExtImplSpi to javax.imageio.spi.ImageWriterSpi

Does this sound familiar to anyone? I have no major problems with
running it in Tomcat 5.5.

Thanx, Roald
--
Roald de Wit
Software Engineer
roald.dewit@anonymised.com

Commercial Support for Open Source GIS Software
http://lisasoft.com/LISAsoft/SupportedProducts/

Extra info:

Running GS 1.7 only fails using the following version of Java:

        java version "1.6.0_0"
        IcedTea6 1.3.1 (6b12-0ubuntu6) Runtime Environment (build
        1.6.0_0-b12)
        OpenJDK 64-Bit Server VM (build 1.6.0_0-b12, mixed mode)

When using Sun's Java, I don't have any problems.

        java version "1.6.0_10"
        Java(TM) SE Runtime Environment (build 1.6.0_10-b33)
        Java HotSpot(TM) 64-Bit Server VM (build 11.0-b15, mixed mode)

Cheers, Roald

On Thu, 2008-10-30 at 11:04 +1030, Roald de Wit wrote:

Hi list,

I cant seem to get GS 1.7 (war) working in Tomcat 6 (.deb), Ubuntu
Intrepid (x86_64). This is the error:

java.util.ServiceConfigurationError: javax.imageio.spi.ImageWriterSpi:
Provider
it.geosolutions.imageio.stream.output.spi.FileImageOutputStreamExtImplSpi could not be instantiated: java.lang.ClassCastException: Cannot cast it.geosolutions.imageio.stream.output.spi.FileImageOutputStreamExtImplSpi to javax.imageio.spi.ImageWriterSpi

and it's caused by:

java.lang.ClassCastException: Cannot cast
it.geosolutions.imageio.stream.output.spi.FileImageOutputStreamExtImplSpi to javax.imageio.spi.ImageWriterSpi

Does this sound familiar to anyone? I have no major problems with
running it in Tomcat 5.5.

Thanx, Roald
--
Roald de Wit
Software Engineer
roald.dewit@anonymised.com

Commercial Support for Open Source GIS Software
http://lisasoft.com/LISAsoft/SupportedProducts/

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Roald de Wit
Software Engineer
roald.dewit@anonymised.com

Commercial Support for Open Source GIS Software
http://lisasoft.com/LISAsoft/SupportedProducts/

Hi Roald,

Unfortunately this a common problem: problems resulting from using a jvm other than the one provided by sun.

I think in this case it is due to the use of jai image extensions which i *think* depend on classes provided only by the sun jvm. Not sure about that though.

Regardless we recommend the sun vm and warn people using other virtual machines that its "at their own risk". Probably not the answer you were looking for :(.

-Justin

Roald de Wit wrote:

Extra info:

Running GS 1.7 only fails using the following version of Java:

        java version "1.6.0_0"
        IcedTea6 1.3.1 (6b12-0ubuntu6) Runtime Environment (build
        1.6.0_0-b12)
        OpenJDK 64-Bit Server VM (build 1.6.0_0-b12, mixed mode)

When using Sun's Java, I don't have any problems.

        java version "1.6.0_10"
        Java(TM) SE Runtime Environment (build 1.6.0_10-b33)
        Java HotSpot(TM) 64-Bit Server VM (build 11.0-b15, mixed mode)

Cheers, Roald

On Thu, 2008-10-30 at 11:04 +1030, Roald de Wit wrote:

Hi list,

I cant seem to get GS 1.7 (war) working in Tomcat 6 (.deb), Ubuntu
Intrepid (x86_64). This is the error:

java.util.ServiceConfigurationError: javax.imageio.spi.ImageWriterSpi:
Provider
it.geosolutions.imageio.stream.output.spi.FileImageOutputStreamExtImplSpi could not be instantiated: java.lang.ClassCastException: Cannot cast it.geosolutions.imageio.stream.output.spi.FileImageOutputStreamExtImplSpi to javax.imageio.spi.ImageWriterSpi

and it's caused by:

java.lang.ClassCastException: Cannot cast
it.geosolutions.imageio.stream.output.spi.FileImageOutputStreamExtImplSpi to javax.imageio.spi.ImageWriterSpi

Does this sound familiar to anyone? I have no major problems with
running it in Tomcat 5.5.

Thanx, Roald
--
Roald de Wit
Software Engineer
roald.dewit@anonymised.com

Commercial Support for Open Source GIS Software
http://lisasoft.com/LISAsoft/SupportedProducts/

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.

Hi Roald,
we have worked some days ago on imageio-ext project to fix the spi names.
With the next release the problem should be solved.

Daniele

On Thu, Oct 30, 2008 at 2:14 AM, Roald de Wit <roald.dewit@anonymised.com> wrote:

Extra info:

Running GS 1.7 only fails using the following version of Java:

java version “1.6.0_0”
IcedTea6 1.3.1 (6b12-0ubuntu6) Runtime Environment (build
1.6.0_0-b12)
OpenJDK 64-Bit Server VM (build 1.6.0_0-b12, mixed mode)

When using Sun’s Java, I don’t have any problems.

java version “1.6.0_10”
Java™ SE Runtime Environment (build 1.6.0_10-b33)
Java HotSpot™ 64-Bit Server VM (build 11.0-b15, mixed mode)

Cheers, Roald

On Thu, 2008-10-30 at 11:04 +1030, Roald de Wit wrote:

Hi list,

I cant seem to get GS 1.7 (war) working in Tomcat 6 (.deb), Ubuntu
Intrepid (x86_64). This is the error:

java.util.ServiceConfigurationError: javax.imageio.spi.ImageWriterSpi:
Provider
it.geosolutions.imageio.stream.output.spi.FileImageOutputStreamExtImplSpi could not be instantiated: java.lang.ClassCastException: Cannot cast it.geosolutions.imageio.stream.output.spi.FileImageOutputStreamExtImplSpi to javax.imageio.spi.ImageWriterSpi

and it’s caused by:

java.lang.ClassCastException: Cannot cast
it.geosolutions.imageio.stream.output.spi.FileImageOutputStreamExtImplSpi to javax.imageio.spi.ImageWriterSpi

Does this sound familiar to anyone? I have no major problems with
running it in Tomcat 5.5.

Thanx, Roald

Roald de Wit
Software Engineer
roald.dewit@anonymised.com

Commercial Support for Open Source GIS Software
http://lisasoft.com/LISAsoft/SupportedProducts/


This SF.Net email is sponsored by the Moblin Your Move Developer’s challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/


Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Roald de Wit
Software Engineer
roald.dewit@anonymised.com

Commercial Support for Open Source GIS Software
http://lisasoft.com/LISAsoft/SupportedProducts/


This SF.Net email is sponsored by the Moblin Your Move Developer’s challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/


Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Eng. Daniele Romagnoli
Software Engineer

GeoSolutions S.A.S.
Via Carignoni 51
55041 Camaiore (LU)
Italy

phone: +39 0584983027
fax: +39 0584983027
mob: +39 328 0559267

http://www.geo-solutions.it