Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mono compatibility #93

Closed
degloff opened this issue Jun 12, 2015 · 3 comments
Closed

Mono compatibility #93

degloff opened this issue Jun 12, 2015 · 3 comments

Comments

@degloff
Copy link

degloff commented Jun 12, 2015

Running m-brace on Linux / Mono for heterogeneous clusters.
Getting around issue that Microsoft.ServiceBus library doesn't work on mono as figured out by Konstantinos:

#r "Microsoft.ServiceBus"
open Microsoft.ServiceBus
open Microsoft.ServiceBus.Messaging
let ns = NamespaceManager.CreateFromConnectionString("[conn]")

In the interactive:

System.TypeInitializationException: An exception was thrown by the type initializer for TimerManager ---> System.EntryPointNotFoundException: CreateWaitableTimer

at (wrapper managed-to-native)  Microsoft.ServiceBus.Common.Interop.UnsafeNativeMethods:CreateWaitableTimer (intptr,bool,string)

In a compiled binary the Mono runtime just hangs. It looks like the ServiceBus library uses some native libs not available in mono.

@cgravill
Copy link

I’ve checked the current version of Microsoft.ServiceBus.dll, 3.0.3 and it looks the same. This isn’t open sourced yet per:
http://feedback.azure.com/forums/216926-service-bus/suggestions/6948939-open-source-microsoft-servicebus-dll-windowsazure

Other people who’ve run into the Service Bus library compatibility on Linux have suggested using this open source alternative:
https://github.com/ppatierno/azuresblite

I did a small experiment with the code, and it doesn’t look to cover apis that MBrace.Azure uses in Microsoft.ServiceBus.dll.

Any guidance if any of these are worth perusing?

@palladin
Copy link
Member

Even if we have a CoreCLR that runs perfectly on Linux the Serive Bus-Linux combatibility will still be an issue... so yes it is very important to have alternatives. (Btw thanks for azuresblite I didn't know about it)

@dsyme
Copy link
Contributor

dsyme commented Jun 8, 2017

Closing this as dupe of #155

@dsyme dsyme closed this as completed Jun 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants