You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Hans Schmid <Ha...@einsurance.de> on 2001/08/20 10:32:13 UTC

Tomcat3.3b1 crashes when rendering JPEGs

Hi,

we have frequent crashes when rendering JPEGs:

Has anybody seen this kind of VM crash on Solaris 7?
We have to restart our Tomcat every 3-4 days because of this.

Our setup:

Apache 1.3.19, Tomcat 3.3b1, mod_jserv which comes with JServ 1.1.2 since we
still have our main part of the application running under JServ. Solaris 7

Question:
Are the sources in native/mod_jserv in the Tomcat 3.3b1 distribution
compatible with
JServ 1.1.2?


Exception in thread "Thread-7" java.io.IOException: Broken pipe
        at java.net.SocketOutputStream.socketWrite(Native Method)
        at java.net.SocketOutputStream.write(SocketOutputStream.java:83)
        at org.apache.tomcat.modules.server.Http10.doWrite(Http10.java:456)
        at
org.apache.tomcat.modules.server.AJP12Response.doWrite(Ajp12Interceptor.java
:281)
        at
org.apache.tomcat.core.OutputBuffer.realWriteBytes(OutputBuffer.java:188)
        at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:348)
        at
org.apache.tomcat.core.OutputBuffer.writeBytes(OutputBuffer.java:222)
        at org.apache.tomcat.core.OutputBuffer.write(OutputBuffer.java:215)
        at
org.apache.tomcat.facade.ServletOutputStreamFacade.write(ServletOutputStream
Facade.java:103)
        at sun.awt.image.codec.JPEGImageEncoderImpl.writeJPEGStream(Native
Method)
        at
sun.awt.image.codec.JPEGImageEncoderImpl.encode(JPEGImageEncoderImpl.java:47
5)
        at
sun.awt.image.codec.JPEGImageEncoderImpl.encode(JPEGImageEncoderImpl.java:23
1)
        at org.jCharts.ExportableImage.exportJPG(ExportableImage.java:169)
        at
de.einvest.application.avtool.gfx.RenderServlet.doGet(RenderServlet.java:356
)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java)
        at
org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:500)
        at org.apache.tomcat.core.Handler.service(Handler.java:223)
        at
org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:448)
        at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:91
1)
        at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:824)
        at
org.apache.tomcat.modules.server.Ajp12Interceptor.processConnection(Ajp12Int
erceptor.java:195)
        at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:438)
        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:505)
        at java.lang.Thread.run(Thread.java:484)
#
# HotSpot Virtual Machine Error, Internal Error
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Error ID: 5448524541442C4F43414C33544F524147450E435050002B 01
#
# Problematic Thread: prio=5 tid=0xe9ea0 nid=0x13 runnable
#


Thanks a lot for your help,

Hans Schmid

einsurance Agency AG
Information Technology
Bayerstraße 33
80335 München

Tel: +49-89-55292- 860
Fax: +49-89-55292- 855

eMail: Hans.Schmid@einsurance.de
http://www.einsurance.de


Re: Tomcat3.3b1 crashes when rendering JPEGs

Posted by "Pier P. Fumagalli" <pi...@betaversion.org>.
Hans Schmid at Hans.Schmid@einsurance.de wrote:

> Hi,
> 
> we have frequent crashes when rendering JPEGs:
> 
> Has anybody seen this kind of VM crash on Solaris 7?
> We have to restart our Tomcat every 3-4 days because of this.
> 
> Our setup:
> 
> Apache 1.3.19, Tomcat 3.3b1, mod_jserv which comes with JServ 1.1.2 since we
> still have our main part of the application running under JServ. Solaris 7
> 
> Question:
> Are the sources in native/mod_jserv in the Tomcat 3.3b1 distribution
> compatible with
> JServ 1.1.2?

Answer:

Nope :-( 

    Pier