ColdFusion and IIS Application Pool recycling
Setup: Windows 2003 Server / IIS 6 / CF 8 We have several websites setup in IIS, each with their own IIS application pool. Every once in a while, one of these application pools will fail more than 5 times in ten minutes, causing the application pool to shutdown. The good news is all of our other websites, on their own app pools, stay up. Problem: After we recycle the app pool, and try to run a CF page, we get an error that states there is no mapping between IIS and CF. My thoughts were that this was somehow an IIS issue, and I wanted to confirm that. I thought the easiest way to do so would be to make sure restarting the CF service didn't fix the problem. So I restarted CF, and, to my surprise, we website started working again. So my questions are... Why do I have to restart CF after I recycle an IIS application pool to get everything working again? To a deeper level, besides the ISAPI extensions (.cfm, .cfc, etc.) listed in the IIS websites Home Directory Configuration Application Configuration page, what is the relationship between IIS, IIS application pools and CF. Any help here would be greatly appreciated! ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:301933 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
ColdFusion and IIS Application Pool recycling
Setup: Windows 2003 Server / IIS 6 / CF 8 We have several websites setup in IIS, each with their own IIS application pool. Every once in a while, one of these application pools will fail more than 5 times in ten minutes, causing the application pool to shutdown. The good news is all of our other websites, on their own app pools, stay up. Problem: After we recycle the app pool, and try to run a CF page, we get an error that states there is no mapping between IIS and CF. My thoughts were that this was somehow an IIS issue, and I wanted to confirm that. I thought the easiest way to do so would be to make sure restarting the CF service didn't fix the problem. So I restarted CF, and, to my surprise, we website started working again. So my questions are... Why do I have to restart CF after I recycle an IIS application pool to get everything working again? To a deeper level, besides the ISAPI extensions (.cfm, .cfc, etc.) listed in the IIS websites Home Directory Configuration Application Configuration page, what is the relationship between IIS, IIS application pools and CF. Any help here would be greatly appreciated! ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:301936 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Problems with Application / CFApplication, I think
I'm getting this odd error (see below) in my exception log that has something to do with my cfapplication tag. There's nothing, that I'm aware of, which points me in the right direction. The error just lists my application name, as specified in my cfapplication tag, and nothing else. I'm running CFMX 6.1 (6,1,0,83762) with the 6.1 updater. I'm using FuseBox 4.1 and connecting to a MySQL 5 server. Does anyone have any idea what could be causing this error? APPLICATION.LOG Error,jrpp-70,11/20/07,13:19:05,MyAppName, The specific sequence of files included or processed is: C:\Inetpub\wwwroot\myapp\index.cfm EXECEPTION.LOG Error,jrpp-70,11/20/07,13:19:05,MyAppName, The specific sequence of files included or processed is: C:\Inetpub\wwwroot\myapp\index.cfm java.lang.NullPointerException at coldfusion.runtime.ClientScopeKey.hashCode(ClientScopeKey.java:29) at java.util.Hashtable.get(Hashtable.java:333) at coldfusion.runtime.ClientScopeServiceImpl.GetClientScope(ClientScopeServiceImpl.java:168) at coldfusion.tagext.lang.ApplicationTag.setupClientScope(ApplicationTag.java:571) at coldfusion.tagext.lang.ApplicationTag.doStartTag(ApplicationTag.java:283) at coldfusion.runtime.CfJspPage._emptyTag(CfJspPage.java:1876) at cfApplication2ecfm1273907579.runPage(C:\Inetpub\wwwroot\myapp\Application.cfm:3) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:147) at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:357) at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:62) at coldfusion.filter.CfincludeFilter.include(CfincludeFilter.java:30) at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:93) at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48) at coldfusion.filter.PathFilter.invoke(PathFilter.java:80) at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:47) at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28) at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:35) at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:43) at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22) at coldfusion.CfmServlet.service(CfmServlet.java:105) at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91) at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42) at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:249) at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527) at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:192) at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:348) at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:451) at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:294) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) APPLICATION.CFM cfapplication name=MyAppName sessionmanagement=yes sessiontimeout=#CreateTimeSpan(0,0,30,0)# clientmanagement=yes ~| Check out the new features and enhancements in the latest product release - download the What's New PDF now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:293630 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Problems with large arrays
Was this question below, off topic? not technical enough? Just wondering why it didn't spark ANY replies or conversation. > I'm using three arrays to handele 34,000 items each. Two of the > arrays are ints and the third is HTML code. I add each array to a > query so I can access them later in my cfoutput statement. After > I'm done with these arrays I clear them using arrayClear and resize > them to 1 element. However each time I run the page it eats up 3% > of the memory on my machine and never releases it. I'm using CF 5.0 > on Windows 2000. Is there any way to stop these arrays from eating > up memory? TIA. > > Mark Kecko > Technology > MediaPost Communications > [EMAIL PROTECTED] > ~| [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Memory problems with large arrays
I'm using three arrays to handele 34,000 items each. Two of the arrays are ints and the third is HTML code. I add each array to a query so I can access them later in my cfoutput statement. After I'm done with these arrays I clear them using arrayClear and resize them to 1 element. However each time I run the page it eats up 3% of the memory on my machine and never releases it. I'm using CF 5.0 on Windows 2000. Is there any way to stop these arrays from eating up memory? TIA. Mark Kecko Technology MediaPost Communications [EMAIL PROTECTED] ~| Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137954 Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com
Dynamic Arrays
Can anybody tell me why this set to a dyanamically named array won't work, is there a workaround? I've tried ArraySet with the same results. IsArray and ArrayLen recognize it, but I can not Append or Insert items. Any suggestions would be grand, thanks. cfset tentativeId = 123 cfloop list=a,b,c index=theIndex cfoutput cfset Request.arrayOfIds_#theIndex# = ArrayNew(1) cfset temp = ArrayAppend(Evaluate(Request.arrayOfIds_#theIndex#), tentativeId) IsArray: #IsArray(Evaluate(Request.arrayOfIds_#theIndex#))#br temp: #temp#br ArrayLen: #ArrayLen(Evaluate(Request.arrayOfIds_#theIndex#))#brbr /cfoutput /cfloop Mark Kecko Technology Mediapost Communications [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
RE: Dynamic Arrays
Creating the array isn't the problem, adding items to it is. Am I misunderstanding your advice. I changed my line that sets up the array to bracket notation, still can't add to it. _mark -Original Message- From: Raymond Camden [mailto:jedimaster;macromedia.com] Sent: Thursday, November 14, 2002 10:03 AM To: CF-Talk Subject: RE: Dynamic Arrays Why not simply use bracket notation? cfset request[arrayOfIds_#theIndex#] = arraynew(1) === Raymond Camden, ColdFusion Jedi Master for Hire Email: [EMAIL PROTECTED] WWW : www.camdenfamily.com/morpheus Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda -Original Message- From: Mark Kecko [mailto:mark;mediapost.com] Sent: Thursday, November 14, 2002 10:04 AM To: CF-Talk Subject: Dynamic Arrays Can anybody tell me why this set to a dyanamically named array won't work, is there a workaround? I've tried ArraySet with the same results. IsArray and ArrayLen recognize it, but I can not Append or Insert items. Any suggestions would be grand, thanks. cfset tentativeId = 123 cfloop list=a,b,c index=theIndex cfoutput cfset Request.arrayOfIds_#theIndex# = ArrayNew(1) cfset temp = ArrayAppend(Evaluate(Request.arrayOfIds_#theIndex#), tentativeId) IsArray: #IsArray(Evaluate(Request.arrayOfIds_#theIndex#))#br temp: #temp#br ArrayLen: #ArrayLen(Evaluate(Request.arrayOfIds_#theIndex#))#brbr /cfoutput /cfloop Mark Kecko Technology Mediapost Communications [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.
RE: Dynamic Arrays
Raymond, Stephen, I can't thank you enough!! _mark -Original Message- From: Raymond Camden [mailto:jedimaster;macromedia.com] Sent: Thursday, November 14, 2002 10:13 AM To: CF-Talk Subject: RE: Dynamic Arrays You mean you can't do: cfset request[arrayOfIds_#theIndex#][1] = foo ? === Raymond Camden, ColdFusion Jedi Master for Hire Email: [EMAIL PROTECTED] WWW : www.camdenfamily.com/morpheus Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda -Original Message- From: Mark Kecko [mailto:mark;mediapost.com] Sent: Thursday, November 14, 2002 10:11 AM To: CF-Talk Subject: RE: Dynamic Arrays Creating the array isn't the problem, adding items to it is. Am I misunderstanding your advice. I changed my line that sets up the array to bracket notation, still can't add to it. _mark -Original Message- From: Raymond Camden [mailto:jedimaster;macromedia.com] Sent: Thursday, November 14, 2002 10:03 AM To: CF-Talk Subject: RE: Dynamic Arrays Why not simply use bracket notation? cfset request[arrayOfIds_#theIndex#] = arraynew(1) == = Raymond Camden, ColdFusion Jedi Master for Hire Email: [EMAIL PROTECTED] WWW : www.camdenfamily.com/morpheus Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda -Original Message- From: Mark Kecko [mailto:mark;mediapost.com] Sent: Thursday, November 14, 2002 10:04 AM To: CF-Talk Subject: Dynamic Arrays Can anybody tell me why this set to a dyanamically named array won't work, is there a workaround? I've tried ArraySet with the same results. IsArray and ArrayLen recognize it, but I can not Append or Insert items. Any suggestions would be grand, thanks. cfset tentativeId = 123 cfloop list=a,b,c index=theIndex cfoutput cfset Request.arrayOfIds_#theIndex# = ArrayNew(1) cfset temp = ArrayAppend(Evaluate(Request.arrayOfIds_#theIndex#), tentativeId) IsArray: #IsArray(Evaluate(Request.arrayOfIds_#theIndex#))#br temp: #temp#br ArrayLen: #ArrayLen(Evaluate(Request.arrayOfIds_#theIndex#))#brbr /cfoutput /cfloop Mark Kecko Technology Mediapost Communications [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.
Setting a Dynamic Array Variable
I'm trying to set a dynamic variable name for array, this throws me an error for the [ being an illegal character in a variable string, any suggestions? cfset AdSpotOneArray_#x#[N]= Ads.AutoNumId[Ads_row] Mark Kecko MediaPost Communications __ 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
CFABORT vs CFEXIT in CFCATCH TAG
Hello, Whats the best way to stop the execution of a page after a error has been caught using CFCATCH. Can I put a CFABORT or CFEXIT tag within the CFCATCH? Thanks in advance for any advice. Mark Kecko Technology Director MediaPost Communications [EMAIL PROTECTED] http://www.mediapost.com (203)222-0330 ext309 -Original Message- From: James Curran [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 07, 2002 10:39 AM To: CF-Talk Subject: RE: CF-based DNS Manager software beta Are you building your own DNS server too or are you just building the CF to integrate with Windows 2k's built in DNS? - j -Original Message- From: Bill Davidson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 06, 2002 11:39 PM To: CF-Talk Subject: CF-based DNS Manager software beta Hello. I mentioned a few days ago that we've been developing CF-based DNS management. I am looking for a small group of beta program participants. If you are interested, read on, otherwise please disregard this message. If you are interested: Please fill out the following form: http://www.brainbox.net/idnsm_beta/ (excuse the form, its not pretty...;) ) Beta testers will be entitled to free 1.x software, and opt-in for future releases, and the likelihood of your feature requests being implemented will be much greater. Thanks ya'll. -Bill brainbox __ 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: CF Automated Tasks~!
I just fought through this!! Check the NT permissions on your folder on your new server, replace them to allow CF to execute the page. -mark -Original Message- From: Kris Pilles [mailto:[EMAIL PROTECTED]] Sent: Monday, February 04, 2002 10:32 AM To: CF-Talk Subject: CF Automated Tasks~! I've used automated tass before and had no trouble. But I'm on a new server now and I have my events scheduled to execute and they simply don't. When I manually execute them form wihtin the administrator they work fine, they just don't exexcute automatically like I want them to Any ideas on why this is happening? -Original Message- From: Kola Oyedeji [mailto:[EMAIL PROTECTED]] Sent: Monday, February 04, 2002 10:20 AM To: CF-Talk Subject: RE: Cftry/cfcatch cferror is exactly what you are looking for! Kola Oyedeji Web developer Macromedia Certified Advanced ColdFusion 5 Developer ekeda ltd http://www.ekeda.co.uk (+44)020-8429-7300 -Original Message- From: Kris Pilles [mailto:[EMAIL PROTECTED]] Sent: 04 February 2002 14:52 To: CF-Talk Subject: Cftry/cfcatch I need to put iun place a really simple error management system. I was wondering what the drawbacks, if any were of putting cftry/catch statements in an application.cfm were? Any other ides on how to easily allow 1 generic error page for our app would be appreciated. __ 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: CF Automated Tasks~!
The folder where the file to be executed resides. -Original Message- From: Kris Pilles [mailto:[EMAIL PROTECTED]] Sent: Monday, February 04, 2002 10:56 AM To: CF-Talk Subject: RE: CF Automated Tasks~! I set it to full control and enabled logging so hopefully this will give me an idea of whats happening. Which Folder were you talking about. The one where the file resides of the cfadmin folders? -Original Message- From: mark kecko [mailto:[EMAIL PROTECTED]] Sent: Monday, February 04, 2002 10:48 AM To: CF-Talk Subject: RE: CF Automated Tasks~! I just fought through this!! Check the NT permissions on your folder on your new server, replace them to allow CF to execute the page. -mark -Original Message- From: Kris Pilles [mailto:[EMAIL PROTECTED]] Sent: Monday, February 04, 2002 10:32 AM To: CF-Talk Subject: CF Automated Tasks~! I've used automated tass before and had no trouble. But I'm on a new server now and I have my events scheduled to execute and they simply don't. When I manually execute them form wihtin the administrator they work fine, they just don't exexcute automatically like I want them to Any ideas on why this is happening? -Original Message- From: Kola Oyedeji [mailto:[EMAIL PROTECTED]] Sent: Monday, February 04, 2002 10:20 AM To: CF-Talk Subject: RE: Cftry/cfcatch cferror is exactly what you are looking for! Kola Oyedeji Web developer Macromedia Certified Advanced ColdFusion 5 Developer ekeda ltd http://www.ekeda.co.uk (+44)020-8429-7300 -Original Message- From: Kris Pilles [mailto:[EMAIL PROTECTED]] Sent: 04 February 2002 14:52 To: CF-Talk Subject: Cftry/cfcatch I need to put iun place a really simple error management system. I was wondering what the drawbacks, if any were of putting cftry/catch statements in an application.cfm were? Any other ides on how to easily allow 1 generic error page for our app would be appreciated. __ 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
Using CFTRY - CFCATCH to rollback database tranaction
Is there a way to use CFTRY - CFCATCH to rollback all database tranactions within given block? In otherwords, If I'm running 4 update queries and the first three are ok but the last one fails I want to roll them all back. Is there a better way to do this than usign CFTRY - CFCATCH? Mark Kecko Technology Director MediaPost Communications [EMAIL PROTECTED] http://www.mediapost.com (203)222-0330 ext309 __ 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: HTML E-mail Stats
Ben, We send out 18,000 multi-part newsletters at a time. Our open rate is about 50% for HTML so 9,000 people are opening the HTML newsletter. There are also around 50 which click back on the text version of the newsletter, which is simply a sentence long with a link, so if people want to read the newsletter and they get text they have to click back. We do this about five times a day and these are our averages. HTH. Mark Kecko Technology Director MediaPost Communications -Original Message- From: BEN MORRIS [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 30, 2002 2:02 PM To: CF-Talk Subject: HTML E-mail Stats Does anyone have (or heard of) or any stats on how many people are unable to view HTML e-mail messages? Or, if anyone does a mailing list where people can choose plain text or HTML, how many choose plain text? TIA, Ben Morris __ 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: HTML E-mail Stats
We put a tag that runs a CFM template at the very bottom of the email, so if they delete it before the last line of code loads, we don't count it. -mark -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 30, 2002 3:07 PM To: '[EMAIL PROTECTED]' Cc: '[EMAIL PROTECTED]' Subject: RE: HTML E-mail Stats We send out 18,000 multi-part newsletters at a time. Our open rate is about 50% for HTML so 9,000 people are opening the HTML newsletter. When you talk about open rate, does this include people who have an HTML-capable preview pane but might delete the message without actually reading it? Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 __ 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