Re: Shouldn't these statements work?

2011-10-05 Thread Michael Grant
Truthiness? Oh Lord. Steven Colbert has made it so far into pop culture that his fake words are now used in programming discussion. The end is nigh. On Tue, Oct 4, 2011 at 10:35 PM, Lists li...@commadelimited.com wrote: The triple === in JavaScript at least is a strict comparison. It not only

JVM Heap Size

2011-10-05 Thread John M Bliss
Based on some JVM tuning advice I Googled a while back, I have (on ACF 8) minimum and maximum JVM heap size set to 1024 MB. Server has 2 GB of RAM and is currently running Java version 1.6.0_10 with JVM arguments: -server -XX:MaxPermSize=192m -XX:PermSize=192m -XX:+UseParallelGC

Re: JVM Heap Size

2011-10-05 Thread Jochem van Dieten
On Wed, Oct 5, 2011 at 6:25 AM, John M Bliss wrote: Regularly, CF briefly consumes all but about 50 MB of max heap size. Isn't that what is supposed to happen? The JVM uses memory until it runs out which starts the garbage collector. Are you experiencing any problems with the current

Re: JVM Heap Size

2011-10-05 Thread John M Bliss
Are you experiencing any problems with the current behaviour? We're just tuning stuff to get the fastest possible responses from our app. Related: I just tried to upgrade to Java version 1.6.0_27 but CF failed to start after I did so. Know what the max Java version 1.6.0_* usable with ACF 8

Re: Shouldn't these statements work?

2011-10-05 Thread Justin Scott
Steven Colbert has made it so far into pop culture that his fake words are now used in programming discussion. Truthy and Falsy were used to describe dynamic boolean expressions long before Colbert coined his specific definition of truthiness. Expanding a truthy and testing its truthiness is a

Re: Using ColdFusion to Create an Activity Feed???

2011-10-05 Thread Josh Nathanson
Jenny - this is a Railo implementation of a web socket gateway, but it is helpful to understand the concept. http://wiki.getrailo.org/wiki/Extensions:WebSockets_Gateway -- Josh On Tue, Oct 4, 2011 at 7:00 PM, Jenny Gavin-Wear jenn...@fasttrackonline.co.uk wrote: Interesting .. Josh, any

Re: Shouldn't these statements work?

2011-10-05 Thread Michael Grant
Truthiness is not a word. It may seem like a natural progression, but that doesn't make it exist. I stand by my statement. On Wed, Oct 5, 2011 at 12:14 PM, Justin Scott leviat...@darktech.orgwrote: Steven Colbert has made it so far into pop culture that his fake words are now used in

Re: JVM Heap Size

2011-10-05 Thread Dave Watts
Are you experiencing any problems with the current behaviour? We're just tuning stuff to get the fastest possible responses from our app. Jochem is right, though - unless you're having a problem with memory consumption, I don't see what you're trying to accomplish by tuning memory use. Doing

Re: Shouldn't these statements work?

2011-10-05 Thread Dave Watts
if  (  activeLinkID === 'search_properties' currentPage === 'index.cfm' As everyone's already mentioned, this comparison operator is not an equality operator. It's an identity operator - it's used to see if two object references point to the same object. A literal string won't work here, as

Re: Using ColdFusion to Create an Activity Feed???

2011-10-05 Thread Billy Cravens
I believe you can implement socket.io without using node.js, which provides cross browser asynchronous push. The next version of ColdFusion will have full web socket support, but that doesn't help you today. Some sites are relying on PusherApp.com to provide this. Billy Cravens On Wednesday,

Re: JVM Heap Size

2011-10-05 Thread John M Bliss
Event Type: Error Event Source: Service Control Manager Event Category: None Event ID: 7024 Date: 10/5/2011 Time: 10:29:23 AM User: N/A Description: The ColdFusion 8 Application Server service terminated with service-specific error 2 (0x2). On Wed, Oct 5, 2011 at 12:36 PM, Dave Watts

Re: JVM Heap Size

2011-10-05 Thread Dave Watts
The ColdFusion 8 Application Server service terminated with service-specific error 2 (0x2). What's in the log file? (not the Event Viewer - that doesn't capture any information from CF) Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software

Re: JVM Heap Size

2011-10-05 Thread John M Bliss
Nothing in server.log available in CFAdmin. Just the successful start info from after I reverted the JVM version. Am I missing something? On Wed, Oct 5, 2011 at 1:01 PM, Dave Watts dwa...@figleaf.com wrote: The ColdFusion 8 Application Server service terminated with service-specific error

ColdFusion 8 Scheduler Not Able to Run Tasks

2011-10-05 Thread Robert Nurse
Hi All, I'm running CF8 on a CentOS 4 box and I've just imported some scheduled jobs via Packaging Deploying. I've updated the URL within each task and tested them manually in a browser. However, when I attempt to run them via the Scheduler, I get errors and none of the listed possible

RE: Shouldn't these statements work?

2011-10-05 Thread Rick Faircloth
I'm not entirely sure about the === operator, but it's working. My understanding from what I've read is that the === operator should be used only when comparing strings. Is that not correct? -Original Message- From: Dave Watts [mailto:dwa...@figleaf.com] Sent: Wednesday, October 05,

Re: Shouldn't these statements work?

2011-10-05 Thread Matt Quackenbush
No, `===` is for comparing _objects_, as Dave said. :-) On Wed, Oct 5, 2011 at 2:36 PM, Rick Faircloth r...@whitestonemedia.comwrote: I'm not entirely sure about the === operator, but it's working. My understanding from what I've read is that the === operator should be used only when

Re: Shouldn't these statements work?

