It's all about the answers!

Ask a question

Error when connecting Matlab to RTC via MSSCCI


0
1
Stephen Rooks (18231825) | asked Aug 08 '12, 10:19 a.m.
 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].


Comments
Krishna Kishore commented Aug 10 '12, 2:35 a.m. | edited Dec 15 '17, 3:37 p.m.
JAZZ DEVELOPER

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


Stephen Rooks commented Aug 10 '12, 6:06 a.m. | edited Dec 15 '17, 3:37 p.m.

Hi Kishore,

I'm seeing the same Error with either Simulink or Matlab.

Can you explain what the Server Error is?

thanks,

steve


Krishna Kishore commented Aug 16 '12, 8:27 a.m. | edited Dec 15 '17, 3:37 p.m.
JAZZ DEVELOPER

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


Stephen Rooks commented Aug 16 '12, 11:44 a.m. | edited Dec 15 '17, 3:37 p.m.

Kishore, 


Please see below: 

<configuration>
  <startup useLegacyV2RuntimeActivationPolicy="true">
    <supportedRuntime version="v4.0"/>
    <supportedRuntime version="v2.0.50727"/>
  </startup>
  <runtime>
<loadFromRemoteSources enabled="true"/>
  </runtime>
</configuration>


Radha Nagaraja commented Dec 14 '17, 9:27 a.m. | edited Dec 15 '17, 3:37 p.m.

is it issue solved at all? I'm interested to know the interface betweeen Matlab and RTC SCM


Geoffrey Clemm commented Dec 15 '17, 3:39 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

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.

showing 5 of 6 show 1 more comments

3 answers



permanent link
Sridevi Sangaiah (59179) | answered Aug 09 '12, 12:02 a.m.
JAZZ DEVELOPER
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



permanent link
Krishna Kishore (50112) | answered Aug 09 '12, 2:03 a.m.
JAZZ DEVELOPER
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 \Local\jazz-scm", restart the machine and try connecting to the rtc server from RTC-MSSCCI.

Thanks,
Kishore


Comments
Stephen Rooks commented Aug 09 '12, 5:56 a.m. | edited Dec 15 '17, 3:34 p.m.

Hi Kishore, Sridevi,

As suggested, I removed the jazz-scm folder, rebooted .. but I still see the same problem.
I've tried running Matlab under Admin privileges, but have the same issue.

At startup, the RTC Shell is loaded, which appears to recreate the jazz-scm folder, plus I noticed two scm processes running before I started matlab. Other than that, I had nothing else running (other than the server, which is running on the same machine).

KR,
Steve

Latest log-file:

--
08/09/2012 10:43:09 Core: ---------------------------------------------Tracing starts: 09/08/2012 10:43:09
08/09/2012 10:43:09 JazzScmScciCommon: JazzScmScciImpl: Setting to system culture: English (United Kingdom)
08/09/2012 10:43:09 JazzScmScciCommon: Initializing DeliverFeedSynchronizer
08/09/2012 10:43:09 JazzScmScci: ->->->->->-> OPERATION START ->->->->->->
SccInitialize(65552, MATLAB);
08/09/2012 10:43:09 JazzScmScci: SccInitialize: UniqueKey = 0
08/09/2012 10:43:09 JazzScmScci: Result = 0
Outputs: Jazz MS-SCCI Provider, 2047390207, , 0, 4096
<-<-<-<-<-<- OPERATION END <-<-<-<-<-<-

08/09/2012 10:43:24 JazzScmScci: ->->->->->-> OPERATION START ->->->->->->
SccCloseProject();
08/09/2012 10:43:24 JazzScmScci: Result = -25
Outputs:
<-<-<-<-<-<- OPERATION END <-<-<-<-<-<-

