[Mono-dev] Problem in SvcHttpHandler.cs ?

2010-06-29 Thread Thiago Padilha
   Hi,

   I'm hosting a WCF service using asp.net/mono from trunk (r159644)
but encountered a problem when accessing the service from a virtual
machine :


  The argument HTTP context did not match any of the registered
listener manager (could be mismatch in URL, method etc.)
http://172.16.122.2:8080/Person.svc

Description: HTTP 500. Error processing request.

Stack Trace:

System.InvalidOperationException: The argument HTTP context did not
match any of the registered listener manager (could be mismatch in
URL, method etc.) http://172.16.122.2:8080/Person.svc
  at System.ServiceModel.Channels.SvcHttpHandler.FindBestMatchListener
(System.Web.HttpContext ctx) [0x00120] in
/home/thiago/monotrunk/mcs/class/System.ServiceModel/System.ServiceModel.Channels/SvcHttpHandler.cs:141
  at System.ServiceModel.Channels.SvcHttpHandler.ProcessRequest
(System.Web.HttpContext context) [0xd] in
/home/thiago/monotrunk/mcs/class/System.ServiceModel/System.ServiceModel.Channels/SvcHttpHandler.cs:156
  at System.Web.HttpApplication+Pipelinec__Iterator2.MoveNext ()
[0x00ce5] in 
/home/thiago/monotrunk/mcs/class/System.Web/System.Web/HttpApplication.cs:1344
  at System.Web.HttpApplication.Tick () [0x0] in
/home/thiago/monotrunk/mcs/class/System.Web/System.Web/HttpApplication.cs:914


 I think this happened because I tried to access the service trough
the 172.16.122.0 network which is the virtual network for my VMs.
The service works well if I access it on the local machine using the
http://127.0.0.1:8080/Person.svc; Url, but fails with the same error
if I use http://localhost:8080/Person.svc;. After looking into the
source code I think the problem may be on the following conditionals
(method 'FindBestMatchListener') :


if (l.Uri.Equals (ctx.Request.Url)) {
best = l;
break;
}
//
if (!ctx.Request.Url.ToString ().StartsWith (l.Uri.ToString (),
StringComparison.Ordinal))
continue;


Maybe it should check the Uris for all the network interfaces?(I have
no idea on how to do that).
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Mono Compatibility issue

2010-06-29 Thread Stifu

As implied by the exception type, it's simply something that has not been
implemented in Mono.

2 ways to fix your problem:
- Implement this method in Mono and submit a patch
- Find a workaround in your app, using other classes / methods instead


Sruthi wrote:
 
 i ran MonoAnalyser on my code to check the compatibility of my code base,
 and i have found one issue:
 
 Calling MethodMethod that Throws NotImplementedException
 CTest Parse (string) DataTable OleDbConnection.GetOleDbSchemaTable
 (Guid, Object[])
 
 i couldn't able to understand what this error actually is, could some help
 in understanding this  help me fixing this as well.
 
 Thanks
 Sruthi
 

-- 
View this message in context: 
http://mono.1490590.n4.nabble.com/Mono-Compatibility-issue-tp2272054p2272131.html
Sent from the Mono - Dev mailing list archive at Nabble.com.
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] armv6+ atomics / thumb support

2010-06-29 Thread Geoff Norton
I've just commited support for armv6+ processors to the mono runtime in r159690 
and r159691.  While mono has worked on these processors for quite some time, we 
relied on the deprecated swp instruction.  When compiling for armv6+ now we 
will use ldrex/strex which allows us to work on processors which do not have 
(or emulate) swp, and additionally the runtime can be compiled in thumb mode.

-g

___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] Mono Contributors, Action required: Preparing the Subversion to GIT Migration

2010-06-29 Thread Miguel de Icaza
Hello guys,

As part of our migration from Subversion to GIT, we need all Mono
contributors to get a GitHub account and provide your Mono SVN account
and your new GitHub account name here:


http://spreadsheets.google.com/viewform?hl=enformkey=dEdpdTFoNHBwUUI0clVLRFJtTC02N0E6MQ#gid=0

Miguel

___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] Moonlight and OSS4 sound ubuntu 9.10 and opensuse11.2

2010-06-29 Thread ted leslie

In setting up a new opensuse 11.2 install I installed google chrome and 
installed the preview moonlight
(without even thinking, as I thought moonlight didn't work with normal install 
with chrome),
it worked!!
But on the dr. dobbs  
http://dobbschallenge2.com/
silverlight/moonlight game the sound garbled up. (ran ok for 10 seconds then 
went all freaky).
This was probably do to it running in a vmware instance.
Youtube did the same (had sound issue).

So I installed oss4 as i really prefer it anyways over pulseAudio/alsa.
Youtube now works great, but there is no sound in moonlight.

I also tried the same game in my native host os ubuntu 9.10,  firefox and 
chrome (same test as in opensuse11.2),
and I also have OSS4 as my sound layer there as well. Also no sound in 
moonlight (dobbs game),
but sound work fine for everything else, flash, and wav, etc.(using this set up 
for over a year).

I can dig further, but perhaps someone in the know on moonlight, can very 
easily comment on why
sound doesn't work on linux with OSS4. Is it only made to work with alsa/pulse? 
It there a solution?

One of the  really poor things about linux is no good standard sound layer.
I have had set ups were pulseaudio works, other set ups where is pure broken.
I have used alsa standalone, but had little luck with multiplexing sounds.
I know others swear by Jack.
For me OSS4 works perfect. But as I see now, not with moonlight :(
I am thinking, if everything else works fine in browser (through to oss4), why 
not moonlight?

--
ted leslie tles...@tcn.net
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list