组合视图 统一视图 树状图
讨论主题 [ 上一个 | 下一个 ]
toggle
Vista / Windows 7 WebDAV access Ashley Bartlett 2009年9月7日 下午10:57
RE: Vista / Windows 7 WebDAV access Lisa Simpson 2009年9月8日 上午11:33
RE: Vista / Windows 7 WebDAV access SZ khan 2010年8月2日 上午2:51
RE: Vista / Windows 7 WebDAV access Samuel Liu 2010年8月2日 下午6:00
RE: Vista / Windows 7 WebDAV access Scott Palmer 2010年8月11日 上午3:19
RE: Vista / Windows 7 WebDAV access Alexander Chow 2010年8月17日 上午8:37
RE: Vista / Windows 7 WebDAV access Scott Palmer 2010年8月19日 下午8:05
RE: Vista / Windows 7 WebDAV access Alexander Chow 2010年8月23日 上午4:26
RE: Vista / Windows 7 WebDAV access Scott Palmer 2010年8月26日 下午5:24
RE: Vista / Windows 7 WebDAV access H K 2010年8月30日 上午3:45
RE: Vista / Windows 7 WebDAV access Alexander Chow 2010年8月30日 上午10:15
RE: Vista / Windows 7 WebDAV access H K 2010年8月31日 上午3:33
RE: Vista / Windows 7 WebDAV access Alexander Chow 2010年8月31日 上午3:46
RE: Vista / Windows 7 WebDAV access H K 2010年9月1日 上午8:14
RE: Vista / Windows 7 WebDAV access Alexander Chow 2010年9月1日 上午9:23
RE: Vista / Windows 7 WebDAV access H K 2010年9月3日 上午1:38
RE: Vista / Windows 7 WebDAV access Alexander Chow 2010年9月3日 上午3:17
RE: Vista / Windows 7 WebDAV access Bob Dietrich 2010年9月3日 上午7:41
RE: Vista / Windows 7 WebDAV access Alexander Chow 2010年9月3日 上午8:36
RE: Vista / Windows 7 WebDAV access Ryan Ward 2010年11月10日 上午11:48
RE: Vista / Windows 7 WebDAV access Alexander Chow 2010年11月10日 下午3:05
RE: Vista / Windows 7 WebDAV access YanLu Liu 2012年3月30日 上午3:17
RE: Vista / Windows 7 WebDAV access Juan Gonzalez 2012年3月30日 上午3:55
RE: Vista / Windows 7 WebDAV access Hitoshi Ozawa 2012年3月30日 上午7:44
RE: Vista / Windows 7 WebDAV access YanLu Liu 2012年3月31日 上午6:35
RE: Vista / Windows 7 WebDAV access Hitoshi Ozawa 2012年3月31日 上午6:45
RE: Vista / Windows 7 WebDAV access SZ khan 2010年9月1日 上午6:52
RE: Vista / Windows 7 WebDAV access Alexander Chow 2010年9月1日 上午4:27
Ashley Bartlett
Vista / Windows 7 WebDAV access
2009年9月7日 下午10:57
答复

Ashley Bartlett

等级: New Member

帖子: 1

加入日期: 2009年9月7日

最近的帖子

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
2009年9月8日 上午11:33
答复

Lisa Simpson

等级: Liferay Legend

帖子: 2034

加入日期: 2009年3月5日

最近的帖子

This should be in the Wiki
SZ khan
RE: Vista / Windows 7 WebDAV access
2010年8月2日 上午2:51
答复

SZ khan

等级: Regular Member

帖子: 148

加入日期: 2009年10月31日

最近的帖子

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
2010年8月2日 下午6:00
答复

Samuel Liu

LIFERAY STAFF

等级: Expert

帖子: 301

加入日期: 2010年5月27日

最近的帖子

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
2010年8月11日 上午3:19
答复

Scott Palmer

等级: Junior Member

帖子: 36

加入日期: 2010年1月8日

最近的帖子

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
2010年8月17日 上午8:37
答复

Alexander Chow

LIFERAY STAFF

等级: Liferay Master

帖子: 519

加入日期: 2005年7月19日