08/09/2012 10:43:24 JazzScmScci: ->->->->->-> OPERATION START ->->->->->->
SccOpenProject(394800, , Automotive ABS, C:\work\matlab\Automotive ABS, Jazz MS-SCCI Source Control Provider, , 0, 2);
08/09/2012 10:43:24 JazzScmScci: Attempting to set the sandbox path to 'C:\work\matlab'
08/09/2012 10:43:24 FilesystemService: FilesystemDaemonController:Trying to start daemon for sandbox C:\work\matlab
08/09/2012 10:43:24 FilesystemCommon: Could not lock file C:\Users\STEVE-W500\AppData\Local\jazz-scm\daemons\D4ac00000\alivelock, System.IO.IOException: The process cannot access the file 'C:\Users\STEVE-W500\AppData\Local\jazz-scm\daemons\D4ac00000\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/09/2012 10:43:24 FilesystemCommon: Could not lock file C:\Users\STEVE-W500\AppData\Local\jazz-scm\daemons\D5fc00000\alivelock, System.IO.IOException: The process cannot access the file 'C:\Users\STEVE-W500\AppData\Local\jazz-scm\daemons\D5fc00000\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/09/2012 10:43:24 FilesystemService: FileSystemDaemon: trying to start a new daemon process
08/09/2012 10:43:26 FilesystemService: FileSystemDaemon: trying to create connection info from command
08/09/2012 10:43:27 FilesystemService: FileSystemDaemon: trying to create connection info from command Port: 49508
Key: 65BCC15DB6EA1A7939D3FE658AD7B461

08/09/2012 10:43:27 FilesystemService: FSDaemonConnectionInfo: Command Line 1 from FSDaemon
08/09/2012 10:43:27 FilesystemService: FSDaemonConnectionInfo: Command Line 2 from FSDaemon
08/09/2012 10:43:27 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:49508/, Key: 65BCC15DB6EA1A7939D3FE658AD7B461
08/09/2012 10:43:27 FilesystemService: FilesystemDaemonController:Started daemon for sandbox C:\work\matlab
08/09/2012 10:43:27 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/09/2012 10:43:27 Core: Task Setting Sandbox... required requests 1,####2:1
08/09/2012 10:43:27 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.BackgroundWorkerImpl2.OnDoWork(DoWorkEventArgs args) in c:\MsScci_Builds\I4.0_20120611-2248\Foundation\Core\operationrunner\internalimpl\BackgroundWorkerImpl.cs:line 180 <br> <br> WRN: Assembly binding logging is turned OFF. <br> To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. <br> Note: There is some performance penalty associated with assembly bind failure logging. <br> To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog]. <br> . Callstack:&nbsp;&nbsp;&nbsp; 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 <br> &nbsp;&nbsp; at com.ibm.team.foundation.core.operationrunner.internalimpl.BackgroundWorkerImpl2.OnDoWork(DoWorkEventArgs args) in c:\MsScci_Builds\I4.0_20120611-2248\Foundation\Core\operationrunner\internalimpl\BackgroundWorkerImpl.cs:line 180
08/09/2012 10:43:27 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].




permanent link
Krishna Kishore (50112) | answered Aug 09 '12, 6:49 a.m.
JAZZ DEVELOPER
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
Stephen Rooks commented Aug 09 '12, 9:30 a.m. | edited Dec 15 '17, 3:35 p.m.

Hi Kishore,

This is what I'm observing:

If I start the Team Concert MSSCCI Control Panel via the start menu, I can login, load an existing workspace (setting sandbox) etc., without issue. It's working fine with Rhapsody.

Via matlab, if I try to-do the same, I get the Server Error.

I copied the simulink model to a new folder (E:/RTCSandbox/..) and via matlab tried to connect to RTC. I still see the Server Error.

With MSSCCI logs set to verbose, this is what I saw:

File: msscci-20120809-1422
+----
08/09/2012 14:22:45 Core: ---------------------------------------------Tracing starts: 09/08/2012 14:22:45
08/09/2012 14:22:45 JazzScmScciCommon: JazzScmScciImpl: Setting to system culture: English (United Kingdom)
08/09/2012 14:22:46 JazzScmScciCommon: Initializing DeliverFeedSynchronizer
08/09/2012 14:22:46 JazzScmScci: ->->->->->-> OPERATION START ->->->->->->
SccInitialize(65552, MATLAB);
08/09/2012 14:22:46 JazzScmScci: SccInitialize: UniqueKey = 0
08/09/2012 14:22:46 JazzScmScci: Result = 0
Outputs: Jazz MS-SCCI Provider, 2047390207, , 0, 4096
<-<-<-<-<-<- OPERATION END <-<-<-<-<-<-

