DO NOT REPLY [Bug 45156] Symbol not found: _open$UNIX2003
https://issues.apache.org/bugzilla/show_bug.cgi?id=45156 --- Comment #1 from Mark Thomas <[EMAIL PROTECTED]> 2008-06-07 03:54:20 PST --- Have you tried building this from the source? -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 45155] Authentication with windows XP Mini-redirector
https://issues.apache.org/bugzilla/show_bug.cgi?id=45155 --- Comment #1 from Mark Thomas <[EMAIL PROTECTED]> 2008-06-07 04:34:16 PST --- This doesn't surprise me at all. The Webdav Mini-redirector is a complete pain. There was a fix in 6.0.15 that helped a lot for webdav on port 80 for ms clients. I'll take a look at this and see what, if anything, we can do for BASIC authentication. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 45155] Authentication with windows XP Mini-redirector
https://issues.apache.org/bugzilla/show_bug.cgi?id=45155 --- Comment #2 from Henri Godron <[EMAIL PROTECTED]> 2008-06-07 05:28:17 PST --- Hi Mark What happened to this 6.0.15 release ? huge security stuff inside ? As yo u talked about this version, i got the 6.014/6.015/6.016 tags from the SVN and trying to diff all them... From the bug database i can't find the bug fix you are speaking about. Do you have a small idea in which package it was fixed ? Do you think it has been lost in 6.016 ? Thanks Henri -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 45155] Authentication with windows XP Mini-redirector
https://issues.apache.org/bugzilla/show_bug.cgi?id=45155 --- Comment #3 from Mark Thomas <[EMAIL PROTECTED]> 2008-06-07 05:49:55 PST --- 6.0.15 was never voted stable due to issues with cookie parsing. The fix wasn't as a result of a bug. As I recall, there were some issues on the users list and I took a look as a result of that. The webdav fix was in the webdav servlet: http://svn.apache.org/viewvc?view=rev&revision=561186 The fix has not been lost. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 45155] Authentication with windows XP Mini-redirector
https://issues.apache.org/bugzilla/show_bug.cgi?id=45155 --- Comment #4 from Mark Thomas <[EMAIL PROTECTED]> 2008-06-07 06:32:01 PST --- I have taken a look at what is going on and there is nothing we can do on the Tomcat side. However, there does appear to be a workaround. Why we can't do anything I have been using TCPMon to monitor the requests and responses going back and forth. With the MiniRedir the sequence is: 1. PROPFIND -> 401 Unauthorized (as expected) 2. PROPFIND -> 401 Unauthorized (as expected - I don't know why it tries again) 3. OPTIONS ->200 4. PROPFIND -> 401 Unauthorized (as expected) and it prompts for a password Note the password box at this point does not have a "Remember my password" tick box After entering a password, no request is sent to Tomcat. I don't know what MiniRedir is doing at this point but since there is no request to Tomcat, there is nothing we can do. The workarounds === 1. If at this first password prompt you click cancel, then OK to the error message, then click next to try and connect again (this needs to be done quickly for some reason) it tries to connect again but this time using the DAV provider (the one that works) and all is well. 2. Alternatively if you specify the port (even if it is 80) when providing the URL the DAV provider is used first time around. The MS client is clearly broken and I am tempted to mark this as INVALID. However, I have an idea I want to try first to see if I can force the use of the DAV provider in all cases. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 45144] using JDBC Data Sources freezes tomcat for some minutes
https://issues.apache.org/bugzilla/show_bug.cgi?id=45144 --- Comment #2 from Phil Steitz <[EMAIL PROTECTED]> 2008-06-07 06:45:37 PST --- This is not a Tomcat bug. It is a duplicate of https://issues.apache.org/jira/browse/DBCP-212. If you do not really need maxIdle as low as 15 with maxActive at 300, increasing (or eliminating) the maxIdle setting should reduce incidence, unless the thrashing is due to abandoned connections, which should be fixed if that is the case. Obviously, you should also research what is causing the driver connect to hang. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 45155] Authentication with windows XP Mini-redirector
https://issues.apache.org/bugzilla/show_bug.cgi?id=45155 --- Comment #5 from Henri Godron <[EMAIL PROTECTED]> 2008-06-07 07:05:02 PST --- Created an attachment (id=22093) --> (https://issues.apache.org/bugzilla/attachment.cgi?id=22093) screenshot of mapping a dav folder Hello Mark I tried your workaround and it works for me also. Btw whenyou try to map a webdav folder in Windows, you can't use any other port than 80 in the URL. You can't even specify a port. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r664345 - /tomcat/trunk/java/org/apache/catalina/valves/WebdavFixValve.java
Author: markt Date: Sat Jun 7 07:34:36 2008 New Revision: 664345 URL: http://svn.apache.org/viewvc?rev=664345&view=rev Log: Add a new valve that works-around the broken MS WedDAV client. Added: tomcat/trunk/java/org/apache/catalina/valves/WebdavFixValve.java (with props) Added: tomcat/trunk/java/org/apache/catalina/valves/WebdavFixValve.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/valves/WebdavFixValve.java?rev=664345&view=auto == --- tomcat/trunk/java/org/apache/catalina/valves/WebdavFixValve.java (added) +++ tomcat/trunk/java/org/apache/catalina/valves/WebdavFixValve.java Sat Jun 7 07:34:36 2008 @@ -0,0 +1,78 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.apache.catalina.valves; + +import java.io.IOException; + +import javax.servlet.ServletException; + +import org.apache.catalina.valves.ValveBase; +import org.apache.catalina.connector.Request; +import org.apache.catalina.connector.Response; + +/** + * Valve that attempts to force MS WebDAV clients connecting on port 80 to use + * a WebDAV client that actually works. Other workarounds that might help + * include: + * + * Specifing the port, even if it is port 80, when trying to connect. + * Canceling the first authentication dialog box and then trying to + * reconnect. + * + * To use this valve add the following+ * to your Engine, Host or Context as + * required. Normally, this valve would be used at the Context + * level. + * + * @version $Revision: 420067 $, $Date: 2006-07-08 09:16:58 +0200 (sub, 08 srp 2006) $ + */ + +public class WebdavFixValve +extends ValveBase { + +/** + * Check for the broken MS WebDAV client and if detected issue a re-direct + * that hopefully will cause the non-broken client to be used. + */ +public void invoke(Request request, Response response) +throws IOException, ServletException { + +String ua = request.getHeader("User-Agent"); +if (ua != null && ua.contains("MiniRedir")) { +response.sendRedirect(buildRedirect(request)); +} else { +getNext().invoke(request, response); +} +} + +private String buildRedirect(Request request) { +StringBuffer location = +new StringBuffer(request.getRequestURL().length()); +location.append(request.getScheme()); +location.append("://"); +location.append(request.getHost().getName()); +location.append(':'); +// If we include the port, even if it is 80, then MS clients will use +// a WebDAV client that works rather than the MiniRedir that has +// problems with BASIC authentication +location.append(request.getServerPort()); +location.append(request.getRequestURI()); +return location.toString(); +} +} Propchange: tomcat/trunk/java/org/apache/catalina/valves/WebdavFixValve.java -- svn:eol-style = native - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r664346 - /tomcat/tc6.0.x/trunk/STATUS.txt
Author: markt Date: Sat Jun 7 07:38:43 2008 New Revision: 664346 URL: http://svn.apache.org/viewvc?rev=664346&view=rev Log: Propose enhancement 45155 Modified: tomcat/tc6.0.x/trunk/STATUS.txt Modified: tomcat/tc6.0.x/trunk/STATUS.txt URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/STATUS.txt?rev=664346&r1=664345&r2=664346&view=diff == --- tomcat/tc6.0.x/trunk/STATUS.txt (original) +++ tomcat/tc6.0.x/trunk/STATUS.txt Sat Jun 7 07:38:43 2008 @@ -102,3 +102,9 @@ http://svn.apache.org/viewvc?rev=654932&view=rev +1: markt, remm, pero -1: + +* Enhancement https://issues.apache.org/bugzilla/show_bug.cgi?id=45155 + Provide a workaround to a buggy MS WebDAV client. + http://svn.apache.org/viewvc?rev=664345&view=rev + +1: markt + -1: - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 45155] Authentication with windows XP Mini-redirector
https://issues.apache.org/bugzilla/show_bug.cgi?id=45155 --- Comment #6 from Mark Thomas <[EMAIL PROTECTED]> 2008-06-07 07:39:13 PST --- I've created a new Valve that does a redirect with an explicit port if it detects the MiniRedir WebDAV client. The fixes the problem for me and I can use web folders on port 80 without any of the workarounds described above. The Valve has been added to trunk and proposed for 6.0.x. If you want to try it yourself, the commit is: http://svn.apache.org/viewvc?rev=664345&view=rev -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 45144] using JDBC Data Sources freezes tomcat for some minutes
https://issues.apache.org/bugzilla/show_bug.cgi?id=45144 Mark Thomas <[EMAIL PROTECTED]> changed: What|Removed |Added Status|NEW |RESOLVED Resolution||INVALID --- Comment #3 from Mark Thomas <[EMAIL PROTECTED]> 2008-06-07 07:40:04 PST --- Closing based on previous comment -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 45108] JSPX source containing "&" renders "&" in output page
https://issues.apache.org/bugzilla/show_bug.cgi?id=45108 Mark Thomas <[EMAIL PROTECTED]> changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution||INVALID --- Comment #6 from Mark Thomas <[EMAIL PROTECTED]> 2008-06-07 07:40:36 PST --- Bill is correct. There is no bug here. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 45155] Authentication with windows XP Mini-redirector
https://issues.apache.org/bugzilla/show_bug.cgi?id=45155 --- Comment #7 from Henri Godron <[EMAIL PROTECTED]> 2008-06-07 08:57:00 PST --- I tried the Valve and it's working nice in the webfolder. Thanks! Any idea regarding the drive mapping in windows XP ? Perhaps there is something to do in this way on that.. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]