Hello,
The code in lfAccountypeSelect.cfm:
<cfoutput>
<form action="#attributes.formaction#" method="post" name="um">
<input type="hidden" name="accountstatus"
value="#attributes.accountstatus#">
<select name="#attributes.selectname#" onchange="if
(this.options[this.selectedIndex].value != ''){document.um.submit()}">
<option value="">select user type</option>
<cfloop list="#attributes.AvailableAccountList#" index="accountTypes"
delimiters="|">
<option
value="#listgetat(accountTypes,1)#">#listgetat(accountTypes,2)#
(#dollarformat(listgetat(accountTypes,3))#)</option>
</cfloop>
</select>
</form>
</cfoutput>
And the only thing that looks suspect is the dollarformat() function since
the stack trace includes that line, and that's the commonality with this
crash and the one that happens in my invoiceDisplay.cfm custom tag.
j
java.text.DecimalFormat.format(DLjava/lang/StringBuffer;Ljava/text/Format$Fi
eldDelegate;)Ljava/lang/StringBuffer;+1
j
java.text.DecimalFormat.format(DLjava/lang/StringBuffer;Ljava/text/FieldPosi
tion;)Ljava/lang/StringBuffer;+20
j java.text.NumberFormat.format(D)Ljava/lang/String;+12
j
coldfusion.runtime.CFPage.DollarFormat(Ljava/lang/String;)Ljava/lang/String;
+90
j cflfAdmin_accountypeSelect2ecfm2131509901.runPage()Ljava/lang/Object;+403
I bought fusiuonReactor over the weekend to help with this. But I can't find
any way to make it useful at the moment. I have turned on the request
logging and have looked at the request data that crashed the server, and I
don't see anything unique about it. After the server crashes/restarts, I can
request the same page and NOT get the error.
It seems to me that if I take the server offline and try to hit the page
that usually generates the error, it will not crash. But, if I have other
traffic to the server and hit the same page - then it will crash.
The crash is again occurring in a custom tag. But the code in the tag is so
simple (above). The custom tag is only called from the admin area, so I am
for sure the only one hitting it. I have got the "Jrun Connection Closed"
and the server restart on this page 3 times, but it doesn't always occur.
Also, note, that some of the values being dollar formatted are '0'. This
would also be the case in our invoice display template, when tax is '0'.
So I am thoroughly confused on how to fix this. The fact that CFCHART cause
the same "EXCEPTION_FLT_DIVIDE_BY_ZERO" is also a big concern.
BTW, This problem occurs on 1.4.2_11, 1.4.2_10, 1.4.2_09 and 1.4.2_06.
Brook
-----Original Message-----
From: Big Mad Kev [mailto:[EMAIL PROTECTED]
Sent: May 7, 2007 7:59 AM
To: CF-Talk
Subject: RE: REPOST: CFMX 7 / Server restarts
You could install the trail of fusion reactor which may help you out.
http://www.fusion-reactor.com/
AT least it will monitor and may help indicate the issue a little bit easier
-----Original Message-----
From: Dave Watts [mailto:[EMAIL PROTECTED]
Sent: 07 May 2007 16:33
To: CF-Talk
Subject: RE: REPOST: CFMX 7 / Server restarts
> Question: When looking at the stack dump, is it typically the
> last or topmost cfm template the causes the problems?
Usually, the first item tells me more about the problem than the last, I
guess.
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!
This email has been processed by SmoothZap - www.smoothwall.net
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 by AdobeĀ®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7.
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:277151
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4