svnwebclient apache mysql auth error

Former SVN Browser
coffe_1n
Posts: 1
Joined: Fri Sep 19, 2008 6:58 am

svnwebclient apache mysql auth error

Postby coffe_1n » Fri Sep 19, 2008 9:58 pm

Hello all,
I have login problem on multiple repository....

This my Configurations:
    Apache 2.0.58
    Tomcat 6.0.18
    Subversion 1.4.4
    SVN Web Client 3.1.0
    jdk1.6.0_01
    mod_jk/1.2.15
    MySQL 5.0.18
    WinXP SP2

Setup steps:
1. SET PASSWORD FOR root@localhost = OLD_PASSWORD('mypass'); for mysql

2. adding configuration on "httpd.conf":

Code: Select all

   LoadModule mysql_auth_module modules/mod_auth_mysql.so
   LoadModule dav_module        modules/mod_dav.so
   LoadModule dav_svn_module    modules/mod_dav_svn.so
   LoadModule jk_module         modules/mod_jk-apache-2.0.55.so


Code: Select all

   JkWorkersFile conf/workers.properties
   JkLogFile "logs/mod_jk.log"   
   JkLogLevel error
   JkRequestLogFormat "%w %U %T"
   JkMount /* ajp13
   JkUnmount /*.php ajp13


Code: Select all

   <Location /svn>
      DAV             svn
      SVNParentPath          C:/REPOSITORY
      AuthName          "MySQL Test SVN"    
      AuthType          Basic
      AuthMySQLHost          localhost
      AuthMySQLUser          root
      AuthMySQLPassword       mypass
      AuthMySQLDB          opencollab
      AuthMySQLUserTable       act_user_account
      AuthMySQLNameField       account_id
      AuthMySQLPasswordField       password
      AuthMySQLCryptedPasswords    Off
      require          valid-user
   </Location>


3. deploy "svnwebclient.war" on Tomcat, and configure :

Code: Select all

   <context-param>
      <param-name>ParentRepositoryDirectory</param-name>
      <param-value>http://localhost/svn/</param-value>
   </context-param>



4. I can successfully login to repository via "http://localhost/svn/bahaya". [the browser shows the auth panel]

the problem is raised when Using "http://localhost/svnwebclient", it'll redirect to login.jsp, [enter reposPath, user,pass]

if the url point to http://localhost/svnwebclient/login.jsp, svnwebclient show message: "Your credentials are not correct. Please check them and try again."

but if the url point to "http://localhost/svnwebclient/logout.jsp", i get the following error message:

Code: Select all

>>>>>>>>--------->>: ERROR web.controller.directory.DirectoryContentBean.execute:80 - org.polarion.svnwebclient.data.DataProviderException: org.polarion.svncommons.commentscache.CommentsCacheException: edu.emory.mathcs.backport.java.util.concurrent.ExecutionException: org.tmatesoft.svn.core.SVNAuthenticationException: svn: Credential data unavailable
org.polarion.svnwebclient.data.DataProviderException: org.polarion.svncommons.commentscache.CommentsCacheException: edu.emory.mathcs.backport.java.util.concurrent.ExecutionException: org.tmatesoft.svn.core.SVNAuthenticationException: svn: Credential data unavailable
   at org.polarion.svnwebclient.data.javasvn.DataProvider.getDirectory(DataProvider.java:292)
   at org.polarion.svnwebclient.data.javasvn.DataProvider.getDirectory(DataProvider.java:216)
   at org.polarion.svnwebclient.web.controller.directory.BaseDirectoryContentBean.executeSVNOperation(BaseDirectoryContentBean.java:33)
   at org.polarion.svnwebclient.web.controller.AbstractBean.execute(AbstractBean.java:67)
   at org.apache.jsp.directoryContent_jsp._jspService(directoryContent_jsp.java:71)
   at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
   at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
   at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at org.polarion.svnwebclient.authorization.impl.BindSessionsFilter.doFilter(BindSessionsFilter.java:58)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at org.polarion.svnwebclient.web.CharsetFilter.doFilter(CharsetFilter.java:52)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
   at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
   at java.lang.Thread.run(Thread.java:619)
Caused by: org.polarion.svncommons.commentscache.CommentsCacheException: edu.emory.mathcs.backport.java.util.concurrent.ExecutionException: org.tmatesoft.svn.core.SVNAuthenticationException: svn: Credential data unavailable
   at org.polarion.svncommons.commentscache.CommentsCache.getComment(CommentsCache.java:136)
   at org.polarion.svnwebclient.data.javasvn.DataProvider.getDirectory(DataProvider.java:231)
   ... 28 more
Caused by: edu.emory.mathcs.backport.java.util.concurrent.ExecutionException: org.tmatesoft.svn.core.SVNAuthenticationException: svn: Credential data unavailable
   at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.getResult(FutureTask.java:289)
   at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.get(FutureTask.java:115)
   at org.polarion.svncommons.commentscache.CommentsCache.getComment(CommentsCache.java:129)
   ... 29 more
Caused by: org.tmatesoft.svn.core.SVNAuthenticationException: svn: Credential data unavailable
   at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:47)
   at org.tmatesoft.svn.core.internal.io.dav.DAVUtil.findStartingProperties(DAVUtil.java:124)
   at org.tmatesoft.svn.core.internal.io.dav.DAVUtil.getBaselineProperties(DAVUtil.java:197)
   at org.tmatesoft.svn.core.internal.io.dav.DAVUtil.getBaselineInfo(DAVUtil.java:160)
   at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.log(DAVRepository.java:505)
   at org.tmatesoft.svn.core.io.SVNRepository.log(SVNRepository.java:703)
   at org.tmatesoft.svn.core.io.SVNRepository.log(SVNRepository.java:1018)
   at org.polarion.svncommons.commentscache.CommentsProvider.getRevisionsMap(CommentsProvider.java:169)
   at org.polarion.svncommons.commentscache.CommentsProvider.getLogMessage(CommentsProvider.java:154)
   at org.polarion.svncommons.commentscache.task.RequestTask.call(RequestTask.java:46)
   at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:166)
   at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:643)
   at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:668)
   ... 1 more
>>>>>>>>--------->>: TRACE svnwebclient.data.javasvn.SVNRepositoryPool.getInstance:83 - POOL NAME: http://localhost/svn/bahaya
19 Sep 08 7:46:12 org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet jsp threw exception
org.tmatesoft.svn.core.SVNAuthenticationException: svn: Credential data unavailable
   at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:47)
   at org.tmatesoft.svn.core.internal.io.dav.DAVUtil.findStartingProperties(DAVUtil.java:124)
   at org.tmatesoft.svn.core.internal.io.dav.DAVUtil.getBaselineProperties(DAVUtil.java:197)
   at org.tmatesoft.svn.core.internal.io.dav.DAVUtil.getBaselineInfo(DAVUtil.java:160)
   at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.log(DAVRepository.java:505)
   at org.tmatesoft.svn.core.io.SVNRepository.log(SVNRepository.java:703)
   at org.tmatesoft.svn.core.io.SVNRepository.log(SVNRepository.java:1018)
   at org.polarion.svncommons.commentscache.CommentsProvider.getRevisionsMap(CommentsProvider.java:169)
   at org.polarion.svncommons.commentscache.CommentsProvider.getLogMessage(CommentsProvider.java:154)
   at org.polarion.svncommons.commentscache.task.RequestTask.call(RequestTask.java:46)
   at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:166)
   at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:643)
   at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:668)
   at java.lang.Thread.run(Thread.java:619)
>>>>>>>>--------->>: TRACE svnwebclient.authorization.impl.BindSessionsFilter.doFilter:56 - PATH: null



and on apache error.log:

Code: Select all

[Fri Sep 19 07:46:12 2008] [error] [client 127.0.0.1] MySQL ERROR: MySQL server has gone away
[Fri Sep 19 07:46:12 2008] [error] [client 127.0.0.1] MySQL user 03410100222 not found: /svn/bahaya
[Fri Sep 19 07:46:12 2008] [error] [client 127.0.0.1] MySQL ERROR: Can't connect to MySQL server on 'localhost' (10038)
[Fri Sep 19 07:46:12 2008] [error] [client 127.0.0.1] MySQL user 03410100222 not found: /svn/bahaya
[Fri Sep 19 07:46:53 2008] [error] [client 127.0.0.1] Could not fetch resource information.  [301, #0]
[Fri Sep 19 07:46:53 2008] [error] [client 127.0.0.1] Requests for a collection must have a trailing slash on the URI.  [301, #0]



i can login to the repository using all subversion client application except "svnwebclient".....

Please help!

Thanks,
Indra

Return to “Polarion SVN Web Client”

Who is online

Users browsing this forum: No registered users and 4 guests