Re: Adding a user without updating the group-member-set

2005-07-11 Thread James Mason
By default I believe the Slide realm requires that a user be a member of the root, user or guest role. To get the behavior you want you're going to need to change the realm somehow. Either configure the webapp to allow any valid user (may or may not be possible), modify the Slide realm to behave

Re: New user question: using Slide API

2005-07-08 Thread James Mason
Ken, Check out the links on the left side of http://jakarta.apache.org/slide/ The wiki has some code examples using the client api, and the mailing lists link has a link to the archive site for the mailing list. -James On Fri, 2005-07-08 at 12:51 -0700, Kenneth Stoutzenberger wrote: Hi,

Re: Configuring storage location for tomcat 5.5 webapp

2005-03-28 Thread James Mason
Henrik You need to modify the rootpath and workpath parameters for your store in the WEB-INF/Domain.xml file. See the Wiki for more detailed instructions. -James On Sat, 2005-03-26 at 22:50 +, Henrik Vendelbo wrote: I want to modify the default webdav app in Tomcat 5.5 to storing

Re: Testsuite

2005-03-16 Thread James Mason
There's some documentation in CVS along with the sources. I don't know how complete it is. If you don't want to check out a working copy you can view it at http://cvs.apache.org/viewcvs.cgi/jakarta-slide/testsuite/ -James On Wed, 2005-03-16 at 11:03 +0300, Denis Zvonov wrote: Hi guys, Are

RE: LDAP Connection Error

2005-03-11 Thread James Mason
for AD. Here is a link to a posting by James Mason. http://cvs.apache.org/viewcvs.cgi/jakarta-slide/src/conf/webapp/JNDI-Domain. xml?rev=1.2view=auto I did have to play with the jndi.attributes.groupmemberset and jndi.search.filter settings settings. Just use any old ldap browser

Re: LDAP Connection Error

2005-02-24 Thread James Mason
John, What version of Slide are you using? From 2.1beta2 on the JNDIPrincipalStore should be able to handle broken connections gracefully. -James On Thu, 2005-02-24 at 10:33 -0500, John Gilbert wrote: I am using the JNDIPrincipalStore to connect to Active Directory to retrieve Users and

Re: Configuring a principal store

2005-02-10 Thread James Mason
Your second example is correct. The securitystore is for controlling access to the nodes from that store. So in this case it would hold permissions for who is allowed to view information about your users (or roles). You can see an example config in CVS:

Re: WCK NPE with litmus

2005-02-07 Thread James Mason
implementation. Well he said it should be fixed. hmm... should doesn't mean had I wonder if patch got lost on the way or something. John Rousseau wrote: I thought James Mason submitted a patch for this recently (he sent mail on 24 Jan, copied below) after I reported the same issue

Re: NPE with commandline client using options

2005-02-01 Thread James Mason
Brian, The command line client is rather brittle. Try doing an open http://url...; then calling options on . or whatever your path is. -James On Tue, 2005-02-01 at 18:27 -0800, Brian Moseley wrote: got an NPE using the options command of the commandline client built with a checkout from last

Re: White spaces are required between publicId and systemId.

2005-01-29 Thread James Mason
Do a google search with that error message. It's probably related to version of xerces you're using and the response you're getting back from your search. -James On Sun, 2005-01-30 at 00:55 +0530, IndianAtTech wrote: Hi All, (White spaces are required between publicId and

Re: Create an ACE which is not inheritable (programmatically) ?

2005-01-21 Thread James Mason
Short answer: you can't. Not as short answer: the WebDAV ACL spec doesn't define a way to set the inheritance of a permission. It's left as an implementation detail on the server. I suppose we could add an extension in Slide, but it would be non-standard. -James On Fri, 2005-01-21 at 12:16

Re: Slide authentication with LDAP and ApacheDS

2005-01-20 Thread James Mason
I can't see anything that would be causing that exception, but here are a few things to try: 1) Use Tomcat's JNDIRealm for authentication rather than the JAAS module. The JNDIPrincipalStore doesn't expose a password attribute for users, so the JAAS module won't work (this is by design). 2)

Re: ldap securitystore / problem configuring simple example JAAS Authentication

2005-01-18 Thread James Mason
Is it possible to get a *list* of users and roles from JAAS? I think that's something that would be needed to be compatible with WebDAV ACL spec. -James On Wed, 2005-01-19 at 00:34 +0900, Carlos Villegas wrote: There seems to be the need for a JAAS store! There is a Slide JAAS login module

