RE: newbiw need help
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 -Original Message- From: JOYDEEP [mailto:[EMAIL PROTECTED] Sent: Monday, April 30, 2007 12:41 PM To: Slide Users Mailing List Subject: newbiw need help Dear list, I am using suse 9.2 and interested to install slide webdav. I can't understand how to implement it in my system. could any one kindly help me ? I have also seen the availability of java and tomcat in my system through yast. thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: OutOfMemoryError - Heap Space
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 [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 27, 2006 11:08 AM To: Slide User Subject: OutOfMemoryError - Heap Space Dear All, I am using Lucene Content Indexer. There are some Big files of 70-80MB also in slide. When i setup lucene and start tomcat, It gives me this Error message. org.apache.slide.common.Domain - ERROR - java.lang.OutOfMemoryError : Java heap space. Any body help me? - Find out what India is talking about on - Yahoo! Answers India Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it NOW - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: store files on file system instead of DBMS
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 to store other properties in DBMS). Could anyone help me with this issue? (We use MySql). Thank you, Ha Pham - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Disk space problem with tomcat cache directory (File.createTempFile)
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 Darren Hartford schrieb: Half-way there Adding a: buffer.deleteOnExit(); Sort of helps - in that when you stop the Tomcat instance it will then delete the temp file, but not while it is running. -D -Original Message- From: Darren Hartford [mailto:[EMAIL PROTECTED] Sent: Friday, August 04, 2006 11:58 AM To: Slide Users Mailing List Subject: RE: Disk space problem with tomcat cache directory (File.createTempFile) In NodeRevisionContent.java, there is: public long bufferContent(InputStream is) throws IOException { File buffer = File.createTempFile(content_, null); OutputStream os = new BufferedOutputStream(new FileOutputStream(buffer)); try { long length = FileHelper.globalBufferCopy(is, os); InputStream bis = new BufferedInputStream(new FileInputStream(buffer)); setContent(bis); return length; } finally { try { is.close(); } finally { os.close(); } } } === Would this be a culprit? -D -Original Message- From: Darren Hartford [mailto:[EMAIL PROTECTED] Sent: Friday, August 04, 2006 10:35 AM To: Slide Users Mailing List Subject: RE: Disk space problem with tomcat cache directory Windows tomcat 5.5.9 does *not* experience this problem. -Original Message- From: Darren Hartford [mailto:[EMAIL PROTECTED] Sent: Friday, August 04, 2006 10:14 AM To: Slide Users Mailing List Subject: RE: Disk space problem with tomcat cache directory Some more detail: Linux install of Jpackage version of tomcat, 5.5.9-1jpp experiences this problem. On windows Tomcat 5.5.17, the /temp directory does *not* have the same symptoms. -D -Original Message- From: Darren Hartford Sent: Friday, August 04, 2006 10:07 AM To: 'Slide Users Mailing List' Subject: Disk space problem with tomcat cache directory Hey all, I'm experiencing some problems with Slide built from SVN running on Tomcat 5.5/FC5/jpackage sun-jdk 5. Under /var/cache/tomcat5/temp is a large number of temporary files (content_N.tmp) that are the binary files being sent to Slide. These appear to persist even after the transaction for injecting them is complete. Does anyone have any information regarding this? Thanks, -D - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: slide client
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 Maƫl Villat schrieb: Hello! I believe that getMethod needs an absolute path like: /slide/files/filename.txt. You should look at the server's log, it could help you. - Original Message - From: Julien Chambert [EMAIL PROTECTED] To: slide-user@jakarta.apache.org Sent: Wednesday, July 19, 2006 3:33 PM Subject: slide client i'm a new bee in use of slide i try to use slide client on a java application and don't manage to get file. here is my code: . File temp = new File(temp.xml); root = new WebdavResource(webdavRootUrl); temp.CreateNewFile(); System.out.println(webdavRootUrl); Sytem.out.println(read :+temp.canRead()+ write: +temp.canWrite()); System.out.println(root.getMethod(config/projects_config.xml,temp)); it displays: http://localhost:8080/slide/files/ read: true write: true false I don't understand when I check with konqueror the file exists. Can someone explain me what i have missed??? thanks for your answer - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Integrating Slide with a Java Desktop Client
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 which users can upload, download and remove documents (part of the documents are version-controlled others are not),create and delete folders, edit text documents and assign ACLs to the documents and to the folders (of course if they have permissions). The slide server is integrated in a server application which also controls the authentication, authorisation is left to slides acls. So I guess the short answer to what I understand you want to is YES, it is possible. I can't say much about searching in slide, because I am not using it, but this is possible using DASL. hth SVen -Original Message- From: Vijesh A.V. [mailto:[EMAIL PROTECTED] Sent: Thursday, April 13, 2006 5:01 PM To: slide-user@jakarta.apache.org Subject: Integrating Slide with a Java Desktop Client Hi all, Please note that I am new to CMS. Right now doing RD for finding out a good Java based open source CMS solution, hence I came across Apache Slide. Our Desktop client is done is Java Swing which is using a J2EE server and Oracle database. 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). By integration, what I meant is: the ability to bypass login to reach published content, editing them, implementing permissions from the ACL exists in the main application (using our security details), having the view/edit functionality in the same interface based on the permissions, search functionality etc. Hope I was clear enough. Regards, Vijesh - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Programmatically set user permissions
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: slide-user@jakarta.apache.org Subject: Programmatically set user permissions Hi, I'm a jakarta slide newbie and am working on a project where we have to synchronize a file repository in jahia with a proprietary file repository. In the source directory, all the user permissions have been set and our client would like us not only to synchronize the files, but to keep the user permissions too. How do we programmatically set user permissions with slide? Thanks in advance! -- Cheers, Kai Rivera Get things done. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: java.lang.NoClassDefFoundError: org/jaxen/BaseXPath
Found it myself. ;-) If someone gets the same error: The problem seems to be that JBoss (at least version 3.2.3) has a jdom.jar in its lib directeory (JBOSS_HOME/lib). The version of the jdom.jar os 1.0beta9. Replacing this jdom.jar by one of version 1.0 solves the problem. SVen -Original 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 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 (jboss/serve/default/lib). I was thinking about a conflict and removed one of the two jars but neither removing it in server/default/lib nor in /WEB-INF/lib helped. Has anyone an idea what causes this? I just downloaded jakarta-slide-server-bin-2.1.zip and used the slide/webapp/Slide.war to deploy Slide. Thanks in advance SVen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
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 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 (jboss/serve/default/lib). I was thinking about a conflict and removed one of the two jars but neither removing it in server/default/lib nor in /WEB-INF/lib helped. Has anyone an idea what causes this? I just downloaded jakarta-slide-server-bin-2.1.zip and used the slide/webapp/Slide.war to deploy Slide. Thanks in advance SVen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: checkout (or download) a specific version
Hi Ray, thank you for your advice. Just needed a little bit XPath Stuff and now I am able to find the version I need. thank you! SVen -Original Message- From: Ray Sprinkle [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 23, 2005 4:11 PM To: Slide Users Mailing List Subject: RE: checkout (or download) a specific version A faster was is to issue a report query on the parent object. Using the reportMethod() with the following XML as the query will return all of the revision history for selected document. You have to parse it and it is unordered unless you sort it yourself using the predessor-set/successor-set links, but you get everything you want in one webdav call. Pick the revision you want and then open the version as the previous reply said. I built my query from after reading an example in the Wiki. D:version-tree xmlns:D='DAV:' D:prop D:version-name/ 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] Sent: Tuesday, August 23, 2005 10:06 AM To: Slide Users Mailing List Subject: RE: checkout (or download) a specific version Hi Phil, that's it, it works fine! thank you again. SVen -Original Message- From: Burnside, Phillip (UK - Glasgow) [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 23, 2005 3:16 PM To: Slide Users Mailing List Subject: RE: checkout (or download) a specific version Sven, Do a propfindmethod on element 'version-history'. This will give you the URI to the History location for this resource. Once there you will need to step through each of the child nodes until you get the matching one, then do the getMethod to retrieve that version. Hth Phil -Original Message- 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 ;-) But how do I get the uri of the Version History? Is there a method to get the ID, or whatever the number is? Thank you for your help SVen -Original Message- From: Burnside, Phillip (UK - Glasgow) [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 23, 2005 2:19 PM To: Slide Users Mailing List Subject: RE: checkout (or download) a specific version Sven, Check out the uri to the version you wish to retrieve. For example, File_1 has 3 versions. Version history is in uri '/slide/history/102/' To retrieve version 2 you need 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: Subject: checkout (or download) a specific version 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 give me an advice how I can checkout (or download) a version (that is not the latest one). Thank in advance SVen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] IMPORTANT NOTICE If you have received this e-mail in error or wish to read our e-mail disclaimer statement and monitoring policy, please refer to the statement below or contact the sender. This communication is from Deloitte Touche LLP. Deloitte Touche LLP is a limited liability partnership registered in England and Wales with registered number OC303675. A list of members' names is available for inspection at Stonecutter Court, 1 Stonecutter Street, London EC4A 4TR, United Kingdom, the firm's principal place of business and registered office. Deloitte Touche LLP is authorised and regulated by the Financial Services Authority. This communication and any attachments contain information which is confidential and may also be privileged. It is for the exclusive use of the intended
checkout (or download) a specific version
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 give me an advice how I can checkout (or download) a version (that is not the latest one). Thank in advance SVen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: checkout (or download) a specific version
Hi Phil, thanks for your reply. Sounds good ;-) But how do I get the uri of the Version History? Is there a method to get the ID, or whatever the number is? Thank you for your help SVen -Original Message- From: Burnside, Phillip (UK - Glasgow) [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 23, 2005 2:19 PM To: Slide Users Mailing List Subject: RE: checkout (or download) a specific version Sven, Check out the uri to the version you wish to retrieve. For example, File_1 has 3 versions. Version history is in uri '/slide/history/102/' To retrieve version 2 you need 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: Subject: checkout (or download) a specific version 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 give me an advice how I can checkout (or download) a version (that is not the latest one). Thank in advance SVen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] IMPORTANT NOTICE If you have received this e-mail in error or wish to read our e-mail disclaimer statement and monitoring policy, please refer to the statement below or contact the sender. This communication is from Deloitte Touche LLP. Deloitte Touche LLP is a limited liability partnership registered in England and Wales with registered number OC303675. A list of members' names is available for inspection at Stonecutter Court, 1 Stonecutter Street, London EC4A 4TR, United Kingdom, the firm's principal place of business and registered office. Deloitte Touche LLP is authorised and regulated by the Financial Services Authority. This communication and any attachments contain information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of disclosure, distribution, copying or use of this communication or the information in it or in any attachments is strictly prohibited and may be unlawful. If you have received this communication in error, please return it with the title received in error to [EMAIL PROTECTED] then delete the email and destroy any copies of it. E-mail communications cannot be guaranteed to be secure or error free, as information could be intercepted, corrupted, amended, lost, destroyed, arrive late or incomplete, or contain viruses. We do not accept liability for any such matters or their consequences. Anyone who communicates with us by e-mail is taken to accept the risks in doing so. When addressed to our clients, any opinions or advice contained in this e-mail and any attachments are subject to the terms and conditions expressed in the governing Deloitte Touche LLP client engagement letter. Opinions, conclusions and other information in this e-mail and any attachments which do not relate to the official business of the firm are neither given nor endorsed by it. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: checkout (or download) a specific version
Hi Phil, that's it, it works fine! thank you again. SVen -Original Message- From: Burnside, Phillip (UK - Glasgow) [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 23, 2005 3:16 PM To: Slide Users Mailing List Subject: RE: checkout (or download) a specific version Sven, Do a propfindmethod on element 'version-history'. This will give you the URI to the History location for this resource. Once there you will need to step through each of the child nodes until you get the matching one, then do the getMethod to retrieve that version. Hth Phil -Original Message- 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 ;-) But how do I get the uri of the Version History? Is there a method to get the ID, or whatever the number is? Thank you for your help SVen -Original Message- From: Burnside, Phillip (UK - Glasgow) [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 23, 2005 2:19 PM To: Slide Users Mailing List Subject: RE: checkout (or download) a specific version Sven, Check out the uri to the version you wish to retrieve. For example, File_1 has 3 versions. Version history is in uri '/slide/history/102/' To retrieve version 2 you need 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: Subject: checkout (or download) a specific version 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 give me an advice how I can checkout (or download) a version (that is not the latest one). Thank in advance SVen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] IMPORTANT NOTICE If you have received this e-mail in error or wish to read our e-mail disclaimer statement and monitoring policy, please refer to the statement below or contact the sender. This communication is from Deloitte Touche LLP. Deloitte Touche LLP is a limited liability partnership registered in England and Wales with registered number OC303675. A list of members' names is available for inspection at Stonecutter Court, 1 Stonecutter Street, London EC4A 4TR, United Kingdom, the firm's principal place of business and registered office. Deloitte Touche LLP is authorised and regulated by the Financial Services Authority. This communication and any attachments contain information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of disclosure, distribution, copying or use of this communication or the information in it or in any attachments is strictly prohibited and may be unlawful. If you have received this communication in error, please return it with the title received in error to [EMAIL PROTECTED] then delete the email and destroy any copies of it. E-mail communications cannot be guaranteed to be secure or error free, as information could be intercepted, corrupted, amended, lost, destroyed, arrive late or incomplete, or contain viruses. We do not accept liability for any such matters or their consequences. Anyone who communicates with us by e-mail is taken to accept the risks in doing so. When addressed to our clients, any opinions or advice contained in this e-mail and any attachments are subject to the terms and conditions expressed in the governing Deloitte Touche LLP client engagement letter. Opinions, conclusions and other information in this e-mail and any attachments which do not relate to the official business of the firm are neither
getting 409 after checkin
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 HttpURL(http://localhost:8080/slide/public/files/repository;); httpUrl.setUserinfo(user, password); final WebdavResource res = new WebdavResource(httpUrl); res.checkoutMethod(httpUrl.getPath() + / + file.getName()); res.putMethod(httpUrl.getPath() + / + file.getName(), file); res.checkinMethod(httpUrl.getPath() + / + file.getName()); if I perform this when checkin a source the first time I get: CHECKOUT, 404 Not Found PUT,201 Created CHECKIN, 409 Conflict if it is not for the first time I am getting: CHECKOUT, 200 OK PUT,204 No Content CHECKIN, 201 Created Why do I get a 409 Conflict? Is this expected? Am I doing something wrong? Any help is appreciated. Thanks in advance SVen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: shouldn't the group-member-set property work?
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 findAll-properties command (not shure how it is really called) and in there group-member-set is not shown. hth SVen -Original Message- From: Edmund Urbani [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 28, 2005 2:44 PM To: Slide Users Mailing List Subject: shouldn't the group-member-set property work? Hi! I'm trying to read the DAV:group-member-set property of resources in /roles/. PROPFIND returns that property without an error, but the value is always an empty string. I just read the Slide Security Howto. It mentions that the |wrappers.catalina.|SlideRealm needs to be configured in Tomcat. I have got Tomcat 5.0.28 + JAASRealm setup (no more SlideRealm). Could that be the problem? Any other ideas what I could be doing wrong? DAVExplorer does not show the group-member-set property either. Cheers, Edmund Urbani - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Domain.xml
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 no good way to proceed changes in Domain.xml on a running server. So, what you have to remove depends on your configuration of the stores, if you use TxXMLFileDescriptorsStore and TxFileContentStore, which is the default, you can simply delete the directories you specified as rootpath (and maybe these you definined as workpath, but I guess that is not necessary). You also have to look at your initial ACLs, if there are some for /files, you should change this, too, and maybe your versioning configuration, but this should be all where you have to specify the path. Whether you can replace all /files occurences depends on your Domain.xml, normally I would say yes, but be carefull ;-) hth SVen -Original Message- From: Jo [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 15, 2005 2:42 AM To: slide-user@jakarta.apache.org Subject: Domain.xml Hi everyone, I am new to slide and have just installed slide2.1 in Tomcat. There are some questions below that I need answers or advice or pointers from you. 1. Is it possible to change the default /files path to something else; say /repository by editting the domain.xml file ? If it is possible, can I just replace all references to /files with /repository ? 2. I am aware that domain.xml is used for initialization only. Should I need to re-initialize what do I have to do ? Which directories under Tomcat base directory do I have to remove ? Thanks a lot for your help. Jo.- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Usage of Temp Dir
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 environment variable in Windows XP) gets filled with lods of content_number.tmp files which habe the same size as my test files, so I guess they are stored there by the Slide server. And these files never seem to be deleted so that I run out of free disk space. Is this normal? Can this be avoided? Or can Slide be forced to delete the tmp files when they aren't needed anymore? Thanks in Advance SVen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: looks like a bug: getChildResources() returns messed up hostname
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 guess a little bit) HttpURL(localhost,8080,docs). I am not sure whether the bug is inside slide or httpclient, but for me this worked. hth SVen -Original Message- From: Edmund Urbani [mailto:[EMAIL PROTECTED] Sent: Thursday, February 24, 2005 5:11 PM To: Slide Users Mailing List Subject: looks like a bug: getChildResources() returns messed up hostname Has this bug been reported/fixed: I use a local webdav repository with a root that looks like this: http://localhost:8080/docs/ When I call the getChildResources() method of the WebdavResource for the above URL, I get resources with an URL like http://localhost8080:8080/docs/... Yes, the port number gets concatenated to the hostname. I can't image such a bug to remain unnoticed for long, but I was not able to find it on bugzilla, so... if this one's really unheard of, I may as well get myself an ASF bugzilla account and submit it there. Edmund - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: preRetrieveContent in subclass of AbstractInterceptor is never called
Hi again I just looked through the slide sources and found something odd. In org.apache.slide.content.ContentImpl you have 5 constants PRE_STORE ,POST_STORE ,POST_RETRIEVE ,PRE_REMOVE and POST_REMOVE but no for PRE_RETRIEVE and in all relevant methods you call invokeInterceptors (SlideToken token, NodeRevisionDescriptors revisionDescriptors, NodeRevisionDescriptor revisionDescriptor, NodeRevisionContent revisionContent, int type) but not before you retrieve the content. Is this intended, or did you simply forget it. This makes preRetrieveContent in all 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 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 is executet and postRetrieveContent will be called after the request was executed and the content or property was returned. However my preRetrieveContent-method is never called. No matter wheter I do a GET or a PROPFIND, postRetrieveConten is called, but not preRetrieveContent. In Domain.xml I set the Interceptor: content-interceptor class=test.slide.SimpleInterceptor/ I am running slide 2.1. Has anyone an idea why preRetrieveContent is not called? thanks in advance SVen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
preRetrieveContent in subclass of AbstractInterceptor is never called
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 is executet and postRetrieveContent will be called after the request was executed and the content or property was returned. However my preRetrieveContent-method is never called. No matter wheter I do a GET or a PROPFIND, postRetrieveConten is called, but not preRetrieveContent. In Domain.xml I set the Interceptor: content-interceptor class=test.slide.SimpleInterceptor/ I am running slide 2.1. Has anyone an idea why preRetrieveContent is not called? thanks in advance SVen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
(at) symbol in username problem
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 %2525252525252525252525252540admin, which should be @admin. The question is why is this happening, I don't think it is a problem of encoding, so that changing to unicode or utf-8 or something will help. I hoped that setting the group-member-set as !CDATA[...]] might help, but this didn't work either. I could replace the %40 in the String before doing the propPatch, but then still in the xml it will be escaped. And I guess slide will make a difference between user @admin and user 40admin, so all group acls won't work. I am using slide, build from cvs-head about 3 weeks ago, inside jboss3.2.3/tomcat4.1 Thanks in advance SVen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: (at) symbol in username problem
okay, sorry, it was just a problem of namespace. i changed the namespace to DAV: and it worked fine ;) but another strange thing happened: group-member-set (among others) is not displayed, neither in DAVExplorer, nor in the eclipse webdav navigator. is this, because these properties protected 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 @ [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 %2525252525252525252525252540admin, which should be @admin. The question is why is this happening, I don't think it is a problem of encoding, so that changing to unicode or utf-8 or something will help. I hoped that setting the group-member-set as !CDATA[...]] might help, but this didn't work either. I could replace the %40 in the String before doing the propPatch, but then still in the xml it will be escaped. And I guess slide will make a difference between user @admin and user 40admin, so all group acls won't work. I am using slide, build from cvs-head about 3 weeks ago, inside jboss3.2.3/tomcat4.1 Thanks in advance SVen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
versioncontrol-exclude for subfolders
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. is there a possibility to say this folder an all subfolders shouldbe excluded from version control? using * as wildcard doesn't seem to work thanks in advance SVen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: versioncontrol-exclude for subfolders
it seems like there is another problem. it looks like versioncontrol-exclude is not only for the specified folder, but also for the subfolders. my problem seems to be that i want to set more then one folder to be excluded from version control. it looks like that: /slide/files/users 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, February 09, 2005 11:37 AM To: Slide Users Mailing List (E-mail) Subject: versioncontrol-exclude for subfolders 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. is there a possibility to say this folder an all subfolders shouldbe excluded from version control? using * as wildcard doesn't seem to work thanks in advance SVen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: versioncontrol-exclude for subfolders
Hi Peter, I didn't excpect it to be that easy ;-) but it works fine Thank you SVen -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 09, 2005 5:09 PM To: slide-user@jakarta.apache.org Subject: RE: versioncontrol-exclude for subfolders Hi 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-exclude for subfolders it seems like there is another problem. it looks like versioncontrol-exclude is not only for the specified folder, but also for the subfolders. my problem seems to be that i want to set more then one folder to be excluded from version control. it looks like that: /slide/files/users should be excluded /slide/files/publicshould be excluded /slide/files/systemshould 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, February 09, 2005 11:37 AM To: Slide Users Mailing List (E-mail) Subject: versioncontrol-exclude for subfolders 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. is there a possibility to say this folder an all subfolders shouldbe excluded from version control? using * as wildcard doesn't seem to work thanks in advance SVen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Sven Pfeiffer - file size limitation
Hi Clive, I am still trying to find the problem. In the moment I am thinking the problem might be on tomcat-side, which passes the request. But no one in the tomcat mailing lists seems to be able to help me. But development has to go on, so I have to live with the file size limitation of 2 GB 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 - file size limitation Hi Sven, I found the thread in the mailing lists relating to the file size limitation in slide. Were you able to patch this? We are having the same problems as stated in the thread. Your help will be much appreciated. Thank You Clive - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
setting the owner of a collection
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 seperate attribute creation-user. Does someone know how to set the owner programtically? Thanks in advance SVen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: no progress when executing request with proppath
Is it possible that I am stuck in some kind of transaction? I just tried to put the proppatchMethod in the finalize-Method, I know thats not the best way, but in there it worked. i have to methods, the one called addUserToRole, make a propPatchMethod, to the role and the second one creates a new collection unter /files/user. I was calling these methods from the constructor with one parameter, because I found out, that when subclassing SubjectNode, when a new user is created this constructor is used. where else can I call these methods? is there a better way to create a user folder 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, 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 difference which one I am trying. on the server I am getting the following: [httpclient.wire] PROPPATCH /slide/roles/user HTTP/1.1[\r][\n] [httpclient.wire] Authorization: Basic QGFkbWluc3lzdGVtOmluaXRpYWw=[\r][\n] [httpclient.wire] Content-Type: text/xml; charset=utf-8[\r][\n] [httpclient.wire] User-Agent: Jakarta Commons-HttpClient/2.0rc3[\r][\n] [httpclient.wire] Host: localhost:8080[\r][\n] [httpclient.wire] Cookie: $Version=0; JSESSIONID=7F3E3EB8A68E29892E16DEF093AF9925; $Path=/slide[\r][\n] [httpclient.wire] Content-Length: 420[\r][\n] [httpclient.wire] [\r][\n] [httpclient.wire] ?xml version=1.0 encoding=utf-8 ?D:propertyupdate xmlns:D=DAV:D:setD:propD:group-member-setD:href xmlns:D=DAV:/slide/users/john/D:href[\r][\n] [httpclient.wire] D:href xmlns:D=DAV:/slide/users/john2/D:href[\r][\n] [httpclient.wire] D:href xmlns:D=DAV:/slide/users/root/D:href[\r][\n] [httpclient.wire] D:href xmlns:D=DAV:/slide/users/projector/D:hrefD:href xmlns:D=DAV:/slide/users/sep/D:href/D:group-member-set/D:prop/D:set/D:propertyupdate which seems to be okay. Has anyone an idea where the problem is? just to be complete I am running slide inside JBoss3.2.3/Tomcat4.1 on Win2000, executing PropPatch with DAVExplorer works. Thanks in advance SVen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
jakarta-slide-webdavlib-2.2pre1.jar sources
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 PROTECTED]
RE: howto-create-users.html
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 HttpURL(http://localhost:8080/slide/roles/user;); url.setUserinfo(root, root); WebdavResource resource = new WebdavResource(url); String usersInGroup //the String I am getting and adding my user to. usersInGroup = D:href xmlns:D=DAV:/slide/users/john/D:href+ +D:href xmlns:D=DAV:/slide/users/john2/D:href+ +D:href xmlns:D=DAV:/slide/users/root/D:href+ +D:href xmlns:D=DAV:/slide/users/projector/D:href+ +D:href xmlns:D=DAV:/slide/users/sep/D:href; resource.proppatchMethod(new PropertyName(DAV:, group-member-set), ![CDATA[ + usersInGroup + ]], true); But the resource.proppatchMethod just never finishes the work. Can you share your code, so I can see what the difference is, that you are doing. Thanks in advance. SVen -Original Message- From: Lance Leverich [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 01, 2005 3:27 PM To: Slide Users Mailing List Subject: RE: howto-create-users.html I have gotten this to work. My admin module reads the group-member-set attribute for the role I want to update, putting each current member into an ArrayList. I then add the new user to that list (making sure that the /users portion is prefixed to the user name). Then I create the XML formatted string by hand and do a PropPatchMethod with that new string. Lance -Original Message- From: Derek Lac [mailto:[EMAIL PROTECTED] Sent: Monday, January 31, 2005 4:10 PM To: slide-user@jakarta.apache.org Subject: howto-create-users.html Have anyone read the how-create-users.html and actually gotten it to work? I am stuck with the part 4: assigning a role. It asks to add D:href xmlns:D='DAV:'/users/test/D:href' to Name : group-member-set, but I couldn't get it to work. -Derek - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
no progress when executing request with proppath
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 difference which one I am trying. on the server I am getting the following: [httpclient.wire] PROPPATCH /slide/roles/user HTTP/1.1[\r][\n] [httpclient.wire] Authorization: Basic QGFkbWluc3lzdGVtOmluaXRpYWw=[\r][\n] [httpclient.wire] Content-Type: text/xml; charset=utf-8[\r][\n] [httpclient.wire] User-Agent: Jakarta Commons-HttpClient/2.0rc3[\r][\n] [httpclient.wire] Host: localhost:8080[\r][\n] [httpclient.wire] Cookie: $Version=0; JSESSIONID=7F3E3EB8A68E29892E16DEF093AF9925; $Path=/slide[\r][\n] [httpclient.wire] Content-Length: 420[\r][\n] [httpclient.wire] [\r][\n] [httpclient.wire] ?xml version=1.0 encoding=utf-8 ?D:propertyupdate xmlns:D=DAV:D:setD:propD:group-member-setD:href xmlns:D=DAV:/slide/users/john/D:href[\r][\n] [httpclient.wire] D:href xmlns:D=DAV:/slide/users/john2/D:href[\r][\n] [httpclient.wire] D:href xmlns:D=DAV:/slide/users/root/D:href[\r][\n] [httpclient.wire] D:href xmlns:D=DAV:/slide/users/projector/D:hrefD:href xmlns:D=DAV:/slide/users/sep/D:href/D:group-member-set/D:prop/D:set/D:propertyupdate which seems to be okay. Has anyone an idea where the problem is? just to be complete I am running slide inside JBoss3.2.3/Tomcat4.1 on Win2000, executing PropPatch with DAVExplorer works. Thanks in advance SVen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
automatically assigning user to a group on auto-crete
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 role. Now the question is, what is the best way to assign the user to a role? Should I subclass org.apache.slide.structure.SubjectNode and on the creation of a new one change the group-member-set property of the group? Or should I write a content-interceptor / extractor that is called when the collection for a user is created? Or is there a better way I didn't think of? Thanks in advance for every hint. SVen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
propfind to element group-member-set is null
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); HttpURL url = new HttpURL(http://localhost:8080/slide/roles/user;); url.setUserinfo(@adminsystem, initial); WebdavResource resource = new WebdavResource(url); System.out.println(soweit so gut); Enumeration enu = resource.propfindMethod( DepthSupport.DEPTH_INFINITY, props); if (!enu.hasMoreElements()) return; ResponseEntity ent = (ResponseEntity) enu.nextElement(); enu = ent.getProperties(); if (!enu.hasMoreElements()) return; Property property = (Property) enu.nextElement(); // Property property = PropertyFactory.create(ent, ); org.w3c.dom.Element propele = property.getElement(); System.out.println(-); System.out.println(propele); System.out.println(-); I am always getting: - [D:group-member-set: null] - And when using the DAVExplorer, as described in the howto-create-users.html the property group-member-set (among others) is not displayed. Can someone explain to me why I can't read this property? Thanks in advance SVen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: howto-create-users.html
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 For me it works hth SVen -Original Message- From: Derek Lac [mailto:[EMAIL PROTECTED] Sent: Monday, January 31, 2005 11:10 PM To: slide-user@jakarta.apache.org Subject: howto-create-users.html Have anyone read the how-create-users.html and actually gotten it to work? I am stuck with the part 4: assigning a role. It asks to add D:href xmlns:D='DAV:'/users/test/D:href' to Name : group-member-set, but I couldn't get it to work. -Derek - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: possible bug or misconfiguration with auto-create-users?
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: possible bug or misconfiguration with auto-create-users? I am trying to configure the development version of slide from cvs with tomcat 5 to use the auto-create-user option available in Domain.xml. I have changed Domain.xml as in wck Domain.xml to have auto-create-userstrue/auto-create-users !--auto-create-users-roleorg.apache.slide.structure.SubjectNode/auto-create-users-role-- !auto-create-users-roleslideroles.basic.RootRoleImpl/auto-create-users-role and have hardcoded a username and password in the SlideLoginModule, and changed nothing else from the jaas-deploy-tomcat-5 target ( except for adding a little more debug ). With these settings i get : SlideLoginModule.login : enter SlideLoginModule.login : got username and password SecurityImpl.getPrincipal : enter SecurityImpl.getPrincipal : isAutoCreateUsers : true SecurityImpl.getPrincipal : we are trying to auto create user SecurityImpl.getPrincipal : namespaceConfig.getAutoCreateUsersRole() : slideroles.basic.RootRoleImpl 13 Jan 2005 14:47:52 - WARNING - WARNING: No active transaction 13 Jan 2005 14:47:52 - file-meta-store - WARNING - Thread Thread[http-8080-Processor25,5,main] marked transaction branch null for rollback. Cause: Not inside tx 13 Jan 2005 14:47:52 - org.apache.slide.common.Domain - ERROR - [SlideLoginModule] - Failure loading user object - Service TxXMLFileDescriptorsStore at /net/devserver/home/paulh/jakarta-tomcat-5.0.28/webapps/slide/store/metadata working on /net/devserver/home/paulh/jakarta-tomcat-5.0.28/webapps/slide/work/metadata access error : Invalid transaction id 13 Jan 2005 14:47:52 - org.apache.slide.common.Domain - ERROR - org.apache.slide.common.ServiceAccessException: Service TxXMLFileDescriptorsStore at /net/devserver/home/paulh/jakarta-tomcat-5.0.28/webapps/slide/store/metadata working on /net/devserver/home/paulh/jakarta-tomcat-5.0.28/webapps/slide/work/metadata access error : Invalid transaction id org.apache.slide.common.ServiceAccessException: Service TxXMLFileDescriptorsStore at /net/devserver/home/paulh/jakarta-tomcat-5.0.28/webapps/slide/store/metadata working on /net/devserver/home/paulh/jakarta-tomcat-5.0.28/webapps/slide/work/metadata access error : Invalid transaction id at org.apache.slide.store.txfile.AbstractTxFileStoreService.throwInternalError(AbstractTxFileStoreService.java:365) at org.apache.slide.store.txfile.XMLResourceDescriptor.create(XMLResourceDescriptor.java:130) at org.apache.slide.store.txfile.TxXMLFileDescriptorsStore.createObject(TxXMLFileDescriptorsStore.java:121) at org.apache.slide.store.AbstractStore.createObject(AbstractStore.java:762) at org.apache.slide.store.ExtendedStore.createObject(ExtendedStore.java:642) at org.apache.slide.security.SecurityImpl.getPrincipal(SecurityImpl.java:1030) at org.apache.slide.jaas.spi.SlideLoginModule.login(SlideLoginModule.java:178) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25 I get : Are there some more settings I need to configure. I did try the wck build. but the Domain.xml does not seem to be a valid XML file. Regards Paul. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Slide storage location
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 Message- From: Hung Phan [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 05, 2005 6:48 AM To: Slide Users Mailing List Subject: Slide storage location Hi all, By default, all the files and metadata are stored under bin/store directory. Is it possible to specify the location some where like /usr/resources ? Thanks, --Hung - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]