Installing FitNesse as a Service
We’ve recently taken to FitNesse to drive our acceptance tests.
One of the frustrations we had with it was getting it to run as a service. I found a neat article on the fitnesse site that described how to do this.
We ran across a situation that was absolutely maddening, involving running FitNesse as a service. Everything worked wonderfully, until you logged off the machine. At that point, the service would die.
A fair amount of googling led me to this article at Sun, which seems to suggest that this is actually an issue with the Java VM.
The fix is easy enough… Pass the -Xrs switch in the AppParameters area for srvany (the last step before ‘roll the drums’ in the linked instructions).
FitNesse to drive our acceptance tests
public MattBerther : ISerializable — Installing FitNesse as a Service FitNesse to drive our acceptance tests What is FietNesse?. Well,…
[...] completing the steps in the above article, see this additional article on resolving problems with the fitnesse service after logging [...]
We spent a while being confused about where the -Xrs should go, so explicitly, this works;
-cp C:\\fitnesse\\fitnesse.jar -Xrs fitnesse.FitNesse -p 8080 -e 0
note we added e 0 to the end but we have no idea if it makes any difference… came from another blog.


