Kombinierte Ansicht Flache Ansicht Baumansicht
Threads [ Zurück | Nächste ]
Zeige 1 - 20 von 28 Ergebnissen.
von 2
Ashley Bartlett
Vista / Windows 7 WebDAV access
7. September 2009 22:57
Antwort

Ashley Bartlett

Rang: New Member

Nachrichten: 1

Eintrittsdatum: 7. September 2009

Neue Beiträge

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. September 2009 11:33
Antwort

Lisa Simpson

Rang: Liferay Legend

Nachrichten: 2034

Eintrittsdatum: 5. März 2009

Neue Beiträge

This should be in the Wiki
SZ khan
RE: Vista / Windows 7 WebDAV access
2. August 2010 02:51
Antwort

SZ khan

Rang: Regular Member

Nachrichten: 148

Eintrittsdatum: 31. Oktober 2009

Neue Beiträge

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. August 2010 18:00
Antwort

Samuel Liu

LIFERAY STAFF

Rang: Expert

Nachrichten: 301

Eintrittsdatum: 27. Mai 2010

Neue Beiträge

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. August 2010 03:19
Antwort

Scott Palmer

Rang: Junior Member

Nachrichten: 36

Eintrittsdatum: 8. Januar 2010

Neue Beiträge

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. August 2010 08:37
Antwort

Alexander Chow

LIFERAY STAFF

Rang: Liferay Master

Nachrichten: 518

Eintrittsdatum: 19. Juli 2005

Neue Beiträge

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. August 2010 20:05
Antwort

Scott Palmer

Rang: Junior Member

Nachrichten: 36

Eintrittsdatum: 8. Januar 2010

Neue Beiträge

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. August 2010 04:26
Antwort

Alexander Chow

LIFERAY STAFF

Rang: Liferay Master

Nachrichten: 518

Eintrittsdatum: 19. Juli 2005

Neue Beiträge

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. August 2010 17:24
Antwort

Scott Palmer

Rang: Junior Member

Nachrichten: 36

Eintrittsdatum: 8. Januar 2010

Neue Beiträge

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. August 2010 03:45
Antwort

H K

Rang: Junior Member

Nachrichten: 32

Eintrittsdatum: 15. September 2009

Neue Beiträge

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

Alexander Chow

LIFERAY STAFF

Rang: Liferay Master

Nachrichten: 518

Eintrittsdatum: 19. Juli 2005

Neue Beiträge

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. August 2010 03:33
Antwort

H K

Rang: Junior Member

Nachrichten: 32

Eintrittsdatum: 15. September 2009

Neue Beiträge

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. August 2010 03:46
Antwort

Alexander Chow

LIFERAY STAFF

Rang: Liferay Master

Nachrichten: 518

Eintrittsdatum: 19. Juli 2005

Neue Beiträge

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. September 2010 06:52
Antwort

SZ khan

Rang: Regular Member

Nachrichten: 148

Eintrittsdatum: 31. Oktober 2009

Neue Beiträge

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. September 2010 04:27
Antwort

Alexander Chow

LIFERAY STAFF

Rang: Liferay Master

Nachrichten: 518

Eintrittsdatum: 19. Juli 2005

Neue Beiträge

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. September 2010 08:14
Antwort

H K

Rang: Junior Member

Nachrichten: 32

Eintrittsdatum: 15. September 2009

Neue Beiträge

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. September 2010 09:23
Antwort

Alexander Chow

LIFERAY STAFF

Rang: Liferay Master

Nachrichten: 518

Eintrittsdatum: 19. Juli 2005

Neue Beiträge

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. September 2010 01:38
Antwort

H K

Rang: Junior Member

Nachrichten: 32

Eintrittsdatum: 15. September 2009

Neue Beiträge

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. September 2010 03:17
Antwort

Alexander Chow

LIFERAY STAFF

Rang: Liferay Master

Nachrichten: 518

Eintrittsdatum: 19. Juli 2005

Neue Beiträge

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. September 2010 07:41
Antwort

Bob Dietrich

Rang: Regular Member

Nachrichten: 221

Eintrittsdatum: 15. Mai 2005

Neue Beiträge

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.
Zeige 1 - 20 von 28 Ergebnissen.
von 2