Exception in newest version

Former SVN Browser
argantork
Posts: 1
Joined: Thu Feb 23, 2006 9:41 pm

Exception in newest version

Postby argantork » Thu Feb 23, 2006 9:47 pm

I get the following exception running the newest version (snapshot from /20060223-1119/distributions/):

org.polarion.svnwebclient.data.DataProviderException: org.polarion.svnwebclient.data.javasvn.SVNRepositoryPool must be initialized before first usage

Seems like there's a null somewhere :)

ivinnykov
Posts: 473
Joined: Tue Jan 03, 2006 11:57 am
Location: Kharkiv, Ukraine

Postby ivinnykov » Tue Mar 21, 2006 12:09 pm

Dear argantork,

Thank you for reporting. Please check latest version. Should work now.
Best regards,
Igor Vinnykov
Polarion Team

nchris
Posts: 1
Joined: Tue Apr 18, 2006 11:26 pm

Postby nchris » Tue Apr 18, 2006 11:32 pm

Using windows server 2003, tomcat 5.0.28, webclient using version found in file: svnwebclient-SNAPSHOT(after 2.5.0)-src.zip

recieve this error:
org.polarion.svnwebclient.SVNWebClientException: org.polarion.svnwebclient.data.DataProviderException: org.polarion.svnwebclient.data.javasvn.SVNRepositoryPool must be initialized before first usage

kind regards
Chris

ahbrown41
Posts: 1
Joined: Fri Apr 21, 2006 6:43 pm

Postby ahbrown41 » Fri Apr 21, 2006 6:45 pm

I have the same problem. Is there something that needs to be initialized?

ragerino
Posts: 6
Joined: Fri Apr 28, 2006 12:24 pm

same here

Postby ragerino » Fri Apr 28, 2006 2:48 pm

same here.
i dl-ed 2.5.0 from the website.

btw: i'm installing svnwebclient for the first time

here's the full stacktrace:

Code: Select all

org.polarion.svnwebclient.SVNWebClientException: org.polarion.svnwebclient.data.DataProviderException: org.polarion.svnwebclient.data.javasvn.SVNRepositoryPool must be initialized before first usage
   at org.polarion.svnwebclient.web.controller.AbstractBean.execute(AbstractBean.java:58)
   at org.apache.jsp.directoryContent_jsp._jspService(directoryContent_jsp.java:63)
   at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:92)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
   at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:162)
   at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:240)
   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:187)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
   at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:627)
   at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:382)
   at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:306)
   at org.polarion.svnwebclient.web.servlet.LogoutServlet.execute(LogoutServlet.java:42)
   at org.polarion.svnwebclient.web.servlet.LogoutServlet.doPost(LogoutServlet.java:24)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:716)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:200)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:146)
   at org.polarion.svnwebclient.authorization.impl.BindSessionsFilter.doFilter(BindSessionsFilter.java:48)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:166)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:146)
   at org.polarion.svnwebclient.web.CharsetFilter.doFilter(CharsetFilter.java:52)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:166)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:146)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:209)
   at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
   at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
   at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:144)
   at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
   at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
   at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
   at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2358)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:133)
   at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
   at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:118)
   at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:116)
   at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
   at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
   at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:127)
   at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
   at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
   at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
   at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:152)
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
   at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
   at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
   at java.lang.Thread.run(Unknown Source)
Caused by: org.polarion.svnwebclient.data.DataProviderException: org.polarion.svnwebclient.data.javasvn.SVNRepositoryPool must be initialized before first usage
   at org.polarion.svnwebclient.data.javasvn.SVNRepositoryPool.getInstance(SVNRepositoryPool.java:72)
   at org.polarion.svnwebclient.data.javasvn.DataProvider.connect(DataProvider.java:157)
   at org.polarion.svnwebclient.web.SystemInitializing.init(SystemInitializing.java:53)
   at org.polarion.svnwebclient.web.controller.AbstractBean.execute(AbstractBean.java:47)
   ... 49 more

ragerino
Posts: 6
Joined: Fri Apr 28, 2006 12:24 pm

Postby ragerino » Fri Apr 28, 2006 3:52 pm

apache server is configured to use mod_dav_svn

Code: Select all

LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so


and here's the rest of the config:

Code: Select all

# SVN-Authentication
<Location /svn>
   DAV svn
   SVNParentPath D:/SVNRepository
   AuthType SSPI
   SSPIAuth On
   SSPIAuthoritative On
   SSPIDomain workflow
   SSPIOfferBasic On
   AuthName "Subversion repositories"
   AuthzSVNAccessFile D:/SVNRepository/svnaccess.conf
   Require valid-user
</Location>


we are using windows domainusers f.e.: domain\user as username for authentication. does the backslash causes the problems

f.e. my web.xml of the svnwebclient

Code: Select all

<!--
        Username
        Values: Valid UserName
        Example: usename
    -->
    <context-param>
        <param-name>Username</param-name>
        <param-value>domain\\user</param-value>
    </context-param>
   
    <!--
      Password
        Values: valid password
        Example: pass
    -->
    <context-param>
        <param-name>Password</param-name>
        <param-value>password</param-value>
    </context-param>   

<!--

ragerino
Posts: 6
Joined: Fri Apr 28, 2006 12:24 pm

think i found the error/workaround

Postby ragerino » Fri Apr 28, 2006 4:10 pm

if you switch to multirepostory mode than it seems to work

Code: Select all

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


for authentication you just have to provide the username without domain.

f.e.: user domain/user -> just use user

hope this helped. support from the developers lacks.

regards,
ragerino

franc
Posts: 14
Joined: Sat Mar 03, 2007 9:57 am

SVNRepositoryPool must be initialized before first usage

Postby franc » Tue May 15, 2007 9:39 am

i had this error too, when starting svnwebclient, followed by a bunch of others:
javax.servlet.ServletException: org.polarion.svnwebclient.SVNWebClientException: org.polarion.svnwebclient.data.DataProviderException: org.polarion.svnwebclient.data.javasvn.SVNRepositoryPool must be initialized before first usage...

when i put this
<Context path="/svnwebclient" reloadable="true" docBase="c:\Programme\Tomcat5.5\webapps" workDir="c:\Programme\Tomcat5.5 work\Catalina\localhost\svnwebclient\org\apache\jsp"> <Loader className="org.apache.catalina.loader.DevLoader" reloadable="true" debug="1" /></Context>
from the
basicAuthenticationSettings.txt
'help'-file.

So i just removed it again from the web.xml of svnwebclient, then it works.


Return to “Polarion SVN Web Client”

Who is online

Users browsing this forum: No registered users and 6 guests