jspwiki-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Janne Jalkanen (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JSPWIKI-198) A "HTTP Status 404 - Attachment "Main", version -1 does not exist
Date Sun, 02 Mar 2008 20:18:50 GMT

    [ https://issues.apache.org/jira/browse/JSPWIKI-198?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12574255#action_12574255

Janne Jalkanen commented on JSPWIKI-198:

Also, could you please describe exactly what you are doing?  Does the file appear in the attachment
directory? How about in your workDir/attach-tmp?  Does the upload succeed and then you get
the error, or does it appear when you just go to Upload.jsp?

There are no errors in the log files, so therefore this is almost impossible to debug...

> A "HTTP Status 404 - Attachment "Main", version -1 does not exist
> -----------------------------------------------------------------
>                 Key: JSPWIKI-198
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-198
>             Project: JSPWiki
>          Issue Type: Bug
>          Components: Authentication&Authorization
>    Affects Versions: 2.6.1
>         Environment: XP, JSPWiki 2.4.102, Apache Tomcat 5.5.23, IE Version 6.0.2900....
>            Reporter: Robert Berg
>         Attachments: catalina.2008-02-26.log, jspwiki.log, localhost.2008-02-26.log
> I installed JSPWiki 2.4.102 and setup container managed security using a MySql database(with
the reccommended JDBC connector)  to store user id's, roles(Admin, Auhenticated), and digested
passwords. The jspwiki.policy is used. I copied the application data files over from the older
version(2.4.102) and the Everthing seems to work well except uploading attachments. When I
attempt to upload an attachment on a jspwiki page, I get a:
> "HTTP Status 404 - Attachment "Main", version -1 does not exist" 
> message: Attachment 'Main', version -1 does not exist
> description: The requested resource (Attachment 'Main', version -1 does not exist.) is
not available
> Apache Tomcat/5.5.23
> jspwiki.properties contains:
> jspwiki.basicAttachmentProvider.storageDir = c:\\p\\web\\www-data\\jspwiki
> jspwiki.fileSystemProvider.pageDir = c:\\p\\web\\www-data\\jspwiki
> How do I get attachments to work?

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message