Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Vista / Windows 7 WebDAV access Ashley Bartlett September 7, 2009 10:57 PM
RE: Vista / Windows 7 WebDAV access Lisa Simpson September 8, 2009 11:33 AM
RE: Vista / Windows 7 WebDAV access SZ khan August 2, 2010 2:51 AM
RE: Vista / Windows 7 WebDAV access Samuel Liu August 2, 2010 6:00 PM
RE: Vista / Windows 7 WebDAV access Scott Palmer August 11, 2010 3:19 AM
RE: Vista / Windows 7 WebDAV access Alexander Chow August 17, 2010 8:37 AM
RE: Vista / Windows 7 WebDAV access Scott Palmer August 19, 2010 8:05 PM
RE: Vista / Windows 7 WebDAV access Alexander Chow August 23, 2010 4:26 AM
RE: Vista / Windows 7 WebDAV access Scott Palmer August 26, 2010 5:24 PM
RE: Vista / Windows 7 WebDAV access H K August 30, 2010 3:45 AM
RE: Vista / Windows 7 WebDAV access Alexander Chow August 30, 2010 10:15 AM
RE: Vista / Windows 7 WebDAV access H K August 31, 2010 3:33 AM
RE: Vista / Windows 7 WebDAV access Alexander Chow August 31, 2010 3:46 AM
RE: Vista / Windows 7 WebDAV access H K September 1, 2010 8:14 AM
RE: Vista / Windows 7 WebDAV access Alexander Chow September 1, 2010 9:23 AM
RE: Vista / Windows 7 WebDAV access H K September 3, 2010 1:38 AM
RE: Vista / Windows 7 WebDAV access Alexander Chow September 3, 2010 3:17 AM
RE: Vista / Windows 7 WebDAV access Bob Dietrich September 3, 2010 7:41 AM
RE: Vista / Windows 7 WebDAV access Alexander Chow September 3, 2010 8:36 AM
RE: Vista / Windows 7 WebDAV access Ryan Ward November 10, 2010 11:48 AM
RE: Vista / Windows 7 WebDAV access Alexander Chow November 10, 2010 3:05 PM
RE: Vista / Windows 7 WebDAV access YanLu Liu March 30, 2012 3:17 AM
RE: Vista / Windows 7 WebDAV access Juan Gonzalez March 30, 2012 3:55 AM
RE: Vista / Windows 7 WebDAV access Hitoshi Ozawa March 30, 2012 7:44 AM
RE: Vista / Windows 7 WebDAV access YanLu Liu March 31, 2012 6:35 AM
RE: Vista / Windows 7 WebDAV access Hitoshi Ozawa March 31, 2012 6:45 AM
RE: Vista / Windows 7 WebDAV access SZ khan September 1, 2010 6:52 AM
RE: Vista / Windows 7 WebDAV access Alexander Chow September 1, 2010 4:27 AM
Ashley Bartlett
Vista / Windows 7 WebDAV access
September 7, 2009 10:57 PM
Answer

Ashley Bartlett

Rank: New Member

Posts: 1

Join Date: September 7, 2009

Recent Posts

I've been having no end of issues with getting this to work. I thought I would quickly post this information here as this is what I was trying to access.

Please note: I have referenced Vista in the subject, but I have seen many references to a web folders patch. See that if this doesn't work

Long story short, I'm using Winodws 7 RC, I've been trying to access WebDAV from windows natively on and off for a couple of weeks now.

What I have discovered is that Windows security restricts access to Basic HTTP authentication on non-SSL connections and you need to change a registry key to work around this.

Change or create the Registry key “HKLM\SYSTEM\CurrentControlSet\Services\WebClient\Parameters\BasicAuthLevel” (REG_DWORD) and set its value to “2“.

The above regkey takes the following values. This is the same for both Vista and Windows 7.

* 0 - Basic authentication disabled
* 1 - Basic authentication enabled for SSL shares only
* 2 or greater - Basic authentication enabled for SSL shares and for non-SSL shares


