[Geoserver-devel] Geoserver on Solaris problem at deployment-time

Hello geoserver-list,

on a Sparc Solaris server, we have installed a Geoserver 1.5.0-b1 in a tomcat (5.5.17) applications server.
It is the same geoserver that works on a Windows system on my own computer.

But at deployment-time of this webapp, there is an error "java.lang.NoClassDefFoundError: org/geotools/data/coverage/grid/GridFormatFactorySpi".
We don't really know why this error is thrown, because in the file " geoserver/WEB-INF/lib/gt2-main-2.3.1-SNAPSHOT.jar", we can find this class by following the way of this class.
On this Solaris server, we have :
- jdk1.5.0_07
- jai 1.1.3 and jai-io 1.1
- tomcat 5.5.17
- geotools branches 2.3.x compiled with jdk1.5

Please find the attachments for this mail, which contain the error trace, and the process of deployment.

Cheers,
Cédric B.

(attachments)

catalina.out.txt (20.6 KB)

Cédric Briançon ha scritto:

Hello geoserver-list,

on a Sparc Solaris server, we have installed a Geoserver 1.5.0-b1 in a tomcat (5.5.17) applications server.
It is the same geoserver that works on a Windows system on my own computer.

But at deployment-time of this webapp, there is an error "java.lang.NoClassDefFoundError: org/geotools/data/coverage/grid/GridFormatFactorySpi".
We don't really know why this error is thrown, because in the file " geoserver/WEB-INF/lib/gt2-main-2.3.1-SNAPSHOT.jar", we can find this class by following the way of this class.
On this Solaris server, we have :
- jdk1.5.0_07
- jai 1.1.3 and jai-io 1.1
- tomcat 5.5.17
- geotools branches 2.3.x compiled with jdk1.5

Please find the attachments for this mail, which contain the error trace, and the process of deployment.

I'm sorry I have no idea... hum, can you try increasing the logging level to FINE or FINER before running the starter, maybe it can give
us some clue.

To increase the logging level you have to locate the jre/lib/logging.properties file and change the default logging level
(remember to reset it to INFO afterwards).

Cheers
Andrea

Andrea Aime a écrit :

Cédric Briançon ha scritto:

Hello geoserver-list,

on a Sparc Solaris server, we have installed a Geoserver 1.5.0-b1 in a tomcat (5.5.17) applications server.
It is the same geoserver that works on a Windows system on my own computer.

But at deployment-time of this webapp, there is an error "java.lang.NoClassDefFoundError: org/geotools/data/coverage/grid/GridFormatFactorySpi".
We don't really know why this error is thrown, because in the file " geoserver/WEB-INF/lib/gt2-main-2.3.1-SNAPSHOT.jar", we can find this class by following the way of this class.
On this Solaris server, we have :
- jdk1.5.0_07
- jai 1.1.3 and jai-io 1.1
- tomcat 5.5.17
- geotools branches 2.3.x compiled with jdk1.5

Please find the attachments for this mail, which contain the error trace, and the process of deployment.

I'm sorry I have no idea... hum, can you try increasing the logging level to FINE or FINER before running the starter, maybe it can give
us some clue.

To increase the logging level you have to locate the jre/lib/logging.properties file and change the default logging level
(remember to reset it to INFO afterwards).

Cheers
Andrea

