Page 1 of 1

Cannot Login

Posted: Fri Jun 17, 2005 11:14 am
by SveN
Hi,

I just wanted to try SVNBrowser 1.0-M5 on my windows machine
with JRE 5.0.3 and Tomcat 5.5.9 but I cannot log in my SVN repository!

SVN 1.2 is running on Apache 2.0.54 with "mod_auth_sspi" to
Authenticate against our Windows Domain.

If I hit the Login Button the Apache Log says:

Code: Select all

192.168.0.1 - - [17/Jun/2005:13:04:11 +0200] "PROPFIND /MyRepos/!svn/vcc/default HTTP/1.1" 401 524


and the Tomcat Log:

Code: Select all

[2005-06-17 13:10:58,999] [ERROR] org.polarion.svndriver.actions.FileListAction.getFileListAttempt - Bad login name
org.polarion.svndriver.SVNException: Bad login name
   at org.polarion.svndriver.actions.RevisionAction.getLastRevisionPathXML(RevisionAction.java:119)
   at org.polarion.svndriver.actions.RevisionAction.getLastRevision(RevisionAction.java:61)
   at org.polarion.svndriver.actions.FileListAction.findLastRevision(FileListAction.java:168)
   at org.polarion.svndriver.actions.FileListAction.findUrl(FileListAction.java:155)
   at org.polarion.svndriver.actions.FileListAction.getDirReport(FileListAction.java:119)
   at org.polarion.svndriver.actions.FileListAction.getFileListAttempt(FileListAction.java:84)
   at org.polarion.svndriver.actions.FileListAction.getFileList(FileListAction.java:71)
   at org.polarion.svndriver.RepositoryReader.getFileList(RepositoryReader.java:134)
   at org.polarion.svnbrowser.svnbeans.DirectoryList.getFileContent(DirectoryList.java:76)
   at org.polarion.svnbrowser.versionobjects.beanwrappers.DirectoryListBean.getFileContent(DirectoryListBean.java:65)
   at org.polarion.svnbrowser.web.servlets.LoginServlet.service(LoginServlet.java:74)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
   at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
   at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
   at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
   at java.lang.Thread.run(Unknown Source)
[2005-06-17 13:10:59,009] [ERROR] org.polarion.svndriver.actions.FileListAction.getFileListAttempt - >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[2005-06-17 13:10:59,009] [ERROR] org.polarion.svndriver.actions.FileListAction.getFileListAttempt - TRY# 0
[2005-06-17 13:10:59,019] [ERROR] org.polarion.svnbrowser.web.servlets.LoginServlet.service - Max attempts reached -1
org.polarion.svnbrowser.util.LoginErrorException: Max attempts reached -1
   at org.polarion.svndriver.actions.FileListAction.getFileListAttempt(FileListAction.java:108)
   at org.polarion.svndriver.actions.FileListAction.getFileListAttempt(FileListAction.java:105)
   at org.polarion.svndriver.actions.FileListAction.getFileList(FileListAction.java:71)
   at org.polarion.svndriver.RepositoryReader.getFileList(RepositoryReader.java:134)
   at org.polarion.svnbrowser.svnbeans.DirectoryList.getFileContent(DirectoryList.java:76)
   at org.polarion.svnbrowser.versionobjects.beanwrappers.DirectoryListBean.getFileContent(DirectoryListBean.java:65)
   at org.polarion.svnbrowser.web.servlets.LoginServlet.service(LoginServlet.java:74)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
   at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
   at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
   at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
   at java.lang.Thread.run(Unknown Source)


Anyone an Idea what is wrong? Is SSPI the Problem?

cu SveN

Posted: Mon Jun 20, 2005 10:42 am
by dobisekm
Hi SveN,

actually, we have not tested SVNBrowser to work with JRE 5 and Tomcat 5, so there could be potential source of problems, same for SVN 1.2.

The SVNBrowser checks access against SVN, so if SVN behaves the same independently on authentication source, then SSPI should not be the problem (we know, that it works e.g. with LDAP).

Does your username/password contain any special characters (others than letters and numbers)? We had a bug related to this, which is fixed in snapshot builds, but not in the 1.0-M5 yet.

I hope this helps, please let me know.

Michal Dobisek, Polarion Team

Posted: Tue Jun 21, 2005 6:33 am
by SveN
Hi dobisekm,

I tried a snapshot build -> same behaviour!
My password does not contain any special characters...?

cu SveN

Posted: Fri Jun 24, 2005 11:28 am
by dobisekm
Hi SveN,

it looks like your problem has probably the same cause as Merlyn's one. Could you please check the same:

Does the login user have the access rights to the repository root and it's subfolders?

Could you pls check your Apache access logs to see, which locations were acrually accessed, and what were the errors produced?

Thanks,

Michal Dobisek, Polarion Team

More login problems

Posted: Tue Jul 26, 2005 3:06 pm
by Marco
Hi there,

I have exactly the same problems refered above. Tomcat 5.5 and Java 1.5 with SSPI athentication. I have checked paths, permisions, etc. No sucess :-(

Is there been any progress regarding this issue? I will appreciate any coments on it.

Chreers!

Re: Cannot Login

Posted: Mon Mar 09, 2015 7:31 am
by Lala22
I'm installed svnbrowser on both a linux and windows installation of tomcat (4.1). Either way, I can't seem to get past the logon page. My svn server is setup through apache on a windows server with domain authentication enabled (SSPI). Does anyone have this type of setup workng?

Re: Cannot Login

Posted: Mon May 11, 2015 11:28 am
by swirusek
i've had similar problem. But for me it was temporaly