Project

General

Profile

Bug #297

Problem with data Export from Metacat

Added by Dan Higgins over 18 years ago. Updated almost 18 years ago.

Status:
Resolved
Priority:
Immediate
Assignee:
Category:
morpho - general
Target version:
Start date:
10/16/2001
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
297

Description

If a dataset which includes a data document is inserted into production Metacat
context and then 'Exported' the export of the data document appears to work
(because there is also a local copy?) However, if local dataset is deleted and
then one 'Exports' from Metacat, the data document contains an error message
rather than the data!

It is currently not clear whether this is a Morpho or a Metacat problem. Thus,
this error has been entered to both.

History

#1 Updated by Dan Higgins over 18 years ago

The document returned contains (rather than original data):
<h1>Error: 500</h1>
<h2>Location: /knb/servlet/metacat</h2><b>Internal Servlet
Error:</b><br>

java.lang.IllegalStateException: OutputStream is already
being used for this request
    at
org.apache.tomcat.facade.HttpServletResponseFacade.getWriter(HttpServletResponseFacade.java:177)
    at edu.ucsb.nceas.metacat.MetaCatServlet.handleReadAction(MetaCatServlet.java:747)
    at edu.ucsb.nceas.metacat.MetaCatServlet.handleGetOrPost(MetaCatServlet.java:295)
    at edu.ucsb.nceas.metacat.MetaCatServlet.doPost(MetaCatServlet.java:180)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
    at org.apache.tomcat.core.Handler.service(Handler.java:286)
    at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
    at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
    at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
    at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
    at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
    at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
    at java.lang.Thread.run(Thread.java:484)

#2 Updated by Dan Higgins over 18 years ago

Problem fixed with changes in Metacat

#3 Updated by Redmine Admin about 7 years ago

Original Bugzilla ID was 297

Also available in: Atom PDF