InstallingFitNesseAsaService
I retrieved this from a cache, the content had been replaced with a porn link. Someone should clean it up, but I don't have time right now. I hope you find badly formatted content better than no content at all.
Richard Manion

Installing FitNesse as a service.


Installing the FitNesse server as a service can be done by using the SrvAny program.

This works on any Windows computer that FitNesse itself can run on. Always first test that you have the requirements met and that the server runs without running as a service before trying this. Otherwise it will just make finding errors harder.

It has been tested positive by me on Windows XP SP2 and Windows 2000 SP4.

Requirements



Background


svrany.exe is what the name implies. A program that lets you run (almost) any other program as a service. It is definitely a must have tool. You can read moe about it here.

Installing the service


  java -cp fitnesse.jar fitnesse.FitNesse -p 8080

  instsrv.exe FitNesse "<path to the srvany.exe file>\srvany.exe" -a MYMACHINE\fitnesse -p soSecret


You may be wondering why you don't just put the .exe and parameters into a .bat file and then run that, and actually an earlier version of this guide did just that. Unfortunately I discovered that it had the unfortunate effect that you couldn't stop the server properly. The java process was hanging around after the service was stopped. Since that was rather messy, I prefer the current way of doing things.

Troubleshooting



Windows 2003 Resource Kit Note


You can download this here

This kit will work with at Windows Server 2003, Windows XP and Windows 2000. Perhaps you will need an older Resource kit for older servers, the srvany program has been around since Windows NT 4.0 so it will probably work.ni

Note: 2/18/2006: I found on W2K? Release 4 that the Microsoft Resource Kit would NOT install; threw an error: "This product requires Windows XP or a later version to have been installed". Found the srvany.exe and instsrv.exe files in a zip at http://www.tacktech.com/display.cfm?ttid=197; otherwise the installation instructions above worked perfectly - Dave Jennings


[.FrontPage] [.RecentChanges]
Last modified anonymously on May 15, 2008 at 06:13:27 PM