Hi,
I need to get the size of a file on the server for download so that I can do
progress.
I tried
long fileSize = webDavResource.getContentLength();
But this returns '0'. I also tried setting the full path and relative paths
I tried that and it worked. Maybe you forget CDATA
Actually adding users to groups is such a painful operation here in
Slide... I wonder why no useable mechanisms were elaborated?
Derek Lac wrote:
Have anyone read the how-create-users.html and actually gotten it to
work? I am stuck with the
Hi List
are the sources for the jakarta-slide-webdavlib-2.2pre1.jar avainle anywhere?
I was unable to find them.
Thanks for any hint
SVen
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Hello Clive,
I believe that you can't get the content length from WebDavResource: not
until you download it. In your case, you should do a PROPFIND to the
resource URL, and from the response extract the DAV:contentlength property.
Best regards,
Miguel Figueiredo
-Original Message-
I have gotten this to work. My admin module reads the group-member-set
attribute for the role I want to update, putting each current member
into an ArrayList. I then add the new user to that list (making sure
that the /users portion is prefixed to the user name). Then I create
the XML formatted
Clive,
Try using webDavResource.setPath(/slide/files/Test.txt)
I haven't seen the problem with the getContentLength that you are
talking about. Make sure that your resource is pointing to a file, and
not at a collection.
Lance
-Original Message-
From: Clive Borrageiro [mailto:[EMAIL
Hi,
I am doing webDavResource.putMethod(path, pipedIn) with a PipedInputStream,
but when I get to about 50MB of uploading the file
I get a 'OutOfMemoryError: Java heap space'.
The reason I need to use a stream is because I need to get progress of the
upload process.
Does anyone know if this is a
Hi Lance
could you give me a tip on this, I am trying the same as you.
I am getting the group-member-set Attribute and adding my new user to the
String.
Then I am trying to do the propPatch, and that's not working for me.
That's what I try:
HttpURL url = new
Here's my code...
public boolean saveRoleInfo(WebdavResource session)
{
boolean retVal = true;
PropertyName name = new PropertyName(D, group-member-set);
if (dirtyFlag)
{
StringBuffer output = new StringBuffer();
for (Iterator iter =
I just updated from HEAD for the first time in a few weeks and I'm
seeing the following when trying to build from the top or from WCK.
Ideas?
Thanks
-John
ojb-sql:
[sqlgen] ResourceManager : unable to find resource
'VM_global_library.vm' in any resource loader. [sqlgen] Generating
mysql
I've (with much help) added parameters to the Ace plumbing to add the
attribute 'inheritable' to an Ace.
What is the process for returning this code to the Slide community so that
it becomes part of the products ?
(both server and webdav client were updated).
Nick
Have you tried setting your JVM memory settings?
-Xmx -Xms, etc...
From: Clive Borrageiro [EMAIL PROTECTED]
Reply-To: Slide Users Mailing List slide-user@jakarta.apache.org
To: Slide Users Mailing List slide-user@jakarta.apache.org
Subject: OutOfMemoryError on putMethod
Date: Tue, 1 Feb 2005
Would be best to create a bugzilla entry and attach your paches.
Oliver
On Tue, 1 Feb 2005 14:45:27 -0500, Nick Longinow
[EMAIL PROTECTED] wrote:
I've (with much help) added parameters to the Ace plumbing to add the
attribute 'inheritable' to an Ace.
What is the process for returning this
Hello Fellow Slide Users,
I am currently attempting to copy a large number of directories,
subdirectories and files from a local file-system to a remote JDBC
store. The problem that I am encountering is the large number of
IOExceptions that are received, with the explanation of connection
No idea, for me it works fine:
ojb-sql:
[sqlgen] Generating mysql DDL -- slide-schema-mysql.sql
[sqlgen] Generating mysql41 DDL -- slide-schema-mysql41.sql
[sqlgen] Generating postgresql DDL -- slide-schema-postgresql.sql
[sqlgen] Generating oracle DDL -- slide-schema-oracle.sql
Some issue with the classpath. The vm templates are loaded from the
classpath, they are located in src/conf/ojb/templates, which should have
been added to the classpath of the ojb-sql ant task.
What version of the JDK and ant are you using? Are you running ant from
within a IDE like NetBeans or
H. Builds fine with a clean version of ant 1.6.2. I was running ant
1.6.0 with a bunch of extra JARs.
I'll debug from here.
Thanks for the pointer!
-John
Carlos Villegas wrote:
Some issue with the classpath. The vm templates are loaded from the
classpath, they are located in
got an NPE using the options command of the commandline
client built with a checkout from last evening:
[EMAIL PROTECTED]:~/apache/jakarta-slide/webdavclient dist/bin/run.sh
[ Slide ] $ options http://bcm.maz.org/
options http://bcm.maz.org/
Fatal Error: null
java.lang.NullPointerException
Brian,
The command line client is rather brittle. Try doing an open
http://url...; then calling options on . or whatever your path is.
-James
On Tue, 2005-02-01 at 18:27 -0800, Brian Moseley wrote:
got an NPE using the options command of the commandline
client built with a checkout from last
Hi,
Yes I have tried setting -Xmx -Xms but then if the file being uploaded is
1Gb; I have to set this setting higher and then it takes that amount of
memory to transfer the file, I don't understand why a buffer was not used
for transferring with a Piped Stream.
Transferring using
Hi List
I am using Slide 2.2pre1, build from head a week ago.
When I am trying to execute a Proppatch the request is send to the server, but
nothing happens.
I tried both using WebdavResources proppatchMethod and executeHttpRequestMethod
with a PropPatchMethod, it doesn't seem to make a
21 matches
Mail list logo