Losing Application Variables Randomly...
I was wondering if anybody else has run into this. We are randomly losing application variables ( mostly holding datasource info as that is what we use most ). We are running on a VPS with MX 6.1. Our session and server variables are not encountering any problems, just the application variables. Also another tibit is those application variables are structures. Refreshing page and the script works fine. There is no pattern that I can decern when it happens. Thanks... Here is the server log entry: at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) Error,jrpp-1120,05/10/06,16:44:36,RAW,Element DATASOURCE.USERNAME is undefined in APPLICATION. The specific sequence of files included or processed is: C:\wwwroot\HTML\Wilderness\Common\Includes\Pricing\LoadPricing.cfm coldfusion.runtime.UndefinedElementException: Element DATASOURCE.USERNAME is undefined in APPLICATION. at coldfusion.runtime.CfJspPage.resolveCanonicalName(CfJspPage.java:1085) at coldfusion.runtime.CfJspPage._resolve(CfJspPage.java:1026) at coldfusion.runtime.CfJspPage._resolveAndAutoscalarize(CfJspPage.java:1125) at cfPricing_V0_82ecfm1716210770._factor35(C:\wwwroot\HTML\Wilderness\Common\In cludes\Pricing\Pricing_V0_8.cfm:489) at cfPricing_V0_82ecfm1716210770._factor41(C:\wwwroot\HTML\Wilderness\Common\In cludes\Pricing\Pricing_V0_8.cfm:3) at cfPricing_V0_82ecfm1716210770.runPage(C:\wwwroot\HTML\Wilderness\Common\Incl udes\Pricing\Pricing_V0_8.cfm:1) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:147) at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:357) at coldfusion.runtime.CfJspPage._emptyTag(CfJspPage.java:1876) at cfLoadPricing2ecfm964484847.runPage(C:\wwwroot\HTML\Wilderness\Common\Includ es\Pricing\LoadPricing.cfm:2) 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.ApplicationFilter.invoke(ApplicationFilter.java:107) 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(ClientScopePersistence Filter.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:29 4) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:240168 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Losing Application Variables Randomly...
John, Check to see that you do not have any applications on the server that share the same name - like when you copy code for reuse :) -Original Message- From: John Skrotzki [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 10, 2006 3:51 PM To: CF-Talk Subject: Losing Application Variables Randomly... I was wondering if anybody else has run into this. We are randomly losing application variables ( mostly holding datasource info as that is what we use most ). We are running on a VPS with MX 6.1. Our session and server variables are not encountering any problems, just the application variables. Also another tibit is those application variables are structures. Refreshing page and the script works fine. There is no pattern that I can decern when it happens. Thanks... Here is the server log entry: at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) Error,jrpp-1120,05/10/06,16:44:36,RAW,Element DATASOURCE.USERNAME is undefined in APPLICATION. The specific sequence of files included or processed is: C:\wwwroot\HTML\Wilderness\Common\Includes\Pricing\LoadPricing.cfm coldfusion.runtime.UndefinedElementException: Element DATASOURCE.USERNAME is undefined in APPLICATION. at coldfusion.runtime.CfJspPage.resolveCanonicalName(CfJspPage.java:1085) at coldfusion.runtime.CfJspPage._resolve(CfJspPage.java:1026) at coldfusion.runtime.CfJspPage._resolveAndAutoscalarize(CfJspPage.java:1125) at cfPricing_V0_82ecfm1716210770._factor35(C:\wwwroot\HTML\Wilderness\Common\In cludes\Pricing\Pricing_V0_8.cfm:489) at cfPricing_V0_82ecfm1716210770._factor41(C:\wwwroot\HTML\Wilderness\Common\In cludes\Pricing\Pricing_V0_8.cfm:3) at cfPricing_V0_82ecfm1716210770.runPage(C:\wwwroot\HTML\Wilderness\Common\Incl udes\Pricing\Pricing_V0_8.cfm:1) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:147) at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:357) at coldfusion.runtime.CfJspPage._emptyTag(CfJspPage.java:1876) at cfLoadPricing2ecfm964484847.runPage(C:\wwwroot\HTML\Wilderness\Common\Includ es\Pricing\LoadPricing.cfm:2) 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.ApplicationFilter.invoke(ApplicationFilter.java:107) 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(ClientScopePersistence Filter.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:29 4) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:240169 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Losing Application Variables Randomly...
Are you using more than one cfapplication tag in your site with a different application name? Is there any logic around your cfapplication tag which could cause it to not be executed, and therefore the page request would be outside of the application? Can you try/catch your access to that variable and in the catch dump the application scope to see what it looks like, or even the application name, to make sure you are in the application you expect to be? Just a couple random ideas. ~Brad -Original Message- From: John Skrotzki [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 10, 2006 3:51 PM To: CF-Talk Subject: Losing Application Variables Randomly... I was wondering if anybody else has run into this. We are randomly losing application variables ( mostly holding datasource info as that is what we use most ). We are running on a VPS with MX 6.1. Our session and server variables are not encountering any problems, just the application variables. Also another tibit is those application variables are structures. Refreshing page and the script works fine. There is no pattern that I can decern when it happens. Thanks... Here is the server log entry: ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:240170 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Losing Application Variables Randomly...
Also, when are these variables set? If your CF service is restarted during the day, your application scope will start over empty until those values are cfset again. ~Brad -Original Message- From: John Skrotzki [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 10, 2006 3:51 PM To: CF-Talk Subject: Losing Application Variables Randomly... I was wondering if anybody else has run into this. We are randomly losing application variables ( mostly holding datasource info as that is what we use most ). We are running on a VPS with MX 6.1. Our session and server variables are not encountering any problems, just the application variables. Also another tibit is those application variables are structures. Refreshing page and the script works fine. There is no pattern that I can decern when it happens. Thanks... Here is the server log entry: ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:240172 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Losing Application Variables Randomly...
Thanks for the reply, I have 3 apps called: RAW and RAW_Reps and COW ( customer order website 8-) and define the same app variables in each one - I know I should be using server scope but I designed it yeas ago when I was still green. Changing it over now scares me as there are literlly thousands of queryies using those app variables ( big Intranet ) And yes, they are nested ( don't know if that is an issue ): RAW -- RAW_Reps ( folder and children ) |--COW ( folder and children ) John, Check to see that you do not have any applications on the server that share the same name - like when you copy code for reuse :) -Original Message- From: John Skrotzki [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 10, 2006 3:51 PM To: CF-Talk Subject: Losing Application Variables Randomly... I was wondering if anybody else has run into this. We are randomly losing application variables ( mostly holding datasource info as that is what we use most ). We are running on a VPS with MX 6.1. Our session and server variables are not encountering any problems, just the application variables. Also another tibit is those application variables are structures. Refreshing ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:240173 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Losing Application Variables Randomly...
I've seen this before. Most likely you have two or more apps on the same server using the same application name. =] Alan Rother Macromedia Certified Advanced ColdFusion MX 7 Developer ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:240174 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Losing Application Variables Randomly...
John, I get the same thing occasionally. Its rare, but sometimes I get User is undefined in SESSION. It will happen on a user-by-user basis, meaning, the rest of the users are fine. Just one person gets messed up. I have not been able to debug it as it happens so infrequently that I can't narrow it down. ... Ben Nadel Web Developer Nylon Technology 350 7th Avenue Floor 10 New York, NY 10001 212.691.1134 212.691.3477 fax www.nylontechnology.com You know, like nunchuck skills, bowhunting skills, computer hacking skills... Girls only want boyfriends who have great skills. - Napoleon Dynamite -Original Message- From: John Skrotzki [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 10, 2006 4:51 PM To: CF-Talk Subject: Losing Application Variables Randomly... I was wondering if anybody else has run into this. We are randomly losing application variables ( mostly holding datasource info as that is what we use most ). We are running on a VPS with MX 6.1. Our session and server variables are not encountering any problems, just the application variables. Also another tibit is those application variables are structures. Refreshing page and the script works fine. There is no pattern that I can decern when it happens. Thanks... Here is the server log entry: ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:240176 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Losing Application Variables Randomly...
Brad - they are set in the application.cfm of each app - maybe that is the problem? One weird instance was that it lost the variables DURING script execution when send out an email broadcast (opt in) - so for example, script starts loops for say 100 out of 200 fine then dies. Wierd... Also, when are these variables set? If your CF service is restarted during the day, your application scope will start over empty until those values are cfset again. ~Brad ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:240177 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Losing Application Variables Randomly...
Hi John, I am having a possibly related issue in a VPS/Linux setup, although it is using Blue Dragon rather than CF. It seems to not be able to properly recurse up the directory tree to find an Application.cfm file if there is not an Application.cfm file in the same directory as the calling template. In my situation I get a session scope not enabled error; since it can't find the App.cfm file it's unable to set session management for the application. Could be that you're getting undefined in application because it's not including your Application.cfm file at all. Maybe you could do a test to see if it's even including the App.cfm file, and go from there. This issue is still not resolved in my case, so I'm curious to see if it's similar to the issue I'm having and if you're able to resolve it. -- Josh - Original Message - From: John Skrotzki [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Wednesday, May 10, 2006 1:50 PM Subject: Losing Application Variables Randomly... I was wondering if anybody else has run into this. We are randomly losing application variables ( mostly holding datasource info as that is what we use most ). We are running on a VPS with MX 6.1. Our session and server variables are not encountering any problems, just the application variables. Also another tibit is those application variables are structures. Refreshing page and the script works fine. There is no pattern that I can decern when it happens. Thanks... Here is the server log entry: at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) Error,jrpp-1120,05/10/06,16:44:36,RAW,Element DATASOURCE.USERNAME is undefined in APPLICATION. The specific sequence of files included or processed is: C:\wwwroot\HTML\Wilderness\Common\Includes\Pricing\LoadPricing.cfm coldfusion.runtime.UndefinedElementException: Element DATASOURCE.USERNAME is undefined in APPLICATION. at coldfusion.runtime.CfJspPage.resolveCanonicalName(CfJspPage.java:1085) at coldfusion.runtime.CfJspPage._resolve(CfJspPage.java:1026) at coldfusion.runtime.CfJspPage._resolveAndAutoscalarize(CfJspPage.java:1125) at cfPricing_V0_82ecfm1716210770._factor35(C:\wwwroot\HTML\Wilderness\Common\In cludes\Pricing\Pricing_V0_8.cfm:489) at cfPricing_V0_82ecfm1716210770._factor41(C:\wwwroot\HTML\Wilderness\Common\In cludes\Pricing\Pricing_V0_8.cfm:3) at cfPricing_V0_82ecfm1716210770.runPage(C:\wwwroot\HTML\Wilderness\Common\Incl udes\Pricing\Pricing_V0_8.cfm:1) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:147) at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:357) at coldfusion.runtime.CfJspPage._emptyTag(CfJspPage.java:1876) at cfLoadPricing2ecfm964484847.runPage(C:\wwwroot\HTML\Wilderness\Common\Includ es\Pricing\LoadPricing.cfm:2) 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.ApplicationFilter.invoke(ApplicationFilter.java:107) 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(ClientScopePersistence Filter.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:29 4) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:240178 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Losing Application Variables Randomly...
That is weird. The only way I can imagine that happening is if a concurrently running page deleted those vars out of the application scope. (which I doubt you have coded anywhere) ~Brad -Original Message- From: John Skrotzki [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 10, 2006 4:09 PM To: CF-Talk Subject: Re: Losing Application Variables Randomly... Brad - they are set in the application.cfm of each app - maybe that is the problem? One weird instance was that it lost the variables DURING script execution when send out an email broadcast (opt in) - so for example, script starts loops for say 100 out of 200 fine then dies. Wierd... Also, when are these variables set? If your CF service is restarted during the day, your application scope will start over empty until those values are cfset again. ~Brad ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:240179 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Losing Application Variables Randomly...
No I don't. But I am sure it is my coding somewhere as I still don't have a solid grasp on the inner workings of apps and app files. I will try the try / catch idea to see if I can narrow it down. It was more of a minor irrantant as refreshing works but when sending emails it becomes serious. Is there any defintive tutorial on the net on the proper way to deal with multiple applications and how to set it up properly as I am sure I still don't fully understand it. Josh I will see what I can find out - I am just so busy it may take awhile. Thanks all... That is weird. The only way I can imagine that happening is if a concurrently running page deleted those vars out of the application scope. (which I doubt you have coded anywhere) ~Brad ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:240183 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Losing Application Variables Randomly...
Or if your on a shared server, other customers could be using the same application name too and thus hijacking your variables. -Original Message- From: Mark A Kruger [mailto:[EMAIL PROTECTED] Sent: 10 May 2006 21:58 To: CF-Talk Subject: RE: Losing Application Variables Randomly... John, Check to see that you do not have any applications on the server that share the same name - like when you copy code for reuse :) -Original Message- From: John Skrotzki [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 10, 2006 3:51 PM To: CF-Talk Subject: Losing Application Variables Randomly... I was wondering if anybody else has run into this. We are randomly losing application variables ( mostly holding datasource info as that is what we use most ). We are running on a VPS with MX 6.1. Our session and server variables are not encountering any problems, just the application variables. Also another tibit is those application variables are structures. Refreshing page and the script works fine. There is no pattern that I can decern when it happens. Thanks... Here is the server log entry: at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) Error,jrpp-1120,05/10/06,16:44:36,RAW,Element DATASOURCE.USERNAME is undefined in APPLICATION. The specific sequence of files included or processed is: C:\wwwroot\HTML\Wilderness\Common\Includes\Pricing\LoadPricing.cfm coldfusion.runtime.UndefinedElementException: Element DATASOURCE.USERNAME is undefined in APPLICATION. at coldfusion.runtime.CfJspPage.resolveCanonicalName(CfJspPage.java:1085) at coldfusion.runtime.CfJspPage._resolve(CfJspPage.java:1026) at coldfusion.runtime.CfJspPage._resolveAndAutoscalarize(CfJspPage.java:1125) at cfPricing_V0_82ecfm1716210770._factor35(C:\wwwroot\HTML\Wilderness\Common\In cludes\Pricing\Pricing_V0_8.cfm:489) at cfPricing_V0_82ecfm1716210770._factor41(C:\wwwroot\HTML\Wilderness\Common\In cludes\Pricing\Pricing_V0_8.cfm:3) at cfPricing_V0_82ecfm1716210770.runPage(C:\wwwroot\HTML\Wilderness\Common\Incl udes\Pricing\Pricing_V0_8.cfm:1) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:147) at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:357) at coldfusion.runtime.CfJspPage._emptyTag(CfJspPage.java:1876) at cfLoadPricing2ecfm964484847.runPage(C:\wwwroot\HTML\Wilderness\Common\Includ es\Pricing\LoadPricing.cfm:2) 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.ApplicationFilter.invoke(ApplicationFilter.java:107) 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(ClientScopePersistence Filter.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:29 4) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:240184 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Losing Application Variables Randomly...
I think I may have found the problem ( at least logically ) after examining my app code closer. I don't check to see if the appication.datasource is already defined. I just re-define it everytime. So it comes down to a race condition. If another person accesses that app at the exact same time the datasource is being redefined (structurely) it would of course not exists. I am modifying my code to check to see if it is already defined. Thoughts... No I don't. But I am sure it is my coding somewhere as I still don't have a solid grasp on the inner workings of apps and app files. I will try the try / catch idea to see if I can narrow it down. It was more of a minor irrantant as refreshing works but when sending emails it becomes serious. Is there any defintive tutorial on the net on the ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:240187 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Losing Application Variables Randomly...
Locking :-) -Original Message- From: John Skrotzki [mailto:[EMAIL PROTECTED] Sent: 10 May 2006 22:58 To: CF-Talk Subject: Re: Losing Application Variables Randomly... I think I may have found the problem ( at least logically ) after examining my app code closer. I don't check to see if the appication.datasource is already defined. I just re-define it everytime. So it comes down to a race condition. If another person accesses that app at the exact same time the datasource is being redefined (structurely) it would of course not exists. I am modifying my code to check to see if it is already defined. Thoughts... No I don't. But I am sure it is my coding somewhere as I still don't have a solid grasp on the inner workings of apps and app files. I will try the try / catch idea to see if I can narrow it down. It was more of a minor irrantant as refreshing works but when sending emails it becomes serious. Is there any defintive tutorial on the net on the ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:240188 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54