RE: division by 0 error
> This is what I'm using as a workaround > > >clientmanagement="Yes" > sessionmanagement="Yes" > setclientcookies="No" > sessiontimeout="#CreateTimeSpan(0,2,0,0)#" > clientstorage="myclientdsn"> >isDefined("session")> var="#session#">session is not defined > #cookie.jsessionId# expires="#Now()#">http://#cgi.server_name#"; > addtoken="no"> > > > Is there a better way? Perhaps something that will preserve > the form post? That's a pretty ugly workaround, since you're losing the user's session, but I guess it beats losing the session and getting an error. Anyway, if you catch the exception, are you finding that the session is not defined? To avoid losing the form post data, you might be able to use the forward method of getPageContext. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:262498 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: division by 0 error
This is what I'm using as a workaround session is not defined #cookie.jsessionId# http://#cgi.server_name#"; addtoken="no"> Is there a better way? Perhaps something that will preserve the form post? Russ > -Original Message- > From: Russ [mailto:[EMAIL PROTECTED] > Sent: Friday, December 01, 2006 2:10 PM > To: CF-Talk > Subject: RE: division by 0 error > > I found a workaround. Basically I put cfapplication in a try catch block, > and if it fails, I force the jsessionid cookie to expire and redirect them > to the homepage. Seems to do the trick... > > I dumped the session before it broke, but don't see anything weird... > > Russ > > > -Original Message- > > From: Dave Watts [mailto:[EMAIL PROTECTED] > > Sent: Friday, December 01, 2006 1:51 PM > > To: CF-Talk > > Subject: RE: division by 0 error > > > > > I'm not sure how... The error doesn't always happen on the > > > same action. > > > > Use onRequestEnd/onRequestEnd.cfm to log your session data? > > > > Dave Watts, CTO, Fig Leaf Software > > http://www.figleaf.com/ > > > > Fig Leaf Software provides the highest caliber vendor-authorized > > instruction at our training centers in Washington DC, Atlanta, > > Chicago, Baltimore, Northern Virginia, or on-site at your location. > > Visit http://training.figleaf.com/ for more information! > > > > > > ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:262487 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: division by 0 error
I found a workaround. Basically I put cfapplication in a try catch block, and if it fails, I force the jsessionid cookie to expire and redirect them to the homepage. Seems to do the trick... I dumped the session before it broke, but don't see anything weird... Russ > -Original Message- > From: Dave Watts [mailto:[EMAIL PROTECTED] > Sent: Friday, December 01, 2006 1:51 PM > To: CF-Talk > Subject: RE: division by 0 error > > > I'm not sure how... The error doesn't always happen on the > > same action. > > Use onRequestEnd/onRequestEnd.cfm to log your session data? > > Dave Watts, CTO, Fig Leaf Software > http://www.figleaf.com/ > > Fig Leaf Software provides the highest caliber vendor-authorized > instruction at our training centers in Washington DC, Atlanta, > Chicago, Baltimore, Northern Virginia, or on-site at your location. > Visit http://training.figleaf.com/ for more information! > > ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:262486 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: division by 0 error
> I'm not sure how... The error doesn't always happen on the > same action. Use onRequestEnd/onRequestEnd.cfm to log your session data? Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:262484 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: division by 0 error
I'm not sure how... The error doesn't always happen on the same action. Further complicating things is the fact that this error only happens on production. I can't seem to replicate it on our development server. Russ > -Original Message- > From: Dave Watts [mailto:[EMAIL PROTECTED] > Sent: Friday, December 01, 2006 1:31 PM > To: CF-Talk > Subject: RE: division by 0 error > > > If I only use 1 instance, everything is fine. Once I have > > more then 1 instance in the cluster, the error happens randomly. > > > > I'm not sure the exact reason we're using client variables. > > It's a big system and I haven't played with that part of the > > code yet. > > > > In my test example the instances are both on the same server. > > > > I put in the code and it's not always the same instance that > > the error occurs in. Also once the error occurs, it will > > happen on any instance, and on any page that I try to access > > until I clear my cookies (i.e. get a new session). > > But the error doesn't happen right away, right? Can you trap what's in the > Session scope prior to the error? > > Dave Watts, CTO, Fig Leaf Software > http://www.figleaf.com/ > > Fig Leaf Software provides the highest caliber vendor-authorized > instruction at our training centers in Washington DC, Atlanta, > Chicago, Baltimore, Northern Virginia, or on-site at your location. > Visit http://training.figleaf.com/ for more information! > > ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:262481 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: division by 0 error
But the error doesn't happen right away, right? Can you trap what's in the Session scope prior to the error? The session scope wouldn't exist before the cfapplication tag, would it?? ~Brad ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:262480 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: division by 0 error
> If I only use 1 instance, everything is fine. Once I have > more then 1 instance in the cluster, the error happens randomly. > > I'm not sure the exact reason we're using client variables. > It's a big system and I haven't played with that part of the > code yet. > > In my test example the instances are both on the same server. > > I put in the code and it's not always the same instance that > the error occurs in. Also once the error occurs, it will > happen on any instance, and on any page that I try to access > until I clear my cookies (i.e. get a new session). But the error doesn't happen right away, right? Can you trap what's in the Session scope prior to the error? Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:262479 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: division by 0 error
> -Original Message- > From: Dave Watts [mailto:[EMAIL PROTECTED] > Sent: Friday, December 01, 2006 12:54 PM > To: CF-Talk > Subject: RE: division by 0 error > > > From the strack trace it looks like it has something to do > > with J2EE sessions. The error also seems to only happen when > > more then 1 instance is running, so perhaps something with > > session replication? I set up the cluster using cf admin, > > could that be a problem? Should I be using J2EE admin > > instead? Here is the stack trace: > > > > java.lang.ArithmeticException: / by zero > > at coldfusion.util.FastHashtable.find(FastHashtable.java:77) > > at coldfusion.util.FastHashtable.put(FastHashtable.java:180) > > at > > coldfusion.runtime.J2eeSessionScope.bind(J2eeSessionScope.java:51) ... > > Does it happen if you disable one instance? Are you storing any CFC > instances in the Session scope? Are the instances on different servers? If > so, you will probably need to use SETDOMAINCOOKIES in your CFAPPLICATION > tag. > > Is there a reason why you're also using Client variables? > > If you put a little code in Application.cfm prior to your CFAPPLICATION > tag > to identify each instance, do the failures always occur on the same > instance? The code is available here: > > http://www.sumoc.com/blog/index.cfm?mode=entry&entry=7B541DBA-5004-2066- > B7BC > F2D895B3EC4A > If I only use 1 instance, everything is fine. Once I have more then 1 instance in the cluster, the error happens randomly. I'm not sure the exact reason we're using client variables. It's a big system and I haven't played with that part of the code yet. In my test example the instances are both on the same server. I put in the code and it's not always the same instance that the error occurs in. Also once the error occurs, it will happen on any instance, and on any page that I try to access until I clear my cookies (i.e. get a new session). ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:262473 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: division by 0 error
> From the strack trace it looks like it has something to do > with J2EE sessions. The error also seems to only happen when > more then 1 instance is running, so perhaps something with > session replication? I set up the cluster using cf admin, > could that be a problem? Should I be using J2EE admin > instead? Here is the stack trace: > > java.lang.ArithmeticException: / by zero > at coldfusion.util.FastHashtable.find(FastHashtable.java:77) > at coldfusion.util.FastHashtable.put(FastHashtable.java:180) > at > coldfusion.runtime.J2eeSessionScope.bind(J2eeSessionScope.java:51) ... Does it happen if you disable one instance? Are you storing any CFC instances in the Session scope? Are the instances on different servers? If so, you will probably need to use SETDOMAINCOOKIES in your CFAPPLICATION tag. Is there a reason why you're also using Client variables? If you put a little code in Application.cfm prior to your CFAPPLICATION tag to identify each instance, do the failures always occur on the same instance? The code is available here: http://www.sumoc.com/blog/index.cfm?mode=entry&entry=7B541DBA-5004-2066-B7BC F2D895B3EC4A Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:262463 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: division by 0 error
We've been seeing a bit of these too. On login to apps and apps where no math is performed. We also have multiple instances.. I haven't seen much around the web as far as answers though On 12/1/06, Bobby Hartsfield <[EMAIL PROTECTED]> wrote: > Sorry. I'm lost in stack traces. Wish I could help more. > > ..:.:.:.:.:.:.:.:.:.:.:. > Bobby Hartsfield > http://acoderslife.com > > > > -Original Message- > From: Russ [mailto:[EMAIL PROTECTED] > Sent: Friday, December 01, 2006 11:44 AM > To: CF-Talk > Subject: RE: division by 0 error > > Nope... no includes. > > From the strack trace it looks like it has something to do with J2EE > sessions. The error also seems to only happen when more then 1 instance is > running, so perhaps something with session replication? I set up the > cluster using cf admin, could that be a problem? Should I be using J2EE > admin instead? Here is the stack trace: > > java.lang.ArithmeticException: / by zero > at coldfusion.util.FastHashtable.find(FastHashtable.java:77) > at coldfusion.util.FastHashtable.put(FastHashtable.java:180) > at > coldfusion.runtime.J2eeSessionScope.bind(J2eeSessionScope.java:51) > at coldfusion.runtime.AbstractScope.bindName(AbstractScope.java:50) > at coldfusion.runtime.Scope.put(Scope.java:67) > at coldfusion.runtime.J2eeSessionScope.put(J2eeSessionScope.java:70) > at > coldfusion.runtime.AppHelper.setupJ2eeSessionScope(AppHelper.java:552) > at > coldfusion.runtime.AppHelper.setupSessionScope(AppHelper.java:602) > at > coldfusion.tagext.lang.ApplicationTag.doStartTag(ApplicationTag.java:248) > at coldfusion.runtime.CfJspPage._emptyTag(CfJspPage.java:1915) > at > cfApplication2ecfm2142783449.runPage(W:\rise\cf\www\Application.cfm:7) > at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152) > at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:349) > at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65) > at > coldfusion.filter.CfincludeFilter.include(CfincludeFilter.java:33) > at > coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:172) > at > coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:51) > at coldfusion.filter.PathFilter.invoke(PathFilter.java:86) > at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:69) > at > coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:52) > at > coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistence > Filter.java:28) > at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38) > at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38) > at > coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22) > at > coldfusion.filter.RequestThrottleFilter.invoke(RequestThrottleFilter.java:11 > 5) > at coldfusion.CfmServlet.service(CfmServlet.java:107) > at > coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:78) > at jrun.servlet.FilterChain.doFilter(FilterChain.java:86) > at > net.teleologic.server.filters.ProxyRemoteHostFilter.doFilter(ProxyRemoteHost > Filter.java:69) > at jrun.servlet.FilterChain.doFilter(FilterChain.java:94) > at jrun.servlet.FilterChain.service(FilterChain.java:101) > at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91) > at > jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42) > at > jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:257) > at > jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:541) > at > jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:204) > at > jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:426 > ) > at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) > > > And here is find method from FastHashTable.java (although mangled a bit by > the decompilation) > > protected synchronized int find(Object key) > { > String sKey = key.toString(); > int hash = HashcodeCache.noCaseHashCode(sKey); > int code = (hash & 0x7fff) % keys.length; > int attempts = 0; > for(int maxAttempts = keys.length; attempts++ < maxAttempts;) > { > Object k = keys[code]; > if(k == null || !REMOVED.equals(k) && (k == key || > sKey.equalsIgnoreCase(k.toString( > return code; > hash = code
RE: division by 0 error
Sorry. I'm lost in stack traces. Wish I could help more. ..:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Russ [mailto:[EMAIL PROTECTED] Sent: Friday, December 01, 2006 11:44 AM To: CF-Talk Subject: RE: division by 0 error Nope... no includes. >From the strack trace it looks like it has something to do with J2EE sessions. The error also seems to only happen when more then 1 instance is running, so perhaps something with session replication? I set up the cluster using cf admin, could that be a problem? Should I be using J2EE admin instead? Here is the stack trace: java.lang.ArithmeticException: / by zero at coldfusion.util.FastHashtable.find(FastHashtable.java:77) at coldfusion.util.FastHashtable.put(FastHashtable.java:180) at coldfusion.runtime.J2eeSessionScope.bind(J2eeSessionScope.java:51) at coldfusion.runtime.AbstractScope.bindName(AbstractScope.java:50) at coldfusion.runtime.Scope.put(Scope.java:67) at coldfusion.runtime.J2eeSessionScope.put(J2eeSessionScope.java:70) at coldfusion.runtime.AppHelper.setupJ2eeSessionScope(AppHelper.java:552) at coldfusion.runtime.AppHelper.setupSessionScope(AppHelper.java:602) at coldfusion.tagext.lang.ApplicationTag.doStartTag(ApplicationTag.java:248) at coldfusion.runtime.CfJspPage._emptyTag(CfJspPage.java:1915) at cfApplication2ecfm2142783449.runPage(W:\rise\cf\www\Application.cfm:7) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152) at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:349) at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65) at coldfusion.filter.CfincludeFilter.include(CfincludeFilter.java:33) at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:172) at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:51) at coldfusion.filter.PathFilter.invoke(PathFilter.java:86) at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:69) at coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:52) at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistence Filter.java:28) at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38) at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38) at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22) at coldfusion.filter.RequestThrottleFilter.invoke(RequestThrottleFilter.java:11 5) at coldfusion.CfmServlet.service(CfmServlet.java:107) at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:78) at jrun.servlet.FilterChain.doFilter(FilterChain.java:86) at net.teleologic.server.filters.ProxyRemoteHostFilter.doFilter(ProxyRemoteHost Filter.java:69) at jrun.servlet.FilterChain.doFilter(FilterChain.java:94) at jrun.servlet.FilterChain.service(FilterChain.java:101) at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91) at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42) at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:257) at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:541) at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:204) at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:426 ) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) And here is find method from FastHashTable.java (although mangled a bit by the decompilation) protected synchronized int find(Object key) { String sKey = key.toString(); int hash = HashcodeCache.noCaseHashCode(sKey); int code = (hash & 0x7fff) % keys.length; int attempts = 0; for(int maxAttempts = keys.length; attempts++ < maxAttempts;) { Object k = keys[code]; if(k == null || !REMOVED.equals(k) && (k == key || sKey.equalsIgnoreCase(k.toString( return code; hash = code << 1 ^ attempts ^ hash; code = (hash & 0x7fff) % keys.length; } while(attempts-- > 0) { Object k = keys[code]; if(k == null || !REMOVED.equals(k) && (k == key || sKey.equalsIgnoreCase(k.toString( return code; code = (code + 1) % keys.length; } throw new IllegalStateException(); } > -Original Message- > From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] > Sent: Friday, December 01, 2006 11:04 AM > To: CF-Talk > Subject: RE: division by 0 error > > Is there an include in Application.cfm that has a bit of code on ITS line > 7 > that might cause it? > > ..:.:.:.:.:.:.:.:.:.:.
RE: division by 0 error
Nope... no includes. >From the strack trace it looks like it has something to do with J2EE sessions. The error also seems to only happen when more then 1 instance is running, so perhaps something with session replication? I set up the cluster using cf admin, could that be a problem? Should I be using J2EE admin instead? Here is the stack trace: java.lang.ArithmeticException: / by zero at coldfusion.util.FastHashtable.find(FastHashtable.java:77) at coldfusion.util.FastHashtable.put(FastHashtable.java:180) at coldfusion.runtime.J2eeSessionScope.bind(J2eeSessionScope.java:51) at coldfusion.runtime.AbstractScope.bindName(AbstractScope.java:50) at coldfusion.runtime.Scope.put(Scope.java:67) at coldfusion.runtime.J2eeSessionScope.put(J2eeSessionScope.java:70) at coldfusion.runtime.AppHelper.setupJ2eeSessionScope(AppHelper.java:552) at coldfusion.runtime.AppHelper.setupSessionScope(AppHelper.java:602) at coldfusion.tagext.lang.ApplicationTag.doStartTag(ApplicationTag.java:248) at coldfusion.runtime.CfJspPage._emptyTag(CfJspPage.java:1915) at cfApplication2ecfm2142783449.runPage(W:\rise\cf\www\Application.cfm:7) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152) at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:349) at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65) at coldfusion.filter.CfincludeFilter.include(CfincludeFilter.java:33) at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:172) at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:51) at coldfusion.filter.PathFilter.invoke(PathFilter.java:86) at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:69) at coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:52) at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistence Filter.java:28) at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38) at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38) at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22) at coldfusion.filter.RequestThrottleFilter.invoke(RequestThrottleFilter.java:11 5) at coldfusion.CfmServlet.service(CfmServlet.java:107) at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:78) at jrun.servlet.FilterChain.doFilter(FilterChain.java:86) at net.teleologic.server.filters.ProxyRemoteHostFilter.doFilter(ProxyRemoteHost Filter.java:69) at jrun.servlet.FilterChain.doFilter(FilterChain.java:94) at jrun.servlet.FilterChain.service(FilterChain.java:101) at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91) at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42) at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:257) at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:541) at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:204) at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:426 ) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) And here is find method from FastHashTable.java (although mangled a bit by the decompilation) protected synchronized int find(Object key) { String sKey = key.toString(); int hash = HashcodeCache.noCaseHashCode(sKey); int code = (hash & 0x7fff) % keys.length; int attempts = 0; for(int maxAttempts = keys.length; attempts++ < maxAttempts;) { Object k = keys[code]; if(k == null || !REMOVED.equals(k) && (k == key || sKey.equalsIgnoreCase(k.toString( return code; hash = code << 1 ^ attempts ^ hash; code = (hash & 0x7fff) % keys.length; } while(attempts-- > 0) { Object k = keys[code]; if(k == null || !REMOVED.equals(k) && (k == key || sKey.equalsIgnoreCase(k.toString( return code; code = (code + 1) % keys.length; } throw new IllegalStateException(); } > -Original Message- > From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] > Sent: Friday, December 01, 2006 11:04 AM > To: CF-Talk > Subject: RE: division by 0 error > > Is there an include in Application.cfm that has a bit of code on ITS line > 7 > that might cause it? > > ..:.:.:.:.:.:.:.:.:.:.:. > Bobby Hartsfield > http://acoderslife.com > > > > > > -Original Message- > From: Russ [mailto:[EMAIL PROTECTED] > Sent: Friday, December 01, 2006 10:52 AM > To: CF-Talk > Subject: division by 0 error > > I'm having weir
RE: division by 0 error
Is there an include in Application.cfm that has a bit of code on ITS line 7 that might cause it? ..:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Russ [mailto:[EMAIL PROTECTED] Sent: Friday, December 01, 2006 10:52 AM To: CF-Talk Subject: division by 0 error I'm having weird intermittend division by 0 errors that I think might be related to multiple instances. The crash supposedly happens on application.cfm line 7, which is just your basic cfapplication tag. / by zero The error occurred in W:\rise\cf\www\Application.cfm: line 7 5 : clientmanagement="Yes" 6 : sessionmanagement="Yes" 7 : setclientcookies="Yes" 8 : sessiontimeout="#CreateTimeSpan(0,2,0,0)#" 9 : clientstorage="myClientDSN"> Does anyone have any ideas of what might be causing this? Would setting up seefusion or fusionreactor help debugging this? Basically it works fine until I log in and log out several times. Then once it hits the error, it stays with it. no matter what page I go to. Russ ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:262432 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4