Hi, all

I writinng utility that connect to OWA (outlook web access) to exchange 2007 sp1 via forms based auth.

I can make auth and get cookies from exchange, but when perfome new request to exchange get 440 login time out. Maybe anybody have solution

Code i using
package exchFetchMail;



import java.io.IOException;
import java.io.InputStream;
import java.util.Collection;
import java.util.Iterator;

import org.apache.commons.httpclient.*;
import org.apache.commons.httpclient.cookie.CookiePolicy;
import org.apache.commons.httpclient.cookie.CookieSpec;
import org.apache.commons.httpclient.methods.*;
import org.apache.jackrabbit.webdav.DavConstants;
import org.apache.jackrabbit.webdav.DavException;
import org.apache.jackrabbit.webdav.MultiStatus;
import org.apache.jackrabbit.webdav.client.methods.DavMethod;
import org.apache.jackrabbit.webdav.client.methods.PropFindMethod;
import org.apache.jackrabbit.webdav.client.methods.PutMethod;
import org.apache.jackrabbit.webdav.property.DavPropertySet;
import org.apache.jackrabbit.webdav.property.DefaultDavProperty;


public class FormBasedAuth
{
    static final String LOGON_SITE = "smallbusiness.local";
    static final int    LOGON_PORT = 80;

    public FormBasedAuth() {
        super();
    }

public static void putMessage(HttpClient client, InputStream message, String uri) throws HttpException, IOException {
                PutMethod put = new PutMethod(uri);
InputStreamRequestEntity requestEntity = new InputStreamRequestEntity(message);
            put.addRequestHeader("Translate", "F");
            put.addRequestHeader("Content-type", "message/rfc822");
            put.setRequestEntity(requestEntity);
            client.executeMethod(put);
            put.releaseConnection();
        }

private static void propFind (HttpClient client, String uri) throws DavException, IOException { DavMethod pFind = new PropFindMethod(uri, DavConstants.PROPFIND_ALL_PROP, DavConstants.DEPTH_INFINITY);
                 client.executeMethod(pFind);

                    MultiStatus multiStatus = 
pFind.getResponseBodyAsMultiStatus();
                
                    //Not quite nice, but for a example ok
DavPropertySet props = multiStatus.getResponses() [0].getProperties(200);
                
                    Collection<DefaultDavProperty> 
propertyColl=props.getContent();
                    propertyColl.iterator();
for(Iterator<DefaultDavProperty> iterator = propertyColl.iterator(); iterator.hasNext();){
                        DefaultDavProperty tmpProp=iterator.next();
System.out.println(tmpProp.getName() +" "+ tmpProp.getValue());
                    }
                
         }

