See doco: http://confluence.public.thoughtworks.org/display/CC/RunningCruiseControlAsaWindowsService
Cheers, Stéphane On 8/2/05, Chedly GUERFALI <[EMAIL PROTECTED]> wrote: > Thank you very much David, > but where do you pass the configfile parameter to the cruisecontrol service > ? > Do you launch a script containing the "cruisecontrol -configfile XXX" chain? > > Chedly > > -----Message d'origine----- > De : David Jackman [mailto:[EMAIL PROTECTED] > Envoye : lundi 1 aout 2005 18:45 > A : Maven Users List > Objet : RE: Maven as service > > > The account user name and password that the service runs under isn't set > on the command line for the executable, but in the settings for the > service (in the service administration). > > The script I used to install the CC service looks like this: > -------------------------- > set LIBDIR=%CCDIR%\lib > set DISTDIR=%CCDIR%\dist > > if "%CURRENT%"=="" set CURRENT=%CD% > > set > CRUISE_PATH=%DISTDIR%\cruisecontrol.jar;%LIBDIR%\log4j.jar;%LIBDIR%\jdom > .jar;%LIBDIR%\ant\ant.jar;%LIBDIR%\xerces.jar;%LIBDIR%\mail.jar;%LIBDIR% > \ant\ant-junit.jar;%LIBDIR%\junit.jar;%LIBDIR%\activation.jar;%LIBDIR%\m > x4j.jar;. > > CruiseControlService.exe -install "Cruise Control" > %JAVA_HOME%\jre\bin\hotspot\jvm.dll "-Djava.class.path=%CRUISE_PATH%" > -start CruiseControl -params %* -out %CURRENT%\service_out.log -err > %CURRENT%\service_err.log -current %CURRENT% > --------------------------- > With CCDIR == my CruiseControl install directory, and CURRENT == the > current directory for when CC runs. > > Hope this helps. > ..David.. > > > -----Original Message----- > From: Chedly GUERFALI [mailto:[EMAIL PROTECTED] > Sent: Monday, August 01, 2005 8:45 AM > To: Maven Users List > Subject: RE: Maven as service > > Thank you David for this help, > I tried the JavaService Software and I noticed that it doesn't accept > much parameters like service account and service password. Would you > giging me in examlple your script for launching CC and Maven. > Thank you. > > Chedly > > -----Message d'origine----- > De : David Jackman [mailto:[EMAIL PROTECTED] > Envoye : lundi 1 aout 2005 15:09 > A : Maven Users List > Objet : RE: Maven as service > > > I'm also running CruiseControl with Maven in this way, but haven't seen > this problem at all. I've never had a problem when logging out of the > machine. I'm using something I downloaded some time ago called > JavaService.exe (Java NT Service Adaptor); I'm on version 1.2.3.0. > > > > -----Original Message----- > From: Chedly GUERFALI [mailto:[EMAIL PROTECTED] > Sent: Monday, August 01, 2005 3:16 AM > To: MAVEN > Subject: Maven as service > > Hello All, > I am using CruiseControl as a service with the Java Wrapper Service. > CruiseControl launches the Maven goals and everything works ok. The > problem comes when somebody using the computer logs out. the JVM used by > CruiseControl igores the log out, but the JVM used by Maven stoppes > because of the system listener. I tried thus to set Maven as a service, > but it doesn't work. Does anyone has the same problem which could help? > Thanks in advance. > > Chedly > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- .::You're welcome ::. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
