RE: newbiw need help

2007-04-30 Thread Sven Pfeiffer
hi did you take a look at: - http://jakarta.apache.org/slide/installation.html, or - http://wiki.apache.org/jakarta-slide/InstallationWithSamples?highlight=%28install%29%7C%28slide%29, or - http://wiki.apache.org/jakarta-slide/TomcatSetup?highlight=%28install%29%7C%28slide%29 ? hth SVen

RE: OutOfMemoryError - Heap Space

2006-09-27 Thread Sven Pfeiffer
as the error tells you Java is running out of memory you should grant it more memory in java this is done using the -Xms and -Xmx arguments can't tell you off-hand how to set in for tomcat, but the docs or google will answer that :-) hth SVen -Original Message- From: aslam bari

Re: store files on file system instead of DBMS

2006-08-31 Thread Sven Pfeiffer
Hi, simply change the contentstrore to TxFileContentStore, as it is for example here: http://jakarta.apache.org/slide/samples/Domain.sample hth SVen Ha Pham schrieb: Hello all, We use J2EE store but want to save files in file system instead of DBMS as currently set by Slide (we still want

Re: Disk space problem with tomcat cache directory (File.createTempFile)

2006-08-04 Thread Sven Pfeiffer
Hi, had the same problem running slide 2.1 inside JBoss/Tomcat bundle. Simplest solution I found was the following: when running on linux/unix add a cronjob that periodically delete the files in temp-folder under windows you could use the at command to add a job that does the same. hth SVen

Re: slide client