    public static void main(String[] args) throws Exception {
        
System.setProperty("org.apache.commons.logging.Log", "org.apache.commons.logging.impl.SimpleLog"); System .setProperty("org.apache.commons.logging.simplelog.showdatetime", "true"); System .setProperty ("org.apache.commons.logging.simplelog.log.httpclient.wire.header", "debug"); System .setProperty ("org .apache.commons.logging.simplelog.log.org.apache.commons.httpclient", "debug");
        
        
// Protocol.registerProtocol("https", new Protocol("https", (ProtocolSocketFactory) new EasySSLProtocolSocketFactory(), 443));
        HttpClient client = new HttpClient();
client.getHostConfiguration().setHost(LOGON_SITE, LOGON_PORT, "http"); client.getParams().setCookiePolicy(CookiePolicy.BROWSER_COMPATIBILITY);

GetMethod authget = new GetMethod("/owa/[email protected] /");


        client.executeMethod(authget);
System.out.println("Login form get: " + authget.getStatusLine().toString());
        // release any connection resources used by the method
        authget.releaseConnection();
        // See if we got any cookies
        CookieSpec cookiespec = CookiePolicy.getDefaultSpec();
        Cookie[] initcookies = cookiespec.match(
LOGON_SITE, LOGON_PORT, "/", false, client.getState().getCookies());
        System.out.println("Initial set of cookies:");
        if (initcookies.length == 0) {
            System.out.println("None");
        } else {
            for (int i = 0; i < initcookies.length; i++) {
                System.out.println("- " + initcookies[i].toString());
            }
        }

// this is important /owa/auth/owaauth.dll - i can test it only with Exchange 2007
        PostMethod authpost = new PostMethod("/owa/auth/owaauth.dll");
        authpost.addRequestHeader("Connection", "keep-alive");

        // Prepare login parameters
NameValuePair action = new NameValuePair("action", "owaauth.dll"); NameValuePair url = new NameValuePair("destination", "http://smallbusiness.local/owa/[email protected]/ ");
        NameValuePair flags        = new NameValuePair("flags", "0");
NameValuePair username = new NameValuePair("username", "Administrator");
        NameValuePair password = new NameValuePair("password", "q1");
NameValuePair forcedownlevel = new NameValuePair("forcedownlevel", "0");
        NameValuePair trusted = new NameValuePair("trusted", "1");

        authpost.setRequestBody(
new NameValuePair[] {flags, forcedownlevel, trusted, action, url, username, password});

        client.executeMethod(authpost);
System.out.println("Login form post: " + authpost.getStatusLine().toString());
        // release any connection resources used by the method
//        authpost.releaseConnection();
        // See if we got any cookies
        // The only way of telling whether logon succeeded is
        // by finding a session cookie
        Cookie[] logoncookies = cookiespec.match(
LOGON_SITE, LOGON_PORT, "/", false, client.getState().getCookies());
        System.out.println("Logon cookies:");
        if (logoncookies.length == 0) {
            System.out.println("None");
        } else {
            for (int i = 0; i < logoncookies.length; i++) {
                System.out.println("- " + logoncookies[i].toString());
            }
        }


        propFind(client, "http://smallbusiness.local/owa/";);

// Usually a successful form-based login results in a redicrect to
        // another url
        int statuscode = authpost.getStatusCode();
        if ((statuscode == HttpStatus.SC_MOVED_TEMPORARILY) ||
            (statuscode == HttpStatus.SC_MOVED_PERMANENTLY) ||
            (statuscode == HttpStatus.SC_SEE_OTHER) ||
            (statuscode == HttpStatus.SC_TEMPORARY_REDIRECT)) {
            Header header = authpost.getResponseHeader("location");
            if (header != null) {
                String newuri = header.getValue();
                if ((newuri == null) || (newuri.equals(""))) {
                    newuri = "/";
                }
                System.out.println("Redirect target: " + newuri);
                GetMethod redirect = new GetMethod(newuri);

                client.executeMethod(redirect);
System.out.println("Redirect: " + redirect.getStatusLine().toString());
                // release any connection resources used by the method
                redirect.releaseConnection();
            } else {
                System.out.println("Invalid redirect");
                System.exit(1);
            }
        }


    }



}


and debug output

