[Mono-list] mod_mono failures

CJ Collier cjcollier@colliertech.org
Fri, 08 Oct 2004 10:36:54 -0700

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

Hey all,

I don't know where mod_mono discussion goes, so I'm going to bring it
here.  Please correct me if I'm in the wrong place.

I spent some time putting together a test of mod_mono on my apache2
server yesterday:


As you can tell, it didn't go so well.

Here's some debugging info.  I ran apache2 -X and then hit that page:

$ sudo apache2 -X
Adding applications '/demo:/usr/local/share/doc/xsp/test'...
Registering application:
    Host:          any
    Port:          any
    Virtual path:  /demo/
    Physical path: /usr/local/share/doc/xsp/test
Listening on: /tmp/mod_mono_server
Root directory: /
System.ArgumentOutOfRangeException: Abnormal string size.
Parameter name: size
in <0x00065> Mono.ASPNET.ModMonoRequest:ReadString ()
in <0x00050> (wrapper remoting-invoke-with-check)
Mono.ASPNET.ModMonoRequest:ReadString ()
in <0x000a9> Mono.ASPNET.ModMonoRequest:GetInitialData ()
in <0x0004f> (wrapper remoting-invoke-with-check)
Mono.ASPNET.ModMonoRequest:GetInitialData ()
in <0x000ef> Mono.ASPNET.ModMonoRequest:.ctor
(System.Net.Sockets.NetworkStream)in <0x00056> (wrapper remoting-invoke-
with-check) Mono.ASPNET.ModMonoRequest:.ctor
in <0x00034> Mono.ASPNET.RequestReader:.ctor
in <0x00077> Mono.ASPNET.ModMonoWorker:Run (object)

I've attached a copy of my /etc/apache2/mods-enabled/mod_mono.conf file.

I installed xsp and mod_mono from anon cvs.

xsp's ChangeLog's cvs log says that its release is 1.83
mod_mono's ChangeLog's cvs log says that its release is 1.92

I ran mod_mono's ./configure with --prefix=/usr
I ran xsp's ./configure without a --prefix

Any idea what might be throwing this exception?

Thanks for any help!


Content-Disposition: attachment; filename=mod_mono.conf
Content-Type: text/plain; name=mod_mono.conf; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

             LoadModule mono_module /usr/lib/apache2/modules/mod_mono.so
             Alias /demo "/usr/local/share/doc/xsp/test"
             MonoApplications "/demo:/usr/local/share/doc/xsp/test"

             <Location /demo>
                     SetHandler mono