I have just started to get myself familiar with Orleans for a project. I have some questions regarding that. I am currently using the Step by Step Tutorial. Unfortunately when I try to run the example with "Running in a Stand-Alone Silo" in my laptop, the Grains collection fails with lots of exceptions. I am not sure how to troubleshoot that?
The document mentions "OrleansHost.exe is a ready-made host executable intended for running Orleans code on Windows Server (Azure has a different host)". I am not sure what this means? Is this the reason why it does not work on my laptop which has Windows 10 running?
I think these are the logs:
This was the log in the client:
[2016-02-08 02:22:30.009 GMT 4 WARNING 100178 Messaging.GatewayConnection/GatewayClientSender_gwy.tcp://127.0.0.1:40000/0 127.0.0.1:0] Unable to connect to gateway at address gwy.tcp://127.0.0.1:40000/0 on trial 0.
[2016-02-08 02:22:30.025 GMT 4 WARNING 100913 Messaging.GatewayConnection/GatewayClientSender_gwy.tcp://127.0.0.1:40000/0 127.0.0.1:0] Marking gateway at address gwy.tcp://127.0.0.1:40000/0 as Disconnected
[2016-02-08 02:22:31.072 GMT 4 WARNING 100178 Messaging.GatewayConnection/GatewayClientSender_gwy.tcp://127.0.0.1:40000/0 127.0.0.1:0] Unable to connect to gateway at address gwy.tcp://127.0.0.1:40000/0 on trial 1.
[2016-02-08 02:22:31.072 GMT 4 WARNING 100913 Messaging.GatewayConnection/GatewayClientSender_gwy.tcp://127.0.0.1:40000/0 127.0.0.1:0] Marking gateway at address gwy.tcp://127.0.0.1:40000/0 as Disconnected
[2016-02-08 02:22:31.087 GMT 4 WARNING 100912 Messaging.GatewayConnection/GatewayClientSender_gwy.tcp://127.0.0.1:40000/0 127.0.0.1:0] Marking gateway at address gwy.tcp://127.0.0.1:40000/0 as Dead in my client local gateway list.
[2016-02-08 02:22:31.150 GMT 4 WARNING 100157 CallbackData 127.0.0.1:0] The target silo became unavailable for message: Request _cli/7e151b97@2832ad85->S127.0.0.1:40000:0TypeManagerId@S00000011 #2: global::Orleans.Runtime.ITypeManager:GetTypeCodeMap(). Target History is: S127.0.0.1:40000:0:TypeManagerId:@S00000011. About to break its promise.
[2016-02-08 02:22:31.165 GMT 6 WARNING 100011 OutsideRuntimeClient 127.0.0.1:0] No callback for response message: Unrecoverable Rejection (info: Target silo S127.0.0.1:40000:0 is unavailable) Response S127.0.0.1:40000:0TypeManagerId@S00000011->_cli/7e151b97@2832ad85 #2: global::Orleans.Runtime.ITypeManager:GetTypeCodeMap()
In the server,
[2016-02-08 02:17:34.636 GMT 9 WARNING 101705 AssemblyLoader.Silo 127.0.0.1:22222] Unable to find directory D:\Github\orleans\Samples\HelloWorld\HelloWorld\bin\Debug\Applications; skipping.
[2016-02-08 02:17:35.668 GMT 20 WARNING 101215 Scheduler.MembershipOracle.WorkItemGroup 127.0.0.1:22222] Task [Id=34, Status=RanToCompletion] in WorkGroup [SystemTarget: S127.0.0.1:22222:192593850MembershipOracle@S0000000f] took elapsed time 0:00:00.3190757 for execution, which is longer than 00:00:00.2000000. Running on thread <Runtime.Scheduler.WorkerPoolThread/6, ManagedThreadId=20, Executing Task Id=34 Status=RanToCompletion for 00:00:00.3281403 on WorkItem=System*WorkItemGroup:Name=MembershipOracle,WorkGroupStatus=Running Executing for 00:00:00.3281403. .>
[2016-02-08 02:17:43.334 GMT 9 WARNING 100701 WindowsPerfCountersStatistics 127.0.0.1:22222] Windows perf counters not found -- defaulting to in-memory counters. Run OrleansCounterControl.exe as Administrator to create perf counters for Orleans.
[2016-02-08 02:17:50.779 GMT 2 WARNING 100220 Silo 127.0.0.1:22222] Process is exiting
I have just started to get myself familiar with Orleans for a project. I have some questions regarding that. I am currently using the Step by Step Tutorial. Unfortunately when I try to run the example with "Running in a Stand-Alone Silo" in my laptop, the Grains collection fails with lots of exceptions. I am not sure how to troubleshoot that?
The document mentions "OrleansHost.exe is a ready-made host executable intended for running Orleans code on Windows Server (Azure has a different host)". I am not sure what this means? Is this the reason why it does not work on my laptop which has Windows 10 running?
I think these are the logs:
This was the log in the client:
[2016-02-08 02:22:30.009 GMT 4 WARNING 100178 Messaging.GatewayConnection/GatewayClientSender_gwy.tcp://127.0.0.1:40000/0 127.0.0.1:0] Unable to connect to gateway at address gwy.tcp://127.0.0.1:40000/0 on trial 0.
[2016-02-08 02:22:30.025 GMT 4 WARNING 100913 Messaging.GatewayConnection/GatewayClientSender_gwy.tcp://127.0.0.1:40000/0 127.0.0.1:0] Marking gateway at address gwy.tcp://127.0.0.1:40000/0 as Disconnected
[2016-02-08 02:22:31.072 GMT 4 WARNING 100178 Messaging.GatewayConnection/GatewayClientSender_gwy.tcp://127.0.0.1:40000/0 127.0.0.1:0] Unable to connect to gateway at address gwy.tcp://127.0.0.1:40000/0 on trial 1.
[2016-02-08 02:22:31.072 GMT 4 WARNING 100913 Messaging.GatewayConnection/GatewayClientSender_gwy.tcp://127.0.0.1:40000/0 127.0.0.1:0] Marking gateway at address gwy.tcp://127.0.0.1:40000/0 as Disconnected
[2016-02-08 02:22:31.087 GMT 4 WARNING 100912 Messaging.GatewayConnection/GatewayClientSender_gwy.tcp://127.0.0.1:40000/0 127.0.0.1:0] Marking gateway at address gwy.tcp://127.0.0.1:40000/0 as Dead in my client local gateway list.
[2016-02-08 02:22:31.150 GMT 4 WARNING 100157 CallbackData 127.0.0.1:0] The target silo became unavailable for message: Request _cli/7e151b97@2832ad85->S127.0.0.1:40000:0TypeManagerId@S00000011 #2: global::Orleans.Runtime.ITypeManager:GetTypeCodeMap(). Target History is: S127.0.0.1:40000:0:TypeManagerId:@S00000011. About to break its promise.
[2016-02-08 02:22:31.165 GMT 6 WARNING 100011 OutsideRuntimeClient 127.0.0.1:0] No callback for response message: Unrecoverable Rejection (info: Target silo S127.0.0.1:40000:0 is unavailable) Response S127.0.0.1:40000:0TypeManagerId@S00000011->_cli/7e151b97@2832ad85 #2: global::Orleans.Runtime.ITypeManager:GetTypeCodeMap()
In the server,
[2016-02-08 02:17:34.636 GMT 9 WARNING 101705 AssemblyLoader.Silo 127.0.0.1:22222] Unable to find directory D:\Github\orleans\Samples\HelloWorld\HelloWorld\bin\Debug\Applications; skipping.
[2016-02-08 02:17:35.668 GMT 20 WARNING 101215 Scheduler.MembershipOracle.WorkItemGroup 127.0.0.1:22222] Task [Id=34, Status=RanToCompletion] in WorkGroup [SystemTarget: S127.0.0.1:22222:192593850MembershipOracle@S0000000f] took elapsed time 0:00:00.3190757 for execution, which is longer than 00:00:00.2000000. Running on thread <Runtime.Scheduler.WorkerPoolThread/6, ManagedThreadId=20, Executing Task Id=34 Status=RanToCompletion for 00:00:00.3281403 on WorkItem=System*WorkItemGroup:Name=MembershipOracle,WorkGroupStatus=Running Executing for 00:00:00.3281403. .>
[2016-02-08 02:17:43.334 GMT 9 WARNING 100701 WindowsPerfCountersStatistics 127.0.0.1:22222] Windows perf counters not found -- defaulting to in-memory counters. Run OrleansCounterControl.exe as Administrator to create perf counters for Orleans.
[2016-02-08 02:17:50.779 GMT 2 WARNING 100220 Silo 127.0.0.1:22222] Process is exiting