Ray Sprinkle | 1 Sep 14:38
Gravatar

RE: Problem with SimpleFileStore

Has anyone checked to see if this is a problem in head and if it is,
submitted a patch? 

-----Original Message-----
From: Michael Perkonigg [mailto:michael.perkonigg <at> liland.at] 
Sent: Wednesday, August 31, 2005 12:48 PM
To: Slide Users Mailing List
Subject: Re: Problem with SimpleFileStore

Michael Perkonigg wrote:

>Hello,
>
>I am using a SimpleFileStore for my logs but if I create a file and 
>have a look at it with i.e. DAV Explorer it seems that slide thinks it 
>is a directory (or collection, spoken in slide terms).
>It shows some size on it though, but if I try to read it like a file 
>slide hiccups with some error.
>'Item License.txt found. But it is not a file.'
>This happens if I try to read a file but get a directory instead.
>
>If anyone has a suggestion what to try, I would be very happy.
>
>Thanks,
>Mike
>  
>
And I found the problem to this also.
It seems that the SimpleFileStore sets the resourcetype property to
"<collection/>" if it is a directory but does nothing if it is a file.
(Continue reading)

Kjetil Paulsen | 2 Sep 09:52
Picon
Gravatar

Opening a document as an webdav resource

Hi

I'm new to this list and haven't found any way to search the
mail-arhcives so if this question is asked before I'm sorry :)

What I'm wondering is if there any way to indicate in a url that a
document should be opened as a webdav resource?

Say if you are browsing a web page that lists out articles, one of the
properties of that article are a link to an attached word document,
can you then in some way have the document opened as an editable
webdav resource so that the document opens in word and the user is
able to store the document right back to the server trough webdav,
instead of the browser just downloading it as it does normally??

regards,
Kjetil

--

-- 
-Many secrets of art and nature are thought by the unlearned to be magical-
guillaume.bailleul | 2 Sep 18:07
Picon
Favicon

Lock problem, what's wrong in my use


I use the standart stores (TxXMLFileDescriptorsStore,TxFileContentStore).

I use webdavclient in command line.

The target file already exists and is versioned.
The auto-version configuration value is true.

With 2 clients connected I do:
- "cd <mycollection>" on each client
- "begin" on each client
- "put <myfile>" on each client .At this level, the second client is waiting
something
- "commit" on the first client. This client also stay waiting after that command