2006-07-19 Thread Sven Pfeiffer
Hi after running in several erros when using relative urls I started to use absolute urls to identify the sources. root = new WebdavResource(webdavRootUrl); root.getMethod(http://localhost:8080/slide/files/config/projects_config.xml,targetFile); this always worked (at least for me) SVen

RE: Integrating Slide with a Java Desktop Client

2006-04-13 Thread Sven Pfeiffer
Hi, Can I integrate Slide with our Swing client? Where in the published documents should get displayed in the client application window (or a child frame). You can integrate access to Slide into (almost) any java client, so yes. Myself I have developed a webbased and a swing-based client in

RE: Programmatically set user permissions

2006-04-03 Thread Sven Pfeiffer
Hi, you can use the WebdavResources aclMethod(java.lang.String path,Ace[] aces) - method. Thats what I am working with to let the users change the ACLs using a gui. hth SVen -Original Message- From: Kai Rivera [mailto:[EMAIL PROTECTED] Sent: Monday, April 03, 2006 12:28 PM To:

RE: java.lang.NoClassDefFoundError: org/jaxen/BaseXPath

2005-10-31 Thread Sven Pfeiffer
Message- From: Sven Pfeiffer [mailto:[EMAIL PROTECTED] Sent: Monday, October 31, 2005 8:53 AM To: Slide Users Mailing List (E-mail) Subject: java.lang.NoClassDefFoundError: org/jaxen/BaseXPath Hi List, I upgraded from jboss-3.2.3 to jboss-3.2.6 and redeployed slide and my webapp depending

java.lang.NoClassDefFoundError: org/jaxen/BaseXPath

2005-10-30 Thread Sven Pfeiffer
Hi List, I upgraded from jboss-3.2.3 to jboss-3.2.6 and redeployed slide and my webapp depending on slide. When starting Jboss I'm always getting a java.lang.NoClassDefFoundError: org/jaxen/BaseXPath. jaxen-core.jar is in the WEB-INF/lib folder of slide and also in the lib folder of the server

RE: checkout (or download) a specific version

2005-08-24 Thread Sven Pfeiffer
/ D:creator-displayname/ D:creationuser/ D:creationdate/ D:modificationuser/ D:successor-set/ D:predecessor-set/ D:comment/ D:getcontentlength/ D:getlastmodified/ D:displayname/ /D:prop /D:version-tree -Original Message- From: Sven Pfeiffer [mailto:[EMAIL PROTECTED

checkout (or download) a specific version

2005-08-23 Thread Sven Pfeiffer
Hi List, maybe I am blind, but I was unable to find some information about how to checkout (or download) a specific version of a file. I want to enable my users to get older versions of files they checked in to server (like CVS), so the user can compare different versions. can someone please

RE: checkout (or download) a specific version

2005-08-23 Thread Sven Pfeiffer
to check out uri '/slide/history/102/2' or something like that. It will get you the content you need. Hth Phil -Original Message- From: Sven Pfeiffer [mailto:[EMAIL PROTECTED] Sent: Tue 23/08/2005 11:17 To: Slide Users Mailing List (E-mail) Cc

RE: checkout (or download) a specific version

2005-08-23 Thread Sven Pfeiffer
- From: Sven Pfeiffer [mailto:[EMAIL PROTECTED] Sent: Tue 23/08/2005 14:09 To: Slide Users Mailing List Cc: Subject: RE: checkout (or download) a specific version Hi Phil, thanks for your reply. Sounds good

getting 409 after checkin

2005-08-19 Thread Sven Pfeiffer
Hi list, I have a folder called repository which is put under version-control, . auto-version is set to checkout-checkin. to increase the version I have to do a checkout, then a put and then a checkin. Is this correct? My code is the following: final HttpURL httpUrl = new

RE: shouldn't the group-member-set property work?

2005-06-28 Thread Sven Pfeiffer
Hi how do you try to read the group-member-set property? Did you try: Vector v = new Vector(); v.add(new PropertyName(DAV:, group-member-set)); Enumeration enum = res.propfindMethod(v); This worked for me. DAVExplorer does not show it, because IIRC, he uses some kind of

RE: Domain.xml

2005-06-15 Thread Sven Pfeiffer
Hi Jo, 1. you just have to change the value of filespath/files/filespath inside Domain.xml to the oath you want. 2. Because, as you said, Domain.xml is just for initialisation, the best thing would be to reset the server totally, to remove all files and folders created by slide. AFAIK there is

Usage of Temp Dir

2005-06-03 Thread Sven Pfeiffer
Hi List I encountered a strange behaviour of Slide. I tried do run a benchmark for which I wrote a client that uploads and downloads files to/from a Slide server automatically. I runned 8 instances with several small files (15 MB). What happens is that the temp dir (configured as TEMP

RE: looks like a bug: getChildResources() returns messed up hostname

2005-02-24 Thread sven pfeiffer
Hello Edmund, If I remeber correctly, this is a bug, but not inside Slide. I guess the bug happens somewhere inside the HttpURL class of commons-httpclient. For me it helped to call the constructor of HttpURL not with the single string, but with (I don't have the sources here, so I have to

RE: preRetrieveContent in subclass of AbstractInterceptor is never called

2005-02-15 Thread Sven Pfeiffer
subclasses of Interceptor useless, because it is never called. SVen -Original Message- From: Sven Pfeiffer [mailto:[EMAIL PROTECTED] Sent: Monday, February 14, 2005 2:17 PM To: Slide Users Mailing List (E-mail) Subject: preRetrieveContent in subclass of AbstractInterceptor is never called Hi

preRetrieveContent in subclass of AbstractInterceptor is never called

2005-02-14 Thread Sven Pfeiffer
Hi List I just tried to implement my own Interceptor. I subclasses org.apache.slide.content.AbstractContentInterceptor and over wrode all preXXX and postXXX Methods. If I understood the docu right, everytime a user does a GET or a PROPFIND preRetrieveContent will be called bevore the request

(at) symbol in username problem

2005-02-11 Thread Sven Pfeiffer
Hi I would like to add users to slide which names contains @ [at] symbol. when creating the user, there is no problem. but when I try to add the user to a group the @ is encoded in %40. And whenever I add another user to the group the % will be encoded as %25 so i get usernames like

RE: (at) symbol in username problem

2005-02-11 Thread Sven Pfeiffer
attribute is set to true? SVen -Original Message- From: Sven Pfeiffer [mailto:[EMAIL PROTECTED] Sent: Friday, February 11, 2005 10:37 AM To: Slide Users Mailing List (E-mail) Subject: (at) symbol in username problem Hi I would like to add users to slide which names contains

versioncontrol-exclude for subfolders

2005-02-09 Thread Sven Pfeiffer
Hi List i want to exclude a folder and all subfolders from versioncontrol. the folder should be a temporary file dump. but if I set parameter name=versioncontrol-exclude/files/temp/parameter and i create a new folder in /files/temp/ lets say /files/temp/first first will be version controlled.

RE: versioncontrol-exclude for subfolders

2005-02-09 Thread Sven Pfeiffer
should be excluded /slide/files/public should be excluded /slide/files/system should be under version control is this possible, or do i have to set auto-version-control to false? thanks in advance SVen -Original Message- From: Sven Pfeiffer [mailto:[EMAIL PROTECTED] Sent: Wednesday

RE: versioncontrol-exclude for subfolders

2005-02-09 Thread Sven Pfeiffer
Sven, please try parameter name=versioncontrol-exclude/slide/files/users;/slide/files/public/pa rameter Regards, Peter -Original Message- From: Sven Pfeiffer [mailto:[EMAIL PROTECTED] Sent: Mittwoch, 9. Februar 2005 11:48 To: Slide Users Mailing List Subject: RE: versioncontrol

RE: Sven Pfeiffer - file size limitation

2005-02-09 Thread Sven Pfeiffer
for the moment. Whenever I have a little spare time I will try to find the problem and try to fix it. Sorry :-( SVen -Original Message- From: Clive Borrageiro [mailto:[EMAIL PROTECTED] Sent: Thursday, February 10, 2005 8:11 AM To: 'Slide Users Mailing List' Subject: ATT: Sven Pfeiffer

setting the owner of a collection

2005-02-08 Thread Sven Pfeiffer
Hi List is it possible to set the owner of a collection? I saw that the owner attribute is protected, but when creating a new collection it should be possible, I think. As I see the user that created the collection is its owner now, but I guess it should be possible to set, because if the

RE: no progress when executing request with proppath

2005-02-07 Thread Sven Pfeiffer
and add users to groups? thanks in advance SVen -Original Message- From: Sven Pfeiffer [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 02, 2005 9:00 AM To: Slide Users Mailing List (E-mail) Subject: no progress when executing request with proppath Hi List I am using Slide 2.2pre1

jakarta-slide-webdavlib-2.2pre1.jar sources

2005-02-01 Thread Sven Pfeiffer
Hi List are the sources for the jakarta-slide-webdavlib-2.2pre1.jar avainle anywhere? I was unable to find them. Thanks for any hint SVen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: howto-create-users.html

2005-02-01 Thread Sven Pfeiffer
Hi Lance could you give me a tip on this, I am trying the same as you. I am getting the group-member-set Attribute and adding my new user to the String. Then I am trying to do the propPatch, and that's not working for me. That's what I try: HttpURL url = new

no progress when executing request with proppath

2005-02-01 Thread Sven Pfeiffer
Hi List I am using Slide 2.2pre1, build from head a week ago. When I am trying to execute a Proppatch the request is send to the server, but nothing happens. I tried both using WebdavResources proppatchMethod and executeHttpRequestMethod with a PropPatchMethod, it doesn't seem to make a

automatically assigning user to a group on auto-crete

2005-01-31 Thread Sven Pfeiffer
Hi List, I am using slide with JAAS and auto-create-userstrue/auto-create-users. When a new user loggs in and the JAAS modul accepts the login a new username.def.xml is created in store/metadata/users and the user is added to /store/metadata/users.def.xml. But the user is not assigned to a

propfind to element group-member-set is null

2005-01-31 Thread Sven Pfeiffer
Hi List I am still trying to add automatically created users to groups. I subclassed SubjectNode. I am trying the following: Vector props = new Vector(); //props.add(new PropertyName(DAV:, group-member-set));//tried both props.add(group-member-set);

RE: howto-create-users.html

2005-01-31 Thread Sven Pfeiffer
Hi Derek I got it to work. My problem was, that the user wasn't allowed to change the properties, so I added my user to /roles/root and set objectnode classname=org.apache.slide.structure.SubjectNode uri=/roles ... permission action=all subject=/roles/root inheritable=true/ ... /objectnode

RE: possible bug or misconfiguration with auto-create-users?

2005-01-23 Thread Sven Pfeiffer
Hi Paul I guess you should set parameter name=all-methods-in-transactionstrue/parameter in configuration-element in Domain.xml. hth SVen -Original Message- From: Paul Hussein [mailto:[EMAIL PROTECTED] Sent: Thursday, January 13, 2005 3:14 PM To: Slide Users Mailing List Subject:

RE: Slide storage location

2005-01-04 Thread Sven Pfeiffer
just take a look at Domain.xml parameter name=rootpathstore/metadata/parameter parameter name=workpathwork/metadata/parameter parameter name=rootpathstore/content/parameter parameter name=workpathwork/content/parameter there you can change it to whatever you want hth SVen -Original