Re: ldap securitystore

2005-01-18 Thread James Mason
You're right about the documentation not being on the Wiki. For now you can look at the javadocs in CVS: http://cvs.apache.org/viewcvs.cgi/jakarta-slide/src/stores/org/apache/slide/store/txjndi/JNDIPrincipalStore.java?rev=1.9view=auto I'm currently running Slide with a JNDIPrincipalStore for

Re: ldap securitystore / problem configuring simple example JAAS Authentication

2005-01-18 Thread James Mason
On Tue, 2005-01-18 at 15:40 +0100, [EMAIL PROTECTED] wrote: Hi, I think it will be better if I summarize what I am trying to do: -Thousands of users and roles/groups are already defined at ldap. -There is an application using slide as backend, it accesses slide using webdav. Users can't

RE: ldap securitystore

2005-01-18 Thread James Mason
the original server. It's by no means perfect, but overall we've been happy with it. -James On Tue, 2005-01-18 at 12:17 -0500, John Gilbert wrote: James, Can you elaborate on the reverse-proxy you mentioned? Is the code available somewhere? Thanks John -Original Message- From: James

Re: ldap securitystore / problem configuring simple example JAAS Authentication

2005-01-18 Thread James Mason
On Tue, 2005-01-18 at 17:53 +0100, [EMAIL PROTECTED] wrote: Hi Jason, First of all, I want to thank you for your prompt and clear answers! Thanks! LDAP is a good candidate for this. It is a standard and fairly well supported, so integrating third-party applications should be easier

Re: [Fwd: Re: [VOTE][release] [ApacheDS] 0.8]

2005-01-18 Thread James Mason
Awesome. :) -James On Wed, 2005-01-19 at 02:11 +, Jason Harrop wrote: Further to my previous post about Apache directory server as a java-based LDAP server which could complement Slide, it looks like they're ready for a release. Original Message Date: Tue, 18 Jan

Re: ldap securitystore / problem configuring simple example JAAS Authentication

2005-01-18 Thread James Mason
On Wed, 2005-01-19 at 10:13 +0900, Carlos Villegas wrote: James Mason wrote: Is it possible to get a *list* of users and roles from JAAS? I think that's something that would be needed to be compatible with WebDAV ACL spec. Mmm... I don't think it's possible. Maybe that's why it hasn't

Re: the mystery of root

2005-01-17 Thread James Mason
Best guess is that none of the other users have permissions granted to them. Take a look at http://wiki.apache.org/jakarta-slide/DataNode since it might help a little. The default Domain.xml grants all permissions to a user named root. What you're going to need to do is grant the write permission

Re: Getting the folders List from WebDav url

2005-01-17 Thread James Mason
You might be able to do this with a DASL search, but I don't know of any way to limit a PROPFIND like that. -James On Mon, 2005-01-17 at 14:56 +0530, IndianAtTech wrote: Hello Friends, In oder to get the folders list, I am working something like below java.io.File folders[] =

Re: 500 - Internal Server Error on accessing slide resource

2005-01-16 Thread James Mason
it's not able to access it when it's in WEB-INF? -James On Fri, 2005-01-14 at 18:47 -0600, Scott Carr wrote: Yes, there was. Thanks. It is giving me a PathException error. Where does files, users, etc paths need to be created? James Mason wrote: Is there another stack trace

Re: problem configuring simple example JAAS Authentication

2005-01-16 Thread James Mason
a .getPrincipal the user will be auto created with the default role. Is that what you are alluding to when you say the 'slide repository', or do I need to do something else. Thanks for your help. Paul. James Mason wrote: Slide needs to be able to enumerate all of the available

Re: How to customize Slide's HTML output?

2005-01-16 Thread James Mason
You'll need to modify DirectoryIndexGenerator. I thought I saw mention somewhere of providing custom xslts to modify the output, but looking at the code I don't see anything to make me think the output is modifiable through configuration. -James On Sun, 2005-01-09 at 14:12 +0200, Roman D wrote:

Re: Exchange Form-Based-Authentication with webdav

2005-01-16 Thread James Mason
The HTTPClient in Slide should handle cookie state for you. Take a look at Microsoft's website for VB and C# example for interacting with Exchange. It shouldn't be too hard to translate the examples into Java using the Slide clientlib. -James On Tue, 2005-01-04 at 15:48 -0600, Gutman, Larry

