Cocoon and Tomcat server included with slide

2002-01-18 Thread Jean-Philippe Courson
Hi Has anybody there successfully setup Cocoon with the Tomcat server included with slide ? Just dropping cocoon.war to webapps directory and restarting server ends with the following exception stack trace on server startup : 2002-01-18 14:10:57 Cocoon2: init 2002-01-18 14:10:57 StandardContext

Re: Cocoon and Tomcat server included with slide

2002-01-18 Thread Jean-Philippe Courson
It works if you drop cocoon.war unpacked to webapps directory rather than putting the war file. Strange but seems to work > Hi > > Has anybody there successfully setup Cocoon with the Tomcat server > included with slide ? > > Just dropping cocoon.war to webapps directory and restarting server

Re: Cocoon and Slide

2002-01-21 Thread Jean-Philippe Courson
> Hi, > > Has anoyone try to use Cocoon2 as "Framework" with integrated Slide as Storage? > > Renier I am. What is your problem ? JP

Re: PostgreSQL support

2002-01-24 Thread Jean-Philippe Courson
tatype for content field of revisionContent table. JP > Thanks for your answer. > Tina > > > > Jean-Philippe Courson wrote: > >> I solved my problem by not creating the Revisioncontent table >> (I use Filesystem store for content) >> >> But I visited

Re: PostgreSQL support

2002-01-24 Thread Jean-Philippe Courson
FoundException. > I am not familiar with database, so I do not know where to find DB errors. > > Any comment? > > Tina > > > > Jean-Philippe Courson wrote: > >>> Hello, >>> >>> I want to know: are there any further developements about

Re: ContentInterceptor based Content Indexer

2002-01-25 Thread Jean-Philippe Courson
Akil wrote: > I am a newbie at both WebDAV and Slide, though I have read most of the > documentation as well as much of the API JavaDocs for Slide as well as some > of the specification documents at webdav.org. I also looked through the > archives of the user and dev lists. That should give you a

Re: PostgreSQL support

2002-01-25 Thread Jean-Philippe Courson
le("myFile.txt"))); PreparedStatement pstmt = conn.prepareStatement("insert into revisioncontent values (?,?,?)"); pstmt.setString(1, "uri"); pstmt.setString(2, "xnumber"); pstmt.setBinaryStream(3, in (int) contentLength); pstmt.executeUpdate(); ... JP

Re: ContentInterceptor based Content Indexer

2002-01-25 Thread Jean-Philippe Courson
Akil wrote: > JP, Thanks for the rest. > > As regards the following: > >>Personally, I think that indexing is a heavy task and performing it on >>each store actions through Interceptors could be very heavy. >>Scheduling indexing or reindexing for the nigth could be a good idea if >>your system

Re: ContentInterceptor based Content Indexer

2002-01-25 Thread Jean-Philippe Courson
| That is my current plan. | I will get the code from the Archives. Thanks. | | Does the content interceptor only get called for file nodes or also for | action and user nodes? For nodes | Akil | | - Original Message - | From: "Jean-Philippe Courson" <[EMAIL PROTECTED]&

Re: Question on ContentInterceptor

2002-01-30 Thread Jean-Philippe Courson
> Hi all, > Is it possible to tell using ContentInterceptor > when nodes are deleted? I'm trying to do some special > processing whenever collections with a particular MIME > type are created or their immediate children are added > or deleted. I've subclassed ContentInterceptor and > used it

Re: Configuration of extension classes in Slide e.g. UserQuota..Interceptor, etc

