Re: upload size is -1

Gabe Wong <[email protected]> Mon, 08 Oct 2007 09:45:54 -0700
Newsgroups gmane.comp.java.jspwiki.user
Message-ID <[email protected]>
The logs here also shows "size -1" .In your logs, there should be an 
entry "Saving attachment contents to", check the specified directory.

jxt wrote:
> Gabe Wong wrote:
>   
>> Sorry,
>> Those examples are cleared daily. Go to the following site. Click the 
>> Demo section to login to the console to install JSPWiki.
>> http://www.ngasi.com
>>
>>     
>
> Okay, that worked. And the upload succeded. Then I tried uploading the same
> file
> to my own JSPWiki. Same nothing as before. With yours, after clicking
> Upload, I was
> taken to a page that said the size of the upload. With mine, nothing. My
> logs,
> slightly sanitized, say this:
>
> 2007-10-08 12:00:32,092 [http-8080-2] INFO SecurityLog
> JSPWiki:/JSPWiki/Login.jsp
> JSPWiki:http://proto-rdc.ornl.gov:8080/JSPWiki/Login.jsp -
> WikiSecurityEvent.LOGIN_AUTHENTICATED
> [source=com.ecyrd.jspwiki.auth.AuthenticationManager@18f6559,
> princpal=com.ecyrd.jspwiki.auth.WikiPrincipal admin,
> target=com.ecyrd.jspwiki.WikiSession@1a13f3d]
>
> 2007-10-08 12:00:32,103 [http-8080-2] INFO JSPWiki
> JSPWiki:/JSPWiki/Login.jsp
> JSPWiki:http://proto-rdc.ornl.gov:8080/JSPWiki/Login.jsp - Successfully
> authenticated user admin (custom auth)
>
> 2007-10-08 12:00:32,105 [http-8080-2] INFO JSPWiki
> JSPWiki:/JSPWiki/Login.jsp
> JSPWiki:http://proto-rdc.ornl.gov:8080/JSPWiki/Login.jsp - Redirecting user
> to Wiki.jsp?page=Main
>
> 2007-10-08 12:00:52,570 [http-8080-2] INFO
> com.ecyrd.jspwiki.attachment.AttachmentServlet
> JSPWiki:http://proto-rdc.ornl.gov:8080/JSPWiki/attach - User [WikiPrincipal
> (fullName): Admin] uploaded attachment to Main called bottle-open.wav, size
> -1
>
> Thanks for any advice...
>   


-- 
Regards

Gabe Wong
Private JVM JAVA Hosting Automation
http://www.ngasi.com