I had the same problem. Afaik the WCK performs some tests with the store
implementation on startup (e.g. writing to a directory). Have a look at the
reference implementation, that throws exceptions (like
ObjectNotFoundException when you try setResourceContent() on a directory).
If those exceptions are not thrown the WCK doesn't run correctly.

HTH
Robert Erler




> --- Ursprüngliche Nachricht ---
> Von: Eugeny N Dzhurinsky <[EMAIL PROTECTED]>
> An: Slide Users Mailing List <[email protected]>
> Betreff: Re: Slide tries to get contents of folder
> Datum: Tue, 14 Feb 2006 19:47:28 +0200
> 
> On Tue, Feb 14, 2006 at 09:20:24AM -0800, Michael Oliver wrote:
> > Well obviously it is hard to say without seeing the code (no I don't
> have
> > time to look at your code), but something you did say might be a clue.
> > 
> > You said, " my store returns true for folder /files, so I don't have any
> > idea why slide tries to get contents of this directory "
> > 
> > So do you understand that the "/files" node is a collection/folder?  And
> > that it would be natural to get the contents of a root directory like
> > /files?
> > 
> > Things to check.  What did you do differently in your store than are
> done in
> > the default Tx* stores?  Replace one store at a time with your own
> stores,
> > this sometimes helps to identify what you did wrong as one store depends
> on
> > another in a chain sometimes it is hard to determine the actual cause as
> the
> > previous store call might succeed but be wrong in its implementation
> causing
> > the next store call in the chain to fail.  Ensure your scope is the same
> > initially as the default Tx stores.  Get a default working first with
> all
> > the Tx* stores so you have a reference with a working repository.
> > 
> > After that if you haven't figured it out, post your Domain.xml and error
> log
> > extracts (not the whole thing please) along with the offending Store
> source
> > method and maybe somebody will be able to help.
> 
> Okay, but what about this: if I delete the 'files' directory, and then
> start
> Tomcat, EVERYTHING works fine - no exceptions or whatever else. But if I
> restart tomcat, it throws the exception and nothing works anymore. Makes
> sense?
> 
> -- 
> Eugene N Dzhurinsky
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

-- 
DSL-Aktion wegen großer Nachfrage bis 28.2.2006 verlängert:
GMX DSL-Flatrate 1 Jahr kostenlos* http://www.gmx.net/de/go/dsl

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to