Hi,

While migrating from Jserv 0.9.11 to 1.0b3 + SSI-19981216 I found that
all my servlets throw

  java.lang.IllegalStateException: Already called getOutputStream.
        at java.lang.Throwable.<init>(Compiled Code)

This problem has already been reported in PRs 3628 and 3737 but they
seem to be still open.

As a quick fix I'm using the suggestion in PR 3628 of calling
res.getOutputStream() instead of res.getWriter() however this
seems quite a kludge and requires going thru all the servlets' code.

The problem seems to due to JServSSI.java calling res.getOutputStream() in
method interpretPage() so that JServ
throws the exception in JServConnection.java , as described in JSDK2.0
docs, when the called servlet does a getWriter().

Has anybody come up with a fix? 

Last week I submitted PR 3979; has anybody else had this problem? I
didn't receive any feedback

TIA

e.

========================================================================
Enrico Badella                       email:   [EMAIL PROTECTED]
Soft*Star srl                                 [EMAIL PROTECTED]
InterNetworking Specialists          tel:     +39-011-746092            
Via Camburzano 9                     fax:     +39-011-746487
10143 Torino, Italy

  Wanted, for hobbist use, any type of PDP and microVAX hardware,software,
  manuals,schematics,etc. and DEC-10 docs or manuals
==========================================================================


----------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://www.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to