Exceptions seen while integrating SVN with RMS (Rules Management Server) Web studio.

Exceptions seen while integrating SVN with RMS (Rules Management Server) Web studio.

book

Article ID: KB0093521

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Resolution:
Issue:
The "ws.scs.SCSException: SCS Authentication failed" exceptions are seen while integrating SVN with RMS Webstudio project. The exception occurs when a user account does not have permissions to access the selected SVN resource or when providing invalid authentication credentials.

Error Message :
2015 Jul 29 14:01:19:741 GMT -5 GMHITS4041M32.int.asurion.com Error [$default.be.mt$.Worker.0] - [WebStudio.Core.RuleFunctions.Utils.WS_RF_ValidateSCSCredentials] [WS-Inference-cla
ss] Exception validating SCS credentials - java.lang.RuntimeException: com.tibco.be.ws.scs.SCSException: SCS Authentication failed
com.tibco.cep.runtime.model.exception.impl.BEExceptionImpl: java.lang.RuntimeException: com.tibco.be.ws.scs.SCSException: SCS Authentication failed
        at com.tibco.be.ws.functions.WebstudioServerSCSFunctions.listManagedProjects(SourceFile:99)
        at be.gen.WebStudio.Core.RuleFunctions.Utils.booleanWS_RF_ValidateSCSCredentialsStringString$.WS_RF_ValidateSCSCredentials(booleanWS_RF_ValidateSCSCredentialsStringString$.java:19)
        at be.gen.WebStudio.Core.Rules.WS_R_UpdateUserPreferences$WS_R_UpdateUserPreferences_a.execute(WS_R_UpdateUserPreferences.java:150)
        at com.tibco.cep.kernel.core.rete.ReteWM.resolveConflict(SourceFile:330)
        at com.tibco.cep.kernel.core.rete.ReteWM$7.doTxnWork(SourceFile:1494)
        at com.tibco.cep.kernel.core.rete.BeTransaction.run(SourceFile:141)
        at com.tibco.cep.kernel.core.rete.BeTransaction.execute(SourceFile:101)
        at com.tibco.cep.kernel.core.rete.ReteWM.executeRules(SourceFile:1400)
        at com.tibco.cep.runtime.session.impl.RuleSessionImpl$1.doTxnWork(RuleSessionImpl.java:755)
        at com.tibco.cep.kernel.core.rete.BeTransaction.run(SourceFile:156)
        at com.tibco.cep.kernel.core.rete.BeTransaction.execute(SourceFile:101)
        at com.tibco.cep.runtime.session.impl.RuleSessionImpl.invokeFunction(RuleSessionImpl.java:738)
        at com.tibco.cep.runtime.session.impl.RuleSessionImpl.invokeFunction(RuleSessionImpl.java:723)
        at com.tibco.cep.runtime.session.impl.RuleSessionImpl.invokeFunction(RuleSessionImpl.java:719)
        at com.tibco.cep.driver.http.server.impl.servlet.PageFlowServlet$RuleFunctionExecTask.run(SourceFile:425)
        at com.tibco.cep.runtime.session.BEManagedThread.execute(BEManagedThread.java:457)
        at com.tibco.cep.runtime.session.BEManagedThread.run_from_queue(BEManagedThread.java:397)
        at com.tibco.cep.runtime.session.BEManagedThread.run(BEManagedThread.java:294)
Caused by: com.tibco.cep.runtime.model.exception.impl.BEExceptionImpl: com.tibco.be.ws.scs.SCSException: SCS Authentication failed
        at com.tibco.be.ws.scs.impl.svn.DefaultSVNIntegration.a(SourceFile:792)
        at com.tibco.be.ws.scs.impl.svn.DefaultSVNIntegration.listManagedProjects(SourceFile:152)
        at com.tibco.be.ws.functions.WebstudioServerSCSFunctions.listManagedProjects(SourceFile:97)


Resolution:
The following are the properties need to be configured in RMS.cdd to integrate SVN.

                <property name="ws.scs.rootURL" type="string" value="https://svn.app.prod.net/"/>
                <property name="ws.scs.impl.type" type="string" value="svn"/>
                <property name="ws.scs.repo.dir" type="string" value="C:/tibco/be/5.1/rms/repo"/>
                <property name="ws.scs.command.path" type="string" value="C:\Program Files\TortoiseSVN\bin\svn.exe"/>
                <property name="ws.scs.default.username" type="string" value="admin"/>
                <property name="ws.scs.default.password" type="string" value=""/>---------->  password should be in base 64 format.
        
Note : The property ws.scs.command.path should have an absolute path to the SVN command-line client. RMS server uses the SVN command-line tool to connect to the SVN repository. By default, while installing SVN the command-line tool (svn.exe) is disabled. The user should enable the command line tool during SVN installation in order to avoid this error.

Issue/Introduction

Exceptions seen while integrating SVN with RMS (Rules Management Server) Web studio.

Additional Information

SVN documentation