division by 0 error

2006-12-01 Thread Russ
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

RE: division by 0 error

2006-12-01 Thread Bobby Hartsfield
: 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

RE: division by 0 error

2006-12-01 Thread Russ
( 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

RE: division by 0 error

2006-12-01 Thread Bobby Hartsfield
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

Re: division by 0 error

2006-12-01 Thread Greg Morphis
. ..:.:.:.:.:.:.:.:.:.:.:. 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

RE: Adobe CF Bug? division by 0 error

2006-12-01 Thread Russ
suggest a workaround until a fix is implemented? Russ -Original Message- From: Greg Morphis [mailto:[EMAIL PROTECTED] Sent: Friday, December 01, 2006 12:26 PM To: CF-Talk Subject: Re: division by 0 error We've been seeing a bit of these too. On login to apps and apps where no math

RE: Adobe CF Bug? division by 0 error

2006-12-01 Thread Dave Watts
Did you set up your instances through the cf admin as well? I've been hearing that that's not the best way to do it and it's better to do it through jrun admin... I'll try that and see if it fixes it... There's nothing wrong with setting up instances through the CF Administrator. However,

RE: division by 0 error

2006-12-01 Thread Dave Watts
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

RE: division by 0 error

2006-12-01 Thread Russ
-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

RE: division by 0 error

2006-12-01 Thread Dave Watts
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

RE: division by 0 error

2006-12-01 Thread Brad Wood
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

RE: division by 0 error

2006-12-01 Thread Russ
: 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

RE: division by 0 error

2006-12-01 Thread Dave Watts
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

RE: division by 0 error

2006-12-01 Thread Russ
- 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

RE: division by 0 error

2006-12-01 Thread Russ
? 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

RE: Solved: division by 0 error

2006-12-01 Thread Russ
... http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_17479 So my question is what is the correct way to kill a session? Russ -Original Message- From: Russ [mailto:[EMAIL PROTECTED] Sent: Friday, December 01, 2006 2:22 PM To: CF-Talk Subject: RE: division by 0 error

RE: Solved: division by 0 error

2006-12-01 Thread Andy Matthews
advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original Message- From: Russ [mailto:[EMAIL PROTECTED] Sent: Friday, December 01, 2006 1:42 PM To: CF-Talk Subject: RE: Solved: division by 0 error I think I got it. On logout, we

RE: Solved: division by 0 error

2006-12-01 Thread Russ
#2 would be nice... I think the technote explains how to do structclear without killing the session... Russ -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Friday, December 01, 2006 2:55 PM To: CF-Talk Subject: RE: Solved: division by 0 error So my question

RE: Solved: division by 0 error

2006-12-01 Thread Russ
instances. Russ -Original Message- From: Andy Matthews [mailto:[EMAIL PROTECTED] Sent: Friday, December 01, 2006 3:13 PM To: CF-Talk Subject: RE: Solved: division by 0 error If you clear SESSION itself you're asking for trouble. Try adding one additional level to the SESSION scope

RE: Solved: division by 0 error

2006-12-01 Thread Dave Watts
It's interesting that this issue has not come up until we deployed multiple instances. My guess is that it's the session replication of an empty session object that's causing the problem. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest