mail-archives/mono-list/2003-October/016478.html

127 строки
5.3 KiB
HTML
Исходник Постоянная ссылка Ответственный История

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-list] mod_mono exception
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:yoros%40wanadoo.es">
<META NAME="robots" CONTENT="index,nofollow">
<LINK REL="Previous" HREF="016477.html">
<LINK REL="Next" HREF="016479.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-list] mod_mono exception
</H1>
<B>yoros@wanadoo.es
</B>
<A HREF="mailto:yoros%40wanadoo.es"
TITLE="[Mono-list] mod_mono exception">yoros@wanadoo.es
</A><BR>
<I>Fri, 17 Oct 2003 11:36:00 +0200</I>
<P><UL>
<LI> Previous message: <A HREF="016477.html">[Mono-list] mod_mono exception
</A></li>
<LI> Next message: <A HREF="016479.html">[Mono-devel-list] RE: [Mono-list] Npgsql sources finally updated!!
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#16478">[ date ]</a>
<a href="thread.html#16478">[ thread ]</a>
<a href="subject.html#16478">[ subject ]</a>
<a href="author.html#16478">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>On Thu, Oct 16, 2003 at 01:55:06PM -0700, Michael C McHugh wrote:
&gt;<i> It appers that when I attempt to start mod_mono with more than one
</I>&gt;<i> application path it dies with an Unhandled Exception...
</I>&gt;<i>
</I>&gt;<i> Unhandled Exception: System.ArgumentException: Should be something like
</I>&gt;<i> VPath:realpath
</I>&gt;<i>
</I>&gt;<i> Server stack trace:
</I>&gt;<i> in &lt;0x00208&gt; Mono.ASPNET.XSPApplicationHost:SetApplications (string)
</I>&gt;<i> in (unmanaged) /usr/local/mono/lib/libmono.so.0 [0x400468a3]
</I>&gt;<i> in (unmanaged) /usr/local/mono/lib/libmono.so.0(mono_runtime_invoke+0x27)
</I>&gt;<i> [0x40094690]
</I>&gt;<i> in (unmanaged)
</I>&gt;<i> /usr/local/mono/lib/libmono.so.0(mono_runtime_invoke_array+0x1f0)
</I>&gt;<i> [0x4009546e]
</I>&gt;<i> in (unmanaged) /usr/local/mono/lib/libmono.so.0 [0x4009bafd]
</I>&gt;<i> in &lt;0x00193&gt;
</I>&gt;<i> System.Runtime.Remoting.RemotingServices:InternalExecuteMessage
</I>&gt;<i> (System.MarshalByRefObject,System.Runtime.Remoting.Messaging.IMethodCallMessage)
</I>&gt;<i>
</I>&gt;<i>
</I>&gt;<i> Exception rethrown at [0]:
</I>&gt;<i>
</I>&gt;<i> in &lt;0x001da&gt; System.Runtime.Remoting.Proxies.RealProxy:PrivateInvoke
</I>&gt;<i> (System.Runtime.Remoting.Proxies.RealProxy,System.Runtime.Remoting.Messaging.IMessage,System.Exception&amp;,object[]&amp;)
</I>&gt;<i> in (unmanaged) (wrapper remoting-invoke)
</I>&gt;<i> Mono.ASPNET.XSPApplicationHost:SetApplications (string)
</I>&gt;<i> in &lt;0x00004&gt; (wrapper remoting-invoke)
</I>&gt;<i> Mono.ASPNET.XSPApplicationHost:SetApplications (string)
</I>&gt;<i> in &lt;0x00032&gt; (wrapper remoting-invoke-with-check)
</I>&gt;<i> Mono.ASPNET.XSPApplicationHost:SetApplications (string)
</I>&gt;<i> in &lt;0x00303&gt; Mono.ASPNET.Server:Main (string[])
</I>&gt;<i>
</I>&gt;<i>
</I>&gt;<i> My mod-mono-server.exe.config is in the same directory as the .exe and the
</I>&gt;<i> paths that I am trying to serve with mono are in my httpd.conf ie when
</I>&gt;<i> dealing with just index.html they are fine.
</I>&gt;<i>
</I>&gt;<i> The affected part of my mod-mono-server.exe.conf is as follows
</I>&gt;<i>
</I>&gt;<i> &lt;appSettings&gt;
</I>&gt;<i> &lt;add key=&quot;UnixSocketFileName&quot; value=&quot;/tmp/mod_mono_server&quot;/&gt;
</I>&gt;<i> &lt;add key=&quot;MonoServerPort&quot; value=&quot;80&quot; /&gt;
</I>&gt;<i> &lt;add key=&quot;MonoApplications&quot;
</I>&gt;<i> value=&quot;/:.;/~test1:/export/home/test1/public_html;/~testaccount:/home/testaccount/public_html&quot;
</I>&gt;<i> /&gt;
</I>&gt;<i> &lt;add key=&quot;MonoServerDefaultIndexFiles&quot;
</I>&gt;<i> value=&quot;index.aspx, Default.aspx, default.aspx, index.html,
</I>&gt;<i> index.htm&quot; /&gt;
</I>&gt;<i>
</I>&gt;<i> Like I said when MonoApplications just consists of a single directory all
</I>&gt;<i> is fine, when I try to add a second I get the error.
</I>&gt;<i>
</I>&gt;<i> xsp.exe also dies the same way with the same error if called from the
</I>&gt;<i> command line
</I>&gt;<i>
</I>
I think it could be a documentation bug. The string from one application
to another is separated by &quot;,&quot; not by &quot;;&quot;.
See you,
Pedro
--
Pedro Mart<72>nez Juli<6C>
\ <A HREF="mailto:yoros@terra.es">yoros@terra.es</A>
)| <A HREF="mailto:yoros@wanadoo.es">yoros@wanadoo.es</A>
/ <A HREF="http://yoros.dyndns.org">http://yoros.dyndns.org</A>
Socio HispaLinux #311
Usuario Linux #275438 - <A HREF="http://counter.li.org">http://counter.li.org</A>
GnuPG public information: pub 1024D/74F1D3AC
Key fingerprint = 8431 7B47 D2B4 5A46 5F8E 534F 588B E285 74F1 D3AC
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI> Previous message: <A HREF="016477.html">[Mono-list] mod_mono exception
</A></li>
<LI> Next message: <A HREF="016479.html">[Mono-devel-list] RE: [Mono-list] Npgsql sources finally updated!!
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#16478">[ date ]</a>
<a href="thread.html#16478">[ thread ]</a>
<a href="subject.html#16478">[ subject ]</a>
<a href="author.html#16478">[ author ]</a>
</LI>
</UL>
</body></html>