[Mono-devel-list] mod_mono on windows - almost there

Angel Marin anmar at gmx.net
Sat Nov 13 06:11:41 EST 2004


Hi,

> -----Mensaje original-----
> > If mod-mono-server is run under MS runtime, everything works
as
> > expected. :?
> 
> If you still get this problem, please report it through
bugzilla.

Ok, I'll do it.

[...]
> >  - Rewritten the fork part to use only apr functions.
> 
> You don't get the same behavior. If you do that APR_JUST_WAIT,
> mod-mono-server is not finished properly (or finished at 
> all). The code
> for unix make it possible to receive Application_End events
(with
> certain restrictions on the MPM model).

In my tests (under RH9) it is terminated properly. I suppose that
by the terminate_xsp handler. Anyway it should be
APR_KILL_AFTER_TIMEOUT. It slept through while testing the effect
of it under windows (whatever I use, the process is left there
due to windows lack of signals).

> >  - Added some ifdefs to includes not found nor needed on
windows.
> 
> I'll add these to the module.
> 
> Doesn't windows have a sleep() function? ;-)

:)

> > Known issues:
> >  - It will only compile for Apache 2. It jet needs to be 
> adapted to be
> > compatible with 1.3.
> 
> That's ok. It's much better than not working on windows at all
:-).

:) Well it was just an initial shot

> > If someone can test this on different environments would be
great.
> 
> I might test it next week, after installing Paco's greatest hit
CD.

As it messes with the fork part it should be tested under unix
too.

I forgot to mention. Under windows:

 - MonoListenAddress and MonoListenPort config options must be
set: it must be run on a tcp socket.
 - MonoExecutablePath and MonoServerPath are necessary as there
is no chance of guessing where they are located (without look in
the registry of course)

PS If someone wants a binary version of the module that can be
used with the binary distribution of apache for windows, drop me
a note.

-- 
Angel Marin
http://anmar.eu.org/




More information about the Mono-devel-list mailing list