Re: mkColMethod
See the Wiki at http://wiki.apache.org/jakarta-slide/ You'll find it under Developers->Client->CreateNewDirectoryAndFile Regards, Luanne --- Michael Stover <[EMAIL PROTECTED]> wrote: > If I call resource.mkColMethod("newDir") and it > returns false, how do I > go about figuring out why it failed? > > -- > Michael Stover <[EMAIL PROTECTED]> > Apache Software Foundation > > > - > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > __ Do you Yahoo!? Yahoo! Mail is new and improved - Check it out! http://promotions.yahoo.com/new_mail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Example Java Servlets for accessing data in Slide?
I use this to retrieve the content from a resource: String contents=resource.getMethodDataAsString("/slide/files/testDir/testFile.xml"); HTH, Luanne --- [EMAIL PROTECTED] wrote: > > Okay. I have a Java Servlet that spits out > information about a file in > a directory, example: > Current Path is: /slide/files/BradSimonin > > Now. I have a file call Brad.html inside that > directory (BradSimonin) > and I would like the Java Servlet to spit out the > HTML code that is in > Brad.html. But I am not exactly sure how to do > this. In normal world I > would use other Java ability like the followoing to > do this: > > HTTPSite = new > String("http://webdev/IntranetData/DynamicIntranetIncludes/Brad.html";); > TheURL = new URL(HTTPSite); > TheWebSite = new BufferedReader(new > InputStreamReader(TheURL.openStream())); > > And then read one line at a time and spit out the > HTML code in > Brad.html. > > But how can I do that using the slide client API's. > I didn't see any in > there that could do what I want. > > Any help would be greatly appreciated. > > --Brad. > > > > -Original Message- > From: James Mason [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 23, 2004 2:48 PM > To: [EMAIL PROTECTED] > Subject: RE: Example Java Servlets for accessing > data in Slide? > > Happy to help :). Good luck and happy hacking. > > -James > > >>> [EMAIL PROTECTED] 6/23/2004 1:44:12 PM > >>> > I can't thank you enough James. Thank you for > pointing me in the right > direction. Your help is greatly appreciated!!! > > --Brad. > > -Original Message- > From: James Mason [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 23, 2004 2:30 PM > To: [EMAIL PROTECTED] > Subject: RE: Example Java Servlets for accessing > data in Slide? > > Well, common/lib has a bunch of jar files that are > Tomcat specific (you > don't need those). And anyway, if you're talking > about a client program > here you want the jar files from the client download > (Tomcat is the > server download). > > For a client you'll need the webdavlib jar and > httpclient jar (you may > also need commons-logging). Check the javadoc: > http://jakarta.apache.org/slide/clientjavadoc/index.html > to see which > packages to import. Choose the name of the class > from the left and the > package will be first line after the navigation > header. > > For server Slide programs the easiest way to get a > list of jars is to > grab the webapp download and look in the lib > directory. For compiling > you'll probably only need the jar files with "slide" > in the name, but > you'll need all the others to run the program. > > -James > > >>> [EMAIL PROTECTED] 6/23/2004 12:01:52 PM > >>> > You mean like install ALL the jar files from the > following directory: > C:\Program Files\Apache > Group\jakarta-slide-2.0-tomcat-5.0.19\common\lib > Directory? > > I am trying to do it the old-fashion way with ant > from the command line. > Even if I did have the correct jar file what would I > add to the > following: > > import java.sql.*; > import java.io.*; > import java.util.*; > import javax.servlet.*; > import javax.servlet.http.*; > > Just curious. > > --Brad > > - > 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] > > __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
can we configure the slide in such a way that we only store the metadata information and not the actual content
Hi all, I am using slide 2.0 binary and separate tomcat 4.1.30 binary versions. Currently I am using file system based store (which comes default in slide domain.xml file). Now my question is, is there any way (through configuring the domain.xml) that we can only store the xml files (i.e. metadata) and not the actual content. The purpose of doing this is my actual repository is different then Slide and still I want show the files in network place. (so what I believe is if I can store only metadata in Slide and actual content in my separate repository then using metadata information I can atleast show the contents in the network place)… If this is possible please provide what all I have to do for this… Thanks & Regards, Mihir - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Example Java Servlets for accessing data in Slide?
Excellent, that works nicely now. Thank you. -Mike On Thu, 2004-06-24 at 19:40, James Mason wrote: > Try passing in the full path for the collection you want to create, ie: > resource.mkcolMethod("/slide/files/1234"). > > As for username/password, you don't need to reset them. WebdavResource > has an internal HttpClient that it uses, and it keeps the same client > for all requests. > > -James > > >>> [EMAIL PROTECTED] 6/24/2004 4:26:15 PM >>> > When I try: > > resource.mkcolMethod("1234"); > > on a resource I know exists, I get status report of: > > Bad Request (400) > > What did I do wrong? > > > On a side note about having write access, if I create a > WebdavResource: > > resource = new WebdavResource("http://user:[EMAIL PROTECTED]/webdav") > > and then later get a child resource: > > child = resource.getChildResources().getResource("subdir") > > do I have to set the username/password info for this new > WebdavResource > object, or will it inherit from the parent? > > -Mike > > On Thu, 2004-06-24 at 18:45, James Mason wrote: > > Mike, > > > > After the failure call WebdavResource.getStatusMessage() and > > WebdavResource.getStatusCode(). If those are the only methods that > are > > failing you probably don't have write access. > > > > -James > > > > >>> [EMAIL PROTECTED] 6/24/2004 3:48:13 PM >>> > > The get methods seem to work, but do the put and mkCol methods work? > > > So > > far, they just return false - no exceptions, just false. > > > > -Mike > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- Michael Stover <[EMAIL PROTECTED]> Apache Software Foundation - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Example Java Servlets for accessing data in Slide?
Try passing in the full path for the collection you want to create, ie: resource.mkcolMethod("/slide/files/1234"). As for username/password, you don't need to reset them. WebdavResource has an internal HttpClient that it uses, and it keeps the same client for all requests. -James >>> [EMAIL PROTECTED] 6/24/2004 4:26:15 PM >>> When I try: resource.mkcolMethod("1234"); on a resource I know exists, I get status report of: Bad Request (400) What did I do wrong? On a side note about having write access, if I create a WebdavResource: resource = new WebdavResource("http://user:[EMAIL PROTECTED]/webdav") and then later get a child resource: child = resource.getChildResources().getResource("subdir") do I have to set the username/password info for this new WebdavResource object, or will it inherit from the parent? -Mike On Thu, 2004-06-24 at 18:45, James Mason wrote: > Mike, > > After the failure call WebdavResource.getStatusMessage() and > WebdavResource.getStatusCode(). If those are the only methods that are > failing you probably don't have write access. > > -James > > >>> [EMAIL PROTECTED] 6/24/2004 3:48:13 PM >>> > The get methods seem to work, but do the put and mkCol methods work? > So > far, they just return false - no exceptions, just false. > > -Mike - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Example Java Servlets for accessing data in Slide?
When I try: resource.mkcolMethod("1234"); on a resource I know exists, I get status report of: Bad Request (400) What did I do wrong? On a side note about having write access, if I create a WebdavResource: resource = new WebdavResource("http://user:[EMAIL PROTECTED]/webdav") and then later get a child resource: child = resource.getChildResources().getResource("subdir") do I have to set the username/password info for this new WebdavResource object, or will it inherit from the parent? -Mike On Thu, 2004-06-24 at 18:45, James Mason wrote: > Mike, > > After the failure call WebdavResource.getStatusMessage() and > WebdavResource.getStatusCode(). If those are the only methods that are > failing you probably don't have write access. > > -James > > >>> [EMAIL PROTECTED] 6/24/2004 3:48:13 PM >>> > The get methods seem to work, but do the put and mkCol methods work? > So > far, they just return false - no exceptions, just false. > > -Mike > > On Thu, 2004-06-24 at 18:25, James Mason wrote: > > Brad, > > Take a look at the WebdavResource.getMethod* methods. There are > various > > options depending on what you want to do with the data. > > > > Also, the code for org.apache.webdav.cmd.Client is a useful > reference > > for most webdav tasks. You'll need the Slide client source download > to > > see it. > > > > -James > > > > >>> [EMAIL PROTECTED] 6/24/2004 3:12:23 PM >>> > > > > Okay. I have a Java Servlet that spits out information about a file > > in > > a directory, example: > > Current Path is: /slide/files/BradSimonin > > > > Now. I have a file call Brad.html inside that directory > (BradSimonin) > > and I would like the Java Servlet to spit out the HTML code that is > in > > Brad.html. But I am not exactly sure how to do this. In normal > world > > I > > would use other Java ability like the followoing to do this: > > > > HTTPSite = new > > > String("http://webdev/IntranetData/DynamicIntranetIncludes/Brad.html";); > > TheURL = new URL(HTTPSite); > > TheWebSite = new BufferedReader(new > > InputStreamReader(TheURL.openStream())); > > > > And then read one line at a time and spit out the HTML code in > > Brad.html. > > > > But how can I do that using the slide client API's. I didn't see > any > > in > > there that could do what I want. > > > > Any help would be greatly appreciated. > > > > --Brad. > > > > > > > > -Original Message- > > From: James Mason [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, June 23, 2004 2:48 PM > > To: [EMAIL PROTECTED] > > Subject: RE: Example Java Servlets for accessing data in Slide? > > > > Happy to help :). Good luck and happy hacking. > > > > -James > > > > >>> [EMAIL PROTECTED] 6/23/2004 1:44:12 PM >>> > > I can't thank you enough James. Thank you for pointing me in the > right > > direction. Your help is greatly appreciated!!! > > > > --Brad. > > > > -Original Message- > > From: James Mason [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, June 23, 2004 2:30 PM > > To: [EMAIL PROTECTED] > > Subject: RE: Example Java Servlets for accessing data in Slide? > > > > Well, common/lib has a bunch of jar files that are Tomcat specific > > (you > > don't need those). And anyway, if you're talking about a client > > program > > here you want the jar files from the client download (Tomcat is the > > server download). > > > > For a client you'll need the webdavlib jar and httpclient jar (you > may > > also need commons-logging). Check the javadoc: > > http://jakarta.apache.org/slide/clientjavadoc/index.html to see > which > > packages to import. Choose the name of the class from the left and > the > > package will be first line after the navigation header. > > > > For server Slide programs the easiest way to get a list of jars is > to > > grab the webapp download and look in the lib directory. For > compiling > > you'll probably only need the jar files with "slide" in the name, > but > > you'll need all the others to run the program. > > > > -James > > > > >>> [EMAIL PROTECTED] 6/23/2004 12:01:52 PM >>> > > You mean like install ALL the jar files from the following > directory: > > C:\Program Files\Apache > > Group\jakarta-slide-2.0-tomcat-5.0.19\common\lib > > Directory? > > > > I am trying to do it the old-fashion way with ant from the command > > line. > > Even if I did have the correct jar file what would I add to the > > following: > > > > import java.sql.*; > > import java.io.*; > > import java.util.*; > > import javax.servlet.*; > > import javax.servlet.http.*; > > > > Just curious. > > > > --Brad > > > > > - > > 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: Example Java Servlets for accessing data in Slide?
Mike, After the failure call WebdavResource.getStatusMessage() and WebdavResource.getStatusCode(). If those are the only methods that are failing you probably don't have write access. -James >>> [EMAIL PROTECTED] 6/24/2004 3:48:13 PM >>> The get methods seem to work, but do the put and mkCol methods work? So far, they just return false - no exceptions, just false. -Mike On Thu, 2004-06-24 at 18:25, James Mason wrote: > Brad, > Take a look at the WebdavResource.getMethod* methods. There are various > options depending on what you want to do with the data. > > Also, the code for org.apache.webdav.cmd.Client is a useful reference > for most webdav tasks. You'll need the Slide client source download to > see it. > > -James > > >>> [EMAIL PROTECTED] 6/24/2004 3:12:23 PM >>> > > Okay. I have a Java Servlet that spits out information about a file > in > a directory, example: > Current Path is: /slide/files/BradSimonin > > Now. I have a file call Brad.html inside that directory (BradSimonin) > and I would like the Java Servlet to spit out the HTML code that is in > Brad.html. But I am not exactly sure how to do this. In normal world > I > would use other Java ability like the followoing to do this: > > HTTPSite = new > String("http://webdev/IntranetData/DynamicIntranetIncludes/Brad.html";); > TheURL = new URL(HTTPSite); > TheWebSite = new BufferedReader(new > InputStreamReader(TheURL.openStream())); > > And then read one line at a time and spit out the HTML code in > Brad.html. > > But how can I do that using the slide client API's. I didn't see any > in > there that could do what I want. > > Any help would be greatly appreciated. > > --Brad. > > > > -Original Message- > From: James Mason [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 23, 2004 2:48 PM > To: [EMAIL PROTECTED] > Subject: RE: Example Java Servlets for accessing data in Slide? > > Happy to help :). Good luck and happy hacking. > > -James > > >>> [EMAIL PROTECTED] 6/23/2004 1:44:12 PM >>> > I can't thank you enough James. Thank you for pointing me in the right > direction. Your help is greatly appreciated!!! > > --Brad. > > -Original Message- > From: James Mason [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 23, 2004 2:30 PM > To: [EMAIL PROTECTED] > Subject: RE: Example Java Servlets for accessing data in Slide? > > Well, common/lib has a bunch of jar files that are Tomcat specific > (you > don't need those). And anyway, if you're talking about a client > program > here you want the jar files from the client download (Tomcat is the > server download). > > For a client you'll need the webdavlib jar and httpclient jar (you may > also need commons-logging). Check the javadoc: > http://jakarta.apache.org/slide/clientjavadoc/index.html to see which > packages to import. Choose the name of the class from the left and the > package will be first line after the navigation header. > > For server Slide programs the easiest way to get a list of jars is to > grab the webapp download and look in the lib directory. For compiling > you'll probably only need the jar files with "slide" in the name, but > you'll need all the others to run the program. > > -James > > >>> [EMAIL PROTECTED] 6/23/2004 12:01:52 PM >>> > You mean like install ALL the jar files from the following directory: > C:\Program Files\Apache > Group\jakarta-slide-2.0-tomcat-5.0.19\common\lib > Directory? > > I am trying to do it the old-fashion way with ant from the command > line. > Even if I did have the correct jar file what would I add to the > following: > > import java.sql.*; > import java.io.*; > import java.util.*; > import javax.servlet.*; > import javax.servlet.http.*; > > Just curious. > > --Brad > > - > 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] -- Michael Stover <[EMAIL PROTECTED]> Apache Software Foundation - 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: Example Java Servlets for accessing data in Slide?
The get methods seem to work, but do the put and mkCol methods work? So far, they just return false - no exceptions, just false. -Mike On Thu, 2004-06-24 at 18:25, James Mason wrote: > Brad, > Take a look at the WebdavResource.getMethod* methods. There are various > options depending on what you want to do with the data. > > Also, the code for org.apache.webdav.cmd.Client is a useful reference > for most webdav tasks. You'll need the Slide client source download to > see it. > > -James > > >>> [EMAIL PROTECTED] 6/24/2004 3:12:23 PM >>> > > Okay. I have a Java Servlet that spits out information about a file > in > a directory, example: > Current Path is: /slide/files/BradSimonin > > Now. I have a file call Brad.html inside that directory (BradSimonin) > and I would like the Java Servlet to spit out the HTML code that is in > Brad.html. But I am not exactly sure how to do this. In normal world > I > would use other Java ability like the followoing to do this: > > HTTPSite = new > String("http://webdev/IntranetData/DynamicIntranetIncludes/Brad.html";); > TheURL = new URL(HTTPSite); > TheWebSite = new BufferedReader(new > InputStreamReader(TheURL.openStream())); > > And then read one line at a time and spit out the HTML code in > Brad.html. > > But how can I do that using the slide client API's. I didn't see any > in > there that could do what I want. > > Any help would be greatly appreciated. > > --Brad. > > > > -Original Message- > From: James Mason [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 23, 2004 2:48 PM > To: [EMAIL PROTECTED] > Subject: RE: Example Java Servlets for accessing data in Slide? > > Happy to help :). Good luck and happy hacking. > > -James > > >>> [EMAIL PROTECTED] 6/23/2004 1:44:12 PM >>> > I can't thank you enough James. Thank you for pointing me in the right > direction. Your help is greatly appreciated!!! > > --Brad. > > -Original Message- > From: James Mason [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 23, 2004 2:30 PM > To: [EMAIL PROTECTED] > Subject: RE: Example Java Servlets for accessing data in Slide? > > Well, common/lib has a bunch of jar files that are Tomcat specific > (you > don't need those). And anyway, if you're talking about a client > program > here you want the jar files from the client download (Tomcat is the > server download). > > For a client you'll need the webdavlib jar and httpclient jar (you may > also need commons-logging). Check the javadoc: > http://jakarta.apache.org/slide/clientjavadoc/index.html to see which > packages to import. Choose the name of the class from the left and the > package will be first line after the navigation header. > > For server Slide programs the easiest way to get a list of jars is to > grab the webapp download and look in the lib directory. For compiling > you'll probably only need the jar files with "slide" in the name, but > you'll need all the others to run the program. > > -James > > >>> [EMAIL PROTECTED] 6/23/2004 12:01:52 PM >>> > You mean like install ALL the jar files from the following directory: > C:\Program Files\Apache > Group\jakarta-slide-2.0-tomcat-5.0.19\common\lib > Directory? > > I am trying to do it the old-fashion way with ant from the command > line. > Even if I did have the correct jar file what would I add to the > following: > > import java.sql.*; > import java.io.*; > import java.util.*; > import javax.servlet.*; > import javax.servlet.http.*; > > Just curious. > > --Brad > > - > 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] -- Michael Stover <[EMAIL PROTECTED]> Apache Software Foundation - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Example Java Servlets for accessing data in Slide?
Brad, Take a look at the WebdavResource.getMethod* methods. There are various options depending on what you want to do with the data. Also, the code for org.apache.webdav.cmd.Client is a useful reference for most webdav tasks. You'll need the Slide client source download to see it. -James >>> [EMAIL PROTECTED] 6/24/2004 3:12:23 PM >>> Okay. I have a Java Servlet that spits out information about a file in a directory, example: Current Path is: /slide/files/BradSimonin Now. I have a file call Brad.html inside that directory (BradSimonin) and I would like the Java Servlet to spit out the HTML code that is in Brad.html. But I am not exactly sure how to do this. In normal world I would use other Java ability like the followoing to do this: HTTPSite = new String("http://webdev/IntranetData/DynamicIntranetIncludes/Brad.html";); TheURL = new URL(HTTPSite); TheWebSite = new BufferedReader(new InputStreamReader(TheURL.openStream())); And then read one line at a time and spit out the HTML code in Brad.html. But how can I do that using the slide client API's. I didn't see any in there that could do what I want. Any help would be greatly appreciated. --Brad. -Original Message- From: James Mason [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 23, 2004 2:48 PM To: [EMAIL PROTECTED] Subject: RE: Example Java Servlets for accessing data in Slide? Happy to help :). Good luck and happy hacking. -James >>> [EMAIL PROTECTED] 6/23/2004 1:44:12 PM >>> I can't thank you enough James. Thank you for pointing me in the right direction. Your help is greatly appreciated!!! --Brad. -Original Message- From: James Mason [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 23, 2004 2:30 PM To: [EMAIL PROTECTED] Subject: RE: Example Java Servlets for accessing data in Slide? Well, common/lib has a bunch of jar files that are Tomcat specific (you don't need those). And anyway, if you're talking about a client program here you want the jar files from the client download (Tomcat is the server download). For a client you'll need the webdavlib jar and httpclient jar (you may also need commons-logging). Check the javadoc: http://jakarta.apache.org/slide/clientjavadoc/index.html to see which packages to import. Choose the name of the class from the left and the package will be first line after the navigation header. For server Slide programs the easiest way to get a list of jars is to grab the webapp download and look in the lib directory. For compiling you'll probably only need the jar files with "slide" in the name, but you'll need all the others to run the program. -James >>> [EMAIL PROTECTED] 6/23/2004 12:01:52 PM >>> You mean like install ALL the jar files from the following directory: C:\Program Files\Apache Group\jakarta-slide-2.0-tomcat-5.0.19\common\lib Directory? I am trying to do it the old-fashion way with ant from the command line. Even if I did have the correct jar file what would I add to the following: import java.sql.*; import java.io.*; import java.util.*; import javax.servlet.*; import javax.servlet.http.*; Just curious. --Brad - 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: Example Java Servlets for accessing data in Slide?
Okay. I have a Java Servlet that spits out information about a file in a directory, example: Current Path is: /slide/files/BradSimonin Now. I have a file call Brad.html inside that directory (BradSimonin) and I would like the Java Servlet to spit out the HTML code that is in Brad.html. But I am not exactly sure how to do this. In normal world I would use other Java ability like the followoing to do this: HTTPSite = new String("http://webdev/IntranetData/DynamicIntranetIncludes/Brad.html";); TheURL = new URL(HTTPSite); TheWebSite = new BufferedReader(new InputStreamReader(TheURL.openStream())); And then read one line at a time and spit out the HTML code in Brad.html. But how can I do that using the slide client API's. I didn't see any in there that could do what I want. Any help would be greatly appreciated. --Brad. -Original Message- From: James Mason [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 23, 2004 2:48 PM To: [EMAIL PROTECTED] Subject: RE: Example Java Servlets for accessing data in Slide? Happy to help :). Good luck and happy hacking. -James >>> [EMAIL PROTECTED] 6/23/2004 1:44:12 PM >>> I can't thank you enough James. Thank you for pointing me in the right direction. Your help is greatly appreciated!!! --Brad. -Original Message- From: James Mason [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 23, 2004 2:30 PM To: [EMAIL PROTECTED] Subject: RE: Example Java Servlets for accessing data in Slide? Well, common/lib has a bunch of jar files that are Tomcat specific (you don't need those). And anyway, if you're talking about a client program here you want the jar files from the client download (Tomcat is the server download). For a client you'll need the webdavlib jar and httpclient jar (you may also need commons-logging). Check the javadoc: http://jakarta.apache.org/slide/clientjavadoc/index.html to see which packages to import. Choose the name of the class from the left and the package will be first line after the navigation header. For server Slide programs the easiest way to get a list of jars is to grab the webapp download and look in the lib directory. For compiling you'll probably only need the jar files with "slide" in the name, but you'll need all the others to run the program. -James >>> [EMAIL PROTECTED] 6/23/2004 12:01:52 PM >>> You mean like install ALL the jar files from the following directory: C:\Program Files\Apache Group\jakarta-slide-2.0-tomcat-5.0.19\common\lib Directory? I am trying to do it the old-fashion way with ant from the command line. Even if I did have the correct jar file what would I add to the following: import java.sql.*; import java.io.*; import java.util.*; import javax.servlet.*; import javax.servlet.http.*; Just curious. --Brad - 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]
New Slide Wiki
I think I've finished migrating the old wiki to the new one: http://wiki.apache.org/jakarta-slide I'd appreciate it if someone could double-check to make sure I haven't missed anything. Thanks, James - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
mkColMethod
If I call resource.mkColMethod("newDir") and it returns false, how do I go about figuring out why it failed? -- Michael Stover <[EMAIL PROTECTED]> Apache Software Foundation - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Auditing
Gaurav, There are DAV:creationdate and DAV:modificationdate properties that are set for every resource. To really accomplish auditing you'll probably want more information than that, though. You might try writing a simple ContentInterceptor: http://jakarta.apache.org/slide/javadoc/org/apache/slide/content/ContentInterceptor.html that logs any changes along with who made them and possibly what changed. -James >>> [EMAIL PROTECTED] 6/24/2004 10:32:08 AM >>> Hi, Does Slide allow or provide for auditing APIs? We need to audit the creation time, update time for a user or group etc. I checked out the DB and it seems as if Slide does not commit the creation time, update time etc. for entries. Is my assumption correct? Any inputs are appreciated. Thanks, Gaurav __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Auditing
Hi, Does Slide allow or provide for auditing APIs? We need to audit the creation time, update time for a user or group etc. I checked out the DB and it seems as if Slide does not commit the creation time, update time etc. for entries. Is my assumption correct? Any inputs are appreciated. Thanks, Gaurav __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
resource.lockMethod refuses
What are the various reasons why lockMethod() would return false? And is it necessary to call lockMethod prior to writing to a webdav? -Mike -- Michael Stover <[EMAIL PROTECTED]> Apache Software Foundation - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: experiences with the LDAP Store
Glad to know that fixed it :). I'd actually made a similar change based on a bug report someone else sent me (off list, I think). Good to know that worked. Oliver, thanks for fixing this! -James >>> [EMAIL PROTECTED] 06/24/04 6:56 AM >>> Great! I will update the source with the change ASAP. Oliver Frank Taffelt wrote: > BINGO !!! > > now it works. > > many thanks, > Frank > > - Original Message - > From: "Oliver Zeigermann" <[EMAIL PROTECTED]> > To: "Slide Users Mailing List" <[EMAIL PROTECTED]> > Sent: Thursday, June 24, 2004 3:47 PM > Subject: Re: experiences with the LDAP Store > > > >>Hmmm, try this >> >> public NodeRevisionContent retrieveRevisionContent(Uri uri, >>NodeRevisionDescriptor revisionDescriptor) >> throws ServiceAccessException, RevisionNotFoundException { >> NodeRevisionContent nrc = new NodeRevisionContent(); >> nrc.setContent(new char[0]); >> return nrc; >> } >> >>This is my last idea. Maybe James can help? >> >>Oliver >> >>Frank Taffelt wrote: >> >> >>>LDAP store defines at line 565 the following methods: >>> >>>public NodeRevisionContent retrieveRevisionContent(Uri uri, >>>NodeRevisionDescriptor revisionDescriptor) >>>throws ServiceAccessException, RevisionNotFoundException { >>>return new NodeRevisionContent(); >>>} >>> >>>public void createRevisionContent( >>>Uri uri, >>>NodeRevisionDescriptor revisionDescriptor, >>>NodeRevisionContent revisionContent) >>>throws ServiceAccessException, RevisionAlreadyExistException { >>>} >>> >>>public void storeRevisionContent( >>>Uri uri, >>>NodeRevisionDescriptor revisionDescriptor, >>>NodeRevisionContent revisionContent) >>>throws ServiceAccessException, RevisionNotFoundException { >>>} >>> >>>public void removeRevisionContent(Uri uri, NodeRevisionDescriptor >>>revisionDescriptor) >>>throws ServiceAccessException { >>>} >>> >>>i'm not that into the slide api stuff, but the method >>>"retrieveRevisionContent" returns an default NodeRevisionContent, is > > this > >>>correct ? >>> >>>Frank >>> >>>- Original Message - >>>From: "Oliver Zeigermann" <[EMAIL PROTECTED]> >>>To: "Slide Users Mailing List" <[EMAIL PROTECTED]> >>>Sent: Thursday, June 24, 2004 2:58 PM >>>Subject: Re: experiences with the LDAP Store >>> >>> >>> >>> Maybe it is because Slide tries to write content to the LDAP store? This does not implement content stuff properly, right? Oliver Frank Taffelt wrote: >this didn't help > >Frank >- Original Message - >From: "Oliver Zeigermann" <[EMAIL PROTECTED]> >To: "Slide Users Mailing List" <[EMAIL PROTECTED]> >Sent: Thursday, June 24, 2004 2:19 PM >Subject: Re: experiences with the LDAP Store > > > > > >>Looks different from what I expected, but this still can be the same >>problem. Please, try changing the constructor of SlideTokenWrapper to >>always set forceStoreEnlistment tp true as this effectively disables >>reads outside of transactions. If this does not help, there must be >>another problem... >> >>Oliver >> >>Frank Taffelt wrote: >> >> >> >> >>>the relevant parts: >>> >>>24 Jun 2004 14:04:33 - > >org.apache.slide.store.txjndi.JNDIPrincipalStore - > > > >>>INFO - Calling retrieveRevisionDescriptors(/users). >>>24 Jun 2004 14:04:33 - > >org.apache.slide.store.txjndi.JNDIPrincipalStore - > > > >>>INFO - Calling retrieveRevisionDescriptor(/users). >>>24 Jun 2004 14:04:33 - org.apache.slide.common.Domain - WARNING - > >Invalid > > > >>>object at : No content >>>24 Jun 2004 14:04:33 - org.apache.slide.common.Namespace - ERROR - > >Unable to > > > >>>read Namespace base configuration file : >>>24 Jun 2004 14:04:33 - org.apache.slide.common.Namespace - ERROR - >>>org.apache.slide.common.ObjectValidationFailedException: Invalid > > object > >at > > > >>>: No content >>>org.apache.slide.common.ObjectValidationFailedException: Invalid > > object > >at > > > >>>: No content >>>at >>> > > > org.apache.slide.content.NodeRevisionContent.validate(NodeRevisionContent.ja > >>>va:299) >>>at >>> > > > org.apache.slide.store.AbstractStore.retrieveRevisionContent(AbstractStore.j > >>>ava:1185) >>>at >>> > > > org.apache.slide.store.ExtendedStore.retrieveRevisionContent(ExtendedStore.j > >>>ava:326) >>>at > > org.apache.slide.content.ContentImpl.retrieve(ContentImpl.java:352) > >>>at >>> > > > org.apache.slide.common.XMLUnmarshaller.loadObjectRevision(XMLUnmarshaller.j > >>>ava:405) >>>at >>> > > > org.apache.slide.common.XMLUnmarsha
Re: experiences with the LDAP Store
Great! I will update the source with the change ASAP. Oliver Frank Taffelt wrote: BINGO !!! now it works. many thanks, Frank - Original Message - From: "Oliver Zeigermann" <[EMAIL PROTECTED]> To: "Slide Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, June 24, 2004 3:47 PM Subject: Re: experiences with the LDAP Store Hmmm, try this public NodeRevisionContent retrieveRevisionContent(Uri uri, NodeRevisionDescriptor revisionDescriptor) throws ServiceAccessException, RevisionNotFoundException { NodeRevisionContent nrc = new NodeRevisionContent(); nrc.setContent(new char[0]); return nrc; } This is my last idea. Maybe James can help? Oliver Frank Taffelt wrote: LDAP store defines at line 565 the following methods: public NodeRevisionContent retrieveRevisionContent(Uri uri, NodeRevisionDescriptor revisionDescriptor) throws ServiceAccessException, RevisionNotFoundException { return new NodeRevisionContent(); } public void createRevisionContent( Uri uri, NodeRevisionDescriptor revisionDescriptor, NodeRevisionContent revisionContent) throws ServiceAccessException, RevisionAlreadyExistException { } public void storeRevisionContent( Uri uri, NodeRevisionDescriptor revisionDescriptor, NodeRevisionContent revisionContent) throws ServiceAccessException, RevisionNotFoundException { } public void removeRevisionContent(Uri uri, NodeRevisionDescriptor revisionDescriptor) throws ServiceAccessException { } i'm not that into the slide api stuff, but the method "retrieveRevisionContent" returns an default NodeRevisionContent, is this correct ? Frank - Original Message - From: "Oliver Zeigermann" <[EMAIL PROTECTED]> To: "Slide Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, June 24, 2004 2:58 PM Subject: Re: experiences with the LDAP Store Maybe it is because Slide tries to write content to the LDAP store? This does not implement content stuff properly, right? Oliver Frank Taffelt wrote: this didn't help Frank - Original Message - From: "Oliver Zeigermann" <[EMAIL PROTECTED]> To: "Slide Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, June 24, 2004 2:19 PM Subject: Re: experiences with the LDAP Store Looks different from what I expected, but this still can be the same problem. Please, try changing the constructor of SlideTokenWrapper to always set forceStoreEnlistment tp true as this effectively disables reads outside of transactions. If this does not help, there must be another problem... Oliver Frank Taffelt wrote: the relevant parts: 24 Jun 2004 14:04:33 - org.apache.slide.store.txjndi.JNDIPrincipalStore - INFO - Calling retrieveRevisionDescriptors(/users). 24 Jun 2004 14:04:33 - org.apache.slide.store.txjndi.JNDIPrincipalStore - INFO - Calling retrieveRevisionDescriptor(/users). 24 Jun 2004 14:04:33 - org.apache.slide.common.Domain - WARNING - Invalid object at : No content 24 Jun 2004 14:04:33 - org.apache.slide.common.Namespace - ERROR - Unable to read Namespace base configuration file : 24 Jun 2004 14:04:33 - org.apache.slide.common.Namespace - ERROR - org.apache.slide.common.ObjectValidationFailedException: Invalid object at : No content org.apache.slide.common.ObjectValidationFailedException: Invalid object at : No content at org.apache.slide.content.NodeRevisionContent.validate(NodeRevisionContent.ja va:299) at org.apache.slide.store.AbstractStore.retrieveRevisionContent(AbstractStore.j ava:1185) at org.apache.slide.store.ExtendedStore.retrieveRevisionContent(ExtendedStore.j ava:326) at org.apache.slide.content.ContentImpl.retrieve(ContentImpl.java:352) at org.apache.slide.common.XMLUnmarshaller.loadObjectRevision(XMLUnmarshaller.j ava:405) at org.apache.slide.common.XMLUnmarshaller.loadDefaultObjectRevision(XMLUnmarsh aller.java:331) at org.apache.slide.common.XMLUnmarshaller.loadObjectNode(XMLUnmarshaller.java: 261) at org.apache.slide.common.XMLUnmarshaller.loadObjectNode(XMLUnmarshaller.java: 295) at org.apache.slide.common.XMLUnmarshaller.unmarshal(XMLUnmarshaller.java:90) at org.apache.slide.common.NamespaceAccessTokenImpl.importData(NamespaceAccessT okenImpl.java:267) at org.apache.slide.common.Namespace.loadBaseData(Namespace.java:775) at org.apache.slide.common.Domain.initNamespace(Domain.java:814) at org.apache.slide.common.Domain.init(Domain.java:433) at org.apache.slide.common.Domain.selfInit(Domain.java:747) at org.apache.slide.common.Domain.accessNamespace(Domain.java:235) at de.ifbus.Test.main(Test.java:40) 24 Jun 2004 14:04:33 - org.apache.slide.common.Namespace - INFO - Loading namespace slide configuration uri = /actions/read aRootPath = C:\DOKUME~1\frank\LOKALE~1\Temp , uri = /actions/read 24 Jun 2004 14:04:33 - org.apache.slide.common.Domain - ERROR - org.apache.slide.structure.ObjectNotFoundException: No object found at /actions/read org.apache.slide.structure.ObjectNotFoundExcept
Re: experiences with the LDAP Store
BINGO !!! now it works. many thanks, Frank - Original Message - From: "Oliver Zeigermann" <[EMAIL PROTECTED]> To: "Slide Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, June 24, 2004 3:47 PM Subject: Re: experiences with the LDAP Store > Hmmm, try this > > public NodeRevisionContent retrieveRevisionContent(Uri uri, > NodeRevisionDescriptor revisionDescriptor) > throws ServiceAccessException, RevisionNotFoundException { > NodeRevisionContent nrc = new NodeRevisionContent(); > nrc.setContent(new char[0]); > return nrc; > } > > This is my last idea. Maybe James can help? > > Oliver > > Frank Taffelt wrote: > > > LDAP store defines at line 565 the following methods: > > > > public NodeRevisionContent retrieveRevisionContent(Uri uri, > > NodeRevisionDescriptor revisionDescriptor) > > throws ServiceAccessException, RevisionNotFoundException { > > return new NodeRevisionContent(); > > } > > > > public void createRevisionContent( > > Uri uri, > > NodeRevisionDescriptor revisionDescriptor, > > NodeRevisionContent revisionContent) > > throws ServiceAccessException, RevisionAlreadyExistException { > > } > > > > public void storeRevisionContent( > > Uri uri, > > NodeRevisionDescriptor revisionDescriptor, > > NodeRevisionContent revisionContent) > > throws ServiceAccessException, RevisionNotFoundException { > > } > > > > public void removeRevisionContent(Uri uri, NodeRevisionDescriptor > > revisionDescriptor) > > throws ServiceAccessException { > > } > > > > i'm not that into the slide api stuff, but the method > > "retrieveRevisionContent" returns an default NodeRevisionContent, is this > > correct ? > > > > Frank > > > > - Original Message - > > From: "Oliver Zeigermann" <[EMAIL PROTECTED]> > > To: "Slide Users Mailing List" <[EMAIL PROTECTED]> > > Sent: Thursday, June 24, 2004 2:58 PM > > Subject: Re: experiences with the LDAP Store > > > > > > > >>Maybe it is because Slide tries to write content to the LDAP store? This > >>does not implement content stuff properly, right? > >> > >>Oliver > >> > >>Frank Taffelt wrote: > >> > >> > >>>this didn't help > >>> > >>>Frank > >>>- Original Message - > >>>From: "Oliver Zeigermann" <[EMAIL PROTECTED]> > >>>To: "Slide Users Mailing List" <[EMAIL PROTECTED]> > >>>Sent: Thursday, June 24, 2004 2:19 PM > >>>Subject: Re: experiences with the LDAP Store > >>> > >>> > >>> > >>> > Looks different from what I expected, but this still can be the same > problem. Please, try changing the constructor of SlideTokenWrapper to > always set forceStoreEnlistment tp true as this effectively disables > reads outside of transactions. If this does not help, there must be > another problem... > > Oliver > > Frank Taffelt wrote: > > > > >the relevant parts: > > > >24 Jun 2004 14:04:33 - > >>> > >>>org.apache.slide.store.txjndi.JNDIPrincipalStore - > >>> > >>> > >INFO - Calling retrieveRevisionDescriptors(/users). > >24 Jun 2004 14:04:33 - > >>> > >>>org.apache.slide.store.txjndi.JNDIPrincipalStore - > >>> > >>> > >INFO - Calling retrieveRevisionDescriptor(/users). > >24 Jun 2004 14:04:33 - org.apache.slide.common.Domain - WARNING - > >>> > >>>Invalid > >>> > >>> > >object at : No content > >24 Jun 2004 14:04:33 - org.apache.slide.common.Namespace - ERROR - > >>> > >>>Unable to > >>> > >>> > >read Namespace base configuration file : > >24 Jun 2004 14:04:33 - org.apache.slide.common.Namespace - ERROR - > >org.apache.slide.common.ObjectValidationFailedException: Invalid object > >>> > >>>at > >>> > >>> > >: No content > >org.apache.slide.common.ObjectValidationFailedException: Invalid object > >>> > >>>at > >>> > >>> > >: No content > >at > > > >>> > >>> > > org.apache.slide.content.NodeRevisionContent.validate(NodeRevisionContent.ja > > > >va:299) > >at > > > >>> > >>> > > org.apache.slide.store.AbstractStore.retrieveRevisionContent(AbstractStore.j > > > >ava:1185) > >at > > > >>> > >>> > > org.apache.slide.store.ExtendedStore.retrieveRevisionContent(ExtendedStore.j > > > >ava:326) > >at org.apache.slide.content.ContentImpl.retrieve(ContentImpl.java:352) > >at > > > >>> > >>> > > org.apache.slide.common.XMLUnmarshaller.loadObjectRevision(XMLUnmarshaller.j > > > >ava:405) > >at > > > >>> > >>> > > org.apache.slide.common.XMLUnmarshaller.loadDefaultObjectRevision(XMLUnmarsh > > > >aller.java:331) > >at > > > >>> > >>> > > org.apache.slide.common.XMLUnmarshaller.loadObjectNode(XMLUnmarshaller.java: > > > >261) > >at > > > >>> > >>> > > org.apache.slide.common.XMLUnmarshaller.loadObjectNode(XMLUnmarshaller.java: > > > >295) > >at > > > >>> > >>> > > org.apache.slide.common.XMLUnmarshaller.un
Re: experiences with the LDAP Store
Hmmm, try this public NodeRevisionContent retrieveRevisionContent(Uri uri, NodeRevisionDescriptor revisionDescriptor) throws ServiceAccessException, RevisionNotFoundException { NodeRevisionContent nrc = new NodeRevisionContent(); nrc.setContent(new char[0]); return nrc; } This is my last idea. Maybe James can help? Oliver Frank Taffelt wrote: LDAP store defines at line 565 the following methods: public NodeRevisionContent retrieveRevisionContent(Uri uri, NodeRevisionDescriptor revisionDescriptor) throws ServiceAccessException, RevisionNotFoundException { return new NodeRevisionContent(); } public void createRevisionContent( Uri uri, NodeRevisionDescriptor revisionDescriptor, NodeRevisionContent revisionContent) throws ServiceAccessException, RevisionAlreadyExistException { } public void storeRevisionContent( Uri uri, NodeRevisionDescriptor revisionDescriptor, NodeRevisionContent revisionContent) throws ServiceAccessException, RevisionNotFoundException { } public void removeRevisionContent(Uri uri, NodeRevisionDescriptor revisionDescriptor) throws ServiceAccessException { } i'm not that into the slide api stuff, but the method "retrieveRevisionContent" returns an default NodeRevisionContent, is this correct ? Frank - Original Message - From: "Oliver Zeigermann" <[EMAIL PROTECTED]> To: "Slide Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, June 24, 2004 2:58 PM Subject: Re: experiences with the LDAP Store Maybe it is because Slide tries to write content to the LDAP store? This does not implement content stuff properly, right? Oliver Frank Taffelt wrote: this didn't help Frank - Original Message - From: "Oliver Zeigermann" <[EMAIL PROTECTED]> To: "Slide Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, June 24, 2004 2:19 PM Subject: Re: experiences with the LDAP Store Looks different from what I expected, but this still can be the same problem. Please, try changing the constructor of SlideTokenWrapper to always set forceStoreEnlistment tp true as this effectively disables reads outside of transactions. If this does not help, there must be another problem... Oliver Frank Taffelt wrote: the relevant parts: 24 Jun 2004 14:04:33 - org.apache.slide.store.txjndi.JNDIPrincipalStore - INFO - Calling retrieveRevisionDescriptors(/users). 24 Jun 2004 14:04:33 - org.apache.slide.store.txjndi.JNDIPrincipalStore - INFO - Calling retrieveRevisionDescriptor(/users). 24 Jun 2004 14:04:33 - org.apache.slide.common.Domain - WARNING - Invalid object at : No content 24 Jun 2004 14:04:33 - org.apache.slide.common.Namespace - ERROR - Unable to read Namespace base configuration file : 24 Jun 2004 14:04:33 - org.apache.slide.common.Namespace - ERROR - org.apache.slide.common.ObjectValidationFailedException: Invalid object at : No content org.apache.slide.common.ObjectValidationFailedException: Invalid object at : No content at org.apache.slide.content.NodeRevisionContent.validate(NodeRevisionContent.ja va:299) at org.apache.slide.store.AbstractStore.retrieveRevisionContent(AbstractStore.j ava:1185) at org.apache.slide.store.ExtendedStore.retrieveRevisionContent(ExtendedStore.j ava:326) at org.apache.slide.content.ContentImpl.retrieve(ContentImpl.java:352) at org.apache.slide.common.XMLUnmarshaller.loadObjectRevision(XMLUnmarshaller.j ava:405) at org.apache.slide.common.XMLUnmarshaller.loadDefaultObjectRevision(XMLUnmarsh aller.java:331) at org.apache.slide.common.XMLUnmarshaller.loadObjectNode(XMLUnmarshaller.java: 261) at org.apache.slide.common.XMLUnmarshaller.loadObjectNode(XMLUnmarshaller.java: 295) at org.apache.slide.common.XMLUnmarshaller.unmarshal(XMLUnmarshaller.java:90) at org.apache.slide.common.NamespaceAccessTokenImpl.importData(NamespaceAccessT okenImpl.java:267) at org.apache.slide.common.Namespace.loadBaseData(Namespace.java:775) at org.apache.slide.common.Domain.initNamespace(Domain.java:814) at org.apache.slide.common.Domain.init(Domain.java:433) at org.apache.slide.common.Domain.selfInit(Domain.java:747) at org.apache.slide.common.Domain.accessNamespace(Domain.java:235) at de.ifbus.Test.main(Test.java:40) 24 Jun 2004 14:04:33 - org.apache.slide.common.Namespace - INFO - Loading namespace slide configuration uri = /actions/read aRootPath = C:\DOKUME~1\frank\LOKALE~1\Temp , uri = /actions/read 24 Jun 2004 14:04:33 - org.apache.slide.common.Domain - ERROR - org.apache.slide.structure.ObjectNotFoundException: No object found at /actions/read org.apache.slide.structure.ObjectNotFoundException: No object found at /actions/read at slidestore.file.AbstractUriProperties.retrieveObject(AbstractUriProperties.j ava:116) at org.apache.slide.store.txfile.TxXMLFileDescriptorsStore.retrieveObject(TxXML FileDescriptorsStore.java:79) at org.apache.slide.store.AbstractStore.retrieveObject(AbstractStore.java:498)
Re: experiences with the LDAP Store
LDAP store defines at line 565 the following methods: public NodeRevisionContent retrieveRevisionContent(Uri uri, NodeRevisionDescriptor revisionDescriptor) throws ServiceAccessException, RevisionNotFoundException { return new NodeRevisionContent(); } public void createRevisionContent( Uri uri, NodeRevisionDescriptor revisionDescriptor, NodeRevisionContent revisionContent) throws ServiceAccessException, RevisionAlreadyExistException { } public void storeRevisionContent( Uri uri, NodeRevisionDescriptor revisionDescriptor, NodeRevisionContent revisionContent) throws ServiceAccessException, RevisionNotFoundException { } public void removeRevisionContent(Uri uri, NodeRevisionDescriptor revisionDescriptor) throws ServiceAccessException { } i'm not that into the slide api stuff, but the method "retrieveRevisionContent" returns an default NodeRevisionContent, is this correct ? Frank - Original Message - From: "Oliver Zeigermann" <[EMAIL PROTECTED]> To: "Slide Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, June 24, 2004 2:58 PM Subject: Re: experiences with the LDAP Store > Maybe it is because Slide tries to write content to the LDAP store? This > does not implement content stuff properly, right? > > Oliver > > Frank Taffelt wrote: > > > this didn't help > > > > Frank > > - Original Message - > > From: "Oliver Zeigermann" <[EMAIL PROTECTED]> > > To: "Slide Users Mailing List" <[EMAIL PROTECTED]> > > Sent: Thursday, June 24, 2004 2:19 PM > > Subject: Re: experiences with the LDAP Store > > > > > > > >>Looks different from what I expected, but this still can be the same > >>problem. Please, try changing the constructor of SlideTokenWrapper to > >>always set forceStoreEnlistment tp true as this effectively disables > >>reads outside of transactions. If this does not help, there must be > >>another problem... > >> > >>Oliver > >> > >>Frank Taffelt wrote: > >> > >> > >>>the relevant parts: > >>> > >>>24 Jun 2004 14:04:33 - > > > > org.apache.slide.store.txjndi.JNDIPrincipalStore - > > > >>>INFO - Calling retrieveRevisionDescriptors(/users). > >>>24 Jun 2004 14:04:33 - > > > > org.apache.slide.store.txjndi.JNDIPrincipalStore - > > > >>>INFO - Calling retrieveRevisionDescriptor(/users). > >>>24 Jun 2004 14:04:33 - org.apache.slide.common.Domain - WARNING - > > > > Invalid > > > >>>object at : No content > >>>24 Jun 2004 14:04:33 - org.apache.slide.common.Namespace - ERROR - > > > > Unable to > > > >>>read Namespace base configuration file : > >>>24 Jun 2004 14:04:33 - org.apache.slide.common.Namespace - ERROR - > >>>org.apache.slide.common.ObjectValidationFailedException: Invalid object > > > > at > > > >>>: No content > >>>org.apache.slide.common.ObjectValidationFailedException: Invalid object > > > > at > > > >>>: No content > >>> at > >>> > > > > org.apache.slide.content.NodeRevisionContent.validate(NodeRevisionContent.ja > > > >>>va:299) > >>> at > >>> > > > > org.apache.slide.store.AbstractStore.retrieveRevisionContent(AbstractStore.j > > > >>>ava:1185) > >>> at > >>> > > > > org.apache.slide.store.ExtendedStore.retrieveRevisionContent(ExtendedStore.j > > > >>>ava:326) > >>> at org.apache.slide.content.ContentImpl.retrieve(ContentImpl.java:352) > >>> at > >>> > > > > org.apache.slide.common.XMLUnmarshaller.loadObjectRevision(XMLUnmarshaller.j > > > >>>ava:405) > >>> at > >>> > > > > org.apache.slide.common.XMLUnmarshaller.loadDefaultObjectRevision(XMLUnmarsh > > > >>>aller.java:331) > >>> at > >>> > > > > org.apache.slide.common.XMLUnmarshaller.loadObjectNode(XMLUnmarshaller.java: > > > >>>261) > >>> at > >>> > > > > org.apache.slide.common.XMLUnmarshaller.loadObjectNode(XMLUnmarshaller.java: > > > >>>295) > >>> at > >>> > > > > org.apache.slide.common.XMLUnmarshaller.unmarshal(XMLUnmarshaller.java:90) > > > >>> at > >>> > > > > org.apache.slide.common.NamespaceAccessTokenImpl.importData(NamespaceAccessT > > > >>>okenImpl.java:267) > >>> at org.apache.slide.common.Namespace.loadBaseData(Namespace.java:775) > >>> at org.apache.slide.common.Domain.initNamespace(Domain.java:814) > >>> at org.apache.slide.common.Domain.init(Domain.java:433) > >>> at org.apache.slide.common.Domain.selfInit(Domain.java:747) > >>> at org.apache.slide.common.Domain.accessNamespace(Domain.java:235) > >>> at de.ifbus.Test.main(Test.java:40) > >>>24 Jun 2004 14:04:33 - org.apache.slide.common.Namespace - INFO - > > > > Loading > > > >>>namespace slide configuration > >>>uri = /actions/read > >>>aRootPath = C:\DOKUME~1\frank\LOKALE~1\Temp , uri = /actions/read > >>>24 Jun 2004 14:04:33 - org.apache.slide.common.Domain - ERROR - > >>>org.apache.slide.structure.ObjectNotFoundException: No object found at > >>>/actions/read > >>>org.apache.slide.structure.ObjectNotFoundException: No object found at > >>>/actions/read > >>> at > >>> > > > > slidestore.file.AbstractUriProperties.retrieveObject(Abstrac
Re: experiences with the LDAP Store
Maybe it is because Slide tries to write content to the LDAP store? This does not implement content stuff properly, right? Oliver Frank Taffelt wrote: this didn't help Frank - Original Message - From: "Oliver Zeigermann" <[EMAIL PROTECTED]> To: "Slide Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, June 24, 2004 2:19 PM Subject: Re: experiences with the LDAP Store Looks different from what I expected, but this still can be the same problem. Please, try changing the constructor of SlideTokenWrapper to always set forceStoreEnlistment tp true as this effectively disables reads outside of transactions. If this does not help, there must be another problem... Oliver Frank Taffelt wrote: the relevant parts: 24 Jun 2004 14:04:33 - org.apache.slide.store.txjndi.JNDIPrincipalStore - INFO - Calling retrieveRevisionDescriptors(/users). 24 Jun 2004 14:04:33 - org.apache.slide.store.txjndi.JNDIPrincipalStore - INFO - Calling retrieveRevisionDescriptor(/users). 24 Jun 2004 14:04:33 - org.apache.slide.common.Domain - WARNING - Invalid object at : No content 24 Jun 2004 14:04:33 - org.apache.slide.common.Namespace - ERROR - Unable to read Namespace base configuration file : 24 Jun 2004 14:04:33 - org.apache.slide.common.Namespace - ERROR - org.apache.slide.common.ObjectValidationFailedException: Invalid object at : No content org.apache.slide.common.ObjectValidationFailedException: Invalid object at : No content at org.apache.slide.content.NodeRevisionContent.validate(NodeRevisionContent.ja va:299) at org.apache.slide.store.AbstractStore.retrieveRevisionContent(AbstractStore.j ava:1185) at org.apache.slide.store.ExtendedStore.retrieveRevisionContent(ExtendedStore.j ava:326) at org.apache.slide.content.ContentImpl.retrieve(ContentImpl.java:352) at org.apache.slide.common.XMLUnmarshaller.loadObjectRevision(XMLUnmarshaller.j ava:405) at org.apache.slide.common.XMLUnmarshaller.loadDefaultObjectRevision(XMLUnmarsh aller.java:331) at org.apache.slide.common.XMLUnmarshaller.loadObjectNode(XMLUnmarshaller.java: 261) at org.apache.slide.common.XMLUnmarshaller.loadObjectNode(XMLUnmarshaller.java: 295) at org.apache.slide.common.XMLUnmarshaller.unmarshal(XMLUnmarshaller.java:90) at org.apache.slide.common.NamespaceAccessTokenImpl.importData(NamespaceAccessT okenImpl.java:267) at org.apache.slide.common.Namespace.loadBaseData(Namespace.java:775) at org.apache.slide.common.Domain.initNamespace(Domain.java:814) at org.apache.slide.common.Domain.init(Domain.java:433) at org.apache.slide.common.Domain.selfInit(Domain.java:747) at org.apache.slide.common.Domain.accessNamespace(Domain.java:235) at de.ifbus.Test.main(Test.java:40) 24 Jun 2004 14:04:33 - org.apache.slide.common.Namespace - INFO - Loading namespace slide configuration uri = /actions/read aRootPath = C:\DOKUME~1\frank\LOKALE~1\Temp , uri = /actions/read 24 Jun 2004 14:04:33 - org.apache.slide.common.Domain - ERROR - org.apache.slide.structure.ObjectNotFoundException: No object found at /actions/read org.apache.slide.structure.ObjectNotFoundException: No object found at /actions/read at slidestore.file.AbstractUriProperties.retrieveObject(AbstractUriProperties.j ava:116) at org.apache.slide.store.txfile.TxXMLFileDescriptorsStore.retrieveObject(TxXML FileDescriptorsStore.java:79) at org.apache.slide.store.AbstractStore.retrieveObject(AbstractStore.java:498) at org.apache.slide.store.ExtendedStore.retrieveObject(ExtendedStore.java:408) at org.apache.slide.common.NamespaceConfig.getActionNode(NamespaceConfig.java:1 059) at org.apache.slide.common.NamespaceConfig.getConfiguredNode(NamespaceConfig.ja va:806) at org.apache.slide.common.NamespaceConfig.initializeNamespaceConfig(NamespaceC onfig.java:676) at org.apache.slide.common.Namespace.loadConfiguration(Namespace.java:836) at org.apache.slide.common.Domain.initNamespace(Domain.java:819) at org.apache.slide.common.Domain.init(Domain.java:433) at org.apache.slide.common.Domain.selfInit(Domain.java:747) at org.apache.slide.common.Domain.accessNamespace(Domain.java:235) at de.ifbus.Test.main(Test.java:40) 24 Jun 2004 14:04:33 - org.apache.slide.common.Domain - INFO - Domain initialization complete get Paramter : acl_semantics java.lang.NullPointerException at org.apache.slide.common.NamespaceConfig.getParameter(NamespaceConfig.java:57 0) at org.apache.slide.common.NamespaceAccessTokenImpl.(NamespaceAccessToken Impl.java:83) at org.apache.slide.common.Domain.accessNamespace(Domain.java:244) at de.ifbus.Test.main(Test.java:40) Exception in thread "main" the line Number's may slightly differ from the slide 2.0 ones, because i inserted some debug statements into the code to track down the problem. - Original Message - From: "Oliver Zeigermann" <[EMAIL PROTECTED]> To: "Slide Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, June 24, 2004 1:58 PM Subject: Re: experiences with the LDAP Store Could you provide the full stack trace, please? It might be the same problem - security stuff is checked outside o
Re: experiences with the LDAP Store
this didn't help Frank - Original Message - From: "Oliver Zeigermann" <[EMAIL PROTECTED]> To: "Slide Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, June 24, 2004 2:19 PM Subject: Re: experiences with the LDAP Store > Looks different from what I expected, but this still can be the same > problem. Please, try changing the constructor of SlideTokenWrapper to > always set forceStoreEnlistment tp true as this effectively disables > reads outside of transactions. If this does not help, there must be > another problem... > > Oliver > > Frank Taffelt wrote: > > > the relevant parts: > > > > 24 Jun 2004 14:04:33 - org.apache.slide.store.txjndi.JNDIPrincipalStore - > > INFO - Calling retrieveRevisionDescriptors(/users). > > 24 Jun 2004 14:04:33 - org.apache.slide.store.txjndi.JNDIPrincipalStore - > > INFO - Calling retrieveRevisionDescriptor(/users). > > 24 Jun 2004 14:04:33 - org.apache.slide.common.Domain - WARNING - Invalid > > object at : No content > > 24 Jun 2004 14:04:33 - org.apache.slide.common.Namespace - ERROR - Unable to > > read Namespace base configuration file : > > 24 Jun 2004 14:04:33 - org.apache.slide.common.Namespace - ERROR - > > org.apache.slide.common.ObjectValidationFailedException: Invalid object at > > : No content > > org.apache.slide.common.ObjectValidationFailedException: Invalid object at > > : No content > > at > > org.apache.slide.content.NodeRevisionContent.validate(NodeRevisionContent.ja > > va:299) > > at > > org.apache.slide.store.AbstractStore.retrieveRevisionContent(AbstractStore.j > > ava:1185) > > at > > org.apache.slide.store.ExtendedStore.retrieveRevisionContent(ExtendedStore.j > > ava:326) > > at org.apache.slide.content.ContentImpl.retrieve(ContentImpl.java:352) > > at > > org.apache.slide.common.XMLUnmarshaller.loadObjectRevision(XMLUnmarshaller.j > > ava:405) > > at > > org.apache.slide.common.XMLUnmarshaller.loadDefaultObjectRevision(XMLUnmarsh > > aller.java:331) > > at > > org.apache.slide.common.XMLUnmarshaller.loadObjectNode(XMLUnmarshaller.java: > > 261) > > at > > org.apache.slide.common.XMLUnmarshaller.loadObjectNode(XMLUnmarshaller.java: > > 295) > > at > > org.apache.slide.common.XMLUnmarshaller.unmarshal(XMLUnmarshaller.java:90) > > at > > org.apache.slide.common.NamespaceAccessTokenImpl.importData(NamespaceAccessT > > okenImpl.java:267) > > at org.apache.slide.common.Namespace.loadBaseData(Namespace.java:775) > > at org.apache.slide.common.Domain.initNamespace(Domain.java:814) > > at org.apache.slide.common.Domain.init(Domain.java:433) > > at org.apache.slide.common.Domain.selfInit(Domain.java:747) > > at org.apache.slide.common.Domain.accessNamespace(Domain.java:235) > > at de.ifbus.Test.main(Test.java:40) > > 24 Jun 2004 14:04:33 - org.apache.slide.common.Namespace - INFO - Loading > > namespace slide configuration > > uri = /actions/read > > aRootPath = C:\DOKUME~1\frank\LOKALE~1\Temp , uri = /actions/read > > 24 Jun 2004 14:04:33 - org.apache.slide.common.Domain - ERROR - > > org.apache.slide.structure.ObjectNotFoundException: No object found at > > /actions/read > > org.apache.slide.structure.ObjectNotFoundException: No object found at > > /actions/read > > at > > slidestore.file.AbstractUriProperties.retrieveObject(AbstractUriProperties.j > > ava:116) > > at > > org.apache.slide.store.txfile.TxXMLFileDescriptorsStore.retrieveObject(TxXML > > FileDescriptorsStore.java:79) > > at > > org.apache.slide.store.AbstractStore.retrieveObject(AbstractStore.java:498) > > at > > org.apache.slide.store.ExtendedStore.retrieveObject(ExtendedStore.java:408) > > at > > org.apache.slide.common.NamespaceConfig.getActionNode(NamespaceConfig.java:1 > > 059) > > at > > org.apache.slide.common.NamespaceConfig.getConfiguredNode(NamespaceConfig.ja > > va:806) > > at > > org.apache.slide.common.NamespaceConfig.initializeNamespaceConfig(NamespaceC > > onfig.java:676) > > at org.apache.slide.common.Namespace.loadConfiguration(Namespace.java:836) > > at org.apache.slide.common.Domain.initNamespace(Domain.java:819) > > at org.apache.slide.common.Domain.init(Domain.java:433) > > at org.apache.slide.common.Domain.selfInit(Domain.java:747) > > at org.apache.slide.common.Domain.accessNamespace(Domain.java:235) > > at de.ifbus.Test.main(Test.java:40) > > 24 Jun 2004 14:04:33 - org.apache.slide.common.Domain - INFO - Domain > > initialization complete > > get Paramter : acl_semantics > > java.lang.NullPointerException > > at > > org.apache.slide.common.NamespaceConfig.getParameter(NamespaceConfig.java:57 > > 0) > > at > > org.apache.slide.common.NamespaceAccessTokenImpl.(NamespaceAccessToken > > Impl.java:83) > > at org.apache.slide.common.Domain.accessNamespace(Domain.java:244) > > at de.ifbus.Test.main(Test.java:40) > > Exception in thread "main" > > > > the line Number's may slightly differ from the slide 2.0 ones, because i > > inserted some debug statements into the code to track down the problem. > > > > > > > > - Original Me
Re: experiences with the LDAP Store
Looks different from what I expected, but this still can be the same problem. Please, try changing the constructor of SlideTokenWrapper to always set forceStoreEnlistment tp true as this effectively disables reads outside of transactions. If this does not help, there must be another problem... Oliver Frank Taffelt wrote: the relevant parts: 24 Jun 2004 14:04:33 - org.apache.slide.store.txjndi.JNDIPrincipalStore - INFO - Calling retrieveRevisionDescriptors(/users). 24 Jun 2004 14:04:33 - org.apache.slide.store.txjndi.JNDIPrincipalStore - INFO - Calling retrieveRevisionDescriptor(/users). 24 Jun 2004 14:04:33 - org.apache.slide.common.Domain - WARNING - Invalid object at : No content 24 Jun 2004 14:04:33 - org.apache.slide.common.Namespace - ERROR - Unable to read Namespace base configuration file : 24 Jun 2004 14:04:33 - org.apache.slide.common.Namespace - ERROR - org.apache.slide.common.ObjectValidationFailedException: Invalid object at : No content org.apache.slide.common.ObjectValidationFailedException: Invalid object at : No content at org.apache.slide.content.NodeRevisionContent.validate(NodeRevisionContent.ja va:299) at org.apache.slide.store.AbstractStore.retrieveRevisionContent(AbstractStore.j ava:1185) at org.apache.slide.store.ExtendedStore.retrieveRevisionContent(ExtendedStore.j ava:326) at org.apache.slide.content.ContentImpl.retrieve(ContentImpl.java:352) at org.apache.slide.common.XMLUnmarshaller.loadObjectRevision(XMLUnmarshaller.j ava:405) at org.apache.slide.common.XMLUnmarshaller.loadDefaultObjectRevision(XMLUnmarsh aller.java:331) at org.apache.slide.common.XMLUnmarshaller.loadObjectNode(XMLUnmarshaller.java: 261) at org.apache.slide.common.XMLUnmarshaller.loadObjectNode(XMLUnmarshaller.java: 295) at org.apache.slide.common.XMLUnmarshaller.unmarshal(XMLUnmarshaller.java:90) at org.apache.slide.common.NamespaceAccessTokenImpl.importData(NamespaceAccessT okenImpl.java:267) at org.apache.slide.common.Namespace.loadBaseData(Namespace.java:775) at org.apache.slide.common.Domain.initNamespace(Domain.java:814) at org.apache.slide.common.Domain.init(Domain.java:433) at org.apache.slide.common.Domain.selfInit(Domain.java:747) at org.apache.slide.common.Domain.accessNamespace(Domain.java:235) at de.ifbus.Test.main(Test.java:40) 24 Jun 2004 14:04:33 - org.apache.slide.common.Namespace - INFO - Loading namespace slide configuration uri = /actions/read aRootPath = C:\DOKUME~1\frank\LOKALE~1\Temp , uri = /actions/read 24 Jun 2004 14:04:33 - org.apache.slide.common.Domain - ERROR - org.apache.slide.structure.ObjectNotFoundException: No object found at /actions/read org.apache.slide.structure.ObjectNotFoundException: No object found at /actions/read at slidestore.file.AbstractUriProperties.retrieveObject(AbstractUriProperties.j ava:116) at org.apache.slide.store.txfile.TxXMLFileDescriptorsStore.retrieveObject(TxXML FileDescriptorsStore.java:79) at org.apache.slide.store.AbstractStore.retrieveObject(AbstractStore.java:498) at org.apache.slide.store.ExtendedStore.retrieveObject(ExtendedStore.java:408) at org.apache.slide.common.NamespaceConfig.getActionNode(NamespaceConfig.java:1 059) at org.apache.slide.common.NamespaceConfig.getConfiguredNode(NamespaceConfig.ja va:806) at org.apache.slide.common.NamespaceConfig.initializeNamespaceConfig(NamespaceC onfig.java:676) at org.apache.slide.common.Namespace.loadConfiguration(Namespace.java:836) at org.apache.slide.common.Domain.initNamespace(Domain.java:819) at org.apache.slide.common.Domain.init(Domain.java:433) at org.apache.slide.common.Domain.selfInit(Domain.java:747) at org.apache.slide.common.Domain.accessNamespace(Domain.java:235) at de.ifbus.Test.main(Test.java:40) 24 Jun 2004 14:04:33 - org.apache.slide.common.Domain - INFO - Domain initialization complete get Paramter : acl_semantics java.lang.NullPointerException at org.apache.slide.common.NamespaceConfig.getParameter(NamespaceConfig.java:57 0) at org.apache.slide.common.NamespaceAccessTokenImpl.(NamespaceAccessToken Impl.java:83) at org.apache.slide.common.Domain.accessNamespace(Domain.java:244) at de.ifbus.Test.main(Test.java:40) Exception in thread "main" the line Number's may slightly differ from the slide 2.0 ones, because i inserted some debug statements into the code to track down the problem. - Original Message - From: "Oliver Zeigermann" <[EMAIL PROTECTED]> To: "Slide Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, June 24, 2004 1:58 PM Subject: Re: experiences with the LDAP Store Could you provide the full stack trace, please? It might be the same problem - security stuff is checked outside of transactions - I had the other day. Oliver Frank Taffelt wrote: Hi, i have some questions after experimenting with the ldap store in the last days: here's a short description of what i tried with slide - 2.0 : * got a clean Slide (means no stores and work directory) and changed only domain.xml to JNDI Domain.xml starting up slide and got the fol
Re: HowTo - HSQLDB store ?
Thanks for the advice. Do you know a fairly good RDBMS written in Java ? We are actually thinking of a 'full-Java' solution for our product, that's why we used HSQL DB. Regards JB Oliver Zeigermann wrote: As indicated by the exceptions you do not seem to have access to the tables. Grant them and try again. OT: I *personally* disourage the use of HSQL DB as it does not feature decent isolation of transactions. Even dirty writes are possible... this is less than read uncommitted ... Oliver - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: experiences with the LDAP Store
the relevant parts: 24 Jun 2004 14:04:33 - org.apache.slide.store.txjndi.JNDIPrincipalStore - INFO - Calling retrieveRevisionDescriptors(/users). 24 Jun 2004 14:04:33 - org.apache.slide.store.txjndi.JNDIPrincipalStore - INFO - Calling retrieveRevisionDescriptor(/users). 24 Jun 2004 14:04:33 - org.apache.slide.common.Domain - WARNING - Invalid object at : No content 24 Jun 2004 14:04:33 - org.apache.slide.common.Namespace - ERROR - Unable to read Namespace base configuration file : 24 Jun 2004 14:04:33 - org.apache.slide.common.Namespace - ERROR - org.apache.slide.common.ObjectValidationFailedException: Invalid object at : No content org.apache.slide.common.ObjectValidationFailedException: Invalid object at : No content at org.apache.slide.content.NodeRevisionContent.validate(NodeRevisionContent.ja va:299) at org.apache.slide.store.AbstractStore.retrieveRevisionContent(AbstractStore.j ava:1185) at org.apache.slide.store.ExtendedStore.retrieveRevisionContent(ExtendedStore.j ava:326) at org.apache.slide.content.ContentImpl.retrieve(ContentImpl.java:352) at org.apache.slide.common.XMLUnmarshaller.loadObjectRevision(XMLUnmarshaller.j ava:405) at org.apache.slide.common.XMLUnmarshaller.loadDefaultObjectRevision(XMLUnmarsh aller.java:331) at org.apache.slide.common.XMLUnmarshaller.loadObjectNode(XMLUnmarshaller.java: 261) at org.apache.slide.common.XMLUnmarshaller.loadObjectNode(XMLUnmarshaller.java: 295) at org.apache.slide.common.XMLUnmarshaller.unmarshal(XMLUnmarshaller.java:90) at org.apache.slide.common.NamespaceAccessTokenImpl.importData(NamespaceAccessT okenImpl.java:267) at org.apache.slide.common.Namespace.loadBaseData(Namespace.java:775) at org.apache.slide.common.Domain.initNamespace(Domain.java:814) at org.apache.slide.common.Domain.init(Domain.java:433) at org.apache.slide.common.Domain.selfInit(Domain.java:747) at org.apache.slide.common.Domain.accessNamespace(Domain.java:235) at de.ifbus.Test.main(Test.java:40) 24 Jun 2004 14:04:33 - org.apache.slide.common.Namespace - INFO - Loading namespace slide configuration uri = /actions/read aRootPath = C:\DOKUME~1\frank\LOKALE~1\Temp , uri = /actions/read 24 Jun 2004 14:04:33 - org.apache.slide.common.Domain - ERROR - org.apache.slide.structure.ObjectNotFoundException: No object found at /actions/read org.apache.slide.structure.ObjectNotFoundException: No object found at /actions/read at slidestore.file.AbstractUriProperties.retrieveObject(AbstractUriProperties.j ava:116) at org.apache.slide.store.txfile.TxXMLFileDescriptorsStore.retrieveObject(TxXML FileDescriptorsStore.java:79) at org.apache.slide.store.AbstractStore.retrieveObject(AbstractStore.java:498) at org.apache.slide.store.ExtendedStore.retrieveObject(ExtendedStore.java:408) at org.apache.slide.common.NamespaceConfig.getActionNode(NamespaceConfig.java:1 059) at org.apache.slide.common.NamespaceConfig.getConfiguredNode(NamespaceConfig.ja va:806) at org.apache.slide.common.NamespaceConfig.initializeNamespaceConfig(NamespaceC onfig.java:676) at org.apache.slide.common.Namespace.loadConfiguration(Namespace.java:836) at org.apache.slide.common.Domain.initNamespace(Domain.java:819) at org.apache.slide.common.Domain.init(Domain.java:433) at org.apache.slide.common.Domain.selfInit(Domain.java:747) at org.apache.slide.common.Domain.accessNamespace(Domain.java:235) at de.ifbus.Test.main(Test.java:40) 24 Jun 2004 14:04:33 - org.apache.slide.common.Domain - INFO - Domain initialization complete get Paramter : acl_semantics java.lang.NullPointerException at org.apache.slide.common.NamespaceConfig.getParameter(NamespaceConfig.java:57 0) at org.apache.slide.common.NamespaceAccessTokenImpl.(NamespaceAccessToken Impl.java:83) at org.apache.slide.common.Domain.accessNamespace(Domain.java:244) at de.ifbus.Test.main(Test.java:40) Exception in thread "main" the line Number's may slightly differ from the slide 2.0 ones, because i inserted some debug statements into the code to track down the problem. - Original Message - From: "Oliver Zeigermann" <[EMAIL PROTECTED]> To: "Slide Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, June 24, 2004 1:58 PM Subject: Re: experiences with the LDAP Store > Could you provide the full stack trace, please? It might be the same > problem - security stuff is checked outside of transactions - I had the > other day. > > Oliver > > Frank Taffelt wrote: > > > Hi, > > > > i have some questions after experimenting with the ldap store in the last > > days: > > > > here's a short description of what i tried with slide - 2.0 : > > > > * got a clean Slide (means no stores and work directory) and changed only > > domain.xml to JNDI Domain.xml starting up slide and got the following > > exception: > > > > ... > > 24 Jun 2004 13:08:24 - org.apache.slide.common.Domain - ERROR - > > org.apache.slide.structure.ObjectNotFoundException: No object found at > > /actions/read > > ... > > > > * i'm pretty sure that my jndidomain.xml is correct !! > > >
Re: experiences with the LDAP Store
Could you provide the full stack trace, please? It might be the same problem - security stuff is checked outside of transactions - I had the other day. Oliver Frank Taffelt wrote: Hi, i have some questions after experimenting with the ldap store in the last days: here's a short description of what i tried with slide - 2.0 : * got a clean Slide (means no stores and work directory) and changed only domain.xml to JNDI Domain.xml starting up slide and got the following exception: ... 24 Jun 2004 13:08:24 - org.apache.slide.common.Domain - ERROR - org.apache.slide.structure.ObjectNotFoundException: No object found at /actions/read ... * i'm pretty sure that my jndidomain.xml is correct !! * i modified domain.xml with 2 wrong ldap url's for /users and /roles * starting up slide again with the wrong ldap config (got some exceptions about the wrong ldap url but slide is initializing completely !!) * shutting down slide * correcting the wrong ldap urls's starting slide again * now i can work with the ldap store and retrieve the users tree ;-) it seems that there is something funny running the ldap store the first time ??? any ideas ? thanks, Frank - 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]
experiences with the LDAP Store
Hi, i have some questions after experimenting with the ldap store in the last days: here's a short description of what i tried with slide - 2.0 : * got a clean Slide (means no stores and work directory) and changed only domain.xml to JNDI Domain.xml starting up slide and got the following exception: ... 24 Jun 2004 13:08:24 - org.apache.slide.common.Domain - ERROR - org.apache.slide.structure.ObjectNotFoundException: No object found at /actions/read ... * i'm pretty sure that my jndidomain.xml is correct !! * i modified domain.xml with 2 wrong ldap url's for /users and /roles * starting up slide again with the wrong ldap config (got some exceptions about the wrong ldap url but slide is initializing completely !!) * shutting down slide * correcting the wrong ldap urls's starting slide again * now i can work with the ldap store and retrieve the users tree ;-) it seems that there is something funny running the ldap store the first time ??? any ideas ? thanks, Frank - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: HowTo - HSQLDB store ?
As indicated by the exceptions you do not seem to have access to the tables. Grant them and try again. OT: I *personally* disourage the use of HSQL DB as it does not feature decent isolation of transactions. Even dirty writes are possible... this is less than read uncommitted ... Oliver Jean-Baptiste Lièvremont wrote: Hi there, I'm using the Slide 2.0 / Tomcat 5.0.19 bundle. I have the following configuration for my store in Domain.xml: org.apache.slide.store.impl.rdbms.StandardRDBMSAdapter org.hsqldb.jdbcDriver jdbc:hsqldb:hsql://melanie:2901 tomcat catalina As I launch tomcat, I have the following trace. What are the correct configuration options to use HSQLDB stores ? Thanks in advance :) Using CATALINA_BASE: /Users/lievremont/.prefix/share/slide/jakarta-slide-2.0-tomcat-5.0.19-1 Using CATALINA_HOME: /Users/lievremont/.prefix/share/slide/jakarta-slide-2.0-tomcat-5.0.19-1 Using CATALINA_TMPDIR: /Users/lievremont/.prefix/share/slide/jakarta-slide-2.0-tomcat-5.0.19-1/temp Using JAVA_HOME: /Users/lievremont/.prefix/share/j2sdk1.4.2_04 24 juin 2004 12:11:54 org.apache.coyote.http11.Http11Protocol init INFO: Initialisation de Coyote HTTP/1.1 sur le port 8080 24 juin 2004 12:11:54 org.apache.catalina.startup.Catalina load INFO: Initialization processed in 1274 ms 24 juin 2004 12:11:54 org.apache.catalina.core.StandardService start INFO: Démarrage du service Catalina 24 juin 2004 12:11:54 org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/5.0.19 24 Jun 2004 12:11:54 - org.apache.slide.common.Domain - INFO - Auto-Initializing Domain 24 Jun 2004 12:11:54 - org.apache.slide.common.Domain - INFO - Domain configuration : {org.apache.slide.lock=true, org.apache.slide.versioncontrol=true, org.apache.slide.debug=false, org.apache.slide.search=true, org.apache.slide.security=true, org.apache.slide.urlEncoding=UTF-8, org.apache.slide.domain=../slide/Domain.xml} 24 Jun 2004 12:11:55 - org.apache.slide.common.Domain - INFO - Initializing Domain 24 Jun 2004 12:11:55 - org.apache.slide.common.Domain - INFO - Domain configuration : {org.apache.slide.lock=true, org.apache.slide.versioncontrol=true, org.apache.slide.debug=false, org.apache.slide.search=true, org.apache.slide.security=true, org.apache.slide.urlEncoding=UTF-8, org.apache.slide.domain=../slide/Domain.xml} 24 Jun 2004 12:11:55 - org.apache.slide.common.Domain - INFO - Domain parameters: {logger-level=6, versioncontrol-exclude=, auto-version=checkout-checkin, historypath=/history, checkin-fork=forbidden, workingresourcepath=/workingresource, workspacepath=/workspace, default=slide, auto-version-control=false, logger=org.apache.slide.util.logger.SimpleLogger, checkout-fork=forbidden} 24 Jun 2004 12:11:55 - org.apache.slide.common.Domain - INFO - Initializing namespace : slide 24 Jun 2004 12:11:55 - org.apache.slide.common.Namespace - INFO - Loading namespace slide parameters 24 Jun 2004 12:11:55 - org.apache.slide.common.Namespace - INFO - Loading namespace definition 24 Jun 2004 12:11:55 - org.apache.slide.common.Namespace - INFO - Node store: org.apache.slide.store.impl.rdbms.JDBCStore 24 Jun 2004 12:11:55 - org.apache.slide.store.impl.rdbms.JDBCStore - INFO - Loading and registering driver 'org.hsqldb.jdbcDriver' 24 Jun 2004 12:11:55 - org.apache.slide.store.impl.rdbms.JDBCStore - INFO - Setting isolation level 'READ_COMMITTED' 24 Jun 2004 12:11:55 - org.apache.slide.store.impl.rdbms.JDBCStore - WARNING - Not using DBCP pooling 24 Jun 2004 12:11:55 - org.apache.slide.common.Namespace - INFO - Security store references nodestore 24 Jun 2004 12:11:55 - org.apache.slide.common.Namespace - INFO - Lock store store references nodestore 24 Jun 2004 12:11:55 - org.apache.slide.common.Namespace - INFO - Revision descriptors store references nodestore 24 Jun 2004 12:11:55 - org.apache.slide.common.Namespace - INFO - Revision descriptor store references nodestore 24 Jun 2004 12:11:55 - org.apache.slide.common.Namespace - INFO - Content store references nodestore 24 Jun 2004 12:11:55 - org.apache.slide.common.Namespace - INFO - Node store: org.apache.slide.store.impl.rdbms.JDBCStore 24 Jun 2004 12:11:55 - org.apache.slide.store.impl.rdbms.JDBCStore - INFO - Loading and registering driver 'org.hsqldb.jdbcDriver' 24 Jun 2004 12:11:55 - org.apache.slide.store.impl.rdbms.JDBCStore - INFO - Setting isolation level 'READ_COMMITTED' 24 Jun 2004 12:11:55 - org.apache.slide.store.impl.rdbms.JDBCStore - WARNING - Not using DBCP pooling 24 Jun 2004 12:11:55 - org.apache.slide.common.Namespace - INFO - Security store references nodestore 24 Jun 2004 12:11:55 - org.apache.slide.common.Namespace - INFO - Lock store store references nodestore 24 Jun 2004 12:11:55 - org.apache.slide.common.Namespace - INFO - Revision descriptors store references nodestore 24 Jun 2004 12:11:55 - org.apache.slide.common.Namespace - INFO - Revision
HowTo - HSQLDB store ?
Hi there, I'm using the Slide 2.0 / Tomcat 5.0.19 bundle. I have the following configuration for my store in Domain.xml: org.apache.slide.store.impl.rdbms.StandardRDBMSAdapter org.hsqldb.jdbcDriver jdbc:hsqldb:hsql://melanie:2901 tomcat catalina As I launch tomcat, I have the following trace. What are the correct configuration options to use HSQLDB stores ? Thanks in advance :) Using CATALINA_BASE: /Users/lievremont/.prefix/share/slide/jakarta-slide-2.0-tomcat-5.0.19-1 Using CATALINA_HOME: /Users/lievremont/.prefix/share/slide/jakarta-slide-2.0-tomcat-5.0.19-1 Using CATALINA_TMPDIR: /Users/lievremont/.prefix/share/slide/jakarta-slide-2.0-tomcat-5.0.19-1/temp Using JAVA_HOME: /Users/lievremont/.prefix/share/j2sdk1.4.2_04 24 juin 2004 12:11:54 org.apache.coyote.http11.Http11Protocol init INFO: Initialisation de Coyote HTTP/1.1 sur le port 8080 24 juin 2004 12:11:54 org.apache.catalina.startup.Catalina load INFO: Initialization processed in 1274 ms 24 juin 2004 12:11:54 org.apache.catalina.core.StandardService start INFO: Démarrage du service Catalina 24 juin 2004 12:11:54 org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/5.0.19 24 Jun 2004 12:11:54 - org.apache.slide.common.Domain - INFO - Auto-Initializing Domain 24 Jun 2004 12:11:54 - org.apache.slide.common.Domain - INFO - Domain configuration : {org.apache.slide.lock=true, org.apache.slide.versioncontrol=true, org.apache.slide.debug=false, org.apache.slide.search=true, org.apache.slide.security=true, org.apache.slide.urlEncoding=UTF-8, org.apache.slide.domain=../slide/Domain.xml} 24 Jun 2004 12:11:55 - org.apache.slide.common.Domain - INFO - Initializing Domain 24 Jun 2004 12:11:55 - org.apache.slide.common.Domain - INFO - Domain configuration : {org.apache.slide.lock=true, org.apache.slide.versioncontrol=true, org.apache.slide.debug=false, org.apache.slide.search=true, org.apache.slide.security=true, org.apache.slide.urlEncoding=UTF-8, org.apache.slide.domain=../slide/Domain.xml} 24 Jun 2004 12:11:55 - org.apache.slide.common.Domain - INFO - Domain parameters: {logger-level=6, versioncontrol-exclude=, auto-version=checkout-checkin, historypath=/history, checkin-fork=forbidden, workingresourcepath=/workingresource, workspacepath=/workspace, default=slide, auto-version-control=false, logger=org.apache.slide.util.logger.SimpleLogger, checkout-fork=forbidden} 24 Jun 2004 12:11:55 - org.apache.slide.common.Domain - INFO - Initializing namespace : slide 24 Jun 2004 12:11:55 - org.apache.slide.common.Namespace - INFO - Loading namespace slide parameters 24 Jun 2004 12:11:55 - org.apache.slide.common.Namespace - INFO - Loading namespace definition 24 Jun 2004 12:11:55 - org.apache.slide.common.Namespace - INFO - Node store: org.apache.slide.store.impl.rdbms.JDBCStore 24 Jun 2004 12:11:55 - org.apache.slide.store.impl.rdbms.JDBCStore - INFO - Loading and registering driver 'org.hsqldb.jdbcDriver' 24 Jun 2004 12:11:55 - org.apache.slide.store.impl.rdbms.JDBCStore - INFO - Setting isolation level 'READ_COMMITTED' 24 Jun 2004 12:11:55 - org.apache.slide.store.impl.rdbms.JDBCStore - WARNING - Not using DBCP pooling 24 Jun 2004 12:11:55 - org.apache.slide.common.Namespace - INFO - Security store references nodestore 24 Jun 2004 12:11:55 - org.apache.slide.common.Namespace - INFO - Lock store store references nodestore 24 Jun 2004 12:11:55 - org.apache.slide.common.Namespace - INFO - Revision descriptors store references nodestore 24 Jun 2004 12:11:55 - org.apache.slide.common.Namespace - INFO - Revision descriptor store references nodestore 24 Jun 2004 12:11:55 - org.apache.slide.common.Namespace - INFO - Content store references nodestore 24 Jun 2004 12:11:55 - org.apache.slide.common.Namespace - INFO - Node store: org.apache.slide.store.impl.rdbms.JDBCStore 24 Jun 2004 12:11:55 - org.apache.slide.store.impl.rdbms.JDBCStore - INFO - Loading and registering driver 'org.hsqldb.jdbcDriver' 24 Jun 2004 12:11:55 - org.apache.slide.store.impl.rdbms.JDBCStore - INFO - Setting isolation level 'READ_COMMITTED' 24 Jun 2004 12:11:55 - org.apache.slide.store.impl.rdbms.JDBCStore - WARNING - Not using DBCP pooling 24 Jun 2004 12:11:55 - org.apache.slide.common.Namespace - INFO - Security store references nodestore 24 Jun 2004 12:11:55 - org.apache.slide.common.Namespace - INFO - Lock store store references nodestore 24 Jun 2004 12:11:55 - org.apache.slide.common.Namespace - INFO - Revision descriptors store references nodestore 24 Jun 2004 12:11:55 - org.apache.slide.common.Namespace - INFO - Revision descriptor store references nodestore 24 Jun 2004 12:11:55 - org.apache.slide.common.Namespace - INFO - Content store references nodestore 24 Jun 2004 12:11:55 - INFO - Setting object cache size for store MelanieHSQL to 1 24 Jun 2004 12:11:55 - org.apache.slide.store.ExtendedStore - INFO - Setting permission cache size