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
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
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
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
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
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
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
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
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
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
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:
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
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
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
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
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:
...?
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
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:
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
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
20 matches
Mail list logo