2009/08/26 13:56:22:660 MSD [DEBUG] HttpClient - Java version: 1.6.0_13
2009/08/26 13:56:22:667 MSD [DEBUG] HttpClient - Java vendor: Apple Inc.
2009/08/26 13:56:22:667 MSD [DEBUG] HttpClient - Java class path: / Users/valenpo/Documents/workspace/lerning/bin:/Users/valenpo/Documents/ workspace/Library/jackrabbit/jackrabbit-webdav-1.4.jar:/Users/valenpo/ Documents/workspace/Library/http/junit-4.5.jar:/Users/valenpo/ Documents/workspace/Library/http/commons-logging-1.1.1-bin/commons- logging-1.1.1/commons-logging-1.1.1.jar:/Users/valenpo/Documents/ workspace/Library/http/commons-codec-1.3/commons-codec-1.3.jar:/Users/ valenpo/Documents/workspace/Library/slf4j/slf4j-simple-1.5.5.jar:/ Users/valenpo/Documents/workspace/Library/slf4j/slf4j-api-1.5.5.jar:/ Users/valenpo/Documents/workspace/Library/commons- collections-3.2.1.jar:/Users/valenpo/Documents/workspace/Library/ xerces-2_9_1/xercesImpl.jar:/Users/valenpo/Documents/workspace/Library/ commons-cli-1.1/commons-cli-1.1/commons-cli-1.1.jar:/Users/valenpo/ Documents/workspace/Library/databases/je-3.3.75/lib/je-3.3.75.jar:/ Users/valenpo/Documents/workspace/Library/jtnef-1_5_0/lib/tnef.jar:/ Users/valenpo/Documents/workspace/Library/log4j-1.2.15.jar:/Users/ valenpo/Documents/workspace/Library/juniversalchardet-1.0.3.jar:/Users/ valenpo/Documents/workspace/Library/htmlparser1_6/lib/htmlparser.jar:/ Users/valenpo/Documents/workspace/Library/iText-2.1.5.jar:/Users/ valenpo/Documents/workspace/Library/javamail-1.4.2/mail.jar:/Users/ valenpo/Downloads/commons-compress-1.0/commons-compress-1.0.jar:/Users/ valenpo/Documents/workspace/Library/http/commons-httpclient-3.1/ commons-httpclient-3.1.jar 2009/08/26 13:56:22:667 MSD [DEBUG] HttpClient - Operating system name: Mac OS X 2009/08/26 13:56:22:667 MSD [DEBUG] HttpClient - Operating system architecture: x86_64 2009/08/26 13:56:22:668 MSD [DEBUG] HttpClient - Operating system version: 10.5.8 2009/08/26 13:56:22:747 MSD [DEBUG] HttpClient - SUN 1.6: SUN (DSA key/ parameter generation; DSA signing; SHA-1, MD5 digests; SecureRandom; X. 509 certificates; JKS keystore; PKIX CertPathValidator; PKIX CertPathBuilder; LDAP, Collection CertStores, JavaPolicy Policy; JavaLoginConfig Configuration) 2009/08/26 13:56:22:747 MSD [DEBUG] HttpClient - Apple 1.0: Apple Provider (implements DES, Triple DES, AES, Blowfish, PBE, Diffie- Hellman, HMAC/MD5, HMAC/SHA1) 2009/08/26 13:56:22:747 MSD [DEBUG] HttpClient - SunRsaSign 1.5: Sun RSA signature provider 2009/08/26 13:56:22:747 MSD [DEBUG] HttpClient - SunJSSE 1.6: Sun JSSE provider(PKCS12, SunX509 key/trust factories, SSLv3, TLSv1) 2009/08/26 13:56:22:748 MSD [DEBUG] HttpClient - SunJCE 1.6: SunJCE Provider (implements RSA, DES, Triple DES, AES, Blowfish, ARCFOUR, RC2, PBE, Diffie-Hellman, HMAC) 2009/08/26 13:56:22:748 MSD [DEBUG] HttpClient - SunJGSS 1.0: Sun (Kerberos v5, SPNEGO) 2009/08/26 13:56:22:748 MSD [DEBUG] HttpClient - SunSASL 1.5: Sun SASL provider(implements client mechanisms for: DIGEST-MD5, GSSAPI, EXTERNAL, PLAIN, CRAM-MD5; server mechanisms for: DIGEST-MD5, GSSAPI, CRAM-MD5) 2009/08/26 13:56:22:748 MSD [DEBUG] HttpClient - XMLDSig 1.0: XMLDSig (DOM XMLSignatureFactory; DOM KeyInfoFactory) 2009/08/26 13:56:22:748 MSD [DEBUG] HttpClient - SunPCSC 1.6: Sun PC/ SC provider 2009/08/26 13:56:22:753 MSD [DEBUG] DefaultHttpParams - Set parameter http.useragent = Jakarta Commons-HttpClient/3.1 2009/08/26 13:56:22:755 MSD [DEBUG] DefaultHttpParams - Set parameter http.protocol.version = HTTP/1.1 2009/08/26 13:56:22:757 MSD [DEBUG] DefaultHttpParams - Set parameter http.connection-manager.class = class org.apache.commons.httpclient.SimpleHttpConnectionManager 2009/08/26 13:56:22:757 MSD [DEBUG] DefaultHttpParams - Set parameter http.protocol.cookie-policy = default 2009/08/26 13:56:22:757 MSD [DEBUG] DefaultHttpParams - Set parameter http.protocol.element-charset = US-ASCII 2009/08/26 13:56:22:757 MSD [DEBUG] DefaultHttpParams - Set parameter http.protocol.content-charset = ISO-8859-1 2009/08/26 13:56:22:758 MSD [DEBUG] DefaultHttpParams - Set parameter http.method.retry-handler = org.apache.commons.httpclient.defaulthttpmethodretryhand...@23e0512a 2009/08/26 13:56:22:759 MSD [DEBUG] DefaultHttpParams - Set parameter http.dateparser.patterns = [EEE, dd MMM yyyy HH:mm:ss zzz, EEEE, dd- MMM-yy HH:mm:ss zzz, EEE MMM d HH:mm:ss yyyy, EEE, dd-MMM-yyyy HH:mm:ss z, EEE, dd-MMM-yyyy HH-mm-ss z, EEE, dd MMM yy HH:mm:ss z, EEE dd-MMM-yyyy HH:mm:ss z, EEE dd MMM yyyy HH:mm:ss z, EEE dd-MMM- yyyy HH-mm-ss z, EEE dd-MMM-yy HH:mm:ss z, EEE dd MMM yy HH:mm:ss z, EEE,dd-MMM-yy HH:mm:ss z, EEE,dd-MMM-yyyy HH:mm:ss z, EEE, dd-MM-yyyy HH:mm:ss z] 2009/08/26 13:56:22:769 MSD [DEBUG] DefaultHttpParams - Set parameter http.protocol.cookie-policy = compatibility 2009/08/26 13:56:22:814 MSD [DEBUG] HttpConnection - Open connection to smallbusiness.local:80 2009/08/26 13:56:22:829 MSD [DEBUG] header - >> "GET /owa/[email protected] / HTTP/1.1[\r][\n]" 2009/08/26 13:56:22:830 MSD [DEBUG] HttpMethodBase - Adding Host request header 2009/08/26 13:56:22:842 MSD [DEBUG] header - >> "User-Agent: Jakarta Commons-HttpClient/3.1[\r][\n]" 2009/08/26 13:56:22:842 MSD [DEBUG] header - >> "Host: smallbusiness.local[\r][\n]"
2009/08/26 13:56:22:842 MSD [DEBUG] header - >> "[\r][\n]"
2009/08/26 13:56:22:845 MSD [DEBUG] header - << "HTTP/1.1 302 Moved Temporarily[\r][\n]" 2009/08/26 13:56:22:845 MSD [DEBUG] header - << "HTTP/1.1 302 Moved Temporarily[\r][\n]" 2009/08/26 13:56:22:847 MSD [DEBUG] header - << "Location: http://smallbusiness.local/owa/auth/logon.aspx?url=http://smallbusiness.local/owa/[email protected]/&reason=0 [\r][\n]" 2009/08/26 13:56:22:847 MSD [DEBUG] header - << "Set-Cookie: sessionid=; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT[\r][\n]" 2009/08/26 13:56:22:847 MSD [DEBUG] header - << "Set-Cookie: cadata=; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT[\r][\n]" 2009/08/26 13:56:22:847 MSD [DEBUG] header - << "Connection: close[\r] [\n]" 2009/08/26 13:56:22:847 MSD [DEBUG] header - << "Content-Length: 0[\r] [\n]"
2009/08/26 13:56:22:847 MSD [DEBUG] header - << "[\r][\n]"
2009/08/26 13:56:22:854 MSD [DEBUG] HttpMethodBase - Cookie accepted: "sessionid=" 2009/08/26 13:56:22:855 MSD [DEBUG] HttpMethodBase - Cookie accepted: "cadata=" 2009/08/26 13:56:22:857 MSD [DEBUG] HttpMethodDirector - Redirect required 2009/08/26 13:56:22:857 MSD [DEBUG] HttpMethodDirector - Redirect requested to location 'http://smallbusiness.local/owa/auth/logon.aspx?url=http://smallbusiness.local/owa/[email protected]/&reason=0' 2009/08/26 13:56:22:858 MSD [DEBUG] HttpMethodDirector - Redirecting from 'http://smallbusiness.local:80/owa/[email protected]/' to 'http://smallbusiness.local/owa/auth/logon.aspx 2009/08/26 13:56:22:858 MSD [DEBUG] HttpMethodDirector - Execute redirect 1 of 100 2009/08/26 13:56:22:858 MSD [DEBUG] HttpMethodBase - Should close connection in response to directive: close 2009/08/26 13:56:22:859 MSD [DEBUG] HttpConnection - Connection is locked. Call to releaseConnection() ignored. 2009/08/26 13:56:22:860 MSD [DEBUG] HttpConnection - Open connection to smallbusiness.local:80 2009/08/26 13:56:22:860 MSD [DEBUG] header - >> "GET /owa/auth/ logon.aspx?url=http://smallbusiness.local/owa/[email protected]/&reason=0 HTTP/1.1[\r][\n]" 2009/08/26 13:56:22:861 MSD [DEBUG] HttpMethodBase - Adding Host request header 2009/08/26 13:56:22:862 MSD [DEBUG] header - >> "User-Agent: Jakarta Commons-HttpClient/3.1[\r][\n]" 2009/08/26 13:56:22:862 MSD [DEBUG] header - >> "Host: smallbusiness.local[\r][\n]"
2009/08/26 13:56:22:862 MSD [DEBUG] header - >> "[\r][\n]"
2009/08/26 13:56:22:872 MSD [DEBUG] header - << "HTTP/1.1 200 OK[\r] [\n]" 2009/08/26 13:56:22:873 MSD [DEBUG] header - << "HTTP/1.1 200 OK[\r] [\n]" 2009/08/26 13:56:22:873 MSD [DEBUG] header - << "Cache-Control: no- cache[\r][\n]" 2009/08/26 13:56:22:873 MSD [DEBUG] header - << "Pragma: no-cache[\r] [\n]" 2009/08/26 13:56:22:874 MSD [DEBUG] header - << "Content-Length: 8376[\r][\n]" 2009/08/26 13:56:22:874 MSD [DEBUG] header - << "Content-Type: text/ html; charset=utf-8[\r][\n]"
2009/08/26 13:56:22:874 MSD [DEBUG] header - << "Expires: -1[\r][\n]"
2009/08/26 13:56:22:874 MSD [DEBUG] header - << "Server: Microsoft-IIS/ 6.0[\r][\n]" 2009/08/26 13:56:22:875 MSD [DEBUG] header - << "X-Powered-By: ASP.NET[\r][\n]" 2009/08/26 13:56:22:875 MSD [DEBUG] header - << "X-AspNet-Version: 2.0.50727[\r][\n]" 2009/08/26 13:56:22:875 MSD [DEBUG] header - << "X-OWA-Version: 8.1.375.2[\r][\n]" 2009/08/26 13:56:22:875 MSD [DEBUG] header - << "X-UA-Compatible: IE=EmulateIE7[\r][\n]" 2009/08/26 13:56:22:875 MSD [DEBUG] header - << "Date: Wed, 26 Aug 2009 09:56:22 GMT[\r][\n]"
2009/08/26 13:56:22:876 MSD [DEBUG] header - << "[\r][\n]"
Login form get: HTTP/1.1 200 OK
2009/08/26 13:56:22:993 MSD [DEBUG] HttpMethodBase - Resorting to protocol version default close connection policy 2009/08/26 13:56:22:993 MSD [DEBUG] HttpMethodBase - Should NOT close connection, using HTTP/1.1 2009/08/26 13:56:23:000 MSD [DEBUG] HttpConnection - Releasing connection back to connection manager.
Initial set of cookies:
None
2009/08/26 13:56:23:009 MSD [DEBUG] header - >> "POST /owa/auth/ owaauth.dll HTTP/1.1[\r][\n]" 2009/08/26 13:56:23:009 MSD [DEBUG] HttpMethodBase - Adding Host request header 2009/08/26 13:56:23:010 MSD [DEBUG] HttpMethodBase - Default charset used: ISO-8859-1 2009/08/26 13:56:23:012 MSD [DEBUG] HttpMethodBase - Default charset used: ISO-8859-1 2009/08/26 13:56:23:013 MSD [DEBUG] header - >> "Connection: keep- alive[\r][\n]" 2009/08/26 13:56:23:013 MSD [DEBUG] header - >> "User-Agent: Jakarta Commons-HttpClient/3.1[\r][\n]" 2009/08/26 13:56:23:013 MSD [DEBUG] header - >> "Host: smallbusiness.local[\r][\n]" 2009/08/26 13:56:23:013 MSD [DEBUG] header - >> "Content-Length: 171[\r][\n]" 2009/08/26 13:56:23:014 MSD [DEBUG] header - >> "Content-Type: application/x-www-form-urlencoded[\r][\n]"
2009/08/26 13:56:23:014 MSD [DEBUG] header - >> "[\r][\n]"
2009/08/26 13:56:23:016 MSD [DEBUG] EntityEnclosingMethod - Request body sent 2009/08/26 13:56:23:016 MSD [DEBUG] header - << "HTTP/1.1 302 Moved Temporarily[\r][\n]" 2009/08/26 13:56:23:017 MSD [DEBUG] header - << "HTTP/1.1 302 Moved Temporarily[\r][\n]" 2009/08/26 13:56:23:017 MSD [DEBUG] header - << "Content-Length: 0[\r] [\n]" 2009/08/26 13:56:23:017 MSD [DEBUG] header - << "Location: http://smallbusiness.local/owa/[email protected]/ [\r][\n]" 2009/08/26 13:56:23:017 MSD [DEBUG] header - << "Server: Microsoft-IIS/ 6.0[\r][\n]" 2009/08/26 13:56:23:017 MSD [DEBUG] header - << "X-Powered-By: ASP.NET[\r][\n]" 2009/08/26 13:56:23:018 MSD [DEBUG] header - << "Set-Cookie: sessionid=dfde2b05-aa17-4397-9be2-6dc8cb5fe1a4; path=/[\r][\n]" 2009/08/26 13:56:23:018 MSD [DEBUG] header - << "Set-Cookie: cadata="2Ts4qFvaXTOUHcKkVWI+getQ9fTHZMEEVO8p59XUYW0cGLsuok +LF7PYwNpn06S7x"; HttpOnly; path=/[\r][\n]" 2009/08/26 13:56:23:019 MSD [DEBUG] header - << "Date: Wed, 26 Aug 2009 09:56:22 GMT[\r][\n]"
2009/08/26 13:56:23:019 MSD [DEBUG] header - << "[\r][\n]"
2009/08/26 13:56:23:019 MSD [DEBUG] HttpMethodBase - Cookie accepted: "sessionid=dfde2b05-aa17-4397-9be2-6dc8cb5fe1a4" 2009/08/26 13:56:23:019 MSD [DEBUG] CookieSpec - Unrecognized cookie attribute: name=HttpOnly, value=null 2009/08/26 13:56:23:019 MSD [DEBUG] HttpMethodBase - Cookie accepted: "cadata=2Ts4qFvaXTOUHcKkVWI+getQ9fTHZMEEVO8p59XUYW0cGLsuok +LF7PYwNpn06S7x" 2009/08/26 13:56:23:019 MSD [DEBUG] HttpMethodDirector - Redirect required
Login form post: HTTP/1.1 302 Moved Temporarily
Logon cookies:
- sessionid=dfde2b05-aa17-4397-9be2-6dc8cb5fe1a4
- cadata=2Ts4qFvaXTOUHcKkVWI+getQ9fTHZMEEVO8p59XUYW0cGLsuok +LF7PYwNpn06S7x 2009/08/26 13:56:23:220 MSD [DEBUG] HttpMethodBase - Should NOT close connection in response to directive: keep-alive 2009/08/26 13:56:23:220 MSD [DEBUG] HttpConnection - Releasing connection back to connection manager. 2009/08/26 13:56:23:222 MSD [DEBUG] header - >> "PROPFIND /owa/ HTTP/ 1.1[\r][\n]" 2009/08/26 13:56:23:222 MSD [DEBUG] HttpMethodBase - Adding Host request header 2009/08/26 13:56:23:222 MSD [DEBUG] header - >> "Depth: infinity[\r] [\n]" 2009/08/26 13:56:23:222 MSD [DEBUG] header - >> "User-Agent: Jakarta Commons-HttpClient/3.1[\r][\n]" 2009/08/26 13:56:23:222 MSD [DEBUG] header - >> "Host: smallbusiness.local[\r][\n]" 2009/08/26 13:56:23:223 MSD [DEBUG] header - >> "Cookie: sessionid=dfde2b05-aa17-4397-9be2-6dc8cb5fe1a4[\r][\n]" 2009/08/26 13:56:23:223 MSD [DEBUG] header - >> "Cookie: cadata=2Ts4qFvaXTOUHcKkVWI+getQ9fTHZMEEVO8p59XUYW0cGLsuok +LF7PYwNpn06S7x[\r][\n]" 2009/08/26 13:56:23:223 MSD [DEBUG] header - >> "Content-Length: 91[\r] [\n]" 2009/08/26 13:56:23:223 MSD [DEBUG] header - >> "Content-Type: text/ xml; charset=UTF-8[\r][\n]"
2009/08/26 13:56:23:223 MSD [DEBUG] header - >> "[\r][\n]"
2009/08/26 13:56:23:223 MSD [DEBUG] EntityEnclosingMethod - Request body sent 2009/08/26 13:56:23:224 MSD [DEBUG] header - << "HTTP/1.1 440 Login Timeout[\r][\n]" 2009/08/26 13:56:23:224 MSD [DEBUG] header - << "HTTP/1.1 440 Login Timeout[\r][\n]" 2009/08/26 13:56:23:224 MSD [DEBUG] header - << "Set-Cookie: sessionid=; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT[\r][\n]" 2009/08/26 13:56:23:225 MSD [DEBUG] header - << "Set-Cookie: cadata=; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT[\r][\n]" 2009/08/26 13:56:23:225 MSD [DEBUG] header - << "Content-Type: text/ html[\r][\n]" 2009/08/26 13:56:23:225 MSD [DEBUG] header - << "Connection: close[\r] [\n]" 2009/08/26 13:56:23:225 MSD [DEBUG] header - << "Content-Length: 43[\r] [\n]"
2009/08/26 13:56:23:225 MSD [DEBUG] header - << "[\r][\n]"
2009/08/26 13:56:23:226 MSD [DEBUG] HttpMethodBase - Cookie accepted: "sessionid=" 2009/08/26 13:56:23:227 MSD [DEBUG] HttpMethodBase - Cookie accepted: "cadata=" 2009/08/26 13:56:23:253 MSD [DEBUG] HttpMethodBase - Should close connection in response to directive: close 2009/08/26 13:56:23:253 MSD [DEBUG] HttpConnection - Releasing connection back to connection manager. Exception in thread "main" org.apache.jackrabbit.webdav.DavException: Login Timeout at org .apache .jackrabbit .webdav .client.methods.DavMethodBase.getResponseException(DavMethodBase.java: 156) at org .apache .jackrabbit .webdav .client .methods.DavMethodBase.getResponseBodyAsMultiStatus(DavMethodBase.java: 94)
        at exchFetchMail.FormBasedAuth.propFind(FormBasedAuth.java:50)
        at exchFetchMail.FormBasedAuth.main(FormBasedAuth.java:132)




Thanks


Regards
Valentin Popov



Reply via email to