Vista Combinata Vista Piatta Vista ad Albero
Discussioni [ Precedente | Successivo ]
toggle
Vista / Windows 7 WebDAV access Ashley Bartlett 7 settembre 2009 22.57
RE: Vista / Windows 7 WebDAV access Lisa Simpson 8 settembre 2009 11.33
RE: Vista / Windows 7 WebDAV access SZ khan 2 agosto 2010 2.51
RE: Vista / Windows 7 WebDAV access Samuel Liu 2 agosto 2010 18.00
RE: Vista / Windows 7 WebDAV access Scott Palmer 11 agosto 2010 3.19
RE: Vista / Windows 7 WebDAV access Alexander Chow 17 agosto 2010 8.37
RE: Vista / Windows 7 WebDAV access Scott Palmer 19 agosto 2010 20.05
RE: Vista / Windows 7 WebDAV access Alexander Chow 23 agosto 2010 4.26
RE: Vista / Windows 7 WebDAV access Scott Palmer 26 agosto 2010 17.24
RE: Vista / Windows 7 WebDAV access H K 30 agosto 2010 3.45
RE: Vista / Windows 7 WebDAV access Alexander Chow 30 agosto 2010 10.15
RE: Vista / Windows 7 WebDAV access H K 31 agosto 2010 3.33
RE: Vista / Windows 7 WebDAV access Alexander Chow 31 agosto 2010 3.46
RE: Vista / Windows 7 WebDAV access H K 1 settembre 2010 8.14
RE: Vista / Windows 7 WebDAV access Alexander Chow 1 settembre 2010 9.23
RE: Vista / Windows 7 WebDAV access H K 3 settembre 2010 1.38
RE: Vista / Windows 7 WebDAV access Alexander Chow 3 settembre 2010 3.17
RE: Vista / Windows 7 WebDAV access Bob Dietrich 3 settembre 2010 7.41
RE: Vista / Windows 7 WebDAV access Alexander Chow 3 settembre 2010 8.36
RE: Vista / Windows 7 WebDAV access Ryan Ward 10 novembre 2010 11.48
RE: Vista / Windows 7 WebDAV access Alexander Chow 10 novembre 2010 15.05
RE: Vista / Windows 7 WebDAV access YanLu Liu 30 marzo 2012 3.17
RE: Vista / Windows 7 WebDAV access Juan Gonzalez 30 marzo 2012 3.55
RE: Vista / Windows 7 WebDAV access Hitoshi Ozawa 30 marzo 2012 7.44
RE: Vista / Windows 7 WebDAV access YanLu Liu 31 marzo 2012 6.35
RE: Vista / Windows 7 WebDAV access Hitoshi Ozawa 31 marzo 2012 6.45
RE: Vista / Windows 7 WebDAV access SZ khan 1 settembre 2010 6.52
RE: Vista / Windows 7 WebDAV access Alexander Chow 1 settembre 2010 4.27
Ashley Bartlett
Vista / Windows 7 WebDAV access
7 settembre 2009 22.57
Risposta

Ashley Bartlett

Punteggio: New Member

Messaggi: 1

Data di Iscrizione: 7 settembre 2009

Messaggi recenti

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
8 settembre 2009 11.33
Risposta

Lisa Simpson

Punteggio: Liferay Legend

Messaggi: 2034

Data di Iscrizione: 5 marzo 2009

Messaggi recenti

This should be in the Wiki
SZ khan
RE: Vista / Windows 7 WebDAV access
2 agosto 2010 2.51
Risposta

SZ khan

Punteggio: Regular Member

Messaggi: 148

Data di Iscrizione: 31 ottobre 2009

Messaggi recenti

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
2 agosto 2010 18.00
Risposta

Samuel Liu

Community Moderator

Punteggio: Expert

Messaggi: 301

Data di Iscrizione: 27 maggio 2010

Messaggi recenti

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
11 agosto 2010 3.19
Risposta

Scott Palmer

Punteggio: Junior Member

Messaggi: 36

Data di Iscrizione: 8 gennaio 2010

Messaggi recenti

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
17 agosto 2010 8.37
Risposta

Alexander Chow

Community Moderator

Punteggio: Liferay Master

Messaggi: 518

Data di Iscrizione: 19 luglio 2005

Messaggi recenti

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
19 agosto 2010 20.05
Risposta

Scott Palmer

Punteggio: Junior Member

Messaggi: 36

Data di Iscrizione: 8 gennaio 2010

Messaggi recenti

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
23 agosto 2010 4.26
Risposta

Alexander Chow

Community Moderator

