Project

General

Profile

« Previous | Next » 

Revision 845

Added by Matt Jones over 22 years ago

Fixed problem with metacat handleReadAction where the OutputStream from the
response object was closed and an attempt to reopen a PrintWriter was made
on the same response, which is illegal. Now the OutputStream is converted
to a PrintWriter in order to write the XML error message back to the client.

Still may have a problem with determining why an exception is being thrown
in handleReadAction in the first place. Many exceptions are handled in this
try/catch block, and so we'll probably need to track it down when we can
reproduce the behavior.

View differences:

build.xml
39 39
      <property name="release" value="1.0beta2"/>
40 40
      <property name="web-base-url" 
41 41
                value="http://knb.ecoinformatics.org"/>
42
      <property name="replication-path" value="//servlet/replication"/>
42
      <property name="replication-path" value="/servlet/replication"/>
43 43
      <property name="servlet-path" value="/jones/servlet/metacat"/>
44 44
      <property name="html-path" value="/jones"/>
45 45
      <property name="image-path" value="/img/jones" />

Also available in: Unified diff