Re: Mac OSX Issue

2004-11-09 Thread Oliver Zeigermann
This *might* be the issue we just fixed. If you know how to do this please check out latest sources eithre from CVS Head or the release branch for Slide 2.1 and see if this changes anything. If this is too much work or too complicated, please send an HTTP trace of the conversation between client

Re: slide.war produced by WCK build process

2004-11-09 Thread Oliver Zeigermann
Have you run ant deploy in the wck directory? If you have configured the location of your Tomcat in the build properties properly the target should adjust the Tomcat to work. If you have the demo authentication will be used that gives access to just any user/password combination. So, the short ans

Re: slide.war produced by WCK build process

2004-11-09 Thread James Mason
When you installed the slide war did you configure the JAAS module? If not, Tomcat will have no knowledge of Slide's users. The tomcat-deploy (something like that) ant target should take care of that for you. -James On Wed, 2004-11-10 at 01:46 +0200, Roman D wrote: > I am compiling WCK with Slid

Re: Resource Permissions

2004-11-09 Thread James Mason
Morten, I can give you hints, but it kind of depends on what you mean by "Slide API". Using the client API you just need to replicate the sequence of WebDAV methods in the howto document using the Slide client library. It should be fairly obvious (PROPFIND, MKCOL, PROPPATCH, etc). Using the serve

Re: Slide 2.1 and Macromedia Contribute 3

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

RE: Oracle store - anyone using specific schema ?

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

RE: Mac OSX Issue

2004-11-09 Thread John Williams
I've been trying to track down some info on this since I wasn't sure if it was a Mac issue or a Slide issue. I've tried contacting Apple's DTS but they haven't been too keen on helping yet. We'll see if that changes. Some other details I've seen that may or may not help. This is all using Slide

Re: Update Metadata from PROPPATCH

2004-11-09 Thread lixin chu
I am also trying something similar, but using ContentAdapter, yet to complete trsoubleshooting... --- Swaminathan Palani <[EMAIL PROTECTED]> wrote: > > I want to update a property value in metadata file > using value coming from > 'PROPPATCH' request sent by client. > > Using 'ContentIntercepto

retrieve() in event : how to differentiate list and get method

2004-11-09 Thread lixin chu
Hi, I am trying to add a custom property to record the number of access to the files. I developed the ContentAdpater with retrieve() method. However, I would like to know if the client request is get() method not list() method as I do not want to increase the access time for list()/listBasic() requ

Re: Enabling Logging

2004-11-09 Thread Carlos Villegas
As I understand it, Slide has its own Logger implementation which uses one of several backends to do the actual logging: log4j, jdk14, or a simple logger. The logging-level in Domain.xml controls the verbosity of the internal Logger, before is sent to the backend. Thus, if you want to control v

slide.war produced by WCK build process

2004-11-09 Thread Roman D
I am compiling WCK with Slide. Problem with slide.war produced by build in propoasals/wck/dist When I install it on server and try to access, it does not accept any of the configured users root/root, guest/guest, etc. I get 401 unauthorized. Inside of Domain.xml it is has so it's slide configu

Re: Resource Permissions

2004-11-09 Thread Morten
Oliver - I think what Brian is looking for is the same as me: A place, above DAV protocol level, to get started with authorization. A programmatic way of using all the goodnes you've implemented from RFC3744, ie. what API to add/remove/configure the principals, groups, privileges and ACLs defin

Update Metadata from PROPPATCH

2004-11-09 Thread Swaminathan Palani
I want to update a property value in metadata file using value coming from 'PROPPATCH' request sent by client. Using 'ContentInterceptor' doesn't seem to help because 'PROPPATCH' request comes after interception. Alternatively I tried to update property value using 'NodeRevisionDescriptor

Re: Can't run WCK example application

2004-11-09 Thread Oliver Zeigermann
OK, I really took the time, created a store that simply extends the reference store and tried it and it worked. Only thing in Domain.xml I have changed is the namespace as I had problems with yours and the name of the call back store. I will attach both the Domain.xml and the class. Oliver On Tu

Re: webdav and exchange

