[Mono-aspnet-list] Thread being aborted on xsp2 on FreeBSD trying to use ASP.NET MVC

Gonzalo Paniagua Javier gonzalo.mono at gmail.com
Sun Jul 19 07:46:27 EDT 2009


On Sun, 2009-07-19 at 12:24 +0200, Patrick Kristiansen wrote:
[...]
>   Error: System.Net.Sockets.SocketException: Address already in use
>     at System.Net.Sockets.Socket.Bind (System.Net.EndPoint local_end) [0x00000]
>     at Mono.WebServer.XSPWebSource.CreateSocket () [0x00000]
>     at Mono.WebServer.ApplicationServer.Start (Boolean bgThread) [0x00000]
>     at Mono.WebServer.ApplicationServer.Start (Boolean bgThread,
> System.Exception initialException) [0x00000]
>     at (wrapper remoting-invoke-with-check)
> Mono.WebServer.ApplicationServer:Start (bool,System.Exception)
>     at Mono.WebServer.XSP.Server.RealMain (System.String[] args,
> Boolean root, IApplicationHost ext_apphost, Boolean quiet) [0x00000]
> 
> I use the following command to start xsp:
> 
>   xsp2 --address 192.168.1.90 --root /home/patrick/monotest/www \
>     --applications '/:.'
> 
> I'm running FreeBSD 7.2, Mono 2.4.2.1 and xsp 2.4.2.0.
> 
> Can anybody help?

There were a couple of issues that have been fixed in the 2.4 branch and
HEAD. One involves your application writing to the toplevel web.config,
the other, creating new folders under the physical root path of your
application.

Anyway, easy workaround: use --applications
'/:.,/somethingelse:/someempty/folder/in/your/disk'

-Gonzalo




More information about the Mono-aspnet-list mailing list