Bug #297
closed
Problem with data Export from Metacat
Added by Dan Higgins about 23 years ago.
Updated over 22 years ago.
Category:
morpho - general
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.
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)
Problem fixed with changes in Metacat
Original Bugzilla ID was 297
Also available in: Atom
PDF