RE: PROBLEM IN uploading the file

2004-11-23 Thread Roman Novak
It seems that authentication is probably not set up correctly. ( your log entry -- Multi-Status, 550 ms, /files http-8080-Processor25, 22-Nov-2004 16:04:48, root, PUT, 403 Forbidden, 1251 s, /files) Does uploading manually (Webdav Explorer, MS Explorer - Webfolders) work for you ? Roman Am

Re: authentication store

2004-11-23 Thread Morten
Good stuff James, thanks. 2) Implement a custom Store for Slide to expose your users and roles as nodes in Slide. You'll need a password property in the Slide namespace in order for Slide's app server integration to work. Any detail on what's needed to accomplish this? Would it suffice to

Re: Binding to Windows Network Drive

2004-11-23 Thread Alessandro Apostoli
You might be interested in project davenport a CIFS-WebDAV gateway http://sourceforge.net/projects/davenport/ James Mason wrote: There a SimpleFileStore (I think it's in 2.1) that should do what you want. I don't know about searching, since Slide only indexes files when they're uploaded. This

annotating multi-version file

2004-11-23 Thread Jussi Vaihia
How does one add annotations for a file that has multiple versions ? Currently I am able to annotate a file with no version information without problems, however adding another version for the file gives 403 errors during annotation addition. http8080-Processor4, 23-Nov-2004 13:37:10, jussiava2,

Re: authentication store

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

Re: table prefix

2004-11-23 Thread Richard Emberson
Our application has both tables that we have created and tables from more than one external application, such a Slide. So how to keep table names from colliding? One way of course is to create a different database per section of one's application. Another is for each creator of tables to assume

Re: table prefix

2004-11-23 Thread kranga
I would strongly recommend a table prefix as opposed to a suffix as you mention at the end of the first paragraph. That was when you list the tables, all tables for a given app/module are listed together, yet in alphabetic order. With a suffix, the table names will get dispersed among the table

Re: table prefix

2004-11-23 Thread Richard Emberson
Var George, Yes, thats the thread. Thanks, hope someone in the Slide project will help. Richard Var George wrote: Richard Are you talking about the following thread? http://www.mail-archive.com/slide-user@jakarta.apache.org/msg08307.html I did all the changes (mostly per Oliver's

Slide usage questions

2004-11-23 Thread Steve Smith
Hi all, We're looking to use slide for a key project and if you have a few moments I would like to ask a couple of questions: o In your experience (internal to your company or external) what are the largest number to concurrent user using Slide? o Similarly, what are the largest

Re: Can not find File org.apache.slide.store.MacroStore, Please help

