Forum OpenACS Q&A: Windows Version of AOLServer

Collapse
Posted by mark rohn on
What's the deal the the windows version of AOLserver? ---is it
production ready and can it handle heavy loads or is it for light
testing only ? ---also will AOLserver for windows be supported in the
future.

Thanks

Mark

Collapse
Posted by Reuven Lerner on

I've never tried AOLServer under Windows, so I can't tell you how well (or how poorly) it works. But the Windows code has been removed from the AOLServer 4.x snapshot that's available at www.aolserver.com, which means that you shouldn't bet on having a Windows version of AOLServer in the future.

Collapse
Posted by Andrei Popov on
They have specifically dropped support for Windows -- it has been mentioned a few times on this bboard -- use the search.

Now, there were a few unofficial aolserver-win32 compiles (check the new-file-storage), but they are just that UNofficial (though i do use it for development purposes).

If you do do search on this bboard, you will see that there are problems with win32 aolserver -- file up/downloads aren't working well, it's a pain to make it use graphviz, etc.

Bottom line -- you should NOT use it for production system.

Collapse
Posted by John Holroyd on
Hi Mark, I have been trying on and off for 6 months to get a good stable version of AOL server to work on 2k, unsucessfully, the most recent try was to download Jamie Rasmussen's version of AOL server 4, but this leaves a huge amount of TCL and ADP editing in OACS nessasary to run the system. None of the versions of AOL server 3.x support file uploads and all need patches of various kinds some can be found @ the Aolserver site others from the acs-misc site, I was going to suggest you might even try looking at the open-nsd site, but it appears to be dead at the moment.
None of this is helped by the fact that Aolserver no longer support win32 versions in any way and bug reports are by and large ignored for this platform, they also removed all of the win32 specific code from their sources for AOL4.x making the jobs of those who choose to continue developing AOL server for win32 much harder.
Collapse
Posted by Jamie Rasmussen on
I'm not sure what your requirements are or what you mean by "support".  But the likely answer to your questions is, "No."

AOLserver 2.x on Windows is still being used on some production sites.  (Yikes.)  One person doing this has talked to me about upgrading to 4 and will probably do so once there is a stable release.

AOLserver 3.x for Windows is not being maintained by anyone and
is certainly not production quality for the reasons mentioned above
and in previous posts.  A few people are using it on laptops or for testing.  I don't know of any sites using it, but let me know if you find some!

I'm working on AOLserver 4 for Windows in my spare time.  It is pretty
stable and has many bug fixes, including those for uploading files.  OpenACS runs adequately but not perfectly on it.
I don't know of anyone who has tested OpenACS with AOLserver 4
on non-Windows platforms so I'm not entirely convinced that the current problems are Windows related.  (Some problems are known to be in OpenACS.  Hopefully these will get ironed out in time for OpenACS 4.7.)

Incidentally, TCL 8.4 was released on September 10th
(http://www.tcl.tk/software/tcltk/8.4.html).
So hopefully AOLserver 4 final will be along shortly as well.

Collapse
Posted by Christian Eva on
This is really good news Jamie<br>
I was using AOL-Server 3.x on Win last year for a while, but not productive (it crashed from time to time
with no obvious reason).
<br>
As I have a non ACS application for AOL Server I would offer to give your new version a test when it is
available.
<br>
Thanks for your effort, I found it a little bit sad, when AOL dropped the support for Win.<br>
Collapse
Posted by Andrew Piskorski on
Jamie, I believe so far your strategy in making AOLserver 4 work on Windows is to put back in the Windows support code that AOL took out c. December 2001. Is that correct?

Could you tell us more on how well you've found that strategy to work, and how you think it would be most effective to support AOLserver on Windows going forward?

E.g., how hard is continually forward porting the Windows code whille tracking the AOLserver core going to be? Can you comment on any possible alternate strategies, e.g., Cygwin, using a Posix thread library on native Windows, etc.?

Finally, for my own curiousity, what's the driving force behind your own interest in seeing AOLserver run well on Windows?

Collapse
Posted by Jamie Rasmussen on
Sorry for the late response - travelling without Internet access last week and for the rest of this week.

My changes so far have mostly been to improve the project files in the build process and to pull forward the code that got ripped out.  Most of the porting issues are pretty standard - using SOCKET instead of int, line ending stuff, etc.  The version that I am distributing an installer for at this instant is based on AOLserver b1-era code.  It is roughly equivalent to the AOLserver 4-UH distribution from acs-misc (which came first), except for the installer and several bug fixes.  I'm currently internally testing a version of AOLserver from the tip of the tree.  I linked it against the RedHat pthreads library, which brings the Windows code much more in line with the non-Windows code.  I've haven't tested this version very heavily and I don't have an installer for it yet, but it *seems* to work as well or slightly better than the one I have up right now.

I use CVS, WinMerge, and some perl scripts to keep my development tree up-to-date with the AOLserver changes.  It isn't very hard to bring changes AOL makes over to my version.  The only problem would be if they started to make extensive use of APIs that aren't available on Windows, and that shouldn't happen before a stable v4 is out anyway.

When I last looked, Cygwin was missing many of the pthreads functions that AOLserver was using.  I think this might no longer be true.  If all the API functions used are in Cygwin, it is usually just a matter of tweaking some Makefiles to get something to run under it.  There would be a performance hit because of the emulation libraries of course, but it would ease the transition for people used to developing on Unix.

I've been driven by a few things.  One is that I'm much more comfortable programming on Windows since I worked as a Windows developer for a few years.  (For MIT's WinAthena project.)  Another reason is that I needed close integration with Windows programs - for example, using OLE automation to automatically log MSN messenger chats on the website or authenticating our Windows users against the ActiveDirectory.  It is easier to run these on a single box.  And using Windows in a mostly-Windows shop means that it will be much easier for someone to carry on my work after my contract expires next year.  Finally, until I got a second box up and running, I had to host my site on my main development machine, which has to be Windows for non-OpenACS related reasons.