Stopping an endless loop

2003-01-08 Thread Luis Lebron
I accidentally created an endless cfloop (which includes a cfmail tag!!!).
How do I stop it.


Help!!!


Luis

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




Re: Stopping an endless loop

2003-01-08 Thread Scott Brady
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 care of 
it quick-and-dirty-like.

Scott

Scott Brady
http://www.scottbrady.net/
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




RE: Stopping an endless loop

2003-01-08 Thread Lee Fuller
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.
| 
| 
| Help!!!
| 
| 
| Luis
| 
| 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




RE: Stopping an endless loop

2003-01-08 Thread Luis Lebron
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 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 care of it quick-and-dirty-like.

Scott

Scott Brady
http://www.scottbrady.net/
 
 

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




RE: Stopping an endless loop

2003-01-08 Thread Joshua Miller
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
net stop World Wide Web Publishing Service

REM start all CF services and IIS
net start World Wide Web Publishing Service
net start ColdFusion MX Application Server
net start ColdFusion MX ODBC Server
net start ColdFusion MX ODBC Agent
--- RESTART_CF.BAT ---

That's the best way I've found without restarting the whole machine.

If you don't have command-line access to run the batch file, you can use
CFEXECUTE to run it remotely. I've written a CF page to run these things
remotely in case I'm ever out and a server goes down or a service needs
restarting. If you're interested I could zip up the whole thing
including the batch files and email them to you. It's not pretty, but it
works in a pinch.

Thanks,

Joshua Miller
Head Programmer / IT Manager
Garrison Enterprises Inc.
www.garrisonenterprises.net
[EMAIL PROTECTED]
(704) 569-9044 ext. 254
 

*
Any views expressed in this message are those of the individual sender,
except where the sender states them to be the views of 
Garrison Enterprises Inc.
 
This e-mail is intended only for the individual or entity to which it is
addressed and contains information that is private and confidential. If
you are not the intended recipient you are hereby notified that any
dissemination, distribution or copying is strictly prohibited. If you 
have received this e-mail in error please delete it immediately and
advise us by return e-mail to [EMAIL PROTECTED]

*


-Original Message-
From: Luis Lebron [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, January 08, 2003 1:07 PM
To: CF-Talk
Subject: Stopping an endless loop


I accidentally created an endless cfloop (which includes a cfmail
tag!!!). How do I stop it.


Help!!!


Luis


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




RE: Stopping an endless loop

2003-01-08 Thread Timothy Heald
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 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 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 care of it quick-and-dirty-like.

Scott

Scott Brady
http://www.scottbrady.net/
 
 


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




RE: Stopping an endless loop

2003-01-08 Thread Candace Cottrell
This happened to me once, and I went in and deleted all of the mails in
the queue...
 
It will continue to run until you delete the emails in the queue...
 
 
 
 
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]

 [EMAIL PROTECTED] 1/8/2003 1:16:07 PM 
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 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 care of it quick-and-dirty-like.

Scott

Scott Brady
http://www.scottbrady.net/ 

 


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




FW: Stopping an endless loop

2003-01-08 Thread webguy
RE: Stopping an endless loop

  Thats because the mails are still in the spool, they get sent in batches

  Look in the spool directory
  c:\CFusionMX\Mail\Spool in MX , move the files to a temp directory

  eg
  mkdir c:\tempmail
  stop cf

  mv c:\CFusionMX\Mail\Spool\*.* c:\tempmail
  start cf

  WG

-Original Message-
From: Luis Lebron [mailto:[EMAIL PROTECTED]]
Sent: 08 January 2003 18:14
To: 'webguy'
Subject: RE: Stopping an endless loop


I tried that. But I still keep getting the email messages.

-Original Message-
From: webguy [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 08, 2003 12:18 PM
To: [EMAIL PROTECTED]
Subject: RE: Stopping an endless loop



Restart the cfserver process, that will kill it
WG



 -Original Message-
 From: Luis Lebron [mailto:[EMAIL PROTECTED]]
 Sent: 08 January 2003 18:07
 To: CF-Talk
 Subject: Stopping an endless loop


 I accidentally created an endless cfloop (which includes a cfmail
tag!!!).
 How do I stop it.


 Help!!!


 Luis

 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




Re: Stopping an endless loop

2003-01-08 Thread Samuel R. Neff
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.

At 12:07 PM 1/8/2003, you wrote:
I accidentally created an endless cfloop (which includes a cfmail tag!!!).
How do I stop it.


Help!!!


Luis

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




RE: Stopping an endless loop

2003-01-08 Thread Candace Cottrell
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]

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




RE: Stopping an endless loop

2003-01-08 Thread Brian Ledwith
Could it be that you have so many emails sitting in your outgoing spool
folder that IIS hasn't had a chance to send them all out, regardless of
the state of the CF Server, restarted or not?  Once restarted, the loop
should have been killed, but IIS doesn't care... if the emails are in
the spool, 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.
-- 
-- -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 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 care of it quick-and-dirty-like.
-- 
-- Scott
-- 
-- Scott Brady
-- http://www.scottbrady.net/
-- 
-- 
-- 
--

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




Resolved RE: Stopping an endless loop

2003-01-08 Thread Luis Lebron
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 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]


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




Resolved RE: Stopping an endless loop

2003-01-08 Thread Candace Cottrell
I brought down a network of 5 hospitals with that trick
 
They've called me cowgirl ever since
 
;-)
 
 
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]

 [EMAIL 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 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] 



~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4