Re: 500 - Internal Server Error on accessing slide resource

2005-01-14 Thread James Mason
Is there another stack trace in the log before that? Maybe on stderr? -James On Fri, 2005-01-14 at 17:00 -0600, Scott Carr wrote: I am getting the following error now: javax.servlet.ServletException: java.lang.NullPointerException

Re: Loading from http://slideslide?

2005-01-14 Thread James Mason
Do you need to be using Slide 1? There's a larger community for Slide 2.x, so it will be easier to get help if you can upgrade. If you can't upgrade, hopefully there's someone around here who's familiar with Slide 1 :). -James On Fri, 2005-01-14 at 09:30 +0100, Carl Seleborg wrote: Hello,

Re: blocking/removing unwanted files

2005-01-13 Thread James Mason
Maybe a servlet that maps to ._* that always responds to every request with 200? Then the OSX client would think everything was dandy (whether putting or getting) but the requests would never get to Slide. -James On Tue, 2005-01-04 at 10:26 +0100, Karl ie wrote: You mean you implemented a

Re: problem configuring simple example JAAS Authentication

2005-01-13 Thread James Mason
Slide needs to be able to enumerate all of the available roles in order to be WebDAV compliant. JAAS integration works great for *authentication*, but when it comes to authorization Slide uses other methods for discovering role memberships. If you want to provide your own Security implementation

Re: blocking/removing unwanted files

2005-01-13 Thread James Mason
For cleanup purposes you could implement an event listener that: 1) when a file is deleted looks for a ._meta file and removes it 2) when a file is moved looks for a ._meta file and moves it For hiding the files from other clients, maybe some sort of filter that hides the ._meta files based on

Re: Question - is ACL negotiation unchangeable w/ competing rights ?

2005-01-13 Thread James Mason
On Fri, 2005-01-14 at 10:11 +1100, Michael Smith wrote: ... snip ... Now, a client can _also_ use a request for the acl property on a resource to figure out what permissions the user has. So it's possible (though somewhat tricky) to figure out whether the user would be able to write the

Re: Problems with special character +

2005-01-13 Thread James Mason
'+' is considered to be a space character when it appears in a URL. You should be able to escape it by using %2B in your PUT request. -James On Thu, 2005-01-13 at 17:33 -0500, Jagadeesh Sunkara wrote: When I tried to create a file/folder with + character like for example one+two slide creates

Re: Question - is ACL negotiation unchangeable w/ competing rights ?

2005-01-13 Thread James Mason
From a security standpoint the concept of an all-powerful admin is a bad thing. The new ACL-type implementations I've seen seem to moving to a more localized security policy where it's easier to control who has access to a resource and it's easier to contain a security breach (since no one account

Re: WebdavResource getChildResources() : Directory Listing

2004-12-30 Thread James Mason
. If I have time I will try and trace down what the exact problem is. James Mason wrote: Well, based on the traces this certainly looks like a bug in the Slide client library. Maybe it's getting confused by the duplicate namespaces, or as you suggested, maybe it's dependent on a property

Re: Using Slide the first time

2004-12-29 Thread James Mason
Also take a look at http://jakarta.apache.org/slide/howto-jaas.html if you want to enable authentication (it sounds like you do). -James On Wed, 2004-12-29 at 19:06 -0600, Robert r. Sanders wrote: Not a slide expert myself; but I do believe that it is going to take some configuration. Take a

Re: WebdavResource getChildResources() : Directory Listing

2004-12-29 Thread James Mason
Can you post traces for the request and response? It might also be useful to compare the request/response when using the svn client. -James On Wed, 2004-12-29 at 17:54 -0600, Robert r. Sanders wrote: I don't know how much support the WebDAV client lib has for being a generic WebDAV tool; but

Re: Slide CVS/SVN

2004-12-29 Thread James Mason
If the key feature you're needing is a revision control system, go with Subversion (or CVS if you must). Slide was designed to be a WebDAV-enabled content management system. It brings a lot more features to the table than either SVN or CVS (DASL, ACLs, BINDing), but the version control pieces are

Re: WebdavResource getChildResources() : Directory Listing

2004-12-29 Thread James Mason
and displays the resources as expected. Maybe the properties for which Subversion is returning 404 on is throwing the Slide library off? James Mason wrote: Can you post traces for the request and response? It might also be useful to compare the request/response when using the svn client

