Oracle store

2004-11-17 Thread Luke Noel-Storr
Hi, I'm trying to use the oracle store but get the following error: Error instantiating Adapter 'org.apache.slide.store.impl.rdbms.OracleRDBMSAdapter' I then get a load of exceptions later on, but suspect this may be the root of the problem. It seems to be connecting to the database OK though.

Re: Oracle store

2004-11-17 Thread Luke Noel-Storr
OK, solved that one (had to copy some files from the lib directory in the download to the lib directory in the webapp), and then solved the problem of the PROPERTY_VALUE field being too small (although I still fear it will be too small - why isn't it a blob??). Next problem is the following

Re: Added projector documentation link

2004-11-17 Thread Daniel Florey
Slide Users Mailing List [EMAIL PROTECTED] schrieb am 17.11.04 07:50:24: On Sun, 2004-11-14 at 02:34 +0100, Stephane Bailliez wrote: [snip...] why did you make your own template language ? When I see this: ?username h1 ?style style=%style%?Hello

Re: WCK: correct way to interoperate with slide locks

2004-11-17 Thread Alessandro Apostoli
Hi Oliver, I tried the approach and unfortunately it does not work, it looks like slide needs to be internally aware of the lock. I need to verify it but I think that a request to wck:lock() creates an internal reference for the lock in slide. my pseudo code: Map davLocks = new HashMap(); ...

RE: webdav client Ace - is there a 'setInheritable(boolean)' method ?

2004-11-17 Thread Nick Longinow
Hmm, ok thanks. -Original Message- From: Michael Smith [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 16, 2004 7:08 PM To: Slide Users Mailing List Subject: Re: webdav client Ace - is there a 'setInheritable(boolean)' method ? Nick Longinow wrote: On the object

Re: Added projector documentation link

2004-11-17 Thread Tim Frank
See inline below, James Mason wrote on 17/11/04 01:52 AM: On Sun, 2004-11-14 at 02:34 +0100, Stephane Bailliez wrote: [snip...] [snip again...] I don't think JXTemplate can handle conditional attributes, but I would like to point out that in most cases there's a false value that can be used to

Re: Oracle store

2004-11-17 Thread Luke Noel-Storr
OK, I tried stating over, and that error seems to have gone now too. However, I now have the problem that whenever I try and store something, it seems to lose all the content of the file (I'm just drag-dropping it in with web-folders). I get the following in the logs after trying to add and

Re: Oracle store

2004-11-17 Thread Luke Noel-Storr
and now a new exception (last problem still not solved) 17 Nov 2004 14:35:57 - org.apache.slide.store.impl.rdbms.StandardRDBMSAdapter - INFO - DeCompressing the data java.lang.IllegalStateException at org.apache.coyote.tomcat5.CoyoteResponseFacade.setBufferSize(CoyoteResponseFacade.java:244)

Re: WCK: correct way to interoperate with slide locks

2004-11-17 Thread Oliver Zeigermann
On Wed, 17 Nov 2004 14:30:34 +0100, Alessandro Apostoli [EMAIL PROTECTED] wrote: Map davLocks = new HashMap(); ... Lock[] getLockInfo(String uri) { MyLock myLock = null; String lockId = null; if ((myLock = getProprietaryLock()) != null) { if ((lockId =

Re: WCK: correct way to interoperate with slide locks

2004-11-17 Thread Alessandro Apostoli
Oliver, I should have been more precise: (1) I do store locks set by webdav in a static Map, every call to lockObject() triggers the creation of a lock in my proprietary system and stores the lockId passed by wck in the map, if a lock already exists a SecurityException is

Re: Server API : JSR 170

2004-11-17 Thread Richard Emberson
James Mason wrote: Andy, Would a JCR (JSR 170) API to Slide be beneficial to your application? An idea some of the Slide developers have been kicking around is using Jackrabbit to write a wrapper around the WebDAV API so any WebDAV-accessible server would be JCR compliant. Interest is fairly low

Problem ...Internal server error //

2004-11-17 Thread mahesh kumar
Hello Everybody .. I am facing the problem in uloading the file using java api webdav client into oracle store .. When I am running the webdav client .. import java.io.File; import java.io.IOException; import java.net.MalformedURLException; import

Re: clustering

2004-11-17 Thread James Mason
Bin, If you can't use a combination of repository-domain and base-uri to get the path you want, than it's probably a bug. You can try setting your repository domain to /Warcontext/slide, I think that should work. I don't have a setup where I can test this, so you're going to have to let me know

Re: Added projector documentation link

2004-11-17 Thread James Mason
On Wed, 2004-11-17 at 08:54 -0500, Tim Frank wrote: One thing I don't think JXTemplate can handle (not sure on this) is outputting non-marked-up content. This would be a problem with CSS files, for example. I love the way the CSS theme is handled with the example application (I've copied

RE: Server API

2004-11-17 Thread James Mason
On Wed, 2004-11-17 at 14:31 +, Andy Bowes wrote: Hi James Thanks for your message. A JCR implementation on top of Slide would definitely fit the bill for our application. I have already made a start on creating a JCR implementation of our internal framework to enable us to provide

Re: Added projector documentation link

2004-11-17 Thread Tim Frank
James Mason wrote on 17/11/04 11:50 AM: On Wed, 2004-11-17 at 08:54 -0500, Tim Frank wrote: One thing I don't think JXTemplate can handle (not sure on this) is outputting non-marked-up content. This would be a problem with CSS files, for example. I love the way the CSS theme is handled with the

Re: Server API

2004-11-17 Thread Oliver Zeigermann
On Wed, 17 Nov 2004 08:59:40 -0800, James Mason [EMAIL PROTECTED] wrote: On Wed, 2004-11-17 at 14:31 +, Andy Bowes wrote: The long term goal for our portal is to be able to migrate to a JCR compliant repository but I reckon it will be nearly a year before the major CMS players introduce

Re: WCK: correct way to interoperate with slide locks

2004-11-17 Thread Oliver Zeigermann
Hi Alessandro, (1) This is wrong, do not throw an exception, but return it in getLockInfo as well, otherwise Slide will think it can acquire such a lock. This probably is the source of your problem. (2) I see, you are right. (3) But you have something like isExclusive in your lock implementation

write privileges for owner

2004-11-17 Thread Jason McElravy
I am hoping to get some clarification on a security configuration for slide. I want each user on my server to have write privileges in his home directory. To test this I tried to alter the default domain.xml configuration so john could write to /slide/users/john. I tried granting /actions/write

Indexing / DASL without Lucene

2004-11-17 Thread Mirko Froehlich
I am slightly confused about Slide's search implementation. It appears that Slide supports Lucene for indexing documents. I am using a file and a JDBC store, neither of which defines an indexer (i.e. the contentindexer element is commented out in my Domain.xml). Still, performing a DASL search

multiple stores vs. multiple namespaces

2004-11-17 Thread Mirko Froehlich
We will likely need to use several JDBC (or rather J2EE) stores. The main reason is that each of these will fall under a slightly different publishing workflow, and we want to be able to independently publish them by copying the appropriate database from staging to production, etc. It seems like

release date for Slide

2004-11-17 Thread Bin Liu
Hi, Do we have a target date for release of Slide 2.2? thanks a lot! Bin __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

Re: release date for Slide

2004-11-17 Thread Oliver Zeigermann
We haven't even one for Slide 2.1 final :( One thing for sure: 2.2 not before 2005 Oliver On Wed, 17 Nov 2004 11:51:06 -0800 (PST), Bin Liu [EMAIL PROTECTED] wrote: Hi, Do we have a target date for release of Slide 2.2? thanks a lot! Bin

Is anyone running Slide 2.1 Beta2 on Websphere 5.1.1

2004-11-17 Thread Jagadeesh Sunkara
I am wondering if there is atleast one person who is successful in running the latest Slide 2.1 beta 2 on Websphere 5.1. I am running into many issues running slide on websphere and hoping that someone from this list will help me out... 1) JDOM issue, the jdom.jar (ver 1.0) that comes with

Re: write privileges for owner

2004-11-17 Thread Oliver Zeigermann
Jason, the collections in users should not be used to store data. These are not supposed to be the home directory of the specific user, but are the representation of the user itself. Oliver On Wed, 17 Nov 2004 13:54:59 -0500, Jason McElravy [EMAIL PROTECTED] wrote: I am hoping to get some

RE: write privileges for owner

2004-11-17 Thread Jason McElravy
Oliver, Thanks for the tip on the users collection. As an alternative, I created a john collection under /files using the following configuration: objectnode classname=org.apache.slide.structure.SubjectNode uri=/files permission action=all

Re: Added projector documentation link

2004-11-17 Thread James Mason
Cool. Thanks, -James On Wed, 2004-11-17 at 12:02 -0500, Tim Frank wrote: James Mason wrote on 17/11/04 11:50 AM: On Wed, 2004-11-17 at 08:54 -0500, Tim Frank wrote: One thing I don't think JXTemplate can handle (not sure on this) is outputting non-marked-up content. This would be a

Re: Product catalog/webdav integration advice sought.

2004-11-17 Thread James Mason
If the only reason you want WebDAV is to give designers direct access to product descriptions, you could write a custom Store over your database. This would give you direct database access to the information (which seems to be a priority) while retaining the benefits of WebDAV. If I were in your

Re: Status of supporting UTF-8 encoding

2004-11-17 Thread James Mason
There have been a number of language-related patches recently, so 2.1 should work well for you. If you don't want check out the latest updates from the release branch in CVS, the first 2.1 release candidate should be available in the next week or so. Also, for a majority of language problems

RE: write privileges for owner

2004-11-17 Thread James Mason
The owner property should be an href referencing the URI of a principal in the system, eg: D:href/users/john/D:href. Check out the group-member-set properties of the various roles for examples. -James On Wed, 2004-11-17 at 21:18 -0500, Jason McElravy wrote: Oliver, Thanks for the tip

Re: Indexing / DASL without Lucene

2004-11-17 Thread James Mason
Umm... yes ;). By default Slide does no indexing, but rather crawls your entire store for each search request. Obvious, this is horribly inefficient. If you're using a JDBC store you can take advantage of the database's capabilities for indexing, and Slide 2.2 will add a much more powerful

Re: multiple stores vs. multiple namespaces

2004-11-17 Thread James Mason
Multiple stores would be simpler to configure, but other than that I don't think there would be a big difference. I've never played with multiple namespaces, though, so I could be missing something there. -James On Wed, 2004-11-17 at 11:33 -0800, Mirko Froehlich wrote: We will likely need to

Re: Directory Uploads

2004-11-17 Thread James Mason
Slide client lib will give you the functionality you need to communicate with the WebDAV server. There are some simple example on the wiki to get you started, and the source to the command line client is a good reference. Also, there was talk of someone implementing a FileView using the client