08/09/2012 14:24:26 JazzScmScci: ->->->->->-> OPERATION START ->->->->->->
SccGetProjPath(920846, , , E:\RTCSandbox\Simulink\ABS, , False);
08/09/2012 14:24:26 Core: E:\ is a root
08/09/2012 14:24:26 JazzScmScci: Result = 0
Outputs: , ABS, E:\RTCSandbox\Simulink\ABS, Jazz MS-SCCI Source Control Provider, False
<-<-<-<-<-<- OPERATION END <-<-<-<-<-<-

08/09/2012 14:24:26 JazzScmScci: ->->->->->-> OPERATION START ->->->->->->
SccCloseProject();
08/09/2012 14:24:26 JazzScmScci: Result = -25
Outputs:
<-<-<-<-<-<- OPERATION END <-<-<-<-<-<-

08/09/2012 14:24:26 JazzScmScci: ->->->->->-> OPERATION START ->->->->->->
SccOpenProject(920846, , ABS, E:\RTCSandbox\Simulink\ABS, Jazz MS-SCCI Source Control Provider, , 0, 2);
08/09/2012 14:24:26 Core: E:\ is a root
08/09/2012 14:24:27 Core: E:\ is a root
08/09/2012 14:24:27 Core: E:\ is a root
08/09/2012 14:24:27 Core: E:\ is a root
08/09/2012 14:25:07 JazzScmScci: Attempting to set the sandbox path to 'E:\RTCSandbox\Simulink'
08/09/2012 14:25:07 FilesystemService: FilesystemDaemonController:Trying to start daemon for sandbox E:\RTCSandbox\Simulink
08/09/2012 14:25:07 FilesystemCommon: Locked file C:\Users\STEVE-W500\AppData\Local\jazz-scm\daemons\lock
08/09/2012 14:25:07 FilesystemService: Getting daemon information for C:\Users\STEVE-W500\AppData\Local\jazz-scm\daemons\D4ac00000
08/09/2012 14:25:07 FilesystemCommon: Locked file C:\Users\STEVE-W500\AppData\Local\jazz-scm\daemons\D4ac00000\lock
08/09/2012 14:25:07 FilesystemCommon: Could not lock file C:\Users\STEVE-W500\AppData\Local\jazz-scm\daemons\D4ac00000\alivelock, System.IO.IOException: The process cannot access the file 'C:\Users\STEVE-W500\AppData\Local\jazz-scm\daemons\D4ac00000\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/09/2012 14:25:07 FilesystemCommon: Unlocked file C:\Users\STEVE-W500\AppData\Local\jazz-scm\daemons\D4ac00000\lock
08/09/2012 14:25:07 FilesystemService: Getting daemon information for C:\Users\STEVE-W500\AppData\Local\jazz-scm\daemons\D5bcf0000
08/09/2012 14:25:07 FilesystemCommon: Locked file C:\Users\STEVE-W500\AppData\Local\jazz-scm\daemons\D5bcf0000\lock
08/09/2012 14:25:07 FilesystemCommon: Could not lock file C:\Users\STEVE-W500\AppData\Local\jazz-scm\daemons\D5bcf0000\alivelock, System.IO.IOException: The process cannot access the file 'C:\Users\STEVE-W500\AppData\Local\jazz-scm\daemons\D5bcf0000\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/09/2012 14:25:07 FilesystemCommon: Unlocked file C:\Users\STEVE-W500\AppData\Local\jazz-scm\daemons\D5bcf0000\lock
08/09/2012 14:25:07 FilesystemService: Getting daemon information for C:\Users\STEVE-W500\AppData\Local\jazz-scm\daemons\D5fc00000
08/09/2012 14:25:07 FilesystemCommon: Locked file C:\Users\STEVE-W500\AppData\Local\jazz-scm\daemons\D5fc00000\lock
08/09/2012 14:25:07 FilesystemCommon: Could not lock file C:\Users\STEVE-W500\AppData\Local\jazz-scm\daemons\D5fc00000\alivelock, System.IO.IOException: The process cannot access the file 'C:\Users\STEVE-W500\AppData\Local\jazz-scm\daemons\D5fc00000\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/09/2012 14:25:07 FilesystemCommon: Unlocked file C:\Users\STEVE-W500\AppData\Local\jazz-scm\daemons\D5fc00000\lock
08/09/2012 14:25:07 FilesystemCommon: Unlocked file C:\Users\STEVE-W500\AppData\Local\jazz-scm\daemons\lock
08/09/2012 14:25:07 FilesystemService: Running daemon with arguments -nl en_US daemon start "E:\RTCSandbox\Simulink" -c 120000 -i 1000
08/09/2012 14:25:07 FilesystemService: FileSystemDaemon: trying to start a new daemon process
08/09/2012 14:25:10 FilesystemService: FileSystemDaemon: trying to create connection info from command
08/09/2012 14:25:12 FilesystemService: FileSystemDaemon: trying to create connection info from command
08/09/2012 14:25:14 FilesystemService: FileSystemDaemon: trying to create connection info from command
08/09/2012 14:25:14 FilesystemService: FileSystemDaemon: trying to create connection info from command Port: 53460
Key: BD03145935FE8F07322212C0CA89A0AA