2004-11-23 Thread Oliver Zeigermann
If you are compiling against 2.1 and not CVS HEAD you will have to adjust build.properties and comment out supports.macro.store as this is not supported in 2.1. Oliver On Mon, 22 Nov 2004 22:52:04 -0500, Jane [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I downloaded WCK from CVS and

RE: authentication store

2004-11-23 Thread Warwick Burrows
Great summary James. I'll need to reimplement Slide authorization at some time so this is good information for me too. If I want to reimplement the entire ACL implementation is there a nice clean interface layer that I can implement? Will I be able to remove the user store from the process since

Re: major deadlock issues (JDBC store with MySQL)

2004-11-23 Thread Mirko Froehlich
I just tried it again with compression turned on, and the result was only marginally better. This time, the system didn't deadlock completely until after 63 iterations, whereas before it was closer to 10... The exceptions seem to look slightly different, too (I don't think I noticed a

Re: Can not find File org.apache.slide.store.MacroStore, Please help

2004-11-23 Thread Jane [EMAIL PROTECTED]
Hi, Oliver, Thanks a lot for your help. I deleted file org.apache.slide.store.MacroStore. Modified build.properties. Recompiled. Got a java.lang.UnsupportedClassVersionError. (Please see below). What does this mean? thanks, Jane = build: [echo] Building WCK

Re: major deadlock issues (JDBC store with MySQL)

2004-11-23 Thread Mirko Froehlich
I have attached my JMeter test case, as well as my test JSPs. populate.jsp is used to populate the repository before running the test. It assumes that the /slide/db/load_test/ folder exists and creates 100 subfolders called user_[i] with 10 documents each. slide.jsp is the page that my JMeter

Re: major deadlock issues (JDBC store with MySQL)

2004-11-23 Thread Oliver Zeigermann
Attachments made it to the list. Would be great if you could provide a test case for our test suite as I have no idea how to let your test run. Anyone else? Oliver On Tue, 23 Nov 2004 09:21:06 -0800, Mirko Froehlich [EMAIL PROTECTED] wrote: I have attached my JMeter test case, as well as my

WebDAV JCA status=STATUS_NO_TRANSACTION

2004-11-23 Thread Andrew Tibets
Hello! I used WebDAV JCA Connector Jakarta Slide 2.1beta1 in xa-transaction. Jboss 4.0 webdav-connector-ds.xml: ?xml version=1.0 encoding=UTF-8? connection-factories tx-connection-factory jndi-nameWebDAV-Connector/jndi-name xa-transaction/ rar-namewebdav-2.1b2.rar/rar-name

Re: Can not find File org.apache.slide.store.MacroStore, Please help

2004-11-23 Thread Oliver Zeigermann
This looks like some classes are compiled with one JDK which is not compatible to the one you are using for compilation. I would recommend building from sources... Oliver On Tue, 23 Nov 2004 12:39:16 -0500, Jane [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, Oliver, Thanks a lot for your

Implementing BasicWebdavStore.java

2004-11-23 Thread Jane [EMAIL PROTECTED]
Hi, I am having trouble mapping my lower layer EFS session into WebDavStore. In my lower layer EFS software, I need to create a session (authenticate user) before create a folder ,file and do anything else. For the following method in BasicWebdavStore, should be session be mapped into Service

Re: major deadlock issues (JDBC store with MySQL)

2004-11-23 Thread Mirko Froehlich
I'll take a look at your test suite and see if I can adapt it. My test requires JMeter. In case you want to try to run it, you should be able to load the test case as it is. It hits http://localhost:8080/jmeter_slide/slide.jsp;, which is where my slide.jsp is deployed (this URL can be changed in

Re: Slide usage questions

2004-11-23 Thread Oliver Zeigermann
More generally I can say that in Slide 2.1 there are restrictions concerning the number of concurrent users and the practical size of collections. Both restrictions have been addressed in the latest Slide code that eventually will become 2.2. In detail 2.2 will have much more fain grained locks

Real filenames in slide tx store

2004-11-23 Thread Warwick Burrows
Hi, I have a question regarding the way that content is actually physically stored in the tx filesystem store. At one time I had thought that the Slide content in the physical filesystem matched the hierarchy of the folder structure. Is that not the case anymore or have I accidentally vi done

Re: WebDAV JCA status=STATUS_NO_TRANSACTION

2004-11-23 Thread Oliver Zeigermann
Did the example work for you? I had the connector running with 3.x.x, no idea if it works with JBoss 4.0... Maybe Ryan has more knowledge... Oliver On Tue, 23 Nov 2004 20:04:39 +0200, Andrew Tibets [EMAIL PROTECTED] wrote: Hello! I used WebDAV JCA Connector Jakarta Slide 2.1beta1 in

Re: Real filenames in slide tx store

2004-11-23 Thread Oliver Zeigermann
You have set parameter name=url-encode-pathtrue/parameter Remove it and it will be the old behavior. Oliver On Tue, 23 Nov 2004 13:26:46 -0800, Warwick Burrows [EMAIL PROTECTED] wrote: Hi, I have a question regarding the way that content is actually physically stored in the tx

Slide 2.1 B2 with Tomcat 5.54 using J2EE Store

2004-11-23 Thread Kumar, Ashok
Hi Does any one have got the latest Slide 2.1 B2 running under Tomcat 5.5.2 usign J2EEStore? Ashok - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Real filenames in slide tx store

2004-11-23 Thread Warwick Burrows
Thanks Oliver. Ok, I will remove it, but I thought that I set that parameter because it is needed for proper use of UTF-8 urls(??) Is that correct or have I gotten mixed up? Should I be able to use the Japanese char set without having this parameter set? Thanks, Warwick -Original

Re: Real filenames in slide tx store

2004-11-23 Thread Oliver Zeigermann
No idea. If it is set, the paths look the way the do. Maybe future versions of the tx store will allow a more flexible way of encoding the file name. There already has been a proposal for this... Oliver On Tue, 23 Nov 2004 14:03:35 -0800, Warwick Burrows [EMAIL PROTECTED] wrote: Thanks

RE: Real filenames in slide tx store

2004-11-23 Thread Warwick Burrows
The parameter is passed to the commons transaction FileResourceManager class and in this class it looks like its encoding the path as a HTTP-safe path. I don't see why I would need this when writing to the file system. The / chars shouldn't matter and the URI path passed in should already be in

defer-saving parameter?

2004-11-23 Thread Warwick Burrows
What does the defer-saving parameter do? I'd like to know if its a performance enhancement and how it works. Also I read a while back that it should be disabled in high-load cases as it could cause deadlocks and so I have it disabled in my domain.xml. But is this still the case? Thanks,

Re: defer-saving parameter?

2004-11-23 Thread Oliver Zeigermann
Turning it on will make writes faster. Now that the WebDAV layer has locks it will not be needed when accessing Slide via WebDAV. Oliver On Tue, 23 Nov 2004 14:25:34 -0800, Warwick Burrows [EMAIL PROTECTED] wrote: What does the defer-saving parameter do? I'd like to know if its a performance

RE: defer-saving parameter?

2004-11-23 Thread Warwick Burrows
Ok thanks. I'll leave it turned off then. Warwick -Original Message- From: Oliver Zeigermann [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 23, 2004 4:33 PM To: Slide Users Mailing List Subject: Re: defer-saving parameter? Turning it on will make writes faster. Now that

Re: major deadlock issues (JDBC store with MySQL)

2004-11-23 Thread Oliver Zeigermann
I just could reproduce the problem with the new test case testsuite/junit/xmltestcases/functional/extra/multi-user/getPut/getPutFolder.xml and it also exists in the latest sources. It has got something to do with security and seems to be what Warwick already identified in

RE: major deadlock issues (JDBC store with MySQL)

2004-11-23 Thread Warwick Burrows
Actually I haven't committed the latest transaction deadlock fixes I made to get the enlistment of slide server transactions into the client's transaction working. If Mirko is using client side transactions then this may fix it. And even if he's not it still may fix it :-) But I'm still waiting

RE: major deadlock issues (JDBC store with MySQL)

2004-11-23 Thread Mirko Froehlich
I'm not explicitly using any transactions, unless the webdav client library transparently uses transactions. -Mirko On Tue, 2004-11-23 at 16:06, Warwick Burrows wrote: Actually I haven't committed the latest transaction deadlock fixes I made to get the enlistment of slide server transactions

RE: major deadlock issues (JDBC store with MySQL)

2004-11-23 Thread Warwick Burrows
Ok, then you aren't using client transactions as you actually need to call the WebdavResource.startTransaction() interface from somewhere in your client code for it to use client transactions. But aspects of the fix for defect 32250 may still apply. For example there were server side issues with

Re: table prefix

2004-11-23 Thread James Mason
Most of the applications I deal with run with a dedicated database. This makes management and configuration easier, and allows for finer-grained performance tuning. Adding a prefix to the table names shouldn't be too hard, though, and from the other thread it sounds like almost everything has

RE: authentication store

2004-11-23 Thread James Mason
You can implement the Security interface to provide your own custom permission logic. An easier way might be to extend SecurityImpl, or even ACLSecurityImpl. Be aware that the WebDAV ACL specification has specific requirements beyond just how ACLs are evaluated. If all of your security management

RE: authentication store

2004-11-23 Thread Warwick Burrows
My goal would be that when Slide calls to the security implementation to make an access check that I would replace the authorization piece here with my own ACL implementation that identifies the incoming user by a username set in the HTTP request headers by our external security service which

Re: authentication store

2004-11-23 Thread Jane [EMAIL PROTECTED]
I am trying to the same thing: integrate my content management application with webDav with a single sign on. Reading WCK, it seems that implementing slide.simple.authentication.SessionAuthenticationManager plus change some configuration files will do. I am starting too... Jane - Original

Re: Slide usage questions

2004-11-23 Thread Steve Smith
This is nice to know. Thanks Oliver. However, are there any actual numbers or data in terms of usage? Forgive me for asking, but what number (for collections and users) constitutes large vs. low to medium load and concurrency - also is there an average file size associated with this

Is there a better/faster way to walk the tree?

2004-11-23 Thread Gerald B. Rosenberg
New to Slide/Webdav. I need to walk through the data store to find and examine each file currently present. This recursive tree-walker works, but is slow, specifically in creating a new WebdavResource on the recursive call. Is there a faster/better way to do this? Thanks, Gerald private