Re: cf incorrectly thinks compiled java byte code is correct

2014-09-19 Thread Brian FitzGerald
Can you post the code for the set_first_name.cfm? Thanks for chiming in Byron. set_first_name.cfm is not a real file, but if it were, it would just look like this: cfset firstName = Brian And it would work in all cases, except for the scenario that I'm describing (where the byte code is

cf incorrectly thinks compiled java byte code is correct

2014-09-17 Thread Brian FitzGerald
Hey guys, I am wondering if many others have run into this issue. Basically, when we deploy certain high volume .cfm files (i.e. index.cfm), they are sometimes incorrectly compiled to java byte code. What I believe is happening is when several requests come in while ColdFusion is trying to

Re: cf incorrectly thinks compiled java byte code is correct

2014-09-17 Thread Brian FitzGerald
How do you know this? What do you mean exactly by incorrectly compiled? What version of CF are you running? What are the exact error messages you're seeing? The reason I know it's not being compiled correctly is because when this issue occurs, the errors that happen are indicative of the

Re: cfhttp and SSL ... I/O Exception: peer not authenticated

2013-11-18 Thread Brian FitzGerald
If you use a centralised storage for all servers in your cluster then it is easy. Russ, thanks a lot for your response (somehow I missed it last week). I read the article you linked to about client variables (good read). Are you aware of any resources which discuss how one might implement a

session vs. client scope (clustering)

2013-11-15 Thread Brian FitzGerald
Hey guys, In my applications, I have always used the session scope for handy things like storing the currently logged in user, so I can just do: user.isLoggedIn() ... user.hasRole(admin), things like that. It's great! Here at my current gig, though, they have a clustered server configuration

Re: cfhttp and SSL ... I/O Exception: peer not authenticated

2013-11-15 Thread Brian FitzGerald
Hey Dave, Thanks a lot for your response. Please see some comments inline below: Are you using clustering to support a larger number of users than a single server? Or are you using it to provide failover in case a server fails? Or both? The clustering is mainly for supporting a large number

Re: cfhttp and SSL ... I/O Exception: peer not authenticated

2013-11-15 Thread Brian FitzGerald
Lots of people use sticky sessions to solve this problem. That doesn't provide failover, but if you're not doing something extremely critical where the user can just go elsewhere (ex: ecommerce) you might not need failover. With sticky sessions, in the event that one server crashed, the users on

mysterious cfhttp issue

2011-06-22 Thread Brian FitzGerald
OK, I cannot figure this out for the life of me and it's driving me crazy. For an entire day I was trying to integrate with the Spreedly.com API, and no matter what I did (importing certificates, etc.) I got this mysterious PEER could not authenticate message. I posted a thread here the

Re: mysterious cfhttp issue

2011-06-22 Thread Brian FitzGerald
Hey Russ, Thank you for the suggestions. Thinking about it again, you're right; as long as it works in production that's what's important. It was just giving me such a hassle in development that I kinda had my heart set on having it work right in both places :) With that said, implementing

Re: cfhttp and SSL ... I/O Exception: peer not authenticated

2011-06-17 Thread Brian FitzGerald
You'll need to download the certificate and install it in your JVM's keystore. Google java keystore keytool coldfusion for instructions. Hi Dave, Thank you for the reply. Only thing is that I've already downloaded the certificate through Google Chrome, and imported it via the keytool as

Re: cfhttp and SSL ... I/O Exception: peer not authenticated

2011-06-17 Thread Brian FitzGerald
Hey Bobby, thanks for the reply. It turns out this is a CF9 bug. Ray Camden outlines it well here, with a workaround that is working for me: http://www.coldfusionjedi.com/index.cfm/2011/1/12/Diagnosing-a-CFHTTP-issue--peer-not-authenticated Here is the bug report Jason Dean filed:

cfhttp and SSL ... I/O Exception: peer not authenticated

2011-06-16 Thread Brian FitzGerald
Hey all, I'm trying to make a cfhttp call to a secure url (the API for http://spreedly.com) and this is what I keep getting back: ErrorDetail I/O Exception: peer not authenticated Filecontent Connection Failure Mimetype Unable to determine MIME type of file. Statuscode

coldfusion 8 split word in array of letters

2010-09-23 Thread Brian FitzGerald
Hey all, In CF9, this splits a word into an array of letters: cfset myArr = listToArray(myWord, ) / However, unless I'm crazy, this doesn't work in CF8. Can anyone tell me how to easily split a word into an array of letters in CF8? Thanks for any insight, Brian

Re: coldfusion 8 split word in array of letters

2010-09-23 Thread Brian FitzGerald
Ah, I had forgotten that cf strings are java string objects under the hood. Calling myString.split() splits each letter of the word into an array. I noticed that this does, however, insert an empty element into the first position in the array, which was undesirable. To address this, I found

Re: coldfusion 8 split word in array of letters

2010-09-23 Thread Brian FitzGerald
Hey Leigh, it's very interesting that you mention that about the Java array. In fact, because it was a Java array, I was using the techniques outlines by the ever helpful Ben Nadel in this post (link below) to convert it back to a CF array. After your comments however, I took the conversion

Re: ColdFusion Builder what have I done?

2009-07-30 Thread Brian FitzGerald
Thank you Christine!!! This was driving me crazy :) ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive:

How to convert GMT Time into something I can use

2009-03-08 Thread Brian FitzGerald
...? Thanks a lot, Brian FitzGerald ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http

Re: How to convert GMT Time into something I can use

2009-03-08 Thread Brian FitzGerald
Hey there James, thanks for the response ... Actually, I hadn't tried dateConvert simply because I figured if one date function wouldn't recognize the string as a valid datetime string, then none of them would. I went ahead and gave dateConvert() a go and came up w/ the same error:

Re: How to convert GMT Time into something I can use

2009-03-08 Thread Brian FitzGerald
Wow, all sorts of great info here... thanks a million. I tried the function you linked to Will but didn't have much luck w/ that. You'll have to show me how you managed to finesse that at work. Paul, you were right, Ben's post and subsequent comments right on target for this situation. I

Insert/Update Record: Apostrophes will not work

2002-01-30 Thread Brian Fitzgerald
to deal with. Can somebody guide me in resolving this. For now, I feel like I'm just going to have to post a message on the INSERT and UPDATE pages that warn users not to use apostrophes. -- Brian Fitzgerald Web/UI Developer Lincoln Public Schools::Internet Services Lincoln, Nebraska USA http