2004-11-09 Thread kax
I answer my own question. The only thing I did wrong was when not specifying which exchange resource to use, e.g. my account name. When using: HttpsURL hrl = new HttpsURL("https://myserver.org/exchange/My.Account.Name";); instead of HttpsURL hrl = new HttpsURL("https://myserver.org";); everyt

RE: Anyone able to use Slide 2.1B2 with Oracle store ?

2004-11-09 Thread Nick Longinow
Could be. Oracle probably wont support it long though. Thanks for your insights. -Original Message- From: Davide Savazzi [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 09, 2004 1:39 PM To: Slide Users Mailing List Subject: Re: Anyone able to use Slide 2.1B2 with Oracle store ? On Tu

Re: how to configure the slide with oracle ..

2004-11-09 Thread mahesh kumar
Hello Davide , I created tables in database but still I am getting the errors like ... 09 Nov 2004 16:17:24 - org.apache.slide.common.Namespace - INFO - Loading namespace slide base data 09 Nov 2004 16:17:28 - org.apache.slide.common.Namespace - INFO - Init namespace slide configuration 09

RE: Resource Permissions

2004-11-09 Thread Nick Longinow
In a sense, yes. This link is a very good read, it will clear much up. http://greenbytes.de/tech/webdav/draft-ietf-webdav-acl-13.html#privileges Nick -Original Message- From: Brian Lee [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 09, 2004 4:18 PM To: Slide Users Mailing List Subje

Re: Resource Permissions

2004-11-09 Thread Brian Lee
The thing is, I do not know 'who' is making the webdav request. By principal do you mean username? Oliver Zeigermann wrote: It is the principal you authenticated with. The second part of the question is not clear to me. If you want to implement your own authentication from scratch, do whatever yo

Re: Can't run WCK example application

2004-11-09 Thread Brian Lee
It works great if I leave it as WebdavFileStore. Oliver Zeigermann wrote: This behavior is almost for sure completely unrelated to the change you displayed above. Try reverting it and see if the behavior changes. If not look for other changes you have made - even if you feel they could not have

versionControlMethod fails in Oracle 10g...

2004-11-09 Thread Nick Longinow
Hi Using an Oracle store (10g db, ojdbc4.jar), I can successfully create nodes, set acl, and put large documents (without having to use compress). I am getting an error from Oracle though, on versionControlMethod. Any ideas at all ? org.apache.slide.store.impl.rdbms.StandardRDBMSAdapter - ERROR

Re: Can't run WCK example application

2004-11-09 Thread Oliver Zeigermann
This behavior is almost for sure completely unrelated to the change you displayed above. Try reverting it and see if the behavior changes. If not look for other changes you have made - even if you feel they could not have caused this behavior. If it indeed does change the behavior please send in th

Re: Resource Permissions

2004-11-09 Thread Oliver Zeigermann
It is the principal you authenticated with. The second part of the question is not clear to me. If you want to implement your own authentication from scratch, do whatever you see fit and just throw an access denied exception when you do not want to serve a specific request. If you want to use somet

Re: Can't run WCK example application

2004-11-09 Thread Brian Lee
I tried extending it and I still get the same result: "INFO: Server startup in 21270 ms http-8080-Processor25, 09-Nov-2004 12:41:42, root, OPTIONS, 200 "OK", 551 ms, / http-8080-Processor24, 09-Nov-2004 12:41:43, root, PROPFIND, 404 "Not Found", 227 ms, /" Oliver Zeigermann wrote: This looks lik

Re: Resource Permissions

2004-11-09 Thread Brian Lee
h let me be more specific - what is found in principal of void begin(Service service, Principal principal, Object connection, LoggerFacade logger, Hashtable parameters) throws ServiceAccessException, ServiceParameterErrorException, ServiceParameterMissingException for a custom st

Re: how to configure the slide with oracle ..

2004-11-09 Thread mahesh kumar
Hello Davide, Why the [ Slide with tomcat built in ]doesnot pickup the oracleschema.sql and create the tables in database as we provided username, password, host , sid and even the port in Domain.xml file. As we need to create database objects or tables explicitly .. Don't you think its a dr

Re: Can't run WCK example application

2004-11-09 Thread Oliver Zeigermann
This looks like you have configured your custom store correctly. I do not quite understand what your problem is, what do you mean with "it can't even find the root directory"? To see if this would work why not start with class MyStore extends WebdavFileStore { } and successively overloading the

Re: Documentation

2004-11-09 Thread Oliver Zeigermann
+1, I really, really, appreciate your effort! Oliver On Tue, 09 Nov 2004 11:06:01 -0800, Brian Lee <[EMAIL PROTECTED]> wrote: > Hey guys, > > Once you get any answers to your questions, please update the wiki > (found here - http://wiki.apache.org/jakarta-slide/FrontPage -all you > have to do i

Re: how to configure the slide with oracle ..

2004-11-09 Thread mahesh kumar
Hi Davide and all , I am getting the following error ... once the databasedriver is successfully loaded // Org.apache.slide.common.ServiceAccessException: Service [EMAIL PROTECTED] access error : ORA -00942: table or view does not exist at org.apache.slide.store.impl.rdbms.StandardR

Re: how to configure the slide with oracle ..

2004-11-09 Thread Davide Savazzi
On Tuesday 09 November 2004 20:53, mahesh kumar wrote: > Thanks Davide... > > Now that I am getting another error like > org.apache.slide.store.impl.rdbms.StandardRDBMSAdapter - ERROR - SQL error > 942 on /: ORA-00942: table or view does not exist You have to create the Slide tables in the da

Re: Resource Permissions

2004-11-09 Thread Oliver Zeigermann
Securiy is checked according to http://www.greenbytes.de/tech/webdav/rfc3744.html Oliver On Tue, 09 Nov 2004 11:45:12 -0800, Brian Lee <[EMAIL PROTECTED]> wrote: > Can someone tell me how permissions work? Looking at the source - in > particular the stores code in WCK and Slide itself, I don't

RE: Basic Search Problem in Slide 2.1 Beta2

2004-11-09 Thread Jagadeesh Sunkara
Thanks Stefan. The absolute path "/slide/files/folder1" always work no matter what the search query in new SearchMethod(). One more question, How can I make work like a case-insensitive search, similar to DASL spec Is "dav:like" implemented in the current slide 2.1 beta2 release? Is it in the

Re: how to configure the slide with oracle ..

2004-11-09 Thread mahesh kumar
Thanks Davide... Now that I am getting another error like Using CATALINA_BASE: C:\jakarta-slide-2.1b2-tomcat-5.0.28 Using CATALINA_HOME: C:\jakarta-slide-2.1b2-tomcat-5.0.28 Using CATALINA_TMPDIR: C:\jakarta-slide-2.1b2-tomcat-5.0.28\temp Using JAVA_HOME: c:\jdk141_05 Nov 9, 2004 2

RE: Enabling Logging

2004-11-09 Thread Warwick Burrows
I don't understand the relationship between this setting and those in the log4j.properties. So do you have any idea whether setting the logger-level in the Domain.xml causes a performance hit? Ie. by enabling "level 7" logging paths in the Slide server that would normally be skipped over? I'm won

Resource Permissions

2004-11-09 Thread Brian Lee
Can someone tell me how permissions work? Looking at the source - in particular the stores code in WCK and Slide itself, I don't see anything that checks for authorization to perform actions -such as reading, deleting, The only thing I see for security is access to Slide itself (I'm not to

webdav and exchange

2004-11-09 Thread kax
Hi, I'm new to webdav and slide. I'm trying to to use slide to build a simple integration with Microsoft Exchange. I have tried some but I can't get it right. This is the code I'm using: Protocol.registerProtocol("https", new Protocol("https", new EasySSLProtocolSocketFactory(), 443)); HttpsUR

Documentation

2004-11-09 Thread Brian Lee
Hey guys, Once you get any answers to your questions, please update the wiki (found here - http://wiki.apache.org/jakarta-slide/FrontPage -all you have to do is to create an account). Every little bit helps. Plus if you find anything wrong or something you want to add - go ahead. Brian

Re: Can't run WCK example application

2004-11-09 Thread Brian Lee
I could be wrong but it sounds like you're missing some jars from your lib directory in WEB-INF I have a problem too with WCK As a quick test I simply took WebdavFileStore's source and copied it into a com.test.mystores.TestStore class. I then changed domain.xml from: org.apach

If You Can't Get An Answer

2004-11-09 Thread Davide Savazzi
I hope to not sound too rude but... I think someone should (re-)read the mailing list guidelines... Section "If You Can't Get An Answer". http://www.catb.org/~esr/faqs/smart-questions.html#id3002966 :) -- Davide Savazzi - To

Re: how to configure the slide with oracle ..

2004-11-09 Thread Davide Savazzi
On Tuesday 09 November 2004 19:03, mahesh kumar wrote: > - ER ROR - Loading and registering driver 'oracle.jdbc.driver.OracleDriver' > failed (o racle.jdbc.driver.OracleDriver) > Its giving some error on loading oracle driver .. Can u pleaas look into it > and let me know urgently .. You have to

Re: Anyone able to use Slide 2.1B2 with Oracle store ?

2004-11-09 Thread Davide Savazzi
On Tuesday 09 November 2004 14:37, Nick Longinow wrote: > I just found out my db is actually 8i yaaa! Aha! So a Oracle8RDBMSAdapter is needed... -- Davide Savazzi - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Oracle configuration help

2004-11-09 Thread Richard Emberson
From the webdav client when I try to put a file into "files" I get: java.sql.SQLException: Io exception: Broken pipe My configuration: name="adapter">org.apache.slide.store.impl.rdbms.OracleRDBMSAdapter oracle.jdbc.driver.OracleDriver olympia password edgedb

Re: how to configure the slide with oracle ..

2004-11-09 Thread mahesh kumar
Hi Davide , The domain.xml file is .. org.apache.slide.store.impl.rdbms.OracleRDBMSAdapter oracle.jdbc.driver.OracleDriver jdbc:oracle:thin:@phiw597.towers.com:1521:ARCHLAB content content true 10

Re: Enabling Logging

2004-11-09 Thread Stefan Lützkendorf
Hi Warwick, I use this way: setting the logger-level to "7" (the highest one I think) in domain.xml and configure the "real" verbosity in log4j.properties. e.g. to set the general level to INFO but for a special package to DEBUG log4j.rootCategory=INFO,stdout,R log4j.category.org.apache.slide.ind

Re: how to configure the slide with oracle ..

2004-11-09 Thread mahesh kumar
Hi Davide, Now that I am using slide 2.1 b2 . The stack trace is .. Using CATALINA_BASE: C:\jakarta-slide-2.1b2-tomcat-5.0.28 Using CATALINA_HOME: C:\jakarta-slide-2.1b2-tomcat-5.0.28 Using CATALINA_TMPDIR: C:\jakarta-slide-2.1b2-tomcat-5.0.28\temp Using JAVA_HOME: c:\jdk141_05 Nov

Slide 2.1 and Macromedia Contribute 3

2004-11-09 Thread Patrick van Kann
Hello, Has anyone managed to get Macromedia Contribute 3 to talk to Slide 2.1b? Contribute 3 apparently allows WebDAV connections to content servers but I have been unable to get it to work completely with Slide. I can connect and read HTML content in the repository in "edit" mode, but not writ

Re: how to configure the slide with oracle ..

2004-11-09 Thread Davide Savazzi
On Tuesday 09 November 2004 03:06, mahesh kumar wrote: > When I run the tomcat startup.bat .. It dies .. Can you give me more informations, like Slide version, and the stack trace? -- Davide Savazzi - To unsubscribe, e-mail: [

Re: Can't run WCK example application

2004-11-09 Thread Roman D
I want to serve database and custom objects. Using tomcat web application. For that I want to have working reference implementation that serve the filesystem. And then rewrite file access methods to access the database instead. I thought that WCK is supposed to be the easiest way to achieve such

Re: Can't run WCK example application

2004-11-09 Thread Daniel Florey
I don't understand what you are planning to do: 1. Install and use a ready-to-run WebDAV-server If this is the case, simply donwload Slide and start it 2. You already have a propriatary content repository that you want to access via WebDAV This is what WCK is for. So this is for sure is not as t

RE: Enabling Logging

2004-11-09 Thread Andy Bowes
Thanks Stefan That now works. I can now start to trace my way through the MacroHelper :) Andy -Original Message- From: Andy Bowes [mailto:[EMAIL PROTECTED] Sent: 09 November 2004 16:46 To: 'Slide Users Mailing List' Subject: RE: Enabling Logging Thanks Stefan I don't have that jar at

Re: Can't run WCK example application

2004-11-09 Thread Roman D
I thought I am asking pretty specific questions. I just need to create servlet that will serve Webdav requests. - Do I have to use org.apache.slide.webdav.WebdavServlet with Domain.xml to make it use WCK? It looks like Slide and WCK is bit too academic, can someone with no experience in Slide an

RE: Enabling Logging

2004-11-09 Thread Andy Bowes
Thanks Stefan I don't have that jar at the moment, I'll download it now and give it a try. -Original Message- From: Stefan Lützkendorf [mailto:[EMAIL PROTECTED] Sent: 09 November 2004 16:43 To: Slide Users Mailing List Subject: Re: Enabling Logging Andy, do you have the slide-log4jlogg

Re: Enabling Logging

2004-11-09 Thread Stefan Lützkendorf
Andy, do you have the slide-log4jlogger-2.1b2.jar in your classpath? There the log4j.Log4jLogger class lives. Stefan Andy Bowes wrote: Hi Stefan I made the changes that you suggested but I get a java.lang.ClassNotFoundException: log4j.Log4jLogger. I changed this to use the "org.apache.slide.util.lo

RE: Enabling Logging

2004-11-09 Thread Andy Bowes
Hi Warwick The log4j-1.2.8.jar is in my classpath and is used by other classes in my deployment. I think that the logger that you define in the domain.xml file has to implement the org.apache.slide.util.logger.Logger interface and so the standard org.apache.log4j.Logger cannot be used directly.

RE: Enabling Logging

2004-11-09 Thread Warwick Burrows
You may need to copy the log4j-1.2.8.jar file from your Slide dist to tomcat/common/lib. I can't say for sure that this is the problem though as I have other logger load problems right now and can't verify it myself :-) Warwick > -Original Message- > From: Andy Bowes [mailto:[EMAIL PRO

RE: Oracle store - anyone using specific schema ?

2004-11-09 Thread Nick Longinow
No replies so far. So, I'm assuming not much interest or need. I am willing to do the work to update CommonRDBMSAdapter, StandardRDBMSAdapter and (if needed) OracleRDBMSAdapter to use a property in the domain.xml ('schema'), but only if it exists. (complexity will come from the 'dbo' dbs, such as

RE: Enabling Logging

2004-11-09 Thread Andy Bowes
Hi Stefan I made the changes that you suggested but I get a java.lang.ClassNotFoundException: log4j.Log4jLogger. I changed this to use the "org.apache.slide.util.logger.jdk14.Jdk14Logger" but this does not seem to read the log4j.properties file that is in my class path. regards Andy -Origi

Re: Can't run WCK example application

2004-11-09 Thread Oliver Zeigermann
Hi Roman, sorry that you had no success :( The most reliable way to make it run is to check out the full Slide head from CVS, then switch to the wck directory and call ant. When you want to adjust Tomcat for WCK and install it there you will have to call ant deploy Please refer to http://jaka

RE: Enabling Logging

2004-11-09 Thread Warwick Burrows
Stefan, How does the logger-level setting in Domain.xml control the actual logging output? Can the "logger-level" be set in the log4j.properties instead? I'd like to control the verbosity of output from log4j from within the log4j.properties which is currently reread dynamically from the classes d

Re: Enabling Logging

2004-11-09 Thread Stefan Lützkendorf
1. add the following to your Domain.xml 2. put the log4j.properties to the classes directory of your webapp and configure there what you want to log hope this helps, Stefan Andy Bowes wrote: Hi Guy's I am trying to track down an issue with the deletion of items. It would be much easier if I

Oracle store - anyone using specific schema ?

2004-11-09 Thread Nick Longinow
The oracleschema.sql file will create the tables under the SYSTEM schema, by default. If I modify the script to create them under a schema, the sql in CommonRDBMSAdapter.java will no longer be able to find the tables. Has anyone attempted to use a specific schema instead of the default SYSTEM sc

Can't run WCK example application

2004-11-09 Thread Roman D
Hi, I am trying to run example WCK servlet for 3 days with no luck. As far as I can understand from http://wiki.apache.org/jakarta-slide/WebDavConstructionKit WCK has *org.apache.slide.simple.reference.WebdavFileStore* which is not a servlet. It supposed to be used through Slide. Domain.xml confi

RE: Anyone able to use Slide 2.1B2 with Oracle store ?

2004-11-09 Thread Roman Novak
there is no special reason, i just don't use binding atm. (http://jakarta.apache.org/slide/howto-bind.html) I just mount the whole thing with "netdrive" and use ACL, DELTAV. I run the Oracle full text indexer vs. the Blobs to get fulltext search. Roman Am Di 09.11.2004 14:40, Nick Longinow <[EMA

RE: Anyone able to use Slide 2.1B2 with Oracle store ?

2004-11-09 Thread Nick Longinow
Roman I notice you don't use the BindingStore classname within the store definition, ie, Could I ask why not ? Nick -Original Message- From: Roman Novak [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 09, 2004 5:07 AM To: Slide Users Mailing List Subject: RE: Anyone able to use Slide

RE: Anyone able to use Slide 2.1B2 with Oracle store ?

2004-11-09 Thread Nick Longinow
Davide, Oliver I just found out my db is actually 8i yaaa! I am upgrading to 10g now and will retry with the non compressed method. I will let the group know later today Nick -Original Message- From: Davide Savazzi [mailto:[EMAIL PROTECTED] Sent: Monday, November 08, 2004 6:10 PM To

Re: How to add more internal node properties

2004-11-09 Thread lixin chu
I just tried - I wanted to add a 'accessTimes' property: public void create (ContentEvent event) { // create a new node property NodeRevisionDescriptor revision = event.getRevisionDescriptor(); if (revision != null) { revision.setProperty("accessTimes", new Integer (0));

RE: Anyone able to use Slide 2.1B2 with Oracle store ?

2004-11-09 Thread Roman Novak
An extract of Domain.xml: org.apache.slide.store.impl.rdbms.OracleRDBMSAdapter oracle.jdbc.OracleDriver jdbc:oracle:thin:@10.64.1.14:1527:db920 slide yourpasswordhere

RE: Anyone able to use Slide 2.1B2 with Oracle store ?

2004-11-09 Thread Roman Novak
The "complete" environment is as follows: - Slide 2.1B2 binary distribution - JBoss 3.2.6 (includes Tomcat 5.0.28) - Oracle 9.2.0.4.0 - Oracle JDBC driver ojdbc14.jar Tested the deployment on Win2K and Linux and hooked in also MySQL for a secondary store (just for content). Am Mo 08.11.2004 17

CMD.exe on w2k3

2004-11-09 Thread Martin, Stefan
Hello Newsgroup, i have the folling Problem: i uses the novell netdrive in order to connect to a WebDAV-Drive. Within the Explorer on the Windows 2003 Server i can copy files. If i use the cmd.exe, then i couldn't copy any Files. The directory listing is ok. German Umlauts are shown too. Can a

Re: Basic Search Problem in Slide 2.1 Beta2

2004-11-09 Thread Stefan Lützkendorf
Hi Jagadeesh, you are right, the problem is that the request path and the scope href don't fit together The relative scope href is resolved relative to the request uri. Try SearchMethod smethod = new SearchMethod("/slide", sQuery); An other option may be using an absolute scope /slide/files

Re: How to add more internal node properties

2004-11-09 Thread lixin chu
Hi Stefan, thanks for your advice. I am also trying to so something similar. any documents regarding custom property creation, etc ? will listBasic() return the custom property ? in what order ? thanks lixin --- Stefan Lützkendorf <[EMAIL PROTECTED]> wrote: > Gao, > > the best way I think is