[Mono-list] My XSP is broken

Abram Gillespie agillesp@vt.edu
Fri, 23 Apr 2004 13:13:25 -0400


Platform:
mod_mono (latest release)
xsp (latest release)
mono 0.31

httpd.conf:
LoadModule mono_module        modules/libmod_mono.so
MonoUnixSocket /tmp/mod_mono_server
MonoRunXSP True
MonoExecutablePath /usr/local/bin/mono
MonoServerPath /usr/local/bin/mod-mono-server.exe
MonoApplications /mono:/usr/local/share/doc/xsp/test
.
.
.
Alias /mono /usr/local/share/doc/xsp/test
<Directory /usr/local/share/doc/xsp/test>
	SetHandler mono
	DirectoryIndex index.aspx
</Directory>

I did try to update my mono to the latest cvs but I'm getting this=20
during make:
./.libs/libmint.so: undefined reference to `mono_interp_opname'
./.libs/libmint.so: undefined reference to `mono_interp_transform_init'
./.libs/libmint.so: undefined reference to `mono_interp_dis_mintop'
./.libs/libmint.so: undefined reference to=20
`mono_interp_transform_method'
collect2: ld returned 1 exit status
make[3]: *** [mint] Error 1
make[3]: Leaving directory `/usr/src/mono/mono/mono/interpreter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/mono/mono/mono'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/mono/mono'
make: *** [all-recursive-am] Error 2

-Abe

> --__--__--
>
> Message: 2
> Subject: Re: [Mono-list] My XSP is broken
> From: Gonzalo Paniagua Javier <gonzalo@ximian.com>
> To: mono-list@lists.ximian.com
> Organization: Ximian Inc.
> Date: Fri, 23 Apr 2004 01:10:58 +0200
>
> El vie, 23-04-2004 a las 00:36, Abram Gillespie escribi=F3:
>> I get:
>>
>> Server error in '/mono' application
>> Description: Error processing request.
>>
>> Error Message: HTTP 500.
>>
>> Stack Trace:
>>
>> System.Configuration.ConfigurationException: Already have a factory=20=

>> for
>> mono.aspnet/acceptEncoding(/usr/local/share/doc/xsp/test/web.config
>> line 5)
>> in <0x000c8> System.Web.HttpRuntime:OnFirstRequestStart
>> (System.Web.HttpContext)
>> in <0x000e3> System.Web.HttpRuntime:InternalExecuteRequest
>> (System.Web.HttpWorkerRequest)
>>
>> Any help would be greatly appreciated.
>> Thanks as always!
>
> I'd need more input:
>       * mod_mono or xsp?
>       * versions of: mono, xsp, [mod_mono, apache]
>       * how do you run/setup xsp/mod_mono?
>
> I think I fixed a bug like that a while ago, but may be didn't get in
> 0.31, not sure.
>
> -Gonzalo