Hi Michael I already have a mySQL database set up with the correct schema (I think) for using JDBCDescriptorsStore, but I just can't get it to work. I keep getting the "No object found at /actions" error, and it throws a 500 every time I try and view the store in the browser.
I muddled for nearly a fortnight over it last time! I have noticed (in the slide-stores.jar) that there is a Descriptors class called MySQLDescriptorsStore. Could using this sort my problems out? If you have any tips then that would be great. Many thanks Stu -----Original Message----- From: Michael Oliver [mailto:[EMAIL PROTECTED] Sent: 13 August 2003 14:53 To: [EMAIL PROTECTED] Subject: RE: weird error on file PUT Well I was responding to your first message but you found the switch and that's what is important. "Memory" ought to give you the clue you are looking for. Follow Stan's advice and go with JDBC for Descriptors and either the Filesystem or JDBC for content and you should be fine. Michael Oliver CTO/Matrix Intermedia 7391 S. Bullrider Ave. Tucson, AZ 85747 Office (520)574-1150 Cell (518)378-6154 Stuart MacPherson said: > I think I mentioned the switch that you speak of in my previous email. > > I am using MemoryDescriptorsStore and FileContentStore. I think I am > beginning to see why its not working... does it lose the descriptors to > the file when I restart the server? > > I still think it's a bit weird that there never is anything put into the > actual directory, even though it shows something in the browser. > > Many thanks > Stu > > > -----Original Message----- > From: Michael Oliver [mailto:[EMAIL PROTECTED] > Sent: 13 August 2003 14:37 > To: [EMAIL PROTECTED] > Subject: RE: weird error on file PUT > > Which store are you using, it sounds like a memory store, not the > filesystem store. > > Michael Oliver > CTO/Matrix Intermedia > 7391 S. Bullrider Ave. > Tucson, AZ 85747 > Office (520)574-1150 > Cell (518)378-6154 > > > Stuart MacPherson said: >> I spotted that, and I tried to change the directory that >> 'contentstore' resides in, but it seems to make no difference. I also >> set the store parameter 'resetBeforeStarting' to 'false', and even >> though this looks like the problem root, it made no difference either! >> >> Is it significant that when I look in the contentstore folder AFTER >> the file upload and whilst the server is still running, it is totally >> empty? >> This conflicts with the Directory Listing in the browser, which, if >> refreshed, shows the item that has been uploaded (albeit as a folder >> instead of a file as it should be... I can even click this faux folder >> and it will navigate into it! There are no contents tho!). >> >> Many thanks again >> Stu >> >> >> >> -----Original Message----- >> From: Stan Pinte [mailto:[EMAIL PROTECTED] >> Sent: 13 August 2003 13:03 >> To: Slide Users Mailing List >> Subject: Re: weird error on file PUT >> >> At 12:57 13/08/2003 +0100, you wrote: >> >>>Hi >>> >>> >>> >>>I have written a Servlet that handles file uploads to Slide using >>> Apache Commons FileUpload, but when it tries to create the new >>> WebdavResource, and PUT it, I get the following error& and when I >>> look a the store, it seems to have created a folder called >>> errmsg.txt/ instead of a text file. I have attached the Servlet >>> file to this email (I know the FileUpload module file handling is >>> not optimised, but its just a test at the mo). >>> >>> >>> >>>Incidentally, every time I restart Tomcat, it wipes the store >>> including >>> any folders I have created properly(!) using Windows WebFolders& >>> what >>> could be causing that, and how can I sort it? >> >> You have to modify the location of the store, in the Domain.xml >> configuration file (included in the slide.war). I advise aswell to >> switch to JDBC persistence for descriptors, as it proves to be rather >> stable. >> >> Stan. >> >>> >>> >>>Cheers >>> >>>stu >>> >>> >>> >>>13 Aug 2003 12:41:47 - org.apache.slide.webdav.WebdavServlet - INFO - >>> GET = 200 >>> >>>OK (time: 10 ms) URI = /files >>> >>>Filename = G:\mysql\share\slovak\errmsg.txt >>> >>>Content Type = text/plain >>> >>>In Memory? = false >>> >>>Size in bytes = 13329 >>> >>>The HttpURL is... http://localhost:8080/slide/files/errmsg.txt >>> >>>13 Aug 2003 12:42:05 - org.apache.slide.webdav.WebdavServlet - INFO - >>> PROPFIND > >>> 207 Multi-Status (time: 60 ms) URI = /files/errmsg.txt >>> >>>13 Aug 2003 12:42:05 - org.apache.slide.webdav.WebdavServlet - INFO - >>> PUT = 409 >>> >>>Conflict (time: 0 ms) URI = /files/errmsg.txt >>> >>>THE DESTINATION PATH = /files >>> >>>The URI is... /files/errmsg.txt >>>--------------------------------------------------------------------- >>> To unsubscribe, e-mail: [EMAIL PROTECTED] For >>> additional commands, e-mail: [EMAIL PROTECTED] >>> >>>--- >>>Incoming mail is certified Virus Free. >>>Checked by AVG anti-virus system (http://www.grisoft.com). >>>Version: 6.0.507 / Virus Database: 304 - Release Date: 04/08/2003 >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] > > > > > --------------------------------------------------------------------- To > unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > --------------------------------------------------------------------- To > unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
