I am getting this same error... did you ever get it to work?

Sam


vipin.jose wrote:
> 
> Hi,
> 
> I am using svnKit in development of my project.
> I created a class which helps access svn.
> This is working fine in windows but throwing exception in linux.
> 
> The problem is with SSL connection in linux but it seems to be only
> through svnkit api as i can access svn through shell. The following
> command works fine in linux
> 
>                      svn co https://***/svn/repo /apps/source
> 
> The jdk i use in linux is same as one i use in windows (1.6).
> 
> The following are the details of the error.
> 
> Thanks in advance.
> 
> Regards,
> Vipin
> 
> Details
> 
> The code is as follows:
> 
> /**
>  * This class implements Retriever to obtain information from SVN
> repository
>  * 
>  * 
>  */
> public class SVNRetriever {
> 
>       private static SVNRepository svnRepository = null;
> 
>       public SVNRetriever() throws EngineException {
> 
>               try {
>                       this.getRepository();
>               } catch (SVNException e) {
>                       logger.error(e);
>                       throw new EngineException(ErrorCodes.EE_1001);
>               }
>       }
> 
>       /**
>        * Returns the SVNRepository. If the SVNRepository is null then it is
>        * initiated.
>        * 
>        * @return
>        * @throws SVNException
>        * @throws EngineException
>        */
>       private SVNRepository getRepository() throws SVNException {
> 
>               final String RM_SVN_REPOSITORY_URL = PropertyReader
>                               
> .getValue(CommonConstants.RM_SVN_REPOSITORY_URL);
>               if (SVNRetriever.svnRepository == null) {
>                       // For using over http:// and https://
>                       DAVRepositoryFactory.setup();
>                       SVNClientManager clientManager = 
> this.getSVNClientManager();
>                       SVNRetriever.svnRepository = 
> clientManager.createRepository(SVNURL
>                                       
> .parseURIDecoded(RM_SVN_REPOSITORY_URL), true);
>               }
>               return SVNRetriever.svnRepository;
>       }
> 
>       private SVNClientManager getSVNClientManager() {
> 
>               final String RM_SVN_PASSWORD = PropertyReader
>                               .getValue(CommonConstants.RM_SVN_PASSWORD);
>               final String RM_SVN_USER_ID = PropertyReader
>                               .getValue(CommonConstants.RM_SVN_USER_ID);
> 
>               if (SVNRetriever.svnClientManager == null) {
> 
>                       DefaultSVNOptions myOptions = 
> SVNWCUtil.createDefaultOptions(true);
>                       SVNRetriever.svnClientManager = 
> SVNClientManager.newInstance(
>                                       myOptions, RM_SVN_USER_ID, 
> RM_SVN_PASSWORD);
>               }
> 
>               return SVNRetriever.svnClientManager;
>       }
> 
>        ...more code...
> 
> }
> 
> 
> While trying to retrieve directory information, the following line gives
> me the exception:
> 
>                       entries = repository
>                                       .getDir(sourcePath, -1, null, 
> (Collection) null);
> 
> The exception stack is as follows:
> 
> org.tmatesoft.svn.core.SVNException: svn: SSLv3 SSLContext not available
> svn: OPTIONS request failed on '/svn/repo'
>         at
> org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:103)
>         at
> org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:87)
>         at
> org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:550)
>         at
> org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:257)
>         at
> org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:245)
>         at
> org.tmatesoft.svn.core.internal.io.dav.DAVConnection.exchangeCapabilities(DAVConnection.java:454)
>         at
> org.tmatesoft.svn.core.internal.io.dav.DAVConnection.open(DAVConnection.java:97)
>         at
> org.tmatesoft.svn.core.internal.io.dav.DAVRepository.openConnection(DAVRepository.java:643)
>         at
> org.tmatesoft.svn.core.internal.io.dav.DAVRepository.getDir(DAVRepository.java:289)
>         at
> org.tmatesoft.svn.core.io.SVNRepository.getDir(SVNRepository.java:1309)
>         at
> org.tmatesoft.svn.core.io.SVNRepository.getDir(SVNRepository.java:1267)
>         at
> com.techtarget.rm.engine.retrieve.SVNRetriever.addDirContents(SVNRetriever.java:373)
>         at
> com.techtarget.rm.engine.retrieve.SVNRetriever.listObjectsFromSource(SVNRetriever.java:128)
>         at
> com.techtarget.rm.engine.Engine.getSVNImportDetails(Engine.java:588)
>         at
> com.techtarget.rm.engine.Engine.getResourceDetails(Engine.java:76)
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/SVNException%3A-svn%3A-SSLv3-SSLContext-not-available-tp21581965p32538086.html
Sent from the SVNKit - Users mailing list archive at Nabble.com.


Reply via email to