[Mono-list] A Problem with XSP

Filip Brčić brcha@users.sourceforge.net
Mon, 23 Feb 2004 15:04:56 +0100


--=-dsmU2rkEin0Stt4m5bzF
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

On Sun, 2004-02-22 at 03:20, Gonzalo Paniagua Javier wrote:

> Shared handles must be enable for Process class to work. That class is
> used to run 'mcs' when compiling ASP.NET pages. So, 'mcs' must be in
> your PATH.
> 
> -Gonzalo

Hi,
I realized that shared handles must be enabled long time ago, but I got
the following error after starting xsp (and any other .net program that
uses threads):

        
        ** (/opt/mono/bin/xsp.exe:1243): WARNING **: Shared memory sanity check failed.
        
        ** (/opt/mono/bin/xsp.exe:1243): WARNING **: Failed to attach shared memory! Falling back to non-shared handles
        Listening on port: 8080
        Listening on address: 0.0.0.0
        Root directory: /home/brcha/Programi/ASP.NET/GoPlay
        Hit Return to stop the server.
        

After some browsing of mono source code, I realized that shared handles
are located in ~/.wapi directory and when the system crashed that
directory got corrupt somehow. After I deleted it, everything works just
fine, as it worked before :)

Thanx for the help and keep up the good work you have done with Mono.NET
(and with Evolution :) )

Best regards
Filip

-- 
Filip Brcic <brcha@users.sourceforge.net>
WWWeb:  serbianc.sourceforge.net
Jabber: brcha@elitesecurity.org
ICQ#    40994923

--=-dsmU2rkEin0Stt4m5bzF
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.0.8">
</HEAD>
<BODY>
On Sun, 2004-02-22 at 03:20, Gonzalo Paniagua Javier wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE><FONT COLOR="#737373"><I>Shared handles must be enable for Process class to work. That class is
used to run 'mcs' when compiling ASP.NET pages. So, 'mcs' must be in
your PATH.

-Gonzalo</I></FONT></PRE>
</BLOCKQUOTE>
Hi,<BR>
I realized that shared handles must be enabled long time ago, but I got the following error after starting xsp (and any other .net program that uses threads):
<BLOCKQUOTE>
<PRE>
** (/opt/mono/bin/xsp.exe:1243): WARNING **: Shared memory sanity check failed.

** (/opt/mono/bin/xsp.exe:1243): WARNING **: Failed to attach shared memory! Falling back to non-shared handles
Listening on port: 8080
Listening on address: 0.0.0.0
Root directory: /home/brcha/Programi/ASP.NET/GoPlay
Hit Return to stop the server.
</PRE>
</BLOCKQUOTE>
After some browsing of mono source code, I realized that shared handles are located in ~/.wapi directory and when the system crashed that directory got corrupt somehow. After I deleted it, everything works just fine, as it worked before :)<BR>
<BR>
Thanx for the help and keep up the good work you have done with Mono.NET (and with Evolution :) )<BR>
<BR>
Best regards<BR>
Filip
<PRE><TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<PRE>-- 
Filip Brcic &lt;brcha@users.sourceforge.net&gt;
WWWeb:  serbianc.sourceforge.net
Jabber: brcha@elitesecurity.org
ICQ#    40994923</PRE>
</TD>
</TR>
</TABLE>
</PRE>
</BODY>
</HTML>

--=-dsmU2rkEin0Stt4m5bzF--