08/09/2012 14:25:14 FilesystemService: FSDaemonConnectionInfo: Command Line 1 from FSDaemon
08/09/2012 14:25:14 FilesystemService: FSDaemonConnectionInfo: Command Line 2 from FSDaemon
08/09/2012 14:25:14 FilesystemService: Started new SCM daemon (C:\Program Files (x86)\IBM\Rational Team Concert MSSCCI Provider\3rd Party\scmtools\eclipse\scm.exe) at E:\RTCSandbox\Simulink: URI: http://localhost:53460/, Key: BD03145935FE8F07322212C0CA89A0AA
08/09/2012 14:25:14 FilesystemService: FilesystemDaemonController:Started daemon for sandbox E:\RTCSandbox\Simulink
08/09/2012 14:25:15 RepositoryClient: TeamRepositoryEventMediator::OnRepositoryAdded: Repository added with URI https://localhost:9332/ccm/
08/09/2012 14:25:15 RepositoryClient: TeamRepositoryEventMediator::OnRepositoryAdded:Completed repository add with URI https://localhost:9332/ccm/
08/09/2012 14:25:15 FilesystemService: Removing Key: key-rs.1
08/09/2012 14:25:15 ServiceInterfaceProxy: Request 1: Duration 0.02 sec ####1:1:0.017001:0
08/09/2012 14:25:15 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/09/2012 14:25:15 Core: Task Setting Sandbox... required requests 1,####2:1
08/09/2012 14:25:15 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.BackgroundWorkerImpl2.OnDoWork(DoWorkEventArgs args) in c:\MsScci_Builds\I4.0_20120611-2248\Foundation\Core\operationrunner\internalimpl\BackgroundWorkerImpl.cs:line 180 <br> <br> WRN: Assembly binding logging is turned OFF. <br> To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. <br> Note: There is some performance penalty associated with assembly bind failure logging. <br> To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog]. <br> . Callstack:&nbsp;&nbsp;&nbsp; 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 <br> &nbsp;&nbsp; at com.ibm.team.foundation.core.operationrunner.internalimpl.BackgroundWorkerImpl2.OnDoWork(DoWorkEventArgs args) in c:\MsScci_Builds\I4.0_20120611-2248\Foundation\Core\operationrunner\internalimpl\BackgroundWorkerImpl.cs:line 180
08/09/2012 14:25:15 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].

08/09/2012 14:25:39 UiUtils: System.Windows.RoutedEventArgs
08/09/2012 14:25:41 JazzScmScci: BaseOperation.Execute(): Operation Result = 0
08/09/2012 14:25:41 JazzScmScci: Sandbox Path = 'E:\RTCSandbox\Simulink'
08/09/2012 14:25:41 JazzScmScciCommon: TrayApplicationHelper.ServerThread(): Starting Server Thread...
08/09/2012 14:25:47 JazzScmScci: ->->->->->-> OPERATION START ->->->->->->
SccCloseProject();
08/09/2012 14:25:47 JazzScmScci: Result = -25
Outputs:
<-<-<-<-<-<- OPERATION END <-<-<-<-<-<-

08/09/2012 14:25:47 JazzScmScci: ->->->->->-> OPERATION START ->->->->->->
SccUninitialize()();
08/09/2012 14:25:47 JazzScmScci: Result = 0
Outputs:
<-<-<-<-<-<- OPERATION END <-<-<-<-<-<-


Your answer


Register or to post 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.