2 Replies Latest reply: Jul 31, 2008 10:14 AM by SumDood RSS

    Subversion: Cannot import files into a local repository

    SumDood
      If following the directions from here:

      http://www.oracle.com/technology/products/jdev/htdocs/partners/addins/exchange/subversion/subversion.html

      I've got the local repository created and can successfully connect to it, but when it try to import files is get a popup saying "Unable to import source files into the Subversion repository at svn://localhost."

      This is the stack trace:

      org.tigris.subversion.svnclientadapter.SVNClientException: org.tigris.subversion.javahl.ClientException: svn: 170001: Authorization failed
           at org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.doImport(AbstractJhlClientAdapter.java:700)
           at oracle.jdevimpl.vcs.svn.imp.SVNImportWizard.executeImport(SVNImportWizard.java:476)
           at oracle.jdevimpl.vcs.svn.imp.SVNImportWizard.commitWizard(SVNImportWizard.java:204)
           at oracle.jdevimpl.vcs.svn.imp.SVNImportWizard.mav$commitWizard(SVNImportWizard.java:78)
           at oracle.jdevimpl.vcs.svn.imp.SVNImportWizard$3$1.run(SVNImportWizard.java:137)
           at java.lang.Thread.run(Thread.java:595)
      Caused by: org.tigris.subversion.javahl.ClientException: svn: 170001: Authorization failed
           at org.tigris.subversion.javahl.JavaHLObjectFactory.throwException(JavaHLObjectFactory.java:435)
           at org.tmatesoft.svn.core.javahl.SVNClientImpl.throwException(SVNClientImpl.java:1224)
           at org.tmatesoft.svn.core.javahl.SVNClientImpl.doImport(SVNClientImpl.java:601)
           at org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.doImport(AbstractJhlClientAdapter.java:696)
           ... 5 more

      I'm using JDeveloper 10.1.3.0.4.3673 and Subversion 1.4.6. Please advise.
        • 1. Re: Subversion: Cannot import files into a local repository
          John Stegeman
          User,

          Apparently the local repository you created requires authentication before you can import - you can configure SVN to allow anonymous browsing but to require authentication for other activities - apparently you have it set up this way.

          Just put the proper credentials into your SVN connection.

          The stack trace is pretty telling:

          svn: 170001: Authorization failed

          Googling that gives a wealth of additional detail if you need it.

          Hope this helps,

          john
          • 2. Re: Subversion: Cannot import files into a local repository
            SumDood
            Thank you so much for your help. With some deeper googling, i found some info on editing the svnserve.conf file. That fixed my authentication issue. But alas, there is a new problem: Same popup, new stack trace:

            org.tigris.subversion.svnclientadapter.SVNClientException: org.tigris.subversion.javahl.ClientException: svn: Malformed network data
                 at org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.doImport(AbstractJhlClientAdapter.java:700)
                 at oracle.jdevimpl.vcs.svn.imp.SVNImportWizard.executeImport(SVNImportWizard.java:476)
                 at oracle.jdevimpl.vcs.svn.imp.SVNImportWizard.commitWizard(SVNImportWizard.java:204)
                 at oracle.jdevimpl.vcs.svn.imp.SVNImportWizard.mav$commitWizard(SVNImportWizard.java:78)
                 at oracle.jdevimpl.vcs.svn.imp.SVNImportWizard$3$1.run(SVNImportWizard.java:137)
                 at java.lang.Thread.run(Thread.java:595)
            Caused by: org.tigris.subversion.javahl.ClientException: svn: Malformed network data
                 at org.tigris.subversion.javahl.JavaHLObjectFactory.throwException(JavaHLObjectFactory.java:435)
                 at org.tmatesoft.svn.core.javahl.SVNClientImpl.throwException(SVNClientImpl.java:1224)
                 at org.tmatesoft.svn.core.javahl.SVNClientImpl.doImport(SVNClientImpl.java:601)
                 at org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.doImport(AbstractJhlClientAdapter.java:696)
                 ... 5 more


            I've been looking all morning for solutions, but to no avail.