After a moment, the first client transaction is failed.
The second client put failed because of a conflict (that's OK) and I can
rollback the transaction.

What is wrong in my exemple ?

please help: java.net.SocketTimeoutException: Read timed out

Hi all,

I have the 2.1 slide.war deployed on BEA Weblogic 8.1 SP3. I have
written a WebDAV client and I am getting the following error after a PUT
method with a stream and then a PROPPATCH method.

stinky, PUT, 201 "Created", 731 ms,
/files/FolderGeneratedByUnitTests/FileUsedBy
UnitTests1.txt
java.net.SocketTimeoutException: Read timed out
        at java.net.AbstractSocketImpl$1.read(II)I(Unknown Source)
        at jrockit.io.NativeIOInputStream.read(I[BI)I(Unknown Source)
        at jrockit.io.NativeIOInputStream.read([BII)I(Unknown Source)
        at
weblogic.servlet.internal.PostInputStream.read()I(PostInputStream.jav
a:136)
        at
weblogic.servlet.internal.PostInputStream.read([BII)I(PostInputStream
.java:156)
        at
weblogic.servlet.internal.ServletInputStreamImpl.read([BII)I(ServletI
nputStreamImpl.java:180)
        at
weblogic.apache.xerces.impl.XMLEntityManager$RewindableInputStream.re
ad([BII)I(XMLEntityManager.java:3426)
        at
weblogic.apache.xerces.impl.io.UTF8Reader.read([CII)I(UTF8Reader.java
:327)
        at
weblogic.apache.xerces.impl.XMLEntityManager$EntityScanner.load(IZ)Z(
(Continue reading)

Guillaume Bailleul | 2 Sep 20:16
Picon
Favicon

lock on transaction, what's wrong in my use ?

I use default stores (TxXMLFileDescriptorsStore and TxFileContentStore).
The auto-version is activated.
I use commandline client.

To make my lock, I need to clients, I do :
- "cd <mycollection>" on the 2 clients
- "begin" on the 2 clients
- "put <myfile>" on the 2 clients
The second client is blocked
- "commit" on the first client
The first client is now also blockedt

After a moment
The first client transaction fails
The second client "put" fails, the transaction can be aborted

So ? What's wrong in my transaction usage.

Thanks for your help
Best Regards
Guillaume
Kevin.Bombardier | 3 Sep 00:35
Picon
Favicon

logging

Where do you turn logging off or down to nothing in slide?

I see the slide.properties org.apache.slide.debug=false
In the log4j.properties I have log4j.rootCategory=ERROR,stdout,R

and I still get lots and lots of messages to stdout.
Thanks
Laurent Michenaud | 5 Sep 16:47
Picon

Slide & Microsoft Exchange & SSL

Hi,

I'm trying to use the webdavlib to query Exchange.

I've got an error :

javax.net.ssl.SSLHandshakeException:
sun.security.validator.ValidatorException: No trusted certificate found

            at
com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.a(DashoA12275)

            at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA12275)

            at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA12275)

            at com.sun.net.ssl.internal.ssl.SunJSSE_az.a(DashoA12275)

            at com.sun.net.ssl.internal.ssl.SunJSSE_az.a(DashoA12275)

Does anybody know how to generate the certificate and how to integrate
it ?

Thanks

Laurent Michenaud | 6 Sep 09:26
Picon

RE: Slide & Microsoft Exchange & SSL

I have tried many things but no success..

-----Message d'origine-----
De : Daniel Florey [mailto:daniel.florey <at> web.de] 
Envoyé : lundi 5 septembre 2005 17:58
À : Laurent Michenaud
Objet : Re: Slide & Microsoft Exchange & SSL

If you just want to get your application running the easiest way is to accept untrusted certificates. I
don't remember exactly how to do this, but it's very simple. Just check the docs of commons-httpclient. 
Cheers,
Daniel
_________________________________________________________________________
Mit der Gruppen-SMS von WEB.DE FreeMail können Sie eine SMS an alle 
Freunde gleichzeitig schicken: http://freemail.web.de/features/?mc=021179
J H | 6 Sep 18:48
Picon

Slide 2.1 and Websphere 6.0.0.1

Hi All, I'm really interested in finding a solution for this, and as always 
thanks for your help in advance!

I've been trying to get slide 1.0 to work on Websphere 6 unsuccessfully for 
the last several weeks, even with the help of a previous posting, so instead 
of spending all of that time on old code, I've decided to try slide 2.1. 
Unfortunately, slide 2.1 has the same problem that 1.0 has, where when I 
click on any of the initial url's that appear, I always get routed back to 
the same page.  For example, the base slide 2.1 has the following urls 
(actions/,files/,projector/,history/,workspace/,workingresource/), when I 
click on them I should be routed to new pages, but instead I get basically a 
refresh of the same page, with all of the same url's 
(actions/,files/,projector/,history/,workspace/,workingresource/).

What's in the code that is refusing to move past this "home" page?

Jeff

FYI--I was also getting a utf-8 error, and per a previous post, I rebuilt 
the slide code to remove the " around UTF-8 in the 
DirectoryIndexGenerator.java file.
Michael Oliver | 6 Sep 19:01

RE: Slide 2.1 and Websphere 6.0.0.1

Jeff,

I don't run on Websphere so my response must be taken in that light.

First of all how did you deploy slide?  slide.war?  What changes did you
make to web.xml and Domain.xml?  

I have NOT see that behavior from slide on Tomcat so I must assume it is a
websphere configuration issue. 

Michael Oliver
CTO
Alarius Systems LLC
6800 E. Lake Mead Blvd, #1096
Las Vegas, NV 89156
Phone:(702)643-7425
Fax:(702)974-0341
*Note new email changed from oliverm <at> matrix-media.com

-----Original Message-----
From: J H [mailto:doctajeff <at> hotmail.com] 
Sent: Tuesday, September 06, 2005 9:48 AM
To: slide-user <at> jakarta.apache.org
Subject: Slide 2.1 and Websphere 6.0.0.1

Hi All, I'm really interested in finding a solution for this, and as always
thanks for your help in advance!

I've been trying to get slide 1.0 to work on Websphere 6 unsuccessfully for
the last several weeks, even with the help of a previous posting, so instead
(Continue reading)


Gmane