RE: Restart CFMX with CFML?

2005-02-01 Thread Martin Parry
This isn't the correct use of the product but it's a possibility. I wrote, a long time ago, a utility to monitor CF servers and if an error occurred (Anyone remember Location Code 25 or 26 errors ?) it would take a certain course of action. Now, it's possible to customise the app so it will detec

RE: Restart CFMX with CFML?

2005-01-31 Thread Brook Davies
Oh shit sorry, I wasn't paying enough attention - we use this script via the scheduler to restart CFMX. You are right, it will not work from CFEXECUTE... Brook At 02:54 PM 1/31/2005, you wrote: >Thanks Steven, we'll check this out. Your experience matches ours; it >appears that the .bat stops w

RE: Restart CFMX with CFML?

2005-01-31 Thread Dave Merrill
Thanks Steven, we'll check this out. Your experience matches ours; it appears that the .bat stops when CF does, so the restart doesn't happen when done that straightforward way. Brook, are you sure this actually restarts CF? I just tried your .bat code verbatim here, and CF stops, but doesn't rest

RE: Restart CFMX with CFML?

2005-01-31 Thread Steven Erat
inal Message- > From: Brook Davies [mailto:[EMAIL PROTECTED] > Sent: Monday, January 31, 2005 4:23 PM > To: CF-Talk > Subject: RE: Restart CFMX with CFML? > > === > @echo off > cls > REM == RESTART CFMX=== > net stop &q

Re: Restart CFMX with CFML?

2005-01-31 Thread Jordan Michaels
Hi Dave, Yeah, the CFEXECUTE command I suggested was for *nix. Brook has the necessary batch file for Windows. My apologies for not being more clear on that aspect. ;) Warm regards, Jordan Michaels Vivio Technologies Dave Merrill wrote: >I was hopeful that someone had solved this for MX61, bu

Re: Restart CFMX with CFML?

2005-01-31 Thread Adrocknaphobia
What version of CF are you running? If you are running J2EE this should work from \bin. jrun.exe -restart -Adam On Mon, 31 Jan 2005 16:19:28 -0500, Dave Merrill <[EMAIL PROTECTED]> wrote: > I was hopeful that someone had solved this for MX61, but instead I'm > confused. I don't have an 'opt' d

RE: Restart CFMX with CFML? SMALL CHANGE

2005-01-31 Thread Brook Davies
Sorry, that last bit of code for the restartCFMX.bat file was wrong, try this it works, we've been using it for at least a year: = @echo off cls REM == RESTART CFMX=== net stop "Coldfusion MX Application Server" c: cd \CFUSIONMX\bin call C:\CFUSIONMX\

RE: Restart CFMX with CFML?

2005-01-31 Thread Brook Davies
=== @echo off cls REM == RESTART CFMX=== net stop "Coldfusion MX Application Server" c: cd \CFUSIONMX\bin call C:\CFUSIONMX\bin\cfstop.bat c:\winnt\system32\kill -f jrun.exe c:\winnt\system32\kill -f jrun.exe sleep 2 REM call C:\CFUSIONMX\bin\cfstart.bat

RE: Restart CFMX with CFML?

2005-01-31 Thread Dave Merrill
I was hopeful that someone had solved this for MX61, but instead I'm confused. I don't have an 'opt' directory (Windows 2000), and don't find any files named 'coldfusion.*' that you might be referring to. Is this solution for unix only? More particulars? FWIW, we had something for this purpose wor

Re: Restart CFMX with CFML?

2005-01-31 Thread Jordan Michaels
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jon Block wrote: |What's the way in which you can restart CFMX service with CFML code |natively? | |Jon | Note that you must allow whatever user CFMX/Apache is running as permissions to execute that command... which opens up a whole new can of worms

Restart CFMX with CFML?

2005-01-31 Thread Jon Block
What's the way in which you can restart CFMX service with CFML code natively? Jon ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or