[Mono-list] mod-mono apache issue

Vincent DiScipio vdiscipio at wooster.edu
Fri Feb 3 11:50:21 EST 2006


Hi, 

I am new to the list so if this has been answered please point me to the post and I will read it.

I have MONO 1.1.13 installed on SUSE Enterprise 9 and have installed mdid.  The MDID application works as expected when using the xsp webserver directly.  It throws the following error (* See below *) when using the apache mod_mono.  

Any help would be great
vince

Here is the vhost:

Alias /mdid25/   /usr/local/mdid/mdid2-0.5.0/wwwroot/
MonoApplications "/mdid25:/usr/local/mdid/mdid2-0.5.0/wwwroot/"
<Directory "/usr/local/mdid/mdid2-0.5.0/wwwroot/">
Options All 
Order allow,deny
Allow from all
SetHandler mono
DirectoryIndex default.aspx
</Directory>

and the mod lives as /usr/lib/apache2/mod_mono.so

(* Begin error *)
Data: 140.103.236.176 (140.103.236.176)
Exception: System.IO.IOException: Read failure

Server stack trace: 
in <0x000c3> System.Net.Sockets.NetworkStream:Read (System.Byte[] buffer, Int32 offset, Int32 size)
in <0x00045> System.IO.BinaryReader:FillBuffer (Int32 bytes)
in <0x00011> System.IO.BinaryReader:ReadInt32 ()
in <0x0001e> Mono.WebServer.ModMonoRequest:IsConnected ()
in <0x00010> Mono.WebServer.ModMonoWorker:IsConnected ()
in <0x00022> Mono.WebServer.BaseRequestBroker:IsConnected (Int32 requestId)
in (wrapper remoting-invoke-with-check) Mono.WebServer.BaseRequestBroker:IsConnected (int)
in (wrapper xdomain-dispatch) Mono.WebServer.BaseRequestBroker:IsConnected (object,byte[]&,byte[]&,int)

Exception rethrown at [0]: 
 ---> System.Net.Sockets.SocketException: Operation on non-blocking socket would block
in <0x0006d> System.Net.Sockets.Socket:Receive_nochecks (System.Byte[] buf, Int32 offset, Int32 size, SocketFlags flags)
in <0x00064> System.Net.Sockets.Socket:Receive (System.Byte[] buf, Int32 offset, Int32 size, SocketFlags flags)
in <0x00075> System.Net.Sockets.NetworkStream:Read (System.Byte[] buffer, Int32 offset, Int32 size)--- End of inner exception stack trace ---

in (wrapper xdomain-invoke) Mono.WebServer.BaseRequestBroker:IsConnected (int)
in (wrapper remoting-invoke-with-check) Mono.WebServer.BaseRequestBroker:IsConnected (int)
in <0x0001e> Mono.WebServer.ModMonoWorkerRequest:IsClientConnected ()
in <0x00021> System.Web.HttpResponse:get_IsClientConnected ()
in <0x006ca> Orciid.GetImage:GetImage_Init (System.Object sender, System.EventArgs e)
in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs)
in <0x00117> System.Web.UI.Control:OnInit (System.EventArgs e)
in <0x00016> Orciid.GetImage:OnInit (System.EventArgs e)
in <0x00235> System.Web.UI.Control:InitRecursive (System.Web.UI.Control namingContainer)
in <0x00045> System.Web.UI.Page:InternalProcessRequest ()
in <0x000a1> System.Web.UI.Page:ProcessRequest (System.Web.HttpContext context)


Vince DiScipio
Director Networks, Telecommunications and Systems
The College of Wooster
Wooster Oh, 44691
P - 330-263-2612
F - 330-263-2666



More information about the Mono-list mailing list