2002-01-30 Thread Jean-Philippe Courson
Yes it is. Would be cleaner to have the possibility of adding parameters in that way : PARAMETER_VALUE ... The NamespaceConfig would only have to retrieve parameters associeted to a given contentInterceptor and give them to the contentInterceptor instance. I can do it, but not now :-(

Re: preStoreContent method needs to access RevisionContent if postStoreContent needs to access RevisionContent

2002-02-06 Thread Jean-Philippe Courson
> A strange phenomenon has been observed. > > I created a new ContentInterceptor sub-class. > > If I access the document content ( using RevisionContent ) in the > preStoreContent method of the ContentInterceptor class, > I can then see non-zero length content in the postStoreContent method of > t

Re: permission problem

2002-02-18 Thread Jean-Philippe Courson
Cevat Ikibas wrote: > > I have also some questions.. > does anybody have any document explainin the slide.data file, > especially how to give permissions to consequent directories... slide.data is used at startup to init slide's base datas. Base permissions may be initialized here, but you c

Re: Acl

2002-03-13 Thread Jean-Philippe Courson
B. Shadgar wrote: > Hi , > > Could you please let me know, how can I find out the permission of a > resource manually. In other words, I'm looking for a method or > programming codes which returns true or false when it checks if the > particular resource has a particular permission. > > Many tha

Precisions on ObjectNode.enumerateLinks()

2002-03-13 Thread Jean-Philippe Courson
Hi, I want to retrieve all groups a given user belongs to, so I try to retrieve all the links that points to a given node by using objectNode's enumerateLinks() method. But when I look at the method's returned enumeration, it contains n strings that are the given node uri, n being the number of

Using slide with mod_webapp

2002-03-27 Thread Jean-Philippe Courson
Hi, Has anybody there been successfully using slide integrated with apache with mod_webapp ? When I use slide through port 8080, all is working perfectly, but when using it through apache and mod_webapp (correctly setup), I can not connect with webfolders; authentication seems to work : dialog i

Re: Unauthorized--Slide DAV Server

2002-04-03 Thread Jean-Philippe Courson
| Hi Julie, | | Am 03.04.2002 18:07:41, schrieb "Zhuonan Chi" <[EMAIL PROTECTED]>: | >It works! Thank you . Another question is about Web Folder . I am running NT | system | >, and did NOT see like "My Web Folder" to allow me to create a web folder from | my | >desktop directly . How to create a W

Re: Configuring Slide with Tomcat 4

2002-04-05 Thread Jean-Philippe Courson
Elodie Tasia wrote: >> I downloaded Tomcat/4.0.4-b2 and slide nightly build from 04/02. >> >>I started deployed justl slide.war into Tomcat and Tomcat would start up >>just fine. >> >>The moment I started to change the authentication Realm to SlideRealm, >>Tomcat could not fined several dependenci

Re: Compiling slide_1_0

2002-04-08 Thread Jean-Philippe Courson
Jacob Lund wrote: > Hi, > > I tried to compile the slide_1_0 from the cvs - and it does not return > any errors. However the webapps dir and the server dir are empty. Am I > missing some setting somewhere? > > /Jacob Hi, Default build target (dist) does not build all. To build all, you have to

Slide_1_0 webdavServlet and read permissions permission

2002-04-08 Thread Jean-Philippe Courson
Hi, WebdavServlet in branch SLIDE_1_0 require users to have /action/manage permission on a node to be able to read it. In fact, it is 'read permission' permission (which is mapped to /action/manage by default) which is required. Is this behaviour wanted or is it a bug ? If this behaviour is co

Re: Just trying to add a new node

2002-05-02 Thread Jean-Philippe Courson
Russ Leong wrote: > Hi, > I am attempting to add a new SubjectNode to Slide. > > NamespaceAccessToken tok = dom.accessNamespace(new SecurityToken(""), "version"); > Structure struct = tok.getStructureHelper(); > SlideToken token = new SlideTokenImpl(new CredentialsToken(ne

Re: checking permissions

2002-05-06 Thread Jean-Philippe Courson
Russ Leong wrote: > Hi, > I have the following permissions in the Permissions table > > Object - / > Subject - root > Action- /actions > Inheritable - 1 > Negative- 0 > > Which means root has access to folder "/" for all actions under "/actions" > recursive because In

Re: checking permissions

2002-05-06 Thread Jean-Philippe Courson
ed Orion numerous times. It seems > that something seems to be caching the result or maybe I am just going > crazy? > > Russ > > > - Original Message - > From: "Jean-Philippe Courson" <[EMAIL PROTECTED]> > To: "Slide Users Mailing List" <

Re: Slide configuration

2002-05-12 Thread Jean-Philippe Courson
- | From: "Jean-Philippe Courson" <[EMAIL PROTECTED]> | To: "Slide Users Mailing List" <[EMAIL PROTECTED]> | Sent: Thursday, May 02, 2002 1:05 PM | Subject: Re: Just trying to add a new node | > | > Hi Russ, | > | > Please post slide use questions on slide us

Re: Slide configuration

2002-05-13 Thread Jean-Philippe Courson
ery strange ... If it works I think your setup is fine and I guess you have found a bug in Slide, unless you have write your own one ;-) Jp > Best regards, > Jan > > >>| For example, those two parameters which I haven't found any information >>| about ? >>|

Re: Recommanded version?

2002-05-14 Thread Jean-Philippe Courson
CVS SLIDE_1_0 branch is for now the most stable branch. It includes all bug fixes which have been done since 1.0.16 release. To retieve it : $ export CVSROOT=:pserver:[EMAIL PROTECTED]:/home/cvspublic $ export CVS_RSH=ssh $ cvs login password : anoncvs $ cvs checkout -r SLIDE_1_0 jakarta-slide

Re: mod_webapp, tomcat4, Furtslide

2002-05-15 Thread Jean-Philippe Courson
I have tried some time ago to use slide by integrating tomcat to apache with mod_webapp. I succeed with webdrive but not succeed with webfolders. I think the problem with webfolders is that they try to know if the server support webdav by sending an OPTION request on server's root. This request

Re: Put a file on the server

2002-06-03 Thread Jean-Philippe Courson
Elodie Tasia wrote: > Hi, > > I'm testing the method of the WebdavResource class : putMethod(File file). > The documentation about it is not clear, so I tried to put a file from my PC > to a server on another computer. > > I created my file like this : > File myfile = new File("d:\\temp.txt"); >

Re: Put a file on the server

2002-06-03 Thread Jean-Philippe Courson
#x27;t | understand that the path of the file is the path on the remote client... | | | ----- Original Message - | From: "Jean-Philippe Courson" <[EMAIL PROTECTED]> | To: "Slide Users Mailing List" <[EMAIL PROTECTED]> | Sent: Monday, June 03, 2002 4:05 PM | Su

Re: Same permission for multiple users

2002-06-07 Thread Jean-Philippe Courson
Hi, Russ wrote: > Hi, >Say I have a Object uri "/data/d" and I have a group of users under > the same parent node "/users/groupD" If I want to let all users under > group D to access "/data/d". Do I use a LinkNode that points to > "/users/groupD"? How do I use the LinkNode? Thanks. > /us

Re: NO Bug in StructureImpl.java ?

2002-07-02 Thread Jean-Philippe Courson
Lionel Touati wrote: >Hi, > >I'm facing a weird situation with this file and the way it manages security. > >It seems that a user has to have read access to all the path along to a >parent directory to create an object inside it. ie: > It's not a bug, but a feature ! Effectivelly, if you want to

Re: J2EE Store: "Cannot create resource instance"

2002-07-22 Thread Jean-Philippe Courson
maxActive 100 maxIdle 3 maxWait 100

Re: J2EE Store: "Cannot create resource instance"

2002-07-22 Thread Jean-Philippe Courson
maxActive 100 maxIdle 3 maxWait 100

Re: J2EE Store: "Cannot create resource instance"

2002-07-22 Thread Jean-Philippe Courson
Please ignore my previous emails that was cut by a virus scanner, sorry for the spam ;-) Which JDK version are you using ? Which variant of TC 4.1.7 (sources, classic binaries or LE-jdk14 binaries) ? I have exactly the same problem with the following environment : JDK 1.4_01 Tomcat-4.1.7-LE-jdk

Re: Slide 2 with TC417beta and J2EE(new DB Schema) How To

2002-07-25 Thread Jean-Philippe Courson
Thanks Ashok ! I finally got things working using Tyrex and PostgreSQL. Just had to recompile JDBC driver. Here is my tyrex setup if it can help someone with Postgres : mytyrex_domain 50 120 mtx_db_tx /usr/local/jakarta/tomcat/common/lib/postgresql.jar org.postg

Re: Using J2EEDescriptorStore with

2002-07-25 Thread Jean-Philippe Courson
> Ok, it gets very tricky here, I'm afraid. Since the domain is initialized > outside a webapp, it doesn't have a naming environment available (so that's > why it fails). At the moment, the store can't be used at all with this > deployment scenario. > There's a global naming context in Tomcat 4.1,

Re: Modified Proposal for a more efficient Slide Database Design

2002-08-01 Thread Jean-Philippe Courson
Hi Ashok, I've successfully tested your new database scheme with PostgreSQL. I just had one problem : you forgot to enclose a string with '. Here is a patch : --- J2EEDescriptorsStore2.java.originThu Aug 1 09:56:34 2002 +++ J2EEDescriptorsStore2.javaThu Aug 1 09:55:59 2002 @@ -1159,7

Re: Authentification with SlideRealm -->ManagedBean?

2002-09-02 Thread Jean-Philippe Courson
Marcus Dickerhof a écrit: >Hi everybody, > >Is there anybody out there, who actually could manage to configure slide to do the >authentification of users with the SlideRealm and Tomcat 4.1.9? (I managed >authentification with the tomcat-users.xml without any problems). > >First of all I get a E

FAQ : Domain.xml impossible to find file.

2002-09-02 Thread Jean-Philippe Courson
Hi, Unjar slide-kernel.jar and modify domain properties into org/apache/slide/slide.properties file to point to your domain definition file. Rejar slide-kernel.jar and restart your server. Jp Luca Zago a écrit: > HI, > I tried to put this file everywhere. > - tomcat/bin > - tomcat > - tomcat

Problem on first PUT

2002-09-02 Thread Jean-Philippe Courson
Hi, When I put for the first time a file with webFolders, the file is effectivelly put but webFolders are saying that an error ocurred. I have enabled versioning with auto-version-control parameter set to true. Here is my logs : 2002-09-02 17:26:04 02 Sep 2002 17:26:04 - org.apache.slide.web

Re: Problem on first PUT

2002-09-02 Thread Jean-Philippe Courson
Jean-Philippe Courson a écrit: > Hi, > > When I put for the first time a file with webFolders, the file is > effectivelly put > but webFolders are saying that an error ocurred. > > I have enabled versioning with auto-version-control parameter set to > true. > > He

Cache question

2002-09-03 Thread Jean-Philippe Courson
Hi, Does anyone there know if slide's cache prevent you to perform read operations directly into the database ? Jp -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: Understanding user management in slide

2002-09-05 Thread Jean-Philippe Courson
Luca Zago a écrit: > Hi, > I would like to know if there is some class that represent a user. I > am trying to understand in what way slide unserstands 'who I am' > during my navigation and if there is some object in the session that > can permit to get user info. > > Thank you in advance for

Questions on versioning

2002-09-05 Thread Jean-Philippe Courson
Hi, I am testing versioning with auto-version-control parameter set to true, JDBCDescriptorStore and FileContentStore and have a couple of questions : History - resource relation : If I have well understood, to each versioned resource correspond an history object that contains all resources

Re: Questions on versioning

2002-09-09 Thread Jean-Philippe Courson
Hi Peter, First, thanks for your reply. >Hello Jean-Philippe, > > > >>I am testing versioning with auto-version-control parameter >>set to true, >>JDBCDescriptorStore >>and FileContentStore and have a couple of questions : >> >>History - resource relation : >> >> If I have well understood, t

Re: How to create different namespaces?

2002-09-19 Thread Jean-Philippe Courson
Sriram Reddy a écrit: > Hi > > I have made a build out of the nightly built code and am able to upload > and down load docs to/from the default name space (slide) both on to > filesystem and the oracle database. > Now I would want to create different namespaces with different upload > places lik

Re: Slide 1.0.16 vs. Slide 1.1.0 Performance Test Results

2002-09-19 Thread Jean-Philippe Courson
Hi all, [EMAIL PROTECTED] a écrit: > Thanks to Raimo and Thomas for pointing me to the other thread on this > topic. > > I guess this will teach me to search the "slide-dev" group in addition to > the "slide-user" group. > > Thanks also to Christopher Lenz for working with me on this issue.

Re: How to create different namespaces?

2002-09-19 Thread Jean-Philippe Courson
namespace. > > Please provide me with some pointers to achieve the same. > > Thanks a lot. > > sriram > > -Original Message- > From: Jean-Philippe Courson [mailto:[EMAIL PROTECTED]] > Sent: Thursday, September 19, 2002 2:05 PM > To: Slide Users Mailing Li

Re: Blocking writing directly into /history

2002-09-26 Thread Jean-Philippe Courson
Hi all, I had a similar problem ; I was wanting to allow people to directly write only into /files. To do this, I set WebdavServlet scope parameter to /files. Regards Jp Nevermann, Dr., Peter a écrit: > Andreas, > sorry for not replying ... give us another moment to think about, please. > Reg

Re: JNDI and J2EEStore

2002-09-26 Thread Jean-Philippe Courson
Hi, I had the same problem when wanting to use J2EEStore with SlideRealms. I tried to use TC 4.1 GlobalNamingResources without success. Please tell us if you succed Regards Jp Luca Zago a écrit: > Probably I got the problem... > The slide jars are out of slide webapp.. because I use slide not

Re: Sed but true, about J2EEStore + Slide outside webapp. Impossible

2002-10-16 Thread Jean-Philippe Courson
Hi Luca, Luca Zago a écrit: > Hi Sliders, > after having tried everything I could know, I realized that it's > pratically impossible to make the J2EEStore works with slide > deployed outside a single webapp, unfortunately this is the only way > to use Slide realm, then if you want to use Slide R

Re: using slide client (run.sh) to access slide server as differentuser?

2002-10-17 Thread Jean-Philippe Courson
Hi Andreas, > Hi Michael, > > I'm happy that I was able to help you. > > Users are defined in Slide (for ACL etc.). However, if security > is enabled in web.xml, the servlet container, i.e. Tomcat, > checks the user name and password. Therefor Tomcat must know the > users, either by defining

Re: using slide client (run.sh) to access slide server a

2002-10-17 Thread Jean-Philippe Courson
Regards Jp > I think there will be problems with versioning-aware > WebDAV/DeltaV clients. But I think I can live with this. All I > need is a basic means of versioning and WebDAV-access only for > the current version. > > Andreas > > > On 17 Oct 2002 at 10:20, J

Re: Getting to know VHR's VCR, was Re: using slide client (run.sh)to access slide server a

2002-10-18 Thread Jean-Philippe Courson
HR to obtain VR uri. Does it help ? Jp Hi Jean-Philippe, at first I'd like to thank you very much for responding. Please see intermixed. Andreas On 17 Oct 2002 at 13:15, Jean-Philippe Courson wrote: Hi Andreas, Hi Jean-Philippe, you're right, thanks. I didn't make my poi

Re: History problem

2002-12-04 Thread Jean-Philippe Courson
Hi Jim, Did you activated deltaV into Domain.xml ? If not, versioning won't be active. JP Jim Collins a écrit: Hi, I upload a file to slide and then I edit the file and upload the file again. The first time I do this it is fine and in slide/history I can find the original document with a vers

Re: Versioning in JDBC ContentStore ???

2002-12-04 Thread Jean-Philippe Courson
Hi Ashok, Hi All Is the versioning implementation now works only of file/memory based store or is it implemented for JDBC Store as well? Yes, deltaV implementation works smoothly with JDBC Store. JP -- Ashok -Original Message- From: Jean-Philippe Courson [mailto:[EMAIL

Re: Starting with Slide

2002-12-05 Thread Jean-Philippe Courson
Hi, I'm just starting out with Slide, and I want to get things up and running successfully. Would you advise that I download & install the last Release build, get the current source from CVS, or snag a nightly Gump build? Fetch current sources from CVS. This version is more stable, has better p

Copy with overwrite flag

2001-10-25 Thread Jean-Philippe Courson
Hi I saw that requesting a copy over an existing collection with overwrite flag set to true deletes the overwritten collection before copying. I would like to know if this behavior is specified by webdav specifications or if it is a Slide design choice. Thanks for your responses Jean-Philippe

PostgreSQL support

2001-11-13 Thread Jean-Philippe Courson
Hi I wanted to use PostgreSQL as JDBCStore and I saw in JDBC Store Howto that Revisioncontent table is using blobs for content. I saw in Postgres docs and JDBC driver TODO that Blobs where not currently supported and large binary data was stored using encoded Strings, 'bytea' or others types tha

Re: PostgreSQL support

2001-11-14 Thread Jean-Philippe Courson
used postresql with the JDBCDescriptorStore and the > FileContentStore - so if you're happy to store your content in the > filesystem, as we do, postgresql will work fine. > > cheers > > Jason > > Jean-Philippe Courson wrote: > > > Hi > > > > I wanted

Question about permissions

2001-11-27 Thread Jean-Philippe Courson
Hi I would like to know if I can do the following with slide permissions : I want to allow /users/toto to read/write in a folder called folder2 located at /files/folder1/folder2 without allowing him to list /files/folder1 contents. Tell me if I am wrong but to do this I need to following permis

Tomcat & authentication

2001-12-03 Thread Jean-Philippe Courson
Hi, I am writing a webapp that have to use slide for authentication. I was thinking that in slide customized version of tomcat,tomcat authentication was simply replaced by slide one and that specifying a and in a webapp descriptor file would be enougth to authenticate througth slide. But ap

Domain initialilization

2001-12-04 Thread Jean-Philippe Courson
Hi, To allow my webapp to use slide for authentication, I've setup a new service running on port 8083 in server.xml. As my requirements were the same than Slide Admin webapp, I used AdminHost as a template for my own Host implementation and just change the path to the war file to install. Au

Re: Slide Stores

2001-12-18 Thread Jean-Philippe Courson
Unico Hommes wrote: > > Hi ! > > I have a question about the slide stores. I took a look at some of them. I > would like to use MySql for the descriptor storage etc. but I noticed that > it said in the source of the MySqlDescriptorsStore that code was only to be > used with mysql 3.22 or earlie

Re: how to push a file through the web browser

2001-12-18 Thread Jean-Philippe Courson
> Khue Nguyen wrote: > >Hi all, > >I'm new to Slide and try to use Slide as a Web based filemanager to be integrated in >a Portal Server. >Is there any example of how to push a file on the server through the web browser ? To send the files to the web server, you will have to : -> For the cli

How to 'separate' users ?

2001-12-19 Thread Jean-Philippe Courson
Hi, Here is my need : I want to use Slide to manage content for several companies and I can not just create SubjectNodes having uri like /users/login because I would be exposed to login conflicts between companies. It why I would like to know if there is a way with Slide to 'separate' users

Re: Hos Structure is related to Content

2001-12-19 Thread Jean-Philippe Courson
Leandro Rodrigo Saad Cruz wrote: > Hi all. > I've a simple question. > How org.apache.slide.content.Content is related to > org.apache.slide.structure.Structure ? These 2 helpers have differents roles : Structure helper is used to deal with namespace structure eg nodes and nodes's children th

Re: How to 'separate' users ?

2001-12-19 Thread Jean-Philippe Courson
Remy Maucherat wrote: >>Hi, >> >>Here is my need : I want to use Slide to manage content for several >>companies and I can not just create SubjectNodes having uri like >>/users/login because I would be exposed to login conflicts between >>companies. >> >>It why I would like to know if there is

Re: Problem with examples and transactions

2001-12-19 Thread Jean-Philippe Courson
> I am having some probles with version/ example. > I tried to modify it to make it store content too. > But I am getting this warnings. > > "org.apache.slide.store.StandardStore - INFO - Delisting service > slidestore.reference.JDBCDescriptorsStore@2f35089f from active > transaction with failure"