[Geoserver-users] tomcat crashes with geoserver

Hi List,

we have had Geoserver running on Tomcat on Windows Server 2008 R2, for a
while without problems.

Recently we upgraded both Tomcat, JDK and Geoserver (2.3.3), and find
crashes regularly now.
We already downgraded to JDK 1.6 after finding messages that 1.7 was still
not supported.

The crashes are such that the Tomcat service stops and does not start up
anymore. Only Geoserver is running in Tomcat.

After the crash there is a log file named hs_err_pid2728.log

I copied one of those to here:

http://pastebin.com/JX56DeW7

It looks like there is something going wrong with outputting the images:
InternalAprOutputBuffer.flushBuffer

Anybody a clue?

Regards,

Richard Duivenvoorde

ps it is an open service, if needed I can provide a service url

This looks similar to but not quite the same as this tcnative issue:
https://issues.apache.org/bugzilla/show_bug.cgi?id=51813

tcnative is an optional extension for tomcat:
http://tomcat.apache.org/native-doc/

IIRC tcnative is bundled in the tomcat windows installer.

One workaround should be to remove the tcnative dll from your tomcat installation. Tomcat should then only use pure java and stop crashing the VM. I think there is mention in the above bug report that some crashes are fixed in later versions of tcnative.

Kind regards,
Ben.

On 15/10/13 16:09, Richard Duivenvoorde wrote:

Hi List,

we have had Geoserver running on Tomcat on Windows Server 2008 R2, for a
while without problems.

Recently we upgraded both Tomcat, JDK and Geoserver (2.3.3), and find
crashes regularly now.
We already downgraded to JDK 1.6 after finding messages that 1.7 was still
not supported.

The crashes are such that the Tomcat service stops and does not start up
anymore. Only Geoserver is running in Tomcat.

After the crash there is a log file named hs_err_pid2728.log

I copied one of those to here:

http://pastebin.com/JX56DeW7

It looks like there is something going wrong with outputting the images:
InternalAprOutputBuffer.flushBuffer

Anybody a clue?

Regards,

Richard Duivenvoorde

ps it is an open service, if needed I can provide a service url

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Ben Caradoc-Davies <Ben.Caradoc-Davies@anonymised.com>
Software Engineer
CSIRO Earth Science and Resource Engineering
Australian Resources Research Centre

By the way,
we added a workaround for Tomcat native crashin the VM here: http://jira.codehaus.org/browse/GEOS-5985
It’s part of GeoServer 2.4.0 onwards

Cheers
Andrea

···

On Tue, Oct 15, 2013 at 10:30 AM, Ben Caradoc-Davies <Ben.Caradoc-Davies@anonymised.com> wrote:

This looks similar to but not quite the same as this tcnative issue:
https://issues.apache.org/bugzilla/show_bug.cgi?id=51813

tcnative is an optional extension for tomcat:
http://tomcat.apache.org/native-doc/

IIRC tcnative is bundled in the tomcat windows installer.

One workaround should be to remove the tcnative dll from your tomcat
installation. Tomcat should then only use pure java and stop crashing
the VM. I think there is mention in the above bug report that some
crashes are fixed in later versions of tcnative.

Kind regards,
Ben.

On 15/10/13 16:09, Richard Duivenvoorde wrote:

Hi List,

we have had Geoserver running on Tomcat on Windows Server 2008 R2, for a
while without problems.

Recently we upgraded both Tomcat, JDK and Geoserver (2.3.3), and find
crashes regularly now.
We already downgraded to JDK 1.6 after finding messages that 1.7 was still
not supported.

The crashes are such that the Tomcat service stops and does not start up
anymore. Only Geoserver is running in Tomcat.

After the crash there is a log file named hs_err_pid2728.log

I copied one of those to here:

http://pastebin.com/JX56DeW7

It looks like there is something going wrong with outputting the images:
InternalAprOutputBuffer.flushBuffer

Anybody a clue?

Regards,

Richard Duivenvoorde

ps it is an open service, if needed I can provide a service url


October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk


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


Ben Caradoc-Davies Ben.Caradoc-Davies@anonymised.com
Software Engineer
CSIRO Earth Science and Resource Engineering
Australian Resources Research Centre


October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk


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

==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information.

Ing. Andrea Aime

@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


On 15-10-13 10:41, Andrea Aime wrote:

By the way,
we added a workaround for Tomcat native crashin the VM here:
http://jira.codehaus.org/browse/GEOS-5985
It's part of GeoServer 2.4.0 onwards

Cheers
Andrea

Thanks Andrea,

I will test upgrading to 2.4.0 first, because if I understand correct
this has a workaround for it (I prefer upgrading over copying around
dll's on different servers).

thanks all for the prompt answers!

Regards,

Richard