« Return to Thread: Unable to open an ra_local session to URL
I tried this code where urlToRepo is file:///D:/Repository/repo15 FSRepositoryFactory.setup(); SVNURL url = SVNURL.fromFile(new File(urlToRepo));Use the following code instead: SVNURL url = SVNURL.fromFile(new File("D:/Repository/repo15")); 2009/6/15 Demin Morgan alex.demin.morgan@...:Hello, I tried this code where urlToRepo is file:///D:/Repository/repo15 FSRepositoryFactory.setup(); SVNURL url = SVNURL.fromFile(new File(urlToRepo)); repository = SVNRepositoryFactory.create(url); ISVNAuthenticationManager authManager = SVNWCUtil .createDefaultAuthenticationManager(name, password); ((SVNRepository)repository).setAuthenticationManager(authManager); repository.testConnection(); and I get the error below. Note that the same code with other factory.setup() works for svnserve and http. A. Message: svn: Unable to open an ra_local session to URL svn: Unable to open repository 'file:///D:/workspace/ConnectionTest/CONNECTION/file:/D:/Repository/repo15' svn: Unable to open repository 'file:///D:/workspace/ConnectionTest/CONNECTION/file:/D:/Repository/repo15' org.tmatesoft.svn.core.SVNException: svn: Unable to open an ra_local session to URL svn: Unable to open repository 'file:///D:/workspace/ConnectionTest/CONNECTION/file:/D:/Repository/repo15' svn: Unable to open repository 'file:///D:/workspace/ConnectionTest/CONNECTION/file:/D:/Repository/repo15' at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64) at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51) at org.tmatesoft.svn.core.internal.io.fs.FSRepository.openRepository(FSRepository.java:725) at org.tmatesoft.svn.core.internal.io.fs.FSRepository.testConnection(FSRepository.java:90) at com.arcetis.connection.ConnectionManager.getRepository(ConnectionManager.java:213) at com.arcetis.connection.ConnectionManager.main(ConnectionManager.java:65) authenticated OK.Message: svn: Unable to open an ra_local session to URL svn: Unable to open repository 'file:///D:/workspace/ConnectionTest/CONNECTION/file:/D:/Repository/repo15' svn: Unable to open repository 'file:///D:/workspace/ConnectionTest/CONNECTION/file:/D:/Repository/repo15' org.tmatesoft.svn.core.SVNException: svn: Unable to open an ra_local session to URL svn: Unable to open repository 'file:///D:/workspace/ConnectionTest/CONNECTION/file:/D:/Repository/repo15' svn: Unable to open repository 'file:///D:/workspace/ConnectionTest/CONNECTION/file:/D:/Repository/repo15' at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64) at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51) at org.tmatesoft.svn.core.internal.io.fs.FSRepository.openRepository(FSRepository.java:725) at org.tmatesoft.svn.core.internal.io.fs.FSRepository.testConnection(FSRepository.java:90) at com.arcetis.connection.ConnectionManager.main(ConnectionManager.java:67) --------------------------------------------------------------------- To unsubscribe, e-mail: svnkit-users-unsubscribe@... For additional commands, e-mail: svnkit-users-help@...
« Return to Thread: Unable to open an ra_local session to URL
| Free embeddable forum powered by Nabble | Forum Help |