What is the situation with OpenRasta on Mono? Is it supported? I'm
trying to run a simple application with xsp on Mono 2.10.6, but I'm
getting an ObjectDisposedException. The same code runs fine under .NET
on Windows.
I tried to compile OpenRasta myself under Mono, but OpenWrap wasn't
working for me either.
I can provide details on errors if you want them, otherwise I'll just
have to stick to Windows.
James
I've seen that exception on windows too in my tests actually. The tests keep starting and stopping the host and hitting it with watin tests. it happens very rarely on the build server. Probably a race condition and might be unrelated but thought I'd mention it anyway
Stack trace or it didn’t happen :-P
To be clear, when I serve my app with xsp, any request to it gets a 500 response with the following stack trace:
System.ObjectDisposedException: The object was used after being disposed.
at System.Collections.Generic.List`1+Enumerator[OpenRasta.Pipeline.ContributorCall].VerifyState () [0x00000] in <filename unknown>:0
at System.Collections.Generic.List`1+Enumerator[OpenRasta.Pipeline.ContributorCall].MoveNext () [0x00000] in <filename unknown>:0
at OpenRasta.Collections.ResumableIterator`2[OpenRasta.Pipeline.ContributorCall,System.Type].System.Collections.IEnumerator.MoveNext () [0x00000] in <filename unknown>:0
at OpenRasta.Pipeline.PipelineRunner.RunCallGraph (ICommunicationContext context, OpenRasta.Pipeline.PipelineStage stage) [0x00000] in <filename unknown>:0
at OpenRasta.Pipeline.PipelineRunner.Run (ICommunicationContext context) [0x00000] in <filename unknown>:0
at OpenRasta.Hosting.HostManager+<>c__DisplayClass4.<HandleHostIncomingRequestReceived>b__3 () [0x00000] in <filename unknown>:0
at OpenRasta.Hosting.HostManager.ThreadScopedAction (System.Action action) [0x00000] in <filename unknown>:0
at OpenRasta.Hosting.HostManager.HandleHostIncomingRequestReceived (System.Object sender, OpenRasta.Hosting.IncomingRequestEventArgs e) [0x00000] in <filename unknown>:0
at OpenRasta.EventHandlerExtensions.Raise[IncomingRequestReceivedEventArgs] (System.EventHandler`1 handler, System.Object src, OpenRasta.Hosting.IncomingRequestReceivedEventArgs args) [0x00000] in <filename unknown>:0
at OpenRasta.Hosting.AspNet.AspNetHost.RaiseIncomingRequestReceived (ICommunicationContext context) [0x00000] in <filename unknown>:0
at OpenRasta.Hosting.AspNet.OpenRastaIntegratedHandler.ProcessRequest (System.Web.HttpContext context) [0x00000] in <filename unknown>:0
at OpenRasta.Hosting.AspNet.OpenRastaRewriterHandler.ProcessRequest (System.Web.HttpContext context) [0x00000] in <filename unknown>:0
at System.Web.HttpApplication+<Pipeline>c__Iterator6.MoveNext () [0x00000] in <filename unknown>:0
at System.Web.HttpApplication.Tick () [0x00000] in <filename unknown>:0
Version information: Mono Runtime Version: 2.10.6 (tarball Fri Sep 16 00:13:06 EDT 2011); ASP.NET Version: 2.0.50727.1433
Is this more likely to be a bug in Mono than the OR code?