You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by "Janne Jalkanen (JIRA)" <ji...@apache.org> on 2008/03/02 21:14:50 UTC

[jira] Commented: (JSPWIKI-198) A "HTTP Status 404 - Attachment "Main", version -1 does not exist

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

Janne Jalkanen commented on JSPWIKI-198:
----------------------------------------

How does your jspwiki.basicAttachmentProvider.storageDir property look like?  Is it connected to a valid path?

You need to subscribe by sending an email to jspwiki-user-subscribe at incubator.apache.org.

> 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.