jspwiki-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Louis.Mast...@log-net.com
Subject Re: Attachments truncated on download
Date Tue, 02 Feb 2010 13:18:43 GMT
OK, they reboot the entire machine and it loosk OK now.  I'm guessing it 
was some sort of caching issue.  How do I stop this from occurring in the 
future?


Louis.Masters@log-net.com wrote on 02/01/2010 11:51:33 AM:

> OK, it might be something with the cache.  I see the following the the 
log 
> when I try to download the attachment:
> 
> 2010-02-01 11:06:34,192 DEBUG 
> [com.ecyrd.jspwiki.providers.CachingAttachmentProvider] ...FOUND in the 
> cache
> 
> How do I clear this cache?  Also, will the following prop work with this 

> provider:
> 
> jspwiki.basicAttachmentProvider.disableCache
> 
> If so, will setting this adversely affect my system?
> 
> Thanks,
> Lou
> 
> 
> 
> 
> Harry Metske <harry.metske@gmail.com> 
> 01/25/2010 12:23 PM
> Please respond to
> jspwiki-user@incubator.apache.org
> 
> 
> To
> jspwiki-user@incubator.apache.org
> cc
> 
> Subject
> Re: Attachments truncated on download
> 
> 
> 
> 
> 
> 
> also make sure your browser cache is empty, jspwiki attachments get
> browser-cached.
> if that's not the case, you could raise jspwiki's loglevel for the
> attachment servlet to debug, and check the logs.
> 
> /Harry
> 
> 2010/1/25 <Louis.Masters@log-net.com>
> 
> > OK, I'm stuck.  I have a single Wiki installation that is encountering 

> the
> > following issue with attachments:
> >
> > 1.  Upload large attachment, say 20 Megs
> > 2.  Attachment displays as uploaded OK, and I checked the DB and the 
> file
> > looks OK.
> > 3.  When I click to download the file, I only get 8192 bytes,
> > consistently.
> >
> > I checked Tomcat and it looks like a standard installation.  Also, I 
> poked
> > around in the wiki configs and I find no setting that would affect 
this. 
> I
> > have other installs that download the complete file.
> >
> > Environment:
> >
> > JSPWiki 2.8.1
> > Windows 2003
> > Tomcat 5.5 in JBoss 4.2
> > JDK 1.5
> >
> > Thanks,
> > Lou
> >
> >
> >
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message