RE: WCK newbie question
--- Hi Eugene...you have to check the config files of Apache tomcat-users add the follow lines: user username=root password=root roles=root/ restart apache tomcat and try it other time so you can access i hope this help you Verónica Ballarta Java Programmer - From: Eugeny N Dzhurinsky [EMAIL PROTECTED] Reply-To: Slide Users Mailing List slide-user@jakarta.apache.org To: slide-user@jakarta.apache.org Subject: WCK newbie question Date: Tue, 14 Feb 2006 17:00:35 +0200 Hi there! First of all - I'm new to WebDAV and never was using it, so my question seems to be very dumb :). I checked out latestt Slide from SVN with WCK module, built it and installed under my Tomcat 5.0. For now, I'm trying to access it with cadaver http://localhost:8180/webdav and it asks for password. I tried root/root, user/user - but no luck. Any ideas what I'm doing in a wrong way? -- Eugene N Dzhurinsky - 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: WCK newbie question
On Tue, Feb 14, 2006 at 08:14:27AM -0800, Ver?nica ballarta wrote: --- Hi Eugene...you have to check the config files of Apache tomcat-users add the follow lines: user username=root password=root roles=root/ restart apache tomcat and try it other time so you can access i hope this help you Ver?nica Ballarta Java Programmer Thanks, i just removed authentication at all and that worked. -- Eugene N Dzhurinsky - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: WCK API question
OK, then just throw the ObjectNotFoundException if the object is not there as indicated in the last post. Concerning the occurennce of the method calls, they are just needed by the Slide core... Oliver On Mon, 06 Dec 2004 10:51:18 -0500, John Rousseau [EMAIL PROTECTED] wrote: H. That's just not what I am seeing. I have a printout in each of my BasicWebdavStore implementation methods. Here's what I see when I use the slide webdav client to put /etc/resolv.conf into /music in my system. %% WebdavStoreImpl: begin %% objectExists: /music/resolv.conf %% objectExists: / %% getChildrenNames: / %% objectExists: /music %% getChildrenNames: /music %% objectExists: /music/resolv.conf %% objectExists: /music/resolv.conf %% objectExists: /music/resolv.conf %% objectExists: /music/resolv.conf %% objectExists: /music/resolv.conf %% objectExists: /music %% objectExists: /music %% objectExists: /music %% objectExists: /music/resolv.conf %% setResourceContent: /music/resolv.conf %% createResource: /music/resolv.conf %% WebdavStoreImpl: commit Note the order of the setResourceContent and createResource calls. Here's the trace for setResourceContent: java.lang.Exception: Stack trace at java.lang.Thread.dumpStack(Thread.java:1064) at com.ris.manager.gateway.http.WebdavStoreImpl.setResourceContent(WebdavStoreImpl.java:195) at org.apache.slide.simple.store.WebdavStoreAdapter$TransactionId.storeRevisionContent(WebdavStoreAdapter.java:520) at org.apache.slide.simple.store.WebdavStoreAdapter.storeRevisionContent(WebdavStoreAdapter.java:159) at org.apache.slide.store.AbstractStore.storeRevisionContent(AbstractStore.java:1474) at org.apache.slide.store.ExtendedStore.storeRevisionContent(ExtendedStore.java:546) at org.apache.slide.content.ContentImpl.create(ContentImpl.java:593) at org.apache.slide.webdav.method.PutMethod.executeRequest(PutMethod.java:407) at org.apache.slide.webdav.method.AbstractWebdavMethod.run(AbstractWebdavMethod.java:412) at org.apache.slide.webdav.WebdavServlet.service(WebdavServlet.java:151) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:354) at org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(WebApplicationHandler.java:342) at org.apache.slide.webdav.filter.LogFilter.doFilter(LogFilter.java:141) at org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(WebApplicationHandler.java:334) at com.ris.manager.gateway.http.IPAddressRestriction.doFilter(IPAddressRestriction.java:248) at org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(WebApplicationHandler.java:334) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:286) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567) at org.mortbay.http.HttpContext.handle(HttpContext.java:1808) at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:525) at org.mortbay.http.HttpContext.handle(HttpContext.java:1758) at org.mortbay.http.HttpServer.service(HttpServer.java:879) at org.mortbay.http.HttpConnection.service(HttpConnection.java:790) at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:952) at org.mortbay.http.HttpConnection.handle(HttpConnection.java:807) at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:197) at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289) at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:501) Here's the trace for createResource: at com.ris.manager.gateway.http.WebdavStoreImpl.createResource(WebdavStoreImpl.java:176) at org.apache.slide.simple.store.WebdavStoreAdapter$TransactionId.storeRevisionDescriptor(WebdavStoreAdapter.java:675) at org.apache.slide.simple.store.WebdavStoreAdapter.storeRevisionDescriptor(WebdavStoreAdapter.java:255) at org.apache.slide.store.AbstractStore.storeRevisionDescriptor(AbstractStore.java:1305) at org.apache.slide.store.ExtendedStore.storeRevisionDescriptor(ExtendedStore.java:1060) at org.apache.slide.content.ContentImpl.create(ContentImpl.java:608) at org.apache.slide.webdav.method.PutMethod.executeRequest(PutMethod.java:407) at org.apache.slide.webdav.method.AbstractWebdavMethod.run(AbstractWebdavMethod.java:412) at org.apache.slide.webdav.WebdavServlet.service(WebdavServlet.java:151) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:354) at
Re: WCK API question
But if I throw ObjectNotFoundException from createResource, then (as I indicated in my initial post) rollback is called and the client gets a 412 Precondition Failed. Thanks -John Oliver Zeigermann wrote: OK, then just throw the ObjectNotFoundException if the object is not there as indicated in the last post. Concerning the occurennce of the method calls, they are just needed by the Slide core... Oliver On Mon, 06 Dec 2004 10:51:18 -0500, John Rousseau [EMAIL PROTECTED] wrote: H. That's just not what I am seeing. I have a printout in each of my BasicWebdavStore implementation methods. Here's what I see when I use the slide webdav client to put /etc/resolv.conf into /music in my system. %% WebdavStoreImpl: begin %% objectExists: /music/resolv.conf %% objectExists: / %% getChildrenNames: / %% objectExists: /music %% getChildrenNames: /music %% objectExists: /music/resolv.conf %% objectExists: /music/resolv.conf %% objectExists: /music/resolv.conf %% objectExists: /music/resolv.conf %% objectExists: /music/resolv.conf %% objectExists: /music %% objectExists: /music %% objectExists: /music %% objectExists: /music/resolv.conf %% setResourceContent: /music/resolv.conf %% createResource: /music/resolv.conf %% WebdavStoreImpl: commit Note the order of the setResourceContent and createResource calls. Here's the trace for setResourceContent: java.lang.Exception: Stack trace at java.lang.Thread.dumpStack(Thread.java:1064) at com.ris.manager.gateway.http.WebdavStoreImpl.setResourceContent(WebdavStoreImpl.java:195) at org.apache.slide.simple.store.WebdavStoreAdapter$TransactionId.storeRevisionContent(WebdavStoreAdapter.java:520) at org.apache.slide.simple.store.WebdavStoreAdapter.storeRevisionContent(WebdavStoreAdapter.java:159) at org.apache.slide.store.AbstractStore.storeRevisionContent(AbstractStore.java:1474) at org.apache.slide.store.ExtendedStore.storeRevisionContent(ExtendedStore.java:546) at org.apache.slide.content.ContentImpl.create(ContentImpl.java:593) at org.apache.slide.webdav.method.PutMethod.executeRequest(PutMethod.java:407) at org.apache.slide.webdav.method.AbstractWebdavMethod.run(AbstractWebdavMethod.java:412) at org.apache.slide.webdav.WebdavServlet.service(WebdavServlet.java:151) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:354) at org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(WebApplicationHandler.java:342) at org.apache.slide.webdav.filter.LogFilter.doFilter(LogFilter.java:141) at org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(WebApplicationHandler.java:334) at com.ris.manager.gateway.http.IPAddressRestriction.doFilter(IPAddressRestriction.java:248) at org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(WebApplicationHandler.java:334) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:286) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567) at org.mortbay.http.HttpContext.handle(HttpContext.java:1808) at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:525) at org.mortbay.http.HttpContext.handle(HttpContext.java:1758) at org.mortbay.http.HttpServer.service(HttpServer.java:879) at org.mortbay.http.HttpConnection.service(HttpConnection.java:790) at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:952) at org.mortbay.http.HttpConnection.handle(HttpConnection.java:807) at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:197) at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289) at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:501) Here's the trace for createResource: at com.ris.manager.gateway.http.WebdavStoreImpl.createResource(WebdavStoreImpl.java:176) at org.apache.slide.simple.store.WebdavStoreAdapter$TransactionId.storeRevisionDescriptor(WebdavStoreAdapter.java:675) at org.apache.slide.simple.store.WebdavStoreAdapter.storeRevisionDescriptor(WebdavStoreAdapter.java:255) at org.apache.slide.store.AbstractStore.storeRevisionDescriptor(AbstractStore.java:1305) at org.apache.slide.store.ExtendedStore.storeRevisionDescriptor(ExtendedStore.java:1060) at org.apache.slide.content.ContentImpl.create(ContentImpl.java:608) at org.apache.slide.webdav.method.PutMethod.executeRequest(PutMethod.java:407) at org.apache.slide.webdav.method.AbstractWebdavMethod.run(AbstractWebdavMethod.java:412) at org.apache.slide.webdav.WebdavServlet.service(WebdavServlet.java:151) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:354) at
Re: WCK API question
You should throw in setResourceCountent, not in createResource. Oliver On Mon, 06 Dec 2004 12:10:04 -0500, John Rousseau [EMAIL PROTECTED] wrote: But if I throw ObjectNotFoundException from createResource, then (as I indicated in my initial post) rollback is called and the client gets a 412 Precondition Failed. Thanks -John Oliver Zeigermann wrote: OK, then just throw the ObjectNotFoundException if the object is not there as indicated in the last post. Concerning the occurennce of the method calls, they are just needed by the Slide core... Oliver On Mon, 06 Dec 2004 10:51:18 -0500, John Rousseau [EMAIL PROTECTED] wrote: H. That's just not what I am seeing. I have a printout in each of my BasicWebdavStore implementation methods. Here's what I see when I use the slide webdav client to put /etc/resolv.conf into /music in my system. %% WebdavStoreImpl: begin %% objectExists: /music/resolv.conf %% objectExists: / %% getChildrenNames: / %% objectExists: /music %% getChildrenNames: /music %% objectExists: /music/resolv.conf %% objectExists: /music/resolv.conf %% objectExists: /music/resolv.conf %% objectExists: /music/resolv.conf %% objectExists: /music/resolv.conf %% objectExists: /music %% objectExists: /music %% objectExists: /music %% objectExists: /music/resolv.conf %% setResourceContent: /music/resolv.conf %% createResource: /music/resolv.conf %% WebdavStoreImpl: commit Note the order of the setResourceContent and createResource calls. Here's the trace for setResourceContent: java.lang.Exception: Stack trace at java.lang.Thread.dumpStack(Thread.java:1064) at com.ris.manager.gateway.http.WebdavStoreImpl.setResourceContent(WebdavStoreImpl.java:195) at org.apache.slide.simple.store.WebdavStoreAdapter$TransactionId.storeRevisionContent(WebdavStoreAdapter.java:520) at org.apache.slide.simple.store.WebdavStoreAdapter.storeRevisionContent(WebdavStoreAdapter.java:159) at org.apache.slide.store.AbstractStore.storeRevisionContent(AbstractStore.java:1474) at org.apache.slide.store.ExtendedStore.storeRevisionContent(ExtendedStore.java:546) at org.apache.slide.content.ContentImpl.create(ContentImpl.java:593) at org.apache.slide.webdav.method.PutMethod.executeRequest(PutMethod.java:407) at org.apache.slide.webdav.method.AbstractWebdavMethod.run(AbstractWebdavMethod.java:412) at org.apache.slide.webdav.WebdavServlet.service(WebdavServlet.java:151) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:354) at org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(WebApplicationHandler.java:342) at org.apache.slide.webdav.filter.LogFilter.doFilter(LogFilter.java:141) at org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(WebApplicationHandler.java:334) at com.ris.manager.gateway.http.IPAddressRestriction.doFilter(IPAddressRestriction.java:248) at org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(WebApplicationHandler.java:334) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:286) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567) at org.mortbay.http.HttpContext.handle(HttpContext.java:1808) at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:525) at org.mortbay.http.HttpContext.handle(HttpContext.java:1758) at org.mortbay.http.HttpServer.service(HttpServer.java:879) at org.mortbay.http.HttpConnection.service(HttpConnection.java:790) at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:952) at org.mortbay.http.HttpConnection.handle(HttpConnection.java:807) at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:197) at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289) at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:501) Here's the trace for createResource: at com.ris.manager.gateway.http.WebdavStoreImpl.createResource(WebdavStoreImpl.java:176) at org.apache.slide.simple.store.WebdavStoreAdapter$TransactionId.storeRevisionDescriptor(WebdavStoreAdapter.java:675) at org.apache.slide.simple.store.WebdavStoreAdapter.storeRevisionDescriptor(WebdavStoreAdapter.java:255) at org.apache.slide.store.AbstractStore.storeRevisionDescriptor(AbstractStore.java:1305) at org.apache.slide.store.ExtendedStore.storeRevisionDescriptor(ExtendedStore.java:1060) at org.apache.slide.content.ContentImpl.create(ContentImpl.java:608) at org.apache.slide.webdav.method.PutMethod.executeRequest(PutMethod.java:407)
WCK API question
I'm trying to understand the BasicWebdavStore API a bit better. I was expecting that during a PUT, createResource() would be called with the name of a new resource and then setResourceContent() would be then called to supply the content itself. What I'm seeing is that setResourceContent is being called first and then createResource. In my implementation of createResource, I check to see if the resource already exists and if so throw ObjectAlreadyExistsException. Since I just created the resource in setResourceCountent, this causes me to throw and the WCK then calls rollback. Can someone describe these two methods in a bit more detail and explain what I should be doing in them? Should I just make createResource a no-op? Thanks -John --- John Rousseau Archivas, Inc. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: WCK API question
What you expected is the way it should be. If it is not this is a bug. I will check this with the reference implementation. Oliver On Fri, 03 Dec 2004 15:59:59 -0500, John Rousseau [EMAIL PROTECTED] wrote: I'm trying to understand the BasicWebdavStore API a bit better. I was expecting that during a PUT, createResource() would be called with the name of a new resource and then setResourceContent() would be then called to supply the content itself. What I'm seeing is that setResourceContent is being called first and then createResource. In my implementation of createResource, I check to see if the resource already exists and if so throw ObjectAlreadyExistsException. Since I just created the resource in setResourceCountent, this causes me to throw and the WCK then calls rollback. Can someone describe these two methods in a bit more detail and explain what I should be doing in them? Should I just make createResource a no-op? Thanks -John --- John Rousseau Archivas, Inc. - 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: WCK API question
Just checked it and it works the way it should be. Maybe the confusion is caused by Slide's weird init proc where it tries to set content before creation of a folder? In this case you will have to throw an ObjectNotFoundException as you can not store anything to a non-existing file. The start of the code of setResourceContent in the file RI looks like this File file = getFile(resourceUri); if (!file.exists()) throw new ObjectNotFoundException(resourceUri); I hope this helps, Oliver On Fri, 3 Dec 2004 23:58:48 +0100, Oliver Zeigermann [EMAIL PROTECTED] wrote: What you expected is the way it should be. If it is not this is a bug. I will check this with the reference implementation. Oliver On Fri, 03 Dec 2004 15:59:59 -0500, John Rousseau [EMAIL PROTECTED] wrote: I'm trying to understand the BasicWebdavStore API a bit better. I was expecting that during a PUT, createResource() would be called with the name of a new resource and then setResourceContent() would be then called to supply the content itself. What I'm seeing is that setResourceContent is being called first and then createResource. In my implementation of createResource, I check to see if the resource already exists and if so throw ObjectAlreadyExistsException. Since I just created the resource in setResourceCountent, this causes me to throw and the WCK then calls rollback. Can someone describe these two methods in a bit more detail and explain what I should be doing in them? Should I just make createResource a no-op? Thanks -John --- John Rousseau Archivas, Inc. - 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]
WCK: Another Question
Hello Again Is there a way to minimize the no. of levels slide retrieves items?? i can see that slide retrieves 3 levels at the first start.. Am using WCK, and my CMS database is quite huge which increases the time of retrieveing the data, so that the web folder times out giving an error message saying that items are moved or deleted.. is there a way to let slide only retrieves 1 level at a time??? Thanx alot! Rony - Do you Yahoo!? The all-new My Yahoo! Get yours free!
Re: WCK: A Question
Hmmm, still a little bit confusing to me. I understand that createResource is called with a specifc path is called, but you store an id instead, right? So, the problem seems to be that the *client* still tries to find that file by the oringal name as it has got no idea of your change. I suppose after you issue a refresh in the client everything works ok? If this is your scenario there isn't pretty much you can do as you can not force the client to refresh. Maybe mapping the original path to your id would be the only solution... Oliver On Tue, 30 Nov 2004 23:39:02 -0800 (PST), EngR H [EMAIL PROTECTED] wrote: Thanz Oliver for the reply! :) Well, the symptoms are that when I try to create an item to my CMS through the webdav servlet, an item is added by name not by Id so that when i open it, my CMS complains that the id is not valid, (cos the diplay name is passed istead of the id) that's why i need to know how to change the item url to show the id instead of the name?? should I issue a refresh, (so that my CMS reads the items by ID and set the label as the diplay name as needed) ?? or is there another way?? Thanx alot! Rony Oliver Zeigermann [EMAIL PROTECTED] wrote: -- Forwarded message -- From: Oliver Zeigermann Date: Mon, 29 Nov 2004 17:59:55 +0100 Subject: Re: WCK: A Question To: EngR H On Mon, 29 Nov 2004 00:06:55 -0800 (PST), EngR H wrote: Hi Oliver, thanks alot for the reply! first of all, sorry for not being somehow to the point in my last mail.. may be cos English is not my mother language :) Well, concerning JAAS I didn't yet work wiz it ... English isn't my native language either, but people don't even understand me in German ;) About the problem, caching is half the problem .. I'll try to explain :) getChildrenNames in my customization returns my CMS item id's not labels, while labels are set as the display name property, so that items are seen with their display name while they are recognized by the webdav server by their id's, the problem is that when creating a new (folder/document) to the webdav server, the folder name is added to the webdav children by name and a new folder is added to my CMS. I need to let the webdav replace the folder name with my CMS folder ID, is that possible ??? Hmmm, not sure if this is such a good idea as some clients do not use the display name, but only the URL. Anyway, I think I understand the problem. What are the symptoms? Does the client see something wrong? Oliver - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Do you Yahoo!? Yahoo! Mail - You care about security. So do we. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: WCK: A Question
Thanz Oliver for the reply! :) Well, the symptoms are that when I try to create an item to my CMS through the webdav servlet, an item is added by name not by Id so that when i open it, my CMS complains that the id is not valid, (cos the diplay name is passed istead of the id) that's why i need to know how to change the item url to show the id instead of the name?? should I issue a refresh, (so that my CMS reads the items by ID and set the label as the diplay name as needed) ?? or is there another way?? Thanx alot! Rony Oliver Zeigermann [EMAIL PROTECTED] wrote: -- Forwarded message -- From: Oliver Zeigermann Date: Mon, 29 Nov 2004 17:59:55 +0100 Subject: Re: WCK: A Question To: EngR H On Mon, 29 Nov 2004 00:06:55 -0800 (PST), EngR H wrote: Hi Oliver, thanks alot for the reply! first of all, sorry for not being somehow to the point in my last mail.. may be cos English is not my mother language :) Well, concerning JAAS I didn't yet work wiz it ... English isn't my native language either, but people don't even understand me in German ;) About the problem, caching is half the problem .. I'll try to explain :) getChildrenNames in my customization returns my CMS item id's not labels, while labels are set as the display name property, so that items are seen with their display name while they are recognized by the webdav server by their id's, the problem is that when creating a new (folder/document) to the webdav server, the folder name is added to the webdav children by name and a new folder is added to my CMS. I need to let the webdav replace the folder name with my CMS folder ID, is that possible ??? Hmmm, not sure if this is such a good idea as some clients do not use the display name, but only the URL. Anyway, I think I understand the problem. What are the symptoms? Does the client see something wrong? Oliver - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Do you Yahoo!? Yahoo! Mail - You care about security. So do we.
Re: WCK: A Question
Hi Oliver, thanks alot for the reply! first of all, sorry for not being somehow to the point in my last mail.. may be cos English is not my mother language :) Well, concerning JAAS I didn't yet work wiz it ... About the problem, caching is half the problem .. I'll try to explain :) getChildrenNames in my customization returns my CMS item id's not labels, while labels are set as the display name property, so that items are seen with their display name while they are recognized by the webdav server by their id's, the problem is that when creating a new (folder/document) to the webdav server, the folder name is added to the webdav children by name and a new folder is added to my CMS. I need to let the webdav replace the folder name with my CMS folder ID, is that possible ??? Hope I cleared it better this time :) Thanx alot! Rony Oliver Zeigermann [EMAIL PROTECTED] wrote: Hi Rony, great that WCK has been helpful for you, have you been able to use the JAAS authenciation with Oracle application server, as well? Concerning your problem, I guess you are talking about caching, right? A certain action creates an additional resource inside your CMS and as the Slide core caches the children list as it has no idea this has happened does not display the addtional resource. Is this your scenario? If so you will have the same problem when you directly add something to your CMS without going through WebDAV. Using caching mode cluster as set in the default Domain.xml should help. If you have a different problem, please explain a bit more. Cheers, Oliver On Sun, 28 Nov 2004 01:07:41 -0800 (PST), EngR H wrote: Hi Oliver, Hello All, WCK: With me it worked very fine, and it was very helpful indeed, I deployed it to Oracle 10 application server and every thing is working fine ... I managed to use it with my own CMS and I succeeded to display the first layer of my CMS but with most of the functions returning static values as a start! But am now having a problem and thought of asking u help! : I need to issue a refresh after an item is created (Folder/Resource) for a certain busines rule to occure, meaning that I need the webdav servlet to recall getChildrenNames function after an item is created, is this possible?? If not, I need to rename an item after creation to set my CMS ID as its name and my CMS lable as its display name, that's because the ID is the only unique property in my CMS while lables might contain duplicates, is this possible?? Regards, Rony - Do you Yahoo!? Take Yahoo! Mail with you! Get it on your mobile phone. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Do you Yahoo!? Take Yahoo! Mail with you! Get it on your mobile phone.
Fwd: WCK: A Question
-- Forwarded message -- From: Oliver Zeigermann [EMAIL PROTECTED] Date: Mon, 29 Nov 2004 17:59:55 +0100 Subject: Re: WCK: A Question To: EngR H [EMAIL PROTECTED] On Mon, 29 Nov 2004 00:06:55 -0800 (PST), EngR H [EMAIL PROTECTED] wrote: Hi Oliver, thanks alot for the reply! first of all, sorry for not being somehow to the point in my last mail.. may be cos English is not my mother language :) Well, concerning JAAS I didn't yet work wiz it ... English isn't my native language either, but people don't even understand me in German ;) About the problem, caching is half the problem .. I'll try to explain :) getChildrenNames in my customization returns my CMS item id's not labels, while labels are set as the display name property, so that items are seen with their display name while they are recognized by the webdav server by their id's, the problem is that when creating a new (folder/document) to the webdav server, the folder name is added to the webdav children by name and a new folder is added to my CMS. I need to let the webdav replace the folder name with my CMS folder ID, is that possible ??? Hmmm, not sure if this is such a good idea as some clients do not use the display name, but only the URL. Anyway, I think I understand the problem. What are the symptoms? Does the client see something wrong? Oliver - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
WCK: A Question
Hi Oliver, Hello All, WCK: With me it worked very fine, and it was very helpful indeed, I deployed it to Oracle 10 application server and every thing is working fine ... I managed to use it with my own CMS and I succeeded to display the first layer of my CMS but with most of the functions returning static values as a start! But am now having a problem and thought of asking u help! : I need to issue a refresh after an item is created (Folder/Resource) for a certain busines rule to occure, meaning that I need the webdav servlet to recall getChildrenNames function after an item is created, is this possible?? If not, I need to rename an item after creation to set my CMS ID as its name and my CMS lable as its display name, that's because the ID is the only unique property in my CMS while lables might contain duplicates, is this possible?? Regards, Rony - Do you Yahoo!? Take Yahoo! Mail with you! Get it on your mobile phone.
Re: WCK: A Question
Hi Rony, great that WCK has been helpful for you, have you been able to use the JAAS authenciation with Oracle application server, as well? Concerning your problem, I guess you are talking about caching, right? A certain action creates an additional resource inside your CMS and as the Slide core caches the children list as it has no idea this has happened does not display the addtional resource. Is this your scenario? If so you will have the same problem when you directly add something to your CMS without going through WebDAV. Using caching mode cluster as set in the default Domain.xml should help. If you have a different problem, please explain a bit more. Cheers, Oliver On Sun, 28 Nov 2004 01:07:41 -0800 (PST), EngR H [EMAIL PROTECTED] wrote: Hi Oliver, Hello All, WCK: With me it worked very fine, and it was very helpful indeed, I deployed it to Oracle 10 application server and every thing is working fine ... I managed to use it with my own CMS and I succeeded to display the first layer of my CMS but with most of the functions returning static values as a start! But am now having a problem and thought of asking u help! : I need to issue a refresh after an item is created (Folder/Resource) for a certain busines rule to occure, meaning that I need the webdav servlet to recall getChildrenNames function after an item is created, is this possible?? If not, I need to rename an item after creation to set my CMS ID as its name and my CMS lable as its display name, that's because the ID is the only unique property in my CMS while lables might contain duplicates, is this possible?? Regards, Rony - Do you Yahoo!? Take Yahoo! Mail with you! Get it on your mobile phone. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]