最近的帖子

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
2010年8月19日 下午8:05
答复

Scott Palmer

等级: Junior Member

帖子: 36

加入日期: 2010年1月8日

最近的帖子

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
2010年8月23日 上午4:26
答复

Alexander Chow

LIFERAY STAFF

等级: Liferay Master

帖子: 519

加入日期: 2005年7月19日

最近的帖子

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
2010年8月26日 下午5:24
答复

Scott Palmer

等级: Junior Member

帖子: 36

加入日期: 2010年1月8日

最近的帖子

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
2010年8月30日 上午3:45
答复

H K

等级: Junior Member

帖子: 32

加入日期: 2009年9月15日

最近的帖子

Can I install the LPS-12080 fix without updating to a new version of Liferay?
Alexander Chow
RE: Vista / Windows 7 WebDAV access
2010年8月30日 上午10:15
答复

Alexander Chow

LIFERAY STAFF

等级: Liferay Master

帖子: 519

加入日期: 2005年7月19日

最近的帖子

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
2010年8月31日 上午3:33
答复

H K

等级: Junior Member

帖子: 32

加入日期: 2009年9月15日

最近的帖子

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
2010年8月31日 上午3:46
答复

Alexander Chow

LIFERAY STAFF

等级: Liferay Master

帖子: 519

加入日期: 2005年7月19日

最近的帖子

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
2010年9月1日 上午6:52
答复

SZ khan

等级: Regular Member

帖子: 148

加入日期: 2009年10月31日

最近的帖子

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
2010年9月1日 上午4:27
答复

Alexander Chow

LIFERAY STAFF

等级: Liferay Master

帖子: 519

加入日期: 2005年7月19日

最近的帖子

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
2010年9月1日 上午8:14
答复

H K

等级: Junior Member

帖子: 32

加入日期: 2009年9月15日

最近的帖子

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
2010年9月1日 上午9:23
答复

Alexander Chow

LIFERAY STAFF

等级: Liferay Master

帖子: 519

加入日期: 2005年7月19日

最近的帖子

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
2010年9月3日 上午1:38
答复

H K

等级: Junior Member

帖子: 32

加入日期: 2009年9月15日

最近的帖子

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
2010年9月3日 上午3:17
答复

Alexander Chow

LIFERAY STAFF

等级: Liferay Master

帖子: 519

加入日期: 2005年7月19日

最近的帖子

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
2010年9月3日 上午7:41
答复

Bob Dietrich

等级: Regular Member

帖子: 218

加入日期: 2005年5月15日

最近的帖子

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
2010年9月3日 上午8:36
答复

Alexander Chow

LIFERAY STAFF

等级: Liferay Master

帖子: 519

加入日期: 2005年7月19日

最近的帖子

Thanks fast bob! I missed that point.
Ryan Ward
RE: Vista / Windows 7 WebDAV access
2010年11月10日 上午11:48
答复

Ryan Ward

等级: New Member

帖子: 18

加入日期: 2010年2月12日

最近的帖子

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
2010年11月10日 下午3:05
答复

Alexander Chow

LIFERAY STAFF

等级: Liferay Master

帖子: 519

加入日期: 2005年7月19日

最近的帖子

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
2012年3月30日 上午3:17
答复

YanLu Liu

等级: New Member

帖子: 2

加入日期: 2012年3月27日

最近的帖子

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.
附件

附件: error.jpg (134.2k)
Juan Gonzalez
RE: Vista / Windows 7 WebDAV access
2012年3月30日 上午3:55
答复

Juan Gonzalez

LIFERAY STAFF

等级: Liferay Legend

帖子: 2073

加入日期: 2008年10月28日

最近的帖子

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
2012年3月30日 上午7:44
答复

Hitoshi Ozawa

等级: Liferay Legend

帖子: 7952

加入日期: 2010年3月23日

最近的帖子

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
2012年3月31日 上午6:35
答复

YanLu Liu

等级: New Member

帖子: 2

加入日期: 2012年3月27日

最近的帖子

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
2012年3月31日 上午6:45
答复

Hitoshi Ozawa

等级: Liferay Legend

帖子: 7952

加入日期: 2010年3月23日

最近的帖子

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