Error when connecting Matlab to RTC via MSSCCI
Using RTC 4, when I try to connect Matlab to RTC via the MSSCCI adapter, I'm getting the following error:
CRRTC8500E Server Error: Error executing operation.
The process I followed was:
1. Within Matlab, enable Jazz MSSCCI adapter
2. Matlab then prompts for sandbox, which I set
3. Get Server Error
Am I missing something , or is this a bug?
thanks,
Steve
This is the log:
---
08/08/2012 13:58:24 Core: ---------------------------------------------Tracing starts: 08/08/2012 13:58:24
08/08/2012 13:58:25 JazzScmScciCommon: JazzScmScciImpl: Setting to system culture: English (United Kingdom)
08/08/2012 13:58:25 JazzScmScciCommon: Initializing DeliverFeedSynchronizer
08/08/2012 13:58:25 JazzScmScci: ->->->->->-> OPERATION START ->->->->->->
SccInitialize(65552, MATLAB);
08/08/2012 13:58:25 JazzScmScci: SccInitialize: UniqueKey = 0
08/08/2012 13:58:25 JazzScmScci: Result = 0
Outputs: Jazz MS-SCCI Provider, 2047390207, , 0, 4096
<-<-<-<-<-<- OPERATION END <-<-<-<-<-<-
08/08/2012 14:15:07 JazzScmScci: ->->->->->-> OPERATION START ->->->->->->
SccGetProjPath(1972322, , , C:\work\matlab\Automotive ABS, , False);
08/08/2012 14:15:07 JazzScmScci: Result = 0
Outputs: , Automotive ABS, C:\work\matlab\Automotive ABS, Jazz MS-SCCI Source Control Provider, False
<-<-<-<-<-<- OPERATION END <-<-<-<-<-<-
08/08/2012 14:15:07 JazzScmScci: ->->->->->-> OPERATION START ->->->->->->
SccCloseProject();
08/08/2012 14:15:07 JazzScmScci: Result = -25
Outputs:
<-<-<-<-<-<- OPERATION END <-<-<-<-<-<-
08/08/2012 14:15:07 JazzScmScci: ->->->->->-> OPERATION START ->->->->->->
SccOpenProject(1972322, , Automotive ABS, C:\work\matlab\Automotive ABS, Jazz MS-SCCI Source Control Provider, , 0, 2);
08/08/2012 14:15:24 JazzScmScci: Attempting to set the sandbox path to 'C:\work\matlab'
08/08/2012 14:15:25 FilesystemService: FilesystemDaemonController:Trying to start daemon for sandbox C:\work\matlab
08/08/2012 14:15:25 FilesystemCommon: Could not lock file C:\Users\STEVE-W500\AppData\Local\jazz-scm\daemons\D5ec00000\alivelock, System.IO.IOException: The process cannot access the file 'C:\Users\STEVE-W500\AppData\Local\jazz-scm\daemons\D5ec00000\alivelock' because it is being used by another process.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at com.ibm.team.filesystem.common.FileLock.acquireLock() in c:\MsScci_Builds\I4.0_20120611-2248\Filesystem\FilesystemCommon\FileLock.cs:line 38
08/08/2012 14:15:25 FilesystemCommon: Could not lock file C:\Users\STEVE-W500\AppData\Local\jazz-scm\daemons\Df9d90000\alivelock, System.IO.IOException: The process cannot access the file 'C:\Users\STEVE-W500\AppData\Local\jazz-scm\daemons\Df9d90000\alivelock' because it is being used by another process.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at com.ibm.team.filesystem.common.FileLock.acquireLock() in c:\MsScci_Builds\I4.0_20120611-2248\Filesystem\FilesystemCommon\FileLock.cs:line 38
08/08/2012 14:15:25 FilesystemService: FileSystemDaemon: trying to start a new daemon process
08/08/2012 14:15:27 FilesystemService: FileSystemDaemon: trying to create connection info from command
08/08/2012 14:15:29 FilesystemService: FileSystemDaemon: trying to create connection info from command Port: 56480
Key: CE7A6B2E212C71D67E05ED92D9DE1734
08/08/2012 14:15:29 FilesystemService: FSDaemonConnectionInfo: Command Line 1 from FSDaemon
08/08/2012 14:15:29 FilesystemService: FSDaemonConnectionInfo: Command Line 2 from FSDaemon
08/08/2012 14:15:29 FilesystemService: Started new SCM daemon (C:\Program Files (x86)\IBM\Rational Team Concert MSSCCI Provider\3rd Party\scmtools\eclipse\scm.exe) at C:\work\matlab: URI: http://localhost:56480/, Key: CE7A6B2E212C71D67E05ED92D9DE1734
08/08/2012 14:15:29 FilesystemService: FilesystemDaemonController:Started daemon for sandbox C:\work\matlab
08/08/2012 14:15:29 ServiceInterfaceProxy: Request 1: System.IO.FileNotFoundException: Could not load file or assembly 'System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
File name: 'System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
at com.ibm.team.foundation.service.WebRequestInvocationProxy.EncodeURLPart(String str)
at com.ibm.team.foundation.service.WebRequestInvocationProxy.GenerateParameters(IMethodMessage mc) in c:\MsScci_Builds\I4.0_20120611-2248\Foundation\ServiceInterfaceProxy\WebRequestInvocationProxy.cs:line 592
at com.ibm.team.foundation.service.WebRequestInvocationProxy.EvaluateUriAndParameters(IMethodMessage mc, String& uri, String& body) in c:\MsScci_Builds\I4.0_20120611-2248\Foundation\ServiceInterfaceProxy\WebRequestInvocationProxy.cs:line 535
at com.ibm.team.foundation.service.WebRequestInvocationProxy.PerformRequest(RequestState rs) in c:\MsScci_Builds\I4.0_20120611-2248\Foundation\ServiceInterfaceProxy\WebRequestInvocationProxy.cs:line 123
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
08/08/2012 14:15:29 Core: Task Setting Sandbox... required requests 1,####2:1
08/08/2012 14:15:29 JazzScmScci: Exception while execution Setting Sandbox... operation: System.IO.FileNotFoundException: Could not load file or assembly 'System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
File name: 'System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
at com.ibm.team.msscci.operations.SetSandboxOperation.WorkerRun(Object argument, IProgressMonitor monitor) in c:\MsScci_Builds\I4.0_20120611-2248\JazzMsScci\JazzScmScci\operations\SetSandboxOperation.cs:line 78
at com.ibm.team.foundation.core.operationrunner.internalimpl.BackgroundWorkerImpl`2.OnDoWork(DoWorkEventArgs args) in c:\MsScci_Builds\I4.0_20120611-2248\Foundation\Core\operationrunner\internalimpl\BackgroundWorkerImpl.cs:line 180
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
. Callstack: at com.ibm.team.msscci.operations.SetSandboxOperation.WorkerRun(Object argument, IProgressMonitor monitor) in c:\MsScci_Builds\I4.0_20120611-2248\JazzMsScci\JazzScmScci\operations\SetSandboxOperation.cs:line 78
at com.ibm.team.foundation.core.operationrunner.internalimpl.BackgroundWorkerImpl`2.OnDoWork(DoWorkEventArgs args) in c:\MsScci_Builds\I4.0_20120611-2248\Foundation\Core\operationrunner\internalimpl\BackgroundWorkerImpl.cs:line 180
08/08/2012 14:15:29 UiUtils: Error: Error executing operation., System.IO.FileNotFoundException: Could not load file or assembly 'System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
File name: 'System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
at com.ibm.team.msscci.operations.SetSandboxOperation.WorkerRun(Object argument, IProgressMonitor monitor) in c:\MsScci_Builds\I4.0_20120611-2248\JazzMsScci\JazzScmScci\operations\SetSandboxOperation.cs:line 78
at com.ibm.team.foundation.core.operationrunner.internalimpl.BackgroundWorkerImpl`2.OnDoWork(DoWorkEventArgs args) in c:\MsScci_Builds\I4.0_20120611-2248\Foundation\Core\operationrunner\internalimpl\BackgroundWorkerImpl.cs:line 180
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
showing 5 of 6
show 1 more comments
|
3 answers
Hi Stephen,
From the log it seems like the sandbox - C:\work\matlab is locked by another process. Are you simultaneously accessing the sandbox from any other client like RTC Eclipse client, VS client or SCM CLI? Thanks, Sridevi RTC SCM CLI |
Hi Stephen,
We have seen this error in a few occasions when the "jazz-scm" folder gets corrupted. Can you try deleting the folder "'C:\Users\STEVE-W500\AppData
Thanks, Kishore Comments Hi Kishore, Sridevi,
|
Hi Stephen,
You mentioned "RTC Shell" is loaded at start up, do you have the RTC shell client installed as well?. May be its tracking the sandbox "c:\work\matlab" automatically when the system starts. Can you also try the following 1) In the "Team Concert MSSCCI Control Panel" click on the "Modify MS-SCCI Preferences" and on the preferences dialog go the Miscellaneous tab and set the trace level to verbose. 2) From the MSSCCI control panel create a repository connection by clicking on "Create Repository Connection". Check if you are able to login to the repository from the control panel. 3) Currently the sandbox is "C:\work\matlab", try using a different path. From Matlab create files in a different path and use the source control operations. 4) If you still see the issue go the folder "%APPDATA%Rational\Team Concert MsScci" and provide us with the log files. This will help us in debugging the problem. Thanks Kishore Comments Hi Kishore,
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.
Comments
Hi Stephen,
Can you just try with Matlab files, like script, class, functions etc. For example create a script file in a new folder and try to share, Checkin the file from Matlab. Then we will know if the problem is specific to Simulink files.
Thanks
Kishore
Hi Kishore,
I'm seeing the same Error with either Simulink or Matlab.
Can you explain what the Server Error is?
thanks,
steve
Can you let us know the contents of the the Matlab.exe.config file (it will be under bin\win32 sub-folder of the install folder). This file has the .net compatibility entries for the application. Open this file in a text editor(like wordpad) and let us know the contents. I am interested if these lines are present in the file
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0"/>
<supportedRuntime version="v2.0.50727"/>
</startup>
Thanks
Kishore
Kishore,
is it issue solved at all? I'm interested to know the interface betweeen Matlab and RTC SCM
I don't know whether Stephen's problem was ever solved, but using MSSCI to integrate Matlab with RTC SCM is supported, so if you are having any trouble using it, you can get support from IBM by submitting a trouble ticket.