Resource Menu


RE : Subversion
I cannot integrate LibreSource with libresource. Moreover I cannot find any intelligible manual or howto. Process described above is out of date, in my LibreSource (latest release available at the moment of writing), there is no any '''$LIBRESOURCE_HOME/Distribution/ls-config.properties''' file. And I only find those words in README:
  • libresourceConfig.properties : Used to configure any dynamic property of the libresource platform. (host name, working directory, default working node, subversion configuration)
Bug where can I find detailed step-by-step instructions what to do? There are several lines in '''libresourceConfig.properties''' connected with subversion:

# Subversion configuration
subversion.file.generation=false
subversion.authz.file.path=$LS_CONFIG_SVN_AUTH_PATH
subversion.passwd.file.path=$LS_CONFIG_SVN_PASSWD_PATH
subversion.repository.base.path=$LS_CONFIG_SVN_REPOSITORY_BASE_PATH
subversion.admin.login=$LS_CONFIG_SVN_ADMIN_LOGIN
subversion.admin.password=$LS_CONFIG_SVN_ADMIN_PASSWD

I have tried many different settings but every time I get "Error in createRepository : Impossible to create repository on the server" when trying to create new subversion resource under my demo project.

Log shows me exception:

Thu Jul 26 13:40:06 MSD 2007 : /users/root : /projects/demo/svn : kernel.createAcl
Thu Jul 26 13:40:06 MSD 2007 : /users/root : /projects/demo/svn : kernel.create
org.libresource.subversion.LibresourceSubversionException: Error in createRepository : Impossible to create repository on the server
        at org.libresource.subversion.ejb.LibresourceSubversionServiceBean.createRepository(LibresourceSubversionServiceBean.java:150)
        at org.objectweb.jonas_gen.org.libresource.subversion.interfaces.JOnASLibresourceSubversionService1243386765Remote.createRepository(JOnASLibresourceSubversionService1243386765Remote.java:56)
        at org.libresource.web.controllers.subversion.CreateRepositoryController.process(Unknown Source)
        at org.libresource.web.controllers.CreateChildController.process(Unknown Source)
        at org.libresource.web.servlets.Browse.process(Unknown Source)
        at org.libresource.web.servlets.BaseServlet.service(Unknown Source)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
        at sun.reflect.GeneratedMethodAccessor102.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
        at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:275)
        at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:245)
        at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:50)
        at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:156)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:152)
        at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
        at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
        at org.libresource.web.filters.SiteMeshFilter.doFilter(Unknown Source)
        at sun.reflect.GeneratedMethodAccessor104.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
        at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:275)
        at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:217)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:197)
        at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:50)
        at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:156)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:152)
        at org.libresource.web.filters.SecurityFilter.doFilter(Unknown Source)
        at sun.reflect.GeneratedMethodAccessor103.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
        at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:275)
        at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:217)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:197)
        at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:50)
        at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:156)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:152)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
        at org.objectweb.jonas.web.catalina55.ResetAuthenticationValve.invoke(ResetAuthenticationValve.java:62)
        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:869)
        at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667)
        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(Thread.java:619)
Caused by: java.io.IOException: Impossible to create repository on the server
        at org.libresource.subversion.ejb.LibresourceSubversionServiceBean.createRepository(LibresourceSubversionServiceBean.java:128)
        … 62 more
Thu Jul 26 13:40:06 MSD 2007 : root : ERROR : org.libresource.subversion.LibresourceSubversionException

Please help me integrate subversion and libresource.

BTW, It is not recommended to use subversion instead of synchronizer here? If it is true

  • I have to stop trying use libresource in my company, we know that subversion in known and used all over the world, so we don't want stop using it.
posted by prokher at Jul 26, 2007 11:42 AM