[Mono-list] Pages are not passed to mono server in ubuntu
Andrus
kobruleht2 at hot.ee
Tue Jul 13 11:18:15 EDT 2010
mono, mod_mono and xsp are compiled from trunk in ubuntu.
/etc/mono-server2/mono-server2-hosts.conf is referenced from apache config
and contains:
<IfModule mod_mono.c>
MonoUnixSocket default /tmp/.mod_mono_server2
MonoServerPath default /usr/local/bin/mod-mono-server2
AddType application/x-asp-net .aspx .ashx .asmx .ascx .asax .config .ascx
.svc
MonoApplicationsConfigDir default /etc/mono-server2
MonoPath default /usr/local/lib/mono/2.0:/usr/local/lib
</IfModule>
After re-loading apache mono server is started:
www-data 17613 8.5 4.5 43672 11936 ? Ssl 17:52 0:00
/usr/local/bin/mono /usr/local/lib/mono/2.0/mod-mono-server2
asmx file is in /var/www/myapp/myservice.asmx
asmx and similar file extensions are not handled by mono. apache still
handles them.
make check fails:
Testing generic-xdomain.2.exe ...
Unhandled Exception: System.NullReferenceException: Object reference not set
to an instance of an object
Server stack trace:
at <0x00000> <unknown method>
at <0x00000> <unknown method>
at <0x00000> <unknown method>
at <0x00000> <unknown method>
at <0x00000> <unknown method>
at <0x00000> <unknown method>
at <0x00000> <unknown method>
at <0x00000> <unknown method>
at <0x00000> <unknown method>
at <0x00000> <unknown method>
at <0x00000> <unknown method>
at <0x00000> <unknown method>
at <0x00000> <unknown method>
at <0x00000> <unknown method>
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke
(System.Runtime.Remoting.Proxies.RealProxy rp, IMessage msg,
System.Exception& exc, System.Object[]& out_args) [0x00000] in <filename
unknown>:0
make[5]: *** [test-generic-sharing-normal] Error 1
make[5]: Leaving directory `/root/mono/mono/tests'
make[4]: *** [test-generic-sharing] Error 2
make[4]: Leaving directory `/root/mono/mono/tests'
make[3]: *** [check-am] Error 2
make[3]: Leaving directory `/root/mono/mono/tests'
make[2]: *** [check-recursive] Error 1
make[2]: Leaving directory `/root/mono/mono/tests'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/root/mono/mono'
make: *** [check-recursive] Error 1
How to run asmx web service using trunk ?
Andrus.
More information about the Mono-list
mailing list