Moreover the same geoserver on a Linux station, based on UNIX like Solaris (isn't it?), works...
I will inform Olivier and Vincent to test your tips Andrea, wishing that more logs that are not displayed here can inform you about this issue.
Thanks,
Cédric.

Cédric Briançon a écrit :

Andrea Aime a écrit :
  

Cédric Briançon ha scritto:
    

Hello geoserver-list,

on a Sparc Solaris server, we have installed a Geoserver 1.5.0-b1 in a tomcat (5.5.17) applications server.
It is the same geoserver that works on a Windows system on my own computer.

But at deployment-time of this webapp, there is an error "java.lang.NoClassDefFoundError: org/geotools/data/coverage/grid/GridFormatFactorySpi".
We don't really know why this error is thrown, because in the file " geoserver/WEB-INF/lib/gt2-main-2.3.1-SNAPSHOT.jar", we can find this class by following the way of this class.
On this Solaris server, we have :
- jdk1.5.0_07
- jai 1.1.3 and jai-io 1.1
- tomcat 5.5.17
- geotools branches 2.3.x compiled with jdk1.5

Please find the attachments for this mail, which contain the error trace, and the process of deployment.
      

I'm sorry I have no idea... hum, can you try increasing the logging level to FINE or FINER before running the starter, maybe it can give
us some clue.

To increase the logging level you have to locate the jre/lib/logging.properties file and change the default logging level
(remember to reset it to INFO afterwards).

Cheers
Andrea

Moreover the same geoserver on a Linux station, based on UNIX like Solaris (isn't it?), works...
I will inform Olivier and Vincent to test your tips Andrea, wishing that more logs that are not displayed here can inform you about this issue.
Thanks,
Cédric.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Vincent told me that modifying this parameter for the logging properties didn't add messages to complete this error :frowning:

Andrea Aime a écrit :

Cédric Briançon ha scritto:

Hello geoserver-list,

on a Sparc Solaris server, we have installed a Geoserver 1.5.0-b1 in a tomcat (5.5.17) applications server.
It is the same geoserver that works on a Windows system on my own computer.

But at deployment-time of this webapp, there is an error "java.lang.NoClassDefFoundError: org/geotools/data/coverage/grid/GridFormatFactorySpi".
We don't really know why this error is thrown, because in the file " geoserver/WEB-INF/lib/gt2-main-2.3.1-SNAPSHOT.jar", we can find this class by following the way of this class.
On this Solaris server, we have :
- jdk1.5.0_07
- jai 1.1.3 and jai-io 1.1
- tomcat 5.5.17
- geotools branches 2.3.x compiled with jdk1.5

Please find the attachments for this mail, which contain the error trace, and the process of deployment.

I'm sorry I have no idea... hum, can you try increasing the logging level to FINE or FINER before running the starter, maybe it can give
us some clue.

To increase the logging level you have to locate the jre/lib/logging.properties file and change the default logging level
(remember to reset it to INFO afterwards).

Cheers
Andrea

It seems that a bad installation of JAI was the source of this issue.
After a correct installation, Geoserver runs...
Thanks for your attention,
Cédric B.

Cédric Briançon ha scritto:

Andrea Aime a écrit :

...

It seems that a bad installation of JAI was the source of this issue.
After a correct installation, Geoserver runs...
Thanks for your attention,

Thank you for sharing this one with us. If this happens again to
someone else, we have the cure now :slight_smile:

Cheers
Andrea

Cedric,
I am curios about performances, on a SUN machine. What is your feeling
about them?

Simone.

On 12/21/06, Andrea Aime <aaime@anonymised.com> wrote:

Cédric Briançon ha scritto:
> Andrea Aime a écrit :

...

> It seems that a bad installation of JAI was the source of this issue.
> After a correct installation, Geoserver runs...
> Thanks for your attention,

Thank you for sharing this one with us. If this happens again to
someone else, we have the cure now :slight_smile:

Cheers
Andrea

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

--
-------------------------------------------------------
Eng. Simone Giannecchini
President /CEO GeoSolutions

http://www.geo-solutions.it

-------------------------------------------------------

Simone Giannecchini a écrit :

Cedric,
I am curios about performances, on a SUN machine. What is your feeling
about them?

Hi Simone,

Vincent tells me it is quite the same to display a raster with WCS than on Windows configuration.
The performance are good on a Sun Fire V250, with JAI 1.1.3 and JAI-IO 1.1 for SparcV9.
It is not a recent configuration, but it works well :slight_smile:

Cédric.

Simone.

On 12/21/06, Andrea Aime <aaime@anonymised.com> wrote:

Cédric Briançon ha scritto:
> Andrea Aime a écrit :

...

> It seems that a bad installation of JAI was the source of this issue.
> After a correct installation, Geoserver runs...
> Thanks for your attention,

Thank you for sharing this one with us. If this happens again to
someone else, we have the cure now :slight_smile:

Cheers
Andrea

-------------------------------------------------------------------------

Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

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

Andrea Aime a écrit :

Cédric Briançon ha scritto:

Andrea Aime a écrit :

...

It seems that a bad installation of JAI was the source of this issue.
After a correct installation, Geoserver runs...
Thanks for your attention,

Thank you for sharing this one with us. If this happens again to
someone else, we have the cure now :slight_smile:

To complete what I've said earlier, we have replaced a Sparc version for JAI by a SparcV9 version.
And it has corrected this weird error.
Cédric.

Cheers
Andrea