RE: division by 0 error

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

RE: division by 0 error

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

RE: division by 0 error

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

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
ilto:[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 no

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 Q

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

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

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 J2

Re: division by 0 error

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

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 Russ
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 1

RE: division by 0 error

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