Hi Peter,
Hmm, so you say
curl -D - -X OPTIONS http://admin:[EMAIL PROTECTED]:8080/dav/default
works, but
curl -D - -X OPTIONS http://admin:[EMAIL PROTECTED]:8080/dav
gives you the IllegalStateException in the log ?
This should not be the case as the second URL should be redirected (302)
to the first.
Regards
Felix
Am Montag, den 28.01.2008, 19:21 +0100 schrieb Peter Svensson:
> Ahaaa! In your previous psot, you misspelled the url :) You said it was
> different, and only /dav, but now I saw that you write /dev/default in this
> post.
> And that worked (releived).
>
> Back to work
>
> PS
>
> On Jan 25, 2008 5:59 PM, Bertrand Delacretaz <[EMAIL PROTECTED]> wrote:
>
> > Hi Peter,
> >
> > On Jan 25, 2008 4:58 AM, Peter Svensson <[EMAIL PROTECTED]> wrote:
> >
> > > ...2008-01-25 03:30:55.980::WARN: Committed before 401 Unauthorized
> > > 2008-01-25 03:30:55.981::WARN: /dav/
> > > java.lang.IllegalStateException: Committed...
> >
> > Once you get a chance to try again, you could try with curl to make
> > sure your login problem is unrelated to the WebDAV client.
> >
> > After starting launchpad-webapp with "mvn package jetty:start",
> >
> > curl -D - -X OPTIONS http://admin:[EMAIL PROTECTED]:8080/dav/default
> >
> > should say
> >
> > HTTP/1.1 200 OK
> > DAV: 1,2,version-control,version-history,label
> > Allow: OPTIONS, GET, HEAD, POST, TRACE, PROPFIND, PROPPATCH, MKCOL,
> > COPY, PUT, DELETE, MOVE, LOCK, UNLOCK, VERSION-CONTROL
> > MS-Author-Via: DAV
> > Content-Length: 0
> > Server: Jetty(6.1.5)
> >
> > The WebDAV service takes a few seconds to startup, about 5 on my macbook
> > pro.
> >
> > -Bertrand
> >