tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From syg6 <>
Subject Error when serving large Word doc
Date Wed, 02 Jan 2008 09:49:23 GMT

I am running Tomcat 5.5 on Windows 2000 Server. I have a jsp page with a
scriptlet that basically takes the 'out' object (JspWriter) and spits out a
bunch of info from the database along with Word formatting and using the
'msword' mime type. It is a total kludge, I know, but I didn't write it, I
just inherited it.

Anyway, when I have a lot of data the generated Word file is unable to be
opened. The process itself finishes correctly but it seems that when Tomcat
tries to serve it, it craps out. We're talking about less that 5Mb here, not
exactly a huge file.

I've been looking at increasing the bufferSize using the Jsp page directive
but doing so changes the error; it tells me that format is correct.

Is there anywhere in the server.xml (or somewhere else?) where I can
increase the maximum file size that Tomcat can serve?

View this message in context:
Sent from the Tomcat - User mailing list archive at

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message