You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jspwiki.apache.org by Lo...@log-net.com on 2010/02/01 17:51:33 UTC

Re: Attachments truncated on download

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 <ha...@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 <Lo...@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
>
>
>


Re: Attachments truncated on download

Posted by Lo...@log-net.com.
I spoke too soon.  I'm still having the issue with some of the files. 
Strange thing is, every now and then, the file won't be truncated.

I'm stumped.

-Lou


Louis.Masters@log-net.com wrote on 02/02/2010 08:18:43 AM:

> 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 <ha...@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 <Lo...@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
> > >
> > >
> > >
> > 

Re: Attachments truncated on download

Posted by Lo...@log-net.com.
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 <ha...@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 <Lo...@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
> >
> >
> >
>