We had a similar problem with running Watin tests as part of our ccnet builds when ccnet was running as a service. I think you should try the solution I posted over at stack overflow: http://stackoverflow.com/questions/640273/watin-tests-fail-on-cc-net. I haven't tried it with firefox and server 2008 specifically but I think you should be able to apply the same solution and have it work.
Brett On Wed, Dec 23, 2009 at 5:17 PM, William Boatin <[email protected]> wrote: > Hey all. > I have an issue running ccnet as service on windows server 2008, 64 > bit. I have finally been able to get the ccnet working as a > service...I think. At least the webdashboard loads up properly, and I > can see my ccnet projects properly. I use ccnet to launch selenium > tests on firefox in chrome mode. That is my problem; the firefox > window does not become visible and my tests do not execute. I can see > the firefox process start up in taskmanager, but it seems to stop in > its memory consumption, short of the normal memory it consumes when > firefox is working properly (when the firefox window becomes visible > and my tests run). > > Please note that when I run ccnet from the console, all works as > expected. The firefox window pops up as expected, my selenium tests > execute. All is fine. > > I had similar issues with running ccnet as a service on server 2003, > but that was resolved when I allowed the service to interact with the > desktop. I have tried doing the same in server 2008, but with no > success. > > The event log on server 2008 shows the following message: > > "The CCService service is marked as an interactive service. However, > the system is configured to not allow interactive services. This > service may not function properly." > > I am not sure what to tweak to get the service interacting with the > desktop... or if this config step is actually required. > > Hopefully this sounds familiar to something that someone has gone > through... SOMEONE hast to have tired getting ccnet, firefox and > selenium running on server 2008. > > I am using ccnet version 1.4.0.3400, which is old, but I havent had a > reason to upgrade yet (waiting for 1.5 to get out of ctp), the latest > version of firefox (3.5.6). > > Thanks for listening. > -- "It is better to deserve honors and not have them than to have them and not deserve them." -- Mark Twain
