1) If you have access to the server itself, stop the CF server entirely. That should
take care of it.
2) If it's happening on a browser page, change the code so there isn't a loop, save
it, and refresh the page.
I'm sure there are other options that might be cleaner, but those SHOULD take
Restart CF service
| -Original Message-
| From: Luis Lebron [mailto:[EMAIL PROTECTED]]
| Sent: Wednesday, January 08, 2003 10:07 AM
| To: CF-Talk
| Subject: Stopping an endless loop
|
|
| I accidentally created an endless cfloop (which includes a
| cfmail tag!!!). How do I stop it.
|
I tried stopping the server, but everytime I restart it the mail starts
again.
-Original Message-
From: Scott Brady [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 08, 2003 12:18 PM
To: CF-Talk
Subject: Re: Stopping an endless loop
1) If you have access to the server itself, stop
If you're using Windows, copy the text below into a file: restart_cf.bat
Then run the file on your server.
--- RESTART_CF.BAT ---
REM stop all CF services and IIS
net stop ColdFusion MX ODBC Agent
net stop ColdFusion MX ODBC Server
net stop ColdFusion MX Application Server
Delete all the files in /cfusion/nail/spool that you don't want to go out.
Tim
-Original Message-
From: Luis Lebron [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 08, 2003 1:16 PM
To: CF-Talk
Subject: RE: Stopping an endless loop
I tried stopping the server, but everytime I
: Stopping an endless loop
1) If you have access to the server itself, stop the CF server
entirely.
That should take care of it.
2) If it's happening on a browser page, change the code so there isn't
a
loop, save it, and refresh the page.
I'm sure there are other options that might be cleaner
The way cfmail works is that it writes message to a spool
directory. Restarting the service may stop the loop, but the outgoing
messages that haven't been sent yet are still in the spool and will be send
when CF restarts.
Stop CF, find the spool directory, delete the files, then restart CF.
BTW, The queue is located at cfusion/mail/spool
Just delete all of those and it should stop
Candace K. Cottrell, Web Developer
The Children's Medical Center
One Children's Plaza
Dayton, OH 45404
937-641-4293
http://www.childrensdayton.org
[EMAIL PROTECTED]
, they'll be sent.
~bgl
-- -Original Message-
-- From: Luis Lebron [mailto:[EMAIL PROTECTED]]
-- Sent: Wednesday, January 08, 2003 10:16 AM
-- To: CF-Talk
-- Subject: RE: Stopping an endless loop
--
-- I tried stopping the server, but everytime I restart it the mail
starts
-- again
Thanks for all the help. Cleaning up the spool did the trick.
Luis
-Original Message-
From: Candace Cottrell [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 08, 2003 12:33 PM
To: CF-Talk
Subject: RE: Stopping an endless loop
BTW, The queue is located at cfusion/mail/spool
Just
PROTECTED] 1/8/2003 1:40:43 PM
Thanks for all the help. Cleaning up the spool did the trick.
Luis
-Original Message-
From: Candace Cottrell [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 08, 2003 12:33 PM
To: CF-Talk
Subject: RE: Stopping an endless loop
BTW, The queue is located
11 matches
Mail list logo