Return-Path: Delivered-To: apmail-incubator-jspwiki-user-archive@locus.apache.org Received: (qmail 5254 invoked from network); 19 Mar 2008 20:40:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Mar 2008 20:40:29 -0000 Received: (qmail 14010 invoked by uid 500); 19 Mar 2008 20:40:26 -0000 Delivered-To: apmail-incubator-jspwiki-user-archive@incubator.apache.org Received: (qmail 13999 invoked by uid 500); 19 Mar 2008 20:40:26 -0000 Mailing-List: contact jspwiki-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jspwiki-user@incubator.apache.org Delivered-To: mailing list jspwiki-user@incubator.apache.org Received: (qmail 13990 invoked by uid 99); 19 Mar 2008 20:40:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Mar 2008 13:40:26 -0700 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of robert.l.berg@boeing.com designates 130.76.96.56 as permitted sender) Received: from [130.76.96.56] (HELO stl-smtpout-01.boeing.com) (130.76.96.56) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Mar 2008 20:39:36 +0000 Received: from stl-av-01.boeing.com (stl-av-01.boeing.com [192.76.190.6]) by stl-smtpout-01.ns.cs.boeing.com (8.14.0/8.14.0/8.14.0/SMTPOUT) with ESMTP id m2JKdrdS000583 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Wed, 19 Mar 2008 15:39:55 -0500 (CDT) Received: from stl-av-01.boeing.com (localhost [127.0.0.1]) by stl-av-01.boeing.com (8.14.0/8.14.0/DOWNSTREAM_RELAY) with ESMTP id m2JKdrE8015749 for ; Wed, 19 Mar 2008 15:39:53 -0500 (CDT) Received: from XCH-NWBH-11.nw.nos.boeing.com (xch-nwbh-11.nw.nos.boeing.com [130.247.55.84]) by stl-av-01.boeing.com (8.14.0/8.14.0/UPSTREAM_RELAY) with ESMTP id m2JKdpfs015664 for ; Wed, 19 Mar 2008 15:39:52 -0500 (CDT) Received: from XCH-NW-8V2.nw.nos.boeing.com ([130.247.55.70]) by XCH-NWBH-11.nw.nos.boeing.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 19 Mar 2008 13:39:51 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: A "HTTP Status 404 - Attachment"Main", version -1 does not exist Date: Wed, 19 Mar 2008 13:39:50 -0700 Message-ID: <46F5112156BC31469A43CE887604720F040ACF81@XCH-NW-8V2.nw.nos.boeing.com> In-Reply-To: <46F5112156BC31469A43CE887604720F040ACF78@XCH-NW-8V2.nw.nos.boeing.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: A "HTTP Status 404 - Attachment"Main", version -1 does not exist Thread-Index: Ach8orw/35Fx1qflSUes98mUBTCsjAAujcwwAWKc7TAALhKJkAAF4l1gAZJtadA= References: <46F5112156BC31469A43CE887604720F040ACF72@XCH-NW-8V2.nw.nos.boeing.com> <46F5112156BC31469A43CE887604720F040ACF75@XCH-NW-8V2.nw.nos.boeing.com> <46F5112156BC31469A43CE887604720F040ACF78@XCH-NW-8V2.nw.nos.boeing.com> From: "Berg, Robert L" To: X-OriginalArrivalTime: 19 Mar 2008 20:39:51.0010 (UTC) FILETIME=[612E8C20:01C88A01] X-Virus-Checked: Checked by ClamAV on apache.org Janne, Found the problem in the web.xml file. I removed the attach reference from the Read-only Area: Read-only Area=20 DELETE POST PUT Hmm... Then I have to admit that I have no idea what might be going =20 on. Could you poke around and see if there is any common factor? =20 Try different browsers, check permissions on temp directories, try =20 without container security, etc. Then send some log files to the list? /Janne On Mar 11, 2008, at 22:35 , Berg, Robert L wrote: >=20 -----Original Message----- From: Berg, Robert L=20 Sent: Tuesday, March 11, 2008 1:35 PM To: 'jspwiki-user@incubator.apache.org' Subject: RE: A "HTTP Status 404 - Attachment"Main", version -1 does not exist =20 Janne, I'm using the default template jspwiki.templateDir =3D default # # Preferences for default template # jspwiki.defaultprefs.template.skinname =3DPlainVanilla jspwiki.defaultprefs.template.dateformat =3Ddd-MMM-yyyy HH:mm jspwiki.defaultprefs.template.timezone =3DGMT+01:00 jspwiki.defaultprefs.template.orientation =3Dfav-left jspwiki.defaultprefs.template.editor =3Dplain Any chance you're using the brushed template? You're not the only one who has had this problem, and I think the common factor has been that people are using brushed. /Janne=20 -----Original Message----- From: Berg, Robert L Sent: Monday, March 10, 2008 12:49 PM To: 'jspwiki-user@incubator.apache.org' Subject: A "HTTP Status 404 - Attachment"Main", version -1 does not exist =20 > 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: > =20 > "HTTP Status 404 - Attachment "Main", version -1 does not exist"=20 > message: Attachment 'Main', version -1 does not exist > description: The requested resource (Attachment 'Main', version -1=20 > does not exist.) is not available Apache Tomcat/5.5.23=20 > jspwiki.properties contains: > jspwiki.basicAttachmentProvider.storageDir =3D=20 > c:\\p\\web\\www-data\\jspwiki jspwiki.fileSystemProvider.pageDir =3D=20 > c:\\p\\web\\www-data\\jspwiki The error occurs after I have browsed to the file I would like to have attached to the page. I immediately get the error. "attach.ppt" shows the "Add New Attachment" window in the IE browser just before I activate the "Upload" button. The window shows one attachment that I recently added manually by editing the wiki data to see if I could try to workaround the upload issue. This "Hello World.ppt" attachment displays when in double click on it. So the problem is getting the attachment loaded. Once its loaded I can view it in the normal way. I found no files in my C:/tmp/attach-tmp directory, nor in the expected location in the data files.=20 The attachments contain my configuration files which are both tomcat and wiki. I have implemented the wiki to have container mangaged security, with user names, roles, and passwords stored in a MySql database. The passowrds are encrypted using the MD5 algorithm. We require that when the wiki is invoked, the login page appears and nothing in the wiki can be viewed until a valid login has occurred. We are using SSL/TLS (https) to handle the login. All user id's, passwords, and roles are created by myself manually and inserted into the MySql database. The current roles we are using are: ADMIN and AUTHENTICATED. Everything is working great except uploading attachments. Anyone have a idea on how to fix the problem?