scheduled task weirdness
Hi. We run ColdFusion 5 Enterprinse on Win2K. One of our developers has in the past scheduled a task with the following properties:- Start Date: 06/26/2002 End Date: (not set) Run:every 5 minutes From: 18:00:00 To: 18:55:00 There were no problem with this task until this morning. The scheduler.log indicates that the task ran at the desired interval ever since its start date. But last night at 0:00, ColdFusion started running this task every minute, which caused everyone here large amounts of headache since the scheduled task sends out mail to a bunch of users. I stopped and restarted the ColdFusion Executive Service, and now the recurring of the task every minute appears to have stopped. But as you can imagine, I fear what happens tomorrow. Since I am ultimately responsible for any systems, I can't have this sort of thing happening. Does anyone know of any bugs like these in the CF scheduler? Cheers Michiel __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
error in execution time calculations
Hi. I run CF5 on Win2k. I have enabled 'Show Total Processing Time', or exploded benchmarking, or whatever you want to call it. In customtags that use the execution time of the calling tag will be attributed to the custom tag itself rather than the calling tag. This makes the debugging output totally useless. To reproduce, create two templates, exit.cfm and test_exit.cfm (in the same directory). The file exit.cfm should contain just a single statement. The test_exit.cfm should be something that calls the exit.cfm as a custom tag and then does something that takes a long time. To be precise: exit.cfm: test_exit.cfm: (the cflock thingy will put coldfusion to sleep for one second) The debugging output shows: (edited to remove file locations) Execution Time 1016 milliseconds 0 ms ...\APPLICATION.CFM 1000 ms ...\EXIT.CFM 0 ms ...\TEST_EXIT.CFM 16 ms STARTUP, PARSING, & SHUTDOWN Note that CF has accredited the 1000 ms to exit.cfm and not test_exit.cfm! __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: delivery status notification
> The user agent sends the Return-Receipt-To header, the end Server that > you send the mail to uses that header to send you a receipt. Exchange > Server supports it, Qmail supports it, and many, many other mail server > support it. (unless they have it turned off that is) AFAIK postfix and sendmail do not support it any longer. So you have absolutely no guarantee that you get notifications by using that header. The Return-Receipt-To header has never been an official standard. If you want to use Delivery Status Notifications, use something that adheres to RFC1891. Anyway this is getting way off-topic so I'll shut up now. :) __ Why Share? Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: delivery status notification
> >Return-Receipt-To is obsolete, as far as I know, and won't work as > >advertised. > > >If you want the mail server to generate a receipt you need to modify > >the message envelope, which is something cfmail cannot do. > > >Cheers > >Michiel > > Outlook 2000 as well as Outlook XP uses Return-Receipt-To Those are user agents, not servers. __ Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: delivery status notification
> > This causes the mail server that you are sending the email to send a > delivery receipt. Return-Receipt-To is obsolete, as far as I know, and won't work as advertised. If you want the mail server to generate a receipt you need to modify the message envelope, which is something cfmail cannot do. Cheers Michiel __ Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Un cache all queries or some queries
> I also want to ask, how can I flush the templates from memory without > restarting the CF Server. > I want to alter one page on the production server without having to stop > and restart the CF Server. AFAIK there is no way to flush either the query or the code cache. If you have CF5 you can turn trusted cache off, hit your page once, and then turn TC back on. Cheers Michiel __ Get Your Own Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Using CFLDAP w/MS Exchange 5.5
If you want to authenticate to your exchange server, use dc=your-domain, cn=your-username as login. That should work. If you want to do anonymous binds with exchange, you must turn on 'allow anonymous access' for the ldap protocol using the exchange administrator. Cheers Michiel __ Get Your Own Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: template name in error msgs
> We've got cfcatch pages that are cfincluded all over the application > in cftry blocks. I'd like to get the error template name for the error > message that's logged, but can't figure out how to without using > GetCurrentTemplatePath in every-darn-one of the cftry blocks. > > GetCurrentTemplatePath - shows the cfcatch page if it's included > there. GetBaseTemplatePath - shows the base page, not including any > cfincludes (not much use for Fusebox!) GetTemplatePath - deprecated, > but still works. gives me the same results as GetBaseTemplatePath. > > Any ideas out there? Turn on 'Enable CFML Stack Trace' in the CF administrator (in debug settings) and then use CFCATCH.TAGCONTEXT. Cheers Michiel __ Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Forumspot.org or free opensouce forums
> Could anybody tell me what has happend to forumspot.org Looks like the folks who maintain the forumspot.org domain have messed up its DNS registration. Cheers Michiel __ Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: AllaireMIB Error
> I recently ran across these as well and talked to my server > guy. He thinks they are from the Management and Monitoring > services that come with CF 5. I have since disabled those > services and am waiting to see if I still get the error. > It was fairly random in the past, so it may take a few days > to see if this fixes the problem. Does anyone have any really useful experience with the monitoring service? Apart from the allairemib 404 errors, I am having grave problems with the monitoring service interfering with the web services on my machine. For example, if I stop the Apache service, the monitoring service immediately restarts it! And there does not appear to be any way to turn off this behaviour, apart from not installing or disabling the monitoring service. Cheers Michiel __ Why Share? Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Password Protecting an Access ODBC connection
> Also, I didn't say don't store cc's. I said if you have to store them at I > would at least encrypt them. Especially when it's easy. The coldfusion built-in encryption functions are trivial to break, once you know the key. Since the key must be stored on the server, there is 100% probability that a skilled person will find it. __ Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
cf monitoring service
Hi. Who has experience with the ColdFusion Monitoring Service on windows platforms? Specifically its interactions with the web servers. I have seen several situations now where this service severely messes up the IIS metabase, like virtual servers that disappear when IIS is restarted, etc. Cheers Michiel __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Releasing Access locks with Coldfusion?
> Perhaps there is a better way in newer version of ColdFusion, but in > ColdFusion 4.0.1 we just generated an ODBC error by querying a column > that doesn't exist. This does not work in CF versions 4.5 and higher. What does work is the cfusion_dbconnections_flush() function. ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: ODBC or OLE DB
> Better: ODBC from a portability point of view, OLE DB from a technical > point of view (see faster). > Faster: OLE DB. In this case (SQL2K) ODBC is actually a layer on top of > OLE DB. That layer introduces some performance loss, and also an extra > point of failure. OLE DB in combination with MSSQL produces extremely unhelpful error messages, at least this is what I experienced. I personally prefer decent error reporting over a bit of performance. Cheers Michiel ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Terminal Server Problems with CF
> Has anyone experienced any problems running Terminal Server on Win2K with CF > 4.5.2? > > The symptoms are that system performance pegs and processor peaks, then > drops connection of TS client. I have this configuration running on three > machines, but only one of them is bombing out like this. Make sure that 'allow service to interact with the desktop' is disabled for all CF-related services. Cheers Michiel ~~ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: a way of pausing in CF code?
If you want to sleep for, say, 5 seconds in CF then you can do something like this. ~~ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: REQUEST_URI on Unix
> According to the CF Debug output the value for REQUEST_URI is a full path > (/dev/ca/viewContent.cfm/group/3). But when I assign request_uri to a > variable it appears in the CF page as just /group/3. Do you have any code to demonstrate this behaviour? Cheers Michiel ~~ 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 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: %$#@^&%$& CFSETTING
[blank line in output even after cfsetting] You don't happen to have an Application.cfm that is included somewhere? That may also add to initial whitespace. ~~ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Masked Query Strings in URL
On Thu, 8 Nov 2001, Sean Daniels wrote: > I have been using the fusebox style trick for masking query strings in the > URL (index.cfm/var1/value/var2/value) for quite some time now. > > I recently deployed an app written this way to a new host environment and > have found that all the URLs using this format are returning 404 errors > (from IIS, I believe, not CF). > > The only thing I know for sure is different about the environment is that it > is CF 5, and I run 4.5 (Win2K) on my dev machine. But, since the 404 seems > like it's from IIS, I don't think that's the issue. > > I have limited ability to suss out the host server, does anyone have any > ideas as to why the masked URLs wouldn't work? The guy at the hosting place > claims it's a standard install. What OS version is he using? There are definite problems if you try this on WINNT SP6 without the appropriate hotfix. ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Delaying template execution
On Mon, 29 Oct 2001, Rick Osborne [Mojo] wrote: > Date: Mon, 29 Oct 2001 18:05:35 -0500 > From: "Rick Osborne [Mojo]" <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > To: CF-Talk <[EMAIL PROTECTED]> > Subject: RE: Delaying template execution > > Brian Ferrigno said: > > > the code does work by creating a deadlock for the session > > Deadlock, not race condition. Quite right. Too many Krispy Kremes for me. > Point being, it blocks and *does not* spike your processor or anything lame > like that. The only downside is that it blocks all other locks for that > session. Of course, if you're using this for automated tasks, that's not > really a problem. You don't need to use scoped locks for this; named locks work just as well. Cheers Michiel ~~ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists