[daisy] Error on Browsing for Images

Bruno Dumon bruno at outerthought.org
Mon Jan 7 02:57:17 CST 2008


On Fri, 2008-01-04 at 09:43 -0800, Jill Giboney wrote:
> It does look like Daisy is using that tmp directory in the wikidata folder.
> I'm attaching a screenshot of it.
> 

Ok, that seems allright then.

I'm still pretty sure the error is caused by a sudden removal of the
temporary image upload directory, though I can't imagine what the cause
could be. Anyone has an idea?


> Thanks,
> 
> Jill Giboney
> Arcadia Solutions LLC
> 
> -----Original Message-----
> From: daisy-bounces at lists.cocoondev.org
> [mailto:daisy-bounces at lists.cocoondev.org] On Behalf Of Bruno Dumon
> Sent: Friday, January 04, 2008 1:19 AM
> To: Daisy: open source CMS - general mailinglist
> Subject: Re: [daisy] Error on Browsing for Images
> 
> On Thu, 2008-01-03 at 10:39 -0800, Jill Giboney wrote:
> > We are experiencing a problem on one of our Daisy installations. All of a
> > sudden, none of the users can browse for images to upload.
> > 
> > This occurs after five to ten users have been editing for a few hours. All
> > of a sudden, the users are no longer able to upload images. They get the
> > message below at the point where they choose "upload a new image from your
> > local disk":
> > 
> > ---------------------------------------------------------------------
> > Problem in creating the Request
> > 
> > Message: null
> > 
> > Description: No details available.
> > 
> > Sender: org.apache.cocoon.servlet.CocoonServlet
> > 
> > Source: Cocoon Servlet
> > 
> > cause
> > 
> > Malformed stream: The system cannot find the path specified
> > 
> > request-uri
> > 
> >
> /TG-CustomerSchedules/new/edit/1e514c6f4235763a74752f780a2727767300867f/part
> > -ImageData
> > 
> > Apache Cocoon 2.1.11-dev
> > 
> > -------------------------------------------------------------------------
> 
> I'm wondering if this could be related to automatic removal/cleanup of
> the temporary directory. When uploading images, these are first put in a
> temporary directory (inside the sytem temporary directory). On some
> systems there are scripts which automatically clean out the temporary
> directory after some time, causing this exact problem.
> 
> Starting from Daisy 2.0, the temp directory is by default located in the
> wikidata directory, rather than in the system temp directory, to avoid
> cleanup problem. So the location of the temp directory is then:
> 
> <wikidata directory>/tmp
> 
> Maybe you can check that this directory is really used, this is the case
> if you see a directory named "Jetty__8888__" inside it.

-- 
Bruno Dumon                             http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
bruno at outerthought.org                          bruno at apache.org


More information about the daisy mailing list