Re: Slide/WCK does not run if included into a project/classpath

2004-12-29 Thread James Mason
Tomcat has its own classloader that will load any .class file under your_webapp/WEB-INF/classes and any .jar file under your_webapp/WEB-INF/lib in to the classpath of your_webapp. To include your classes in the sample application, either put your .class files into slide/WEB-INF/classes or build a

[ANNOUNCE] Release of Slide 2.1

2004-12-26 Thread James Mason
The Jakarta Slide community is pleased to announce the release of Slide 2.1. This is a combined bug fix and feature release. Feedback is greatly appreciated, especially in the form of bug reports. You can download Slide2.1 from: http://jakarta.apache.org/slide/download.html Release notes are at:

Re: WCK: JAAS

2004-12-22 Thread James Mason
. Another question is that, does it require certain class implementation to use jaas on my Oracle OC4J application server, or it is just configuration files issue?? I don't know :/. I've never used OC4J before. -James Thanx alot! Rony James Mason [EMAIL PROTECTED] wrote: Make sure

RE: Using external privilege control

2004-12-22 Thread James Mason
, Jun James Mason [EMAIL PROTECTED] wrote: You can also provide your Security implementation. ACLSecurityImpl is extendable (or will be shortly) so it is a good place to start. You can override hasPermission() to give certain users complete access to the system. Coming in 2.2 is an easy

Re: WCK: JAAS

2004-12-21 Thread James Mason
Make sure your webapp is requiring users to authenticate. Check the bottom of the web.xml file, it should be fairly obvious... (I think) -James On Mon, 2004-12-20 at 05:15 -0800, EngR H wrote: Hello there, Am using Slide WCK on OC4J, and intend to use JAAS authentication, I used the

RE: Using external privilege control

2004-12-21 Thread James Mason
You can also provide your Security implementation. ACLSecurityImpl is extendable (or will be shortly) so it is a good place to start. You can override hasPermission() to give certain users complete access to the system. Coming in 2.2 is an easy way to provide your own implementations of Content,

Re: FW: Tomcat redirecting when base URI doesn't have trailing slash

2004-12-14 Thread James Mason
Well, that's not too helpful :). I guess you'll have to include a trailing '/' when you type your initial url. -James On Tue, 2004-12-14 at 08:46 -0600, Tauzell, Dave wrote: Hello, Here is the response I got from the Tomcat mailing list regarding the redirect: -Original Message-

Re: WebdavResouce, putMethod(), and existence

2004-12-13 Thread James Mason
Garret, After you construct your WebdavResource you should be able to call headMethod() to see if the remote resource exists. I don't know if this is the best method, but it should work. -James On Sun, 2004-12-12 at 17:13 -0800, Garret Wilson wrote: I started using Slide just days ago, and

Re: Tomcat 302 redirect

