java - Tomcat's webdav repeated 401 when it's deployed on Mac OS X -


i have deployed tomcat 7.0.39 on mac os x 10.7 java 1.7.0_04-b21, , turned on webdav shipped tomcat. try connect finder using either basic or digest authentication, connection fails , tomcat's access log repeatedly reports 401 (propfind /webdav/ http/1.1 401 951) if stop connection. when deploy same tomcat on linux machine using java 1.6, works fine mac's finder. , if connect webdav deployed on mac os x browser or linux's nautilus, works fine.

edit: repeated 401 messages seems infinite redirects. edit2: when connect webdav running on mac os x openoffice, it's fine too. weird.

edit3: in previous situation, used localhost connect webdav servlet. changed localhost ip, such 192.168.2.103, same machine localhost, finder correctly made connection. it's weird. maybe cache interferes finder, since i've changed webdav's configurations of same url several times.

could help? thanks.

problem solved.

the reason unclear me, it's possible credential cached in key chain causes problem.

since there webdav deployment of same uri (using localhost server name), authentication information might saved key chain localhost. consequence, trying connect new deployment of webdav using localhost finder might use saved credential, fails operation. when changing localhost server name, no cached credential found , connection successful. after locked key chain mac os x's utility, pointed finder webdav uri. when prompt appeared request reading key chain, pressed reject button, , dialog asking username , password popped up. goes expected.


Comments

Popular posts from this blog

Perl - how to grep a block of text from a file -

delphi - How to remove all the grips on a coolbar if I have several coolbands? -

javascript - Animating array of divs; only the final element is modified -