> 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 calib
d multiple
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
#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 err
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 were using structClear(session), and while
working on a workaround, I coincidentally came to the livedocs for
structClear, which mention never to use it on se
> So my question is what is the correct way to kill a session?
If you simply want to disconnect the session from the user's browser, just
delete the session cookie and let the session itself expire normally. If
you're concerned about memory usage, you could delete everything from the
session that'
> 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
s bad...
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:
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
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
> 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
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
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
> 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
> -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
> 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
> 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. Howev
r this is a bug or not and perhaps
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 bee
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
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.
t; -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 t
: 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
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
22 matches
Mail list logo