Ludovic,

What version of Fedora are you on?  It looks like you may have run into 
this bug:

https://jira.duraspace.org/browse/FCREPO-774

... which was fixed in version 3.4.2.

-- Scott


Ludovic Deravet wrote:
> Hello,
> 
> We are having a strange issue (*Stream closed*) when working for the REST
> API of Fedora:
> 
> 2011-03-07 23:23:15,864 ERROR [DISSEMINATION] (http-127.0.0.1-8080-4)
> Exception while processing dissemination service request:
> uri=/resource/709d8fa2-592a-4d3e-a86d-c1279741a41c;headers=[host=localhost:8080,
> user-agent=Mozilla/5.0 (Windows; U; Windows NT 6.1; fr; rv:1.9.2.6)
> Gecko/20100625 Firefox/3.6.6,
> accept-language=fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3,
> accept-encoding=gzip,deflate, accept-charset=ISO-8859-1,utf-8;q=0.7,*;q=0.7,
> keep-alive=115, connection=keep-alive, cookie=GUEST_LANGUAGE_ID=en_US;
> COOKIE_SUPPORT=true; LOGIN=746573744074656e666f7263652e636f6d;
> SCREEN_NAME=6f6672492f4353617541493d, accept=application/xml;notice=tree,
> cache-control=max-age=0]. [ps 'cellar' - psid
> '709d8fa2-592a-4d3e-a86d-c1279741a41c']: I/O error: Stream closed; nested
> exception is java.io.IOException: Stream closed
> 
> org.springframework.web.client.ResourceAccessException: I/O error: Stream
> closed; nested exception is java.io.IOException: Stream closed
> 
>                 at
> org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:453)
> 
>                 at
> org.springframework.web.client.RestTemplate.execute(RestTemplate.java:401)
> 
>                 at
> org.springframework.web.client.RestTemplate.getForObject(RestTemplate.java:199)
> 
> 
> The Springframework class RestTemplate is call by our code and looks like
> this:
> 
> restTemplate.getForObject(fedoraUrl, String.class, urlVariables);
> 
> It runs fine under normal load but start to appears randomly under heavy
> load. Someone has already got such a problem and can give me some hints
> about how to solve it? Thanks.
> 
> Kind regards
> 
> 
> ------------------------------------------------------------------------
> 
> ------------------------------------------------------------------------------
> What You Don't Know About Data Connectivity CAN Hurt You
> This paper provides an overview of data connectivity, details
> its effect on application quality, and explores various alternative
> solutions. http://p.sf.net/sfu/progress-d2d
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Fedora-commons-users mailing list
> Fedora-commons-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users


-- 
Scott Prater
Library, Instructional, and Research Applications (LIRA)
Division of Information Technology (DoIT)
University of Wisconsin - Madison
pra...@wisc.edu

------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
Fedora-commons-users mailing list
Fedora-commons-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to