(I found this on: http://www.fladi.at/2009/06/24/windows-webdav-basic-workaround/)

Then you need to restart the Windows Web Client. From a command line just go:

net stop webclient
net start webclient

THEN you can use net use to access WebDAV, eg:
net use * http://192.168.1.50:8080/tunnel-web/secure/webdav/liferay.com/MyPortal/document_library/

It will ask for username and password, enter them as you would on the website.

I hope this helps someone.
Lisa Simpson
RE: Vista / Windows 7 WebDAV access
September 8, 2009 11:33 AM
Answer

Lisa Simpson

Rank: Liferay Legend

Posts: 2034

Join Date: March 5, 2009

Recent Posts

This should be in the Wiki
SZ khan
RE: Vista / Windows 7 WebDAV access
August 2, 2010 2:51 AM
Answer

SZ khan

Rank: Regular Member

Posts: 148

Join Date: October 31, 2009

Recent Posts

Hi,
This doesn't work for windows 7. It has something to do with digest authentication as
Sharepoint Server uses Webdav with Digest Authentication
Samuel Liu
RE: Vista / Windows 7 WebDAV access
August 2, 2010 6:00 PM
Answer

Samuel Liu

LIFERAY STAFF

Rank: Expert

Posts: 301

Join Date: May 27, 2010

Recent Posts

Hi Sultee, Lisa, Ashley,

Windows 7 support will be included in GA 3 which should be out at the end of this week. We've been finding a bunch of bugs and hope to have them all patched up with that release -- stay tuned!

Warm regards,
Sam
Scott Palmer
RE: Vista / Windows 7 WebDAV access
August 11, 2010 3:19 AM
Answer

Scott Palmer

Rank: Junior Member

Posts: 36

Join Date: January 8, 2010

Recent Posts

Sultee khan:
Hi,
This doesn't work for windows 7. It has something to do with digest authentication as
Sharepoint Server uses Webdav with Digest Authentication


Mapping to the drive works as documented at the start of the post in Windows 7. I have tested it a number of times (on Windows 7 64bit).

On the other hand the actual 'network drive' like functionality does not work (apart from viewing the folder and being able to see the files). Copying files to the drive fails, editing documents fails, refreshing the folders fails, disconnecting the drive also fails and crashes explorer.exe (you can force disconnect the drive in the command line). Windows explorer also frequently crashes during browsing or if right clicking the drive from the network drives list.

Has anyone tried with a proper WebDAV client and not using windows explorer? Any luck?
Alexander Chow
RE: Vista / Windows 7 WebDAV access
August 17, 2010 8:37 AM
Answer

Alexander Chow

LIFERAY STAFF

Rank: Liferay Master

Posts: 519

Join Date: July 19, 2005

Recent Posts

Hi All,

I've been trying to debug these problems and committed two WebDAV fixes to trunk.

http://issues.liferay.com/browse/LPS-12080 **
http://issues.liferay.com/browse/LPS-12082

The first one, LPS-12080, is most likely the problem that most of you have been having with Vista/Windows 7.

Unfortunately, it did not make the 6.0 GA3 cut.
Scott Palmer
RE: Vista / Windows 7 WebDAV access
August 19, 2010 8:05 PM
Answer

Scott Palmer

Rank: Junior Member

Posts: 36

Join Date: January 8, 2010

Recent Posts

Alexander Chow:
Hi All,

I've been trying to debug these problems and committed two WebDAV fixes to trunk.

http://issues.liferay.com/browse/LPS-12080 **
http://issues.liferay.com/browse/LPS-12082

The first one, LPS-12080, is most likely the problem that most of you have been having with Vista/Windows 7.

Unfortunately, it did not make the 6.0 GA3 cut.


Thanks for the update Alex. This was one of the errors I was getting in Win7 so this should hopefully resolve that particular issue. Will it be in the 6EE release?
Alexander Chow
RE: Vista / Windows 7 WebDAV access
August 23, 2010 4:26 AM
Answer

Alexander Chow

LIFERAY STAFF

Rank: Liferay Master

Posts: 519

Join Date: July 19, 2005

Recent Posts

Scott P:
Thanks for the update Alex. This was one of the errors I was getting in Win7 so this should hopefully resolve that particular issue. Will it be in the 6EE release?


Yes, it should be in the 6EE release.
Scott Palmer
RE: Vista / Windows 7 WebDAV access
August 26, 2010 5:24 PM
Answer

Scott Palmer

Rank: Junior Member

Posts: 36

Join Date: January 8, 2010

Recent Posts

Alexander Chow:
Scott P:
Thanks for the update Alex. This was one of the errors I was getting in Win7 so this should hopefully resolve that particular issue. Will it be in the 6EE release?


Yes, it should be in the 6EE release.


Thanks for the update Alex.
H K
RE: Vista / Windows 7 WebDAV access
August 30, 2010 3:45 AM
Answer

H K

Rank: Junior Member

Posts: 32

Join Date: September 15, 2009

Recent Posts

Can I install the LPS-12080 fix without updating to a new version of Liferay?
Alexander Chow
RE: Vista / Windows 7 WebDAV access
August 30, 2010 10:15 AM
Answer

Alexander Chow

LIFERAY STAFF

Rank: Liferay Master

Posts: 519

Join Date: July 19, 2005

Recent Posts

H K:
Can I install the LPS-12080 fix without updating to a new version of Liferay?


If I am not mistaken, you can. The only thing is you need to make sure you have configured your registry to support Basic Authentication. See:

http://www.liferay.com/web/guest/community/wiki/-/wiki/Main/WebDAV
http://support.microsoft.com/kb/841215
H K
RE: Vista / Windows 7 WebDAV access
August 31, 2010 3:33 AM
Answer

H K

Rank: Junior Member

Posts: 32

Join Date: September 15, 2009

Recent Posts

Configuring the registry unfortunately doesn't solve this problem for me:

Move or copy of folders in Explorer returns an "Error 0x80070021: The process cannot access the file because another process has locked a portion of the file."
Alexander Chow
RE: Vista / Windows 7 WebDAV access
August 31, 2010 3:46 AM
Answer

Alexander Chow

LIFERAY STAFF

Rank: Liferay Master

Posts: 519

Join Date: July 19, 2005

Recent Posts

H K:
Configuring the registry unfortunately doesn't solve this problem for me:

Move or copy of folders in Explorer returns an "Error 0x80070021: The process cannot access the file because another process has locked a portion of the file."


I'm sorry for not being clear. You need both LPS-12080 and the registry change. The bug you encounter is LPS-12080.
SZ khan
RE: Vista / Windows 7 WebDAV access
September 1, 2010 6:52 AM
Answer

SZ khan

Rank: Regular Member

Posts: 148

Join Date: October 31, 2009

Recent Posts

Hi Alexander,
Thanks for your updates. Yesterday, I downloaded and compiled the latest Liferay 6 code from svn and tested webdav functionalities with the following combinations:

Windows 7 + Office 2010
Windows Vista + Office 2007
XP with office 2003

After testing, I may say that I didn't find any big problem and now webdav is working 100%.
Thumbs up for the liferay Team and for you!

P.S: For this to work one has to update windows OS (Service Packs etc.) from time to time and install required patches as described in the Wiki

Sultee
Alexander Chow
RE: Vista / Windows 7 WebDAV access
September 1, 2010 4:27 AM
Answer

Alexander Chow

LIFERAY STAFF

Rank: Liferay Master

Posts: 519

Join Date: July 19, 2005

Recent Posts

Sultee khan:
Hi Alexander,
Thanks for your updates. I download and compiled the latest Liferay 6 code from the svn and tested webdav functionalities with the following combinations

Windows 7 + Office 2010
Windows Vista + Office 2007
XP with office 2003

I may say now that I didn't find any big problem and now webdav is working 100%.
Thumbs up for the liferay Team and for you!

P.S: For this to work please keep your windows OS up-to-date(Service Packs etc.) and install required patches as described in the Wiki

Sultee


Sultee, I'm glad everything works well for you! Cheers!

Alex
H K
RE: Vista / Windows 7 WebDAV access
September 1, 2010 8:14 AM
Answer

H K

Rank: Junior Member

Posts: 32

Join Date: September 15, 2009

Recent Posts

Alexander,

If I have Liferay 5.2.2, is the only way to acquire LPS-12080 to update my Liferay version to Liferay 6 or is there an other way to install LPS-12080?

I think my confusion stems from not knowing if LPS-12080 is an installable patch or a bug code emoticon
Alexander Chow
RE: Vista / Windows 7 WebDAV access
September 1, 2010 9:23 AM
Answer

Alexander Chow

LIFERAY STAFF

Rank: Liferay Master

Posts: 519

Join Date: July 19, 2005

Recent Posts

H K:
If I have Liferay 5.2.2, is the only way to acquire LPS-12080 to update my Liferay version to Liferay 6 or is there an other way to install LPS-12080?

I think my confusion stems from not knowing if LPS-12080 is an installable patch or a bug code emoticon


Unfortunately, it is not an installable patch but must be manually patched in the source code. So, basically, you would want to:
  1. Download the source code for 5.2.2
  2. Find the changes in our SVN trunk for LPS-12080 and manually apply them to the source
  3. Recompile and replace your portal-impl.jar with the newly built one
H K
RE: Vista / Windows 7 WebDAV access
September 3, 2010 1:38 AM
Answer

H K

Rank: Junior Member

Posts: 32

Join Date: September 15, 2009

Recent Posts

This is what I've done:

1. Downloaded the source code for 5.2.2 to Eclipse from SVN (from portal/tags/5.2.2)

2. Found that the LPS-12080 changes where made in the file ProppatchMethodImpl.java (in portal/trunk/portal-impl/src/com/liferay/portal/webdav/methods)

3. Copied the ProppatchMethodImpl.java file from SVN to the project that I imported in step 1 to Eclipse (I copied it to portal/portal-impl/src/com/liferay/portal/webdav/methods/ProppatchMethodImpl.java)

However, in the new ProppatchMethodImpl.java file, Eclipse tells me that there are many imports that cannot be resolved (e.g. import com.liferay.portal.kernel.exception.PortalException)

4. Compiled a new portal-impl.jar file (by right clicking the portal-impl/src folder in Eclipse and exporting to a jar file)

5. Replaced the old portal-impl.jar file located in /opt/liferay/tomcat-5.5.27/webpps/ROOT/WEB-INF/lib on my website server with the new one compiled in step 4.

6. Restarted Liferay

When Liferay (Tomcat) is restarted however many error messages are generated in the log and the website is not started. Have I made any mistake in the steps above?
Alexander Chow
RE: Vista / Windows 7 WebDAV access
September 3, 2010 3:17 AM
Answer

Alexander Chow

LIFERAY STAFF

Rank: Liferay Master

Posts: 519

Join Date: July 19, 2005

Recent Posts

H K:
This is what I've done:

1. Downloaded the source code for 5.2.2 to Eclipse from SVN (from portal/tags/5.2.2)

2. Found that the LPS-12080 changes where made in the file ProppatchMethodImpl.java (in portal/trunk/portal-impl/src/com/liferay/portal/webdav/methods)

3. Copied the ProppatchMethodImpl.java file from SVN to the project that I imported in step 1 to Eclipse (I copied it to portal/portal-impl/src/com/liferay/portal/webdav/methods/ProppatchMethodImpl.java)

However, in the new ProppatchMethodImpl.java file, Eclipse tells me that there are many imports that cannot be resolved (e.g. import com.liferay.portal.kernel.exception.PortalException)

4. Compiled a new portal-impl.jar file (by right clicking the portal-impl/src folder in Eclipse and exporting to a jar file)

5. Replaced the old portal-impl.jar file located in /opt/liferay/tomcat-5.5.27/webpps/ROOT/WEB-INF/lib on my website server with the new one compiled in step 4.

6. Restarted Liferay

When Liferay (Tomcat) is restarted however many error messages are generated in the log and the website is not started. Have I made any mistake in the steps above?


In step 3, do not simply copy the ProppatchMethodImpl.java from SVN into your 5.2.2. There have undoubtedly been changes to our overall API from 5.2.2 to 6.0.x. You pretty much need to manually merge in the specific changes to ProppatchMethodImpl.java. I have uploaded to the LPS a patch file with the SVN differences for the file.

http://issues.liferay.com/secure/attachment/24329/LPS-12080.patch
Bob Dietrich
RE: Vista / Windows 7 WebDAV access
September 3, 2010 7:41 AM
Answer

Bob Dietrich

Rank: Regular Member

Posts: 206

Join Date: May 15, 2005

Recent Posts

The other issue is your step 4. It's unlikely Eclipse will create the correct structure for your jar. It may include or exclude critical files or structure things differently.

You have two options:
  1. Since you're replacing only one file, you can try replacing the file directly using a zip utility like WinZip. This requires you to make sure you get the directory structure correct and you need to be meticulous.
  2. Use the ant build script provided to rebuild the jar. This may be preferable since it will compile the file in question (as well as the rest) with a consistent set of imports.
Alexander Chow
RE: Vista / Windows 7 WebDAV access
September 3, 2010 8:36 AM
Answer

Alexander Chow

LIFERAY STAFF

Rank: Liferay Master

Posts: 519

Join Date: July 19, 2005

Recent Posts

Thanks fast bob! I missed that point.
Ryan Ward
RE: Vista / Windows 7 WebDAV access
November 10, 2010 11:48 AM
Answer

Ryan Ward

Rank: New Member

Posts: 18

Join Date: February 12, 2010

Recent Posts

Sorry to resurrect this thread from the dead, but I am trying to apply this patch to my installation. I'm running 5.2.3. This is the first source modification I've made so please bare with me.

I'm using Netbeans and I check out the 5.2.x source from svn. I applied the patch file to the class, but I get an error in the code. The underlined method is throwing the error "cannot find symbol". Any one able to help?

 1protected WebDAVProps getStoredProperties(WebDAVRequest webDavRequest)
 2        throws PortalException, SystemException {
 3
 4        WebDAVStorage storage = webDavRequest.getWebDAVStorage();
 5
 6        Resource resource = storage.getResource(webDavRequest);
 7
 8        WebDAVProps webDavProps = null;
 9
10        if (resource.getPrimaryKey() <= 0) {
11            if (_log.isWarnEnabled()) {
12                _log.warn("There is no primary key set for resource");
13            }
14
15            throw new InvalidRequestException();
16        }
17        else if (resource.isLocked()) {
18            Lock lock = resource.[u]getLock()[/u];
19
20            if ((lock == null) ||
21                !lock.getUuid().equals(webDavRequest.getLockUuid())) {
22
23                throw new LockException();
24            }
25        }
26
27        webDavProps = WebDAVPropsLocalServiceUtil.getWebDAVProps(
28            webDavRequest.getCompanyId(), resource.getClassName(),
29            resource.getPrimaryKey());
30
31        return webDavProps;}
Alexander Chow
RE: Vista / Windows 7 WebDAV access
November 10, 2010 3:05 PM
Answer

Alexander Chow

LIFERAY STAFF

Rank: Liferay Master

Posts: 519

Join Date: July 19, 2005

Recent Posts

Basically, the problem is that there are changes in other files that you need to account for (namely Resource.java, BaseResourceImpl.java and DLFileEntryResourceImpl.java). The getLock() method was added as part of LPS-12082 and needs to get propagated into those classes.

Unfortunately, manually patching this is a bit tough if you are not a java developer. Sorry if this is really confusing.
YanLu Liu
RE: Vista / Windows 7 WebDAV access
March 30, 2012 3:17 AM
Answer

YanLu Liu

Rank: New Member

Posts: 2

Join Date: March 27, 2012

Recent Posts

It seems the problem of error 0x80070021 is not solved in Liferay 6.1 CE RC1.
I met the same problem when copying a file to a WEBDAV mapped driver.
Please check the attachment image.
The environment is windows 7 professional with Liferay 6.1 CE RC1 on tomcat.
Attachment

Attachments: error.jpg (134.2k)
Juan Gonzalez
RE: Vista / Windows 7 WebDAV access
March 30, 2012 3:55 AM
Answer

Juan Gonzalez

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1865

Join Date: October 28, 2008

Recent Posts

Why do you test using RC1?

Please test with GA 1 instead, there are some webdav problems solved there.
Hitoshi Ozawa
RE: Vista / Windows 7 WebDAV access
March 30, 2012 7:44 AM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7990

Join Date: March 23, 2010

Recent Posts

As Juan said, should upgrade to GA1. RC1 shouldn't be used in production anyways.

According the the following thread, it seems to be working:
http://www.liferay.com/community/forums/-/message_boards/message/12831090
YanLu Liu
RE: Vista / Windows 7 WebDAV access
March 31, 2012 6:35 AM
Answer

YanLu Liu

Rank: New Member

Posts: 2

Join Date: March 27, 2012

Recent Posts

Thanks for your kind suggestion. I have found the reason. I forgot to adjust the upload file size limitation.
The default file size is only 3MB, there was a file size exception in Tomcat console log for the error.
As I set the max upload file size to 4GB, it works well for the files under 100MB size.

When I try to copy a file large than 100MB with WEBDAV, there will be anther error occur like 0x800.... bad parameter. (Sorry I forgot the exact number)
I will come back for detail description on this error, but I don't think it's a error from Liferay, it should be some limitation within Windows system.

Thanks again.
Hitoshi Ozawa
RE: Vista / Windows 7 WebDAV access
March 31, 2012 6:45 AM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7990

Join Date: March 23, 2010

Recent Posts

Oh, there's a max file size limitation. You'll have to change the registry.

http://answers.microsoft.com/en-us/windows/forum/windows_xp-hardware/error-0x800700df-the-file-size-exceeds-the-limit/d208bba6-920c-4639-bd45-f345f462934f