[opencms-dev] Tomcat 3.2.1 - Small Problem

Sandor Spruit sandor at cs.uu.nl
Tue Feb 6 10:24:51 CET 2001


Simon,

[Just replying here to help out the folks who might be able to correct
this error - I'm not "into" the OpenCMS code at the moment]

There are two methods used to supply the data to fulfill a HTTP
request in a servlet:

(1) Use the method "getOutputStream()" to obtain a reference to the
stream representing the stuff returned to the client's webbrowser;

(2) Use the method "getWriter()" to do the same

I believe this sort of error occurs when you're trying to do *both* at
the same time.

Sandor

On Monday, February 05, 2001, 10:39:08 AM, you wrote:

Simon> Hi all,

Simon> I have found a problem with Tomcat 3.2.1, at least under W2000 (haven't
Simon> tried Linux yet). When I edit a page with the DHTML Editor there is a delay
Simon> before the content is displayed and the following error appears in the
Simon> Tomcat console:

Simon> Mon Feb 05 10:29:12 GMT+01:00 2001 doGet()  reqAm:4 users:1 50ms
Simon> [17079/2654/14425] threads:35
Simon> /system/workplace/templates/js/opencms_edithtml.js Admin
Simon> 2001-02-05 10:29:12 - Ctx(  ): Servlet API error: sendError with commited
Simon> buffer


-- 
ir A.G.L. Spruit, Utrecht University, the Netherlands
Institute of information and computing sciences
"There is a bit of magic in everything, and then some
loss to even things out" (from: Lou Reed, "Magic and Loss")





More information about the opencms-dev mailing list