2011-10-05 Thread Lists
Not necessarily. It should be used when you want to make sure the value AND the object type both match. On Oct 5, 2011, at 2:36 PM, Rick Faircloth r...@whitestonemedia.com wrote: I'm not entirely sure about the === operator, but it's working. My understanding from what I've read is that

CFImage Woes

2011-10-05 Thread Richard Steele
We've been getting these Missing Huffman code table entry error on write calls with cfimage for certain jpgs: javax.imageio.IIOException: Missing Huffman code table entry at com.sun.imageio.plugins.jpeg.JPEGImageWriter.writeImage(Native Method) at

Re: CFImage Woes

2011-10-05 Thread Leigh
I could be way off base, but are you *sure* the cumulative update includes all of the hotfixes you need? They do not always.   -Leig ~| Order the Adobe Coldfusion Anthology now!

Re: Shouldn't these statements work?

2011-10-05 Thread Dave Watts
My understanding from what I've read is that the === operator should be used only when comparing strings.  Is that not correct? That is not correct. The identity operator is intended to compare the identity of two object references.

Re: JVM Heap Size

2011-10-05 Thread Dave Watts
Nothing in server.log available in CFAdmin. Just the successful start info from after I reverted the JVM version. Am I missing something? The log you're interested in is one of the JRun logs file (cfusion-out.log or cfusion-event.log, I forget which.). I'm not sure where that's located if

Error handler or database bringing down server?

2011-10-05 Thread Jon F
I have a situation where the web server became unresponsive and have been unable to pinpoint the exact issue as to why. System: Win 2008 vmware server running IIS 7.5 and CF 9 Situation: A database server on another system went down and a popular page on the site makes 2 calls to the

Re: JVM Heap Size

2011-10-05 Thread Maureen Barger
There's also tons of profilers out there for the Sun JVM. Rather than throw spaghetti at the wall and see what sticks, install one and watch your app(s) for a while. Perhaps your RMI interval could be longer, GC method be different, heap size smaller or larger etc. And on the other side of the

Re: Error handler or database bringing down server?

2011-10-05 Thread Jochem van Dieten
On Wed, Oct 5, 2011 at 2:05 PM, Jon F wrote: I have a situation where the web server became unresponsive and have been unable to pinpoint the exact issue as to why. Question: Is it the error handler or the database timeouts locking up threads that played havoc on the server or a

Re: JVM Heap Size

2011-10-05 Thread Jochem van Dieten
On Oct 5, 2011 8:37 AM, John M Bliss wrote: We're just tuning stuff to get the fastest possible responses from our app. And isn't that goal best served by letting the JVM consume all available memory instead f running the garbage collector all the time? (If you answer no please include your

Re: ColdFusion 8 Scheduler Not Able to Run Tasks

2011-10-05 Thread Jochem van Dieten
On Wed, Oct 5, 2011 at 11:56 AM, Robert Nurse wrote: I'm running CF8 on a CentOS 4 box and I've just imported some scheduled jobs via Packaging Deploying.  I've updated the URL within each task and tested them manually in a browser.  However, when I attempt to run them via the Scheduler,

Re: CFImage Woes

2011-10-05 Thread Richard Steele
Thank you, while we've kept up with the cumulative updates, this hot fix was evidently not part of those updates. We'll get that done and report back if this is still a problem. Richard ~| Order the Adobe Coldfusion Anthology

cfmail issue

2011-10-05 Thread Jude Blacklaw
I am having an issue with cfmail. I sent regular emails like this cfmail from=b...@bobsdomain.com to=custo...@theirdomain.com server=smtp.gmail.com username=usern...@domain.com password=password subject=whatever And most of the time they work fine. But when legitimate emails end up in the

Re: cfmail issue

2011-10-05 Thread Michael Grant
Most of the time when I've used CFMail and Gmail I've had to use TLS and SSL. Try adding this: port=465 useSSL=true useTLS=true On Wed, Oct 5, 2011 at 6:29 PM, Jude Blacklaw judeblack...@gmail.comwrote: I am having an issue with cfmail. I sent regular emails like this cfmail

Re: cfmail issue

2011-10-05 Thread Michael Grant
I should add that this may not do anything to fix your problem of respooling, however it may minimize the failures in the first place. On Wed, Oct 5, 2011 at 6:32 PM, Michael Grant mgr...@modus.bz wrote: Most of the time when I've used CFMail and Gmail I've had to use TLS and SSL. Try adding

Re: cfmail issue

2011-10-05 Thread Jude Blacklaw
thanks Michael, but I am already doing that with gmail, it is in fact required to use TLS. But this issue is not specific to gmail, the problem occurs with ANY SMTP server where you pass the auth details in the CFMAIL tag. It of course works fine if I specify the server and auth details in the

Re: cfmail issue

2011-10-05 Thread Michael Grant
Can you write a scheduled task to pull the headers and body from the messages in the Undelivr folder and resend them? On Wed, Oct 5, 2011 at 6:42 PM, Jude Blacklaw judeblack...@gmail.comwrote: thanks Michael, but I am already doing that with gmail, it is in fact required to use TLS. But

Re: JVM Heap Size

2011-10-05 Thread John M Bliss
True...but issue at hand is, literally, one high-traffic page that takes a url variable, uses it to look up a row in the DB, and returns a tiny bit of HTML. That's it. Not a whole lot of room for improvement there. As an aside/follow-up, further research did result in an interesting finding: We

SOT: Advantages of running IIS 7.5 vs Apache 2.2x on Windows and vice versa

2011-10-05 Thread Gerald Guido
I have been running Apache for a number of years on Windows. I really like Apache and I have not used IIS in years. The last version I used was IIS 6 on Windows server 2003 some 4 years ago. I have a new 2k8 server and I am curious about IIS 7.5. I have heard some of you espousing vigorously on