2004-12-13 Thread James Mason
Send this to the Tomcat list (and if you wouldn't mind let us all know if they give you a solution). The redirect is happening before Slide gets a hold of it, so there's nothing we can do code wise. We may be able to make a configuration change, though. The redirect problem is a known issue with

Re: Slide 2.1rc1 thrid party libraries info

2004-12-08 Thread James Mason
Most of the jars have the version number as part of the file name. For those that don't, you can check the MANIFEST files, but most don't have version info. Your best bet will probably be the dates on the CVS commit logs. That will give you a rough idea of when the library was created. At worst

Re: Idea on final release of Slide 2.1

2004-12-08 Thread James Mason
Hopefully before the end of the year. It's looking pretty stable, and most of us are getting anxious for another release. -James On Tue, 2004-12-07 at 14:44 -0600, Chris O'Connell wrote: Anyone have an idea of when the final release of Slide 2.1 will be available? Regards, Chris

RE: Cluster cache

2004-12-08 Thread James Mason
: James Mason [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 07, 2004 8:40 PM To: Warwick Burrows; Slide Users Mailing List Subject: Re: Cluster cache On Tue, 2004-12-07 at 18:10 -0800, Warwick Burrows wrote: Hi James, I was hoping you could answer some questions about

Re: Unique ID for a document in the slide repository ?

2004-12-08 Thread James Mason
Using an event listener you could set a GUID on each resource as it is created, or if you have a custom store you could expose the unique ID as a property. Of course, the only way to *retrieve* an object based on the value of this property is through a search, so I don't know how useful it would

Re: Cluster cache

2004-12-07 Thread James Mason
On Tue, 2004-12-07 at 18:10 -0800, Warwick Burrows wrote: Hi James, I was hoping you could answer some questions about the cluster cache design. We would like to go into production with Slide but doing so requires the cluster cache implementation -- or no caching at all which is not even

Re: developers: table prefix

2004-12-04 Thread James Mason
. In a simple way, it can be done the same way that the current RDBMS store does it, but OJB is also able to enlist itself in the current JTA transaction. So it's possible to take advantage of that. Carlos James Mason wrote: Well, Cocoon works pretty well, and it's based on Avalon (another IoC

Re: developers: table prefix

2004-12-03 Thread James Mason
James Mason wrote: This is sort of on my todo list, but the only O/R tool I'm familiar with is Hibernate and for licensing reasons we can't integrate that with Slide (this may change in the future). I looked at OJB, but I wasn't impressed with some of the hoops I

Re: developers: table prefix

2004-12-03 Thread James Mason
Well, Cocoon works pretty well, and it's based on Avalon (another IoC framework, though supposedly not as light-weight as Spring). From the little I've worked with Cocoon it seems to work fairly well. -James On Sat, 2004-12-04 at 00:25 +0100, Oliver Zeigermann wrote: Hi John, thanks a lot

[ANNOUNCE] Release of Slide 2.1 rc1

2004-12-03 Thread James Mason
The Jakarta Slide community is pleased to announce the release of Slide 2.1 RC 1. This is a bug fix release and brings Slide closer to a final 2.1 release. Feedback is greatly appreciated, especially in the form of bug reports. You can download Slide 2.1rc1 from:

Re: developers: table prefix

2004-12-02 Thread James Mason
This is sort of on my todo list, but the only O/R tool I'm familiar with is Hibernate and for licensing reasons we can't integrate that with Slide (this may change in the future). I looked at OJB, but I wasn't impressed with some of the hoops I would have to jump through to accomplish, for

Re: authentication store

2004-11-23 Thread James Mason
Take a look at the WCK. There's info on the Slide site and the Wiki. If the WCK won't work for you (it hasn't been released yet) take a look at the JNDIPrincipalStore; it's a simplistic implementation that only provides users and roles with a few properties. -James On Tue, 2004-11-23 at 10:27

Re: table prefix

2004-11-23 Thread James Mason
. Richard James Mason wrote: Not that I know of. That particular issue was resolved by creating the tables with a non-system user. In Oracle, that puts the tables in the default schema of the user (versus the System schema). Is this a feature that you need? -James On Mon, 2004-11-22

RE: authentication store

2004-11-23 Thread James Mason
, Warwick -Original Message- From: James Mason [mailto:[EMAIL PROTECTED] Sent: Monday, November 22, 2004 9:50 PM To: Slide Users Mailing List Subject: Re: authentication store Slide delegates all authentication to the app server, so any authentication source your app

Re: authentication store

2004-11-22 Thread James Mason
Slide delegates all authentication to the app server, so any authentication source your app server supports (db, xml file, ldap) can be used to authenticate users to Slide. In order to expose Slide's internal user's to the app server Slide provides a JAAS implementation. For authorization Slide

RE: write privileges for owner

2004-11-22 Thread James Mason
Message- From: James Mason [mailto:[EMAIL PROTECTED] Sent: Friday, November 19, 2004 11:14 PM To: Slide Users Mailing List Subject: RE: write privileges for owner This sounds like a bug. You say it works if you grant write /roles/users? How does the logic in SecurityImpl differ

Re: table prefix

2004-11-22 Thread James Mason
Not that I know of. That particular issue was resolved by creating the tables with a non-system user. In Oracle, that puts the tables in the default schema of the user (versus the System schema). Is this a feature that you need? -James On Mon, 2004-11-22 at 13:30 -0800, Richard Emberson wrote:

Re: Why some files are opening and some are asking to save to disk .....In slide

2004-11-22 Thread James Mason
This is unlikely to be related to file size. It's more likely file type. Files with the same extension and mime-type should be handled the same by the browser. -James On Tue, 2004-11-23 at 01:06 +, mahesh kumar wrote: Hello All , I uploaded the files with different sizes into slide store

Re: Binding to Windows Network Drive

2004-11-22 Thread James Mason
There a SimpleFileStore (I think it's in 2.1) that should do what you want. I don't know about searching, since Slide only indexes files when they're uploaded. This shouldn't be too hard to work around, though. -James On Mon, 2004-11-22 at 17:34 -0500, John Gilbert wrote: My customer has a

Re: clustering

2004-11-19 Thread James Mason
-Processor25, 19-Nov-2004 11:27:26, unauthenticated, GET, 200 OK, 240 ms, / I misunderstood your previous reply repository domain to /Warcontext/slide, thought namespace was the place to change, could you point me where is the repository domain configuration is? thanks Bin James Mason

Re: version control statement in two different locations

2004-11-19 Thread James Mason
org.apache.slide.versioncontrol turns on/off the versioncontrol system in Slide. The auto-version-control property controls whether newly added resources are version controlled, or whether the user must explicitly put each resource under version control. -James On Fri, 2004-11-19 at 13:20 -0800,

RE: write privileges for owner

2004-11-19 Thread James Mason
? Any other thoughts? Thanks in advance. Jason -Original Message- From: James Mason [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 17, 2004 11:37 PM To: Slide Users Mailing List Subject: RE: write privileges for owner The owner property should be an href referencing

Re: more newbie...

2004-11-19 Thread James Mason
It looks like you're trying to overwrite a collection with a file. That should fail. -James On Fri, 2004-11-19 at 18:14 -0600, Chris O'Connell wrote: I'm trying to do some basic stuff to just get my hands around slide and writing a client. I have Slide running on my tomcat 4.1 server. I was

Re: Needs help with the creation of new roles and users

2004-11-18 Thread James Mason
After you create the users/roles, you'll need to modify the ACL of the collection you want to give access to. I don't think DAVExplorer can modify ACLs, so I'd suggest you use the Slide command-line client. http://jakarta.apache.org/slide/webdav-client.html should get you started. The command

Re: clustering

2004-11-18 Thread James Mason
param-namenamespace/param-name param-value/mywar/slide/param-value in Domain.xml slide namespace name=/mywar/slide Seems to be a bug. thanks Bin James Mason [EMAIL PROTECTED] wrote: Bin, If you can't use a combination of repository-domain and base-uri to get the path you

Re: Indexing / DASL without Lucene

2004-11-18 Thread James Mason
2.1b2 supports content indexing with Lucene. Take a look at the org.apache.slide.search.IndexTrigger event listener near the bottom of Domain.xml. -James On Thu, 2004-11-18 at 12:44 -0800, Mirko Froehlich wrote: Thanks, that's good to know. For content searches, is there any way to leverage

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

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

Re: ContentInterceptor doesn't seem to work.

2004-11-16 Thread James Mason
. Skapti wrote: James Mason wrote: Doug, I'm not sure what the problem is. Here's a link to one I know worked with Slide 2.0: http://www.mail-archive.com/slide-user@jakarta.apache.org/msg06513.html The only differences I see are mine didn't include parameters and I implemented

Re: AW: Added projector documentation link

2004-11-16 Thread James Mason
If you wrap the response object before passing it to the RequestDispatcher you could catch the output of the jsp and store it for later. I would be against using jsps as a template system, however. There are many other good solutions that don't allow business logic in the presentation layer.

Re: Added projector documentation link

2004-11-16 Thread James Mason
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 %username;required;text/plain%!/h1? I'm already screaming of pain ! It's not readable ! This is something I had

RE: Server API

2004-11-16 Thread James Mason
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 right now since

Re: auto-version checkout

2004-11-16 Thread James Mason
Tim, I believe the behavior you're seeing is expected. There was a discussion about this a few weeks back, you may be able to find it in the archive. I don't know a lot about versions (maybe someone else can step in here), but as far as I know the auto-version parameter only effects newly-created

Re: ClusterCacheRef - a different approach

2004-11-15 Thread James Mason
Richard, This was one of the options originally considered (the other being JMS). The current approach was chosen for two reasons: 1) It uses WebDAV 2) It was easy to implement If you're willing to right the code, I would love to see JGroups used for notifications. As you say, that would make

Re: How do I get callback notifications from slide server about change in resources for eclipse RCP application

2004-11-15 Thread James Mason
Anupam, The easiest way to do this is probably with a NotificationListener. Take a look at http://cvs.apache.org/viewcvs.cgi/jakarta-slide/src/share/org/apache/slide/cluster/ClusterCacheRefresher.java?rev=1.5view=auto and http://jakarta.apache.org/slide/clientjavadoc/index.html -James On Fri,

RE: Oracle store - anyone using specific schema ?

2004-11-09 Thread James Mason
When you run the oracleschema.sql script, which user are you running it as? If you run it as the user that Slide is using to access the database it should create the tables in that user's schema. -James On Tue, 2004-11-09 at 11:23 -0500, Nick Longinow wrote: No replies so far. So, I'm assuming

Re: Slide 2.1 and Macromedia Contribute 3

2004-11-09 Thread James Mason
Patrick, Can you run a trace of the HTTP calls Contribute is using to talk to WebDAV and post it to the list? It's likely Contribute isn't using locking properly (we've seen this with other clients). A decent trace tool is http://httptrace.sourceforge.net/ -James On Tue, 2004-11-09 at 17:54

Re: Domain.xml

2004-11-05 Thread James Mason
Me as well. Thanks for doing this Brian. -James On Fri, 2004-11-05 at 22:36 +0100, Oliver Zeigermann wrote: Great, I really appreciate this :) Oliver On Fri, 05 Nov 2004 10:58:11 -0800, Brian Lee [EMAIL PROTECTED] wrote: Thanks man - I figured I can learn Slide better that way and

Re: Retrieving XML Output

2004-11-05 Thread James Mason
For Cocoon you can have a look at the HttpProxyGenerator and WebServicesProxyGenerator. Be aware that neither of them support BASIC http authentication (as far as I can tell), but adding support for that shouldn't be too hard. From there you should be able to get the XML with ease :). I'm not sure

Re: Slide 2.1b2 Tomcat bundle Mac Errors

2004-11-04 Thread James Mason
On Thu, 2004-11-04 at 23:16 +0100, Oliver Zeigermann wrote: With the latest version from Slide HEAD or release branch with a fresh PUT? Can anyone confirm that? Oliver P.S.: Need to get myself a Mac soon. My birthday will be in December, so if anyone wants to make me a gift a Mac would be

Re: WCK username and principal object relation

2004-10-29 Thread James Mason
There's a sample app written with the projector framework for managing users and groups. It's part of the 2.1b2 source release (not binary) and the documentation is rather light, but it could be an answer to your issue. -James On Fri, 2004-10-29 at 20:24 +0200, Morten wrote: Slide already

Re: login config JAAS problem 2.1b2 mac osx / linux

2004-10-29 Thread James Mason
From the TOMCAT_HOME/bin directory you should be able to type export CATALINA_HOME=..;startup.sh and have it work (assuming no other changes). catalina.sh (called by startup.sh) should handle setting the other environment variables for you. -James On Fri, 2004-10-29 at 13:21 -0700, Brian Lee

Re: Projector Installation Help

2004-10-29 Thread James Mason
Here's what I've done to get projector working: Prerequisites: the 2.1b2 Tomcat bundle unpacked somewhere and the 2.1b2 source distribution downloaded. 1) Build projector using the webapp target from the source distribution. 2) Extract projector/dist/webapp/projector.jar to

Re: Tomcat bundle memory leak ?

2004-10-28 Thread James Mason
There's a bug in the LogFilter class in 2.0. I believe it's fixed in 2.1. You can either upgrade to the latest beta, allocate more memory to your jvm, or comment out the filter mapping in Slide's web.xml. -James On Wed, 2004-10-27 at 18:16 +0200, Lionel Mayaud wrote: Oliver Zeigermann [EMAIL

RE: Adding a non-inheritable permission to a folder using webdav clie nt lib not working

2004-10-28 Thread James Mason
One thing I'd like to point out is the read permission in Unix gives the capability to see the contents of the directory. In contrast, read in webdav only gives the capability to see the collection and the properties of the collection... if the permission doesn't inherit. -James On Thu,

Re: How to setup authentication at collection level in slide? (partially resolved)

2004-10-24 Thread James Mason
is created (on a side note, I have given up testing permissions on TxXMLFileDescriptorsStore because I am not able to get both read/write permissions to work with it and my custom store is more closer the the SimpleFileStore). Thanks, Girish On Sun, 24 Oct 2004 01:14:33 -0700, James Mason

  1   2   3   4   >