Punteggio: Liferay Master

Messaggi: 518

Data di Iscrizione: 19 luglio 2005

Messaggi recenti

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
26 agosto 2010 17.24
Risposta

Scott Palmer

Punteggio: Junior Member

Messaggi: 36

Data di Iscrizione: 8 gennaio 2010

Messaggi recenti

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
30 agosto 2010 3.45
Risposta

H K

Punteggio: Junior Member

Messaggi: 32

Data di Iscrizione: 15 settembre 2009

Messaggi recenti

Can I install the LPS-12080 fix without updating to a new version of Liferay?
Alexander Chow
RE: Vista / Windows 7 WebDAV access
30 agosto 2010 10.15
Risposta

Alexander Chow

Community Moderator

Punteggio: Liferay Master

Messaggi: 518

Data di Iscrizione: 19 luglio 2005

Messaggi recenti

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
31 agosto 2010 3.33
Risposta

H K

Punteggio: Junior Member

Messaggi: 32

Data di Iscrizione: 15 settembre 2009

Messaggi recenti

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
31 agosto 2010 3.46
Risposta

Alexander Chow

Community Moderator

Punteggio: Liferay Master

Messaggi: 518

Data di Iscrizione: 19 luglio 2005

Messaggi recenti

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
1 settembre 2010 6.52
Risposta

SZ khan

Punteggio: Regular Member

Messaggi: 148

Data di Iscrizione: 31 ottobre 2009

Messaggi recenti

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
1 settembre 2010 4.27
Risposta

Alexander Chow

Community Moderator

Punteggio: Liferay Master

Messaggi: 518

Data di Iscrizione: 19 luglio 2005

Messaggi recenti

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
1 settembre 2010 8.14
Risposta

H K

Punteggio: Junior Member

Messaggi: 32

Data di Iscrizione: 15 settembre 2009

Messaggi recenti

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
1 settembre 2010 9.23
Risposta

Alexander Chow

Community Moderator

Punteggio: Liferay Master

Messaggi: 518

Data di Iscrizione: 19 luglio 2005

Messaggi recenti

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
3 settembre 2010 1.38
Risposta

H K

Punteggio: Junior Member

Messaggi: 32

Data di Iscrizione: 15 settembre 2009

Messaggi recenti

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
3 settembre 2010 3.17
Risposta

Alexander Chow

Community Moderator

Punteggio: Liferay Master

Messaggi: 518

Data di Iscrizione: 19 luglio 2005

Messaggi recenti

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
3 settembre 2010 7.41
Risposta

Bob Dietrich

Punteggio: Regular Member

Messaggi: 221

Data di Iscrizione: 15 maggio 2005

Messaggi recenti

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
3 settembre 2010 8.36
Risposta

Alexander Chow

Community Moderator

Punteggio: Liferay Master

Messaggi: 518

Data di Iscrizione: 19 luglio 2005

Messaggi recenti

Thanks fast bob! I missed that point.
Ryan Ward
RE: Vista / Windows 7 WebDAV access
10 novembre 2010 11.48
Risposta

Ryan Ward

Punteggio: New Member

Messaggi: 18

Data di Iscrizione: 12 febbraio 2010

Messaggi recenti

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
10 novembre 2010 15.05
Risposta

Alexander Chow

Community Moderator

Punteggio: Liferay Master

Messaggi: 518

Data di Iscrizione: 19 luglio 2005

Messaggi recenti

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
30 marzo 2012 3.17
Risposta

YanLu Liu

Punteggio: New Member

Messaggi: 2

Data di Iscrizione: 27 marzo 2012

Messaggi recenti

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.
Allegato

Allegati: error.jpg (134,2k)
Juan Gonzalez
RE: Vista / Windows 7 WebDAV access
30 marzo 2012 3.55
Risposta

Juan Gonzalez

LIFERAY STAFF

Punteggio: Liferay Legend

Messaggi: 2892

Data di Iscrizione: 28 ottobre 2008

Messaggi recenti

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
30 marzo 2012 7.44
Risposta

Hitoshi Ozawa

Punteggio: Liferay Legend

Messaggi: 7949

Data di Iscrizione: 23 marzo 2010

Messaggi recenti

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
31 marzo 2012 6.35
Risposta

YanLu Liu

Punteggio: New Member

Messaggi: 2

Data di Iscrizione: 27 marzo 2012

Messaggi recenti

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
31 marzo 2012 6.45
Risposta

Hitoshi Ozawa

Punteggio: Liferay Legend

Messaggi: 7949

Data di Iscrizione: 23 marzo 2010

Messaggi recenti

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