In a nutshell, cfhttp calls hanging, stacking on top of each other, and
eating up the JVM.
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
I forgot to answer the last part of your question. The solution: I moved
all of the cfhttp calls to their own server instance.
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free
Perhaps you could create a mapping to the the fortstewart_1.2
directory and name it fortstewart. That way you can flip versions in
your code simply by updating the mapping (and also avoid the issue you
are having).
Dominic
2009/3/20 Rick Faircloth r...@whitestonemedia.com:
Anyone have a
Yeah thought that would be the case.
So, are they just slow running or was the end server not responding and
causing them to stack? Did changing the concurrent requests setting the
Admin help at all? Or just prolong the problem?
I'd probably recommend using the timeout on cfhttp be set to solve
I agree with Dominic - create a /fortstewart mapping and use that.
If that mapping is unavailable then use /fortstewart_1-2
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free
thanks for the tips guys!
Will
~|
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:
Thanks Dominic Peter...
I changed the old application.cfm to an application.cfc
and added a mapping there.
Rick
-Original Message-
From: Peter Boughton [mailto:bought...@gmail.com]
Sent: Friday, March 20, 2009 7:14 AM
To: cf-talk
Subject: Re: component paths in cfinvoke
I agree
value=#Caller.getItem[attributes.type 'EasyFrame']#
Yes,... except that getItem is a query in the calling template,
So maybe value=#Caller.getItem[attributes.type
'EasyFrame'][Caller.getItem.currentRow]#
Not sure if it is more efficient, but certainly not as easy to read.
I have only ever used evaluate() in my CF code once. Every other time I
thought I needed it, I was able to use array notation to solve the problem.
On the flip side I once inherited an app that used evaluate() 839 times. On
one page, there were 93 instances of evaluate().
On Thu, Mar 19, 2009
You've gotta love this bit of code:
REreplace(arguments.strInputString,(.)(.),\1#arguments.strDelimiter#\2#ar
guments.strDelimiter#,ALL)
lol
Oh come on, that's funny! :OD
Yeah, I know. :) I haven't added regex to my knowledge repertoire yet, so I
just modified the code snippet offered in
I'd be interested to know how the code I suggested performs in
comparison to the regex with the 360k string - in theory it outperform
it:
cfset myList = ArrayToList( myString.toCharArray() ) /
Regex seems a little ott in this situation.
I created a string 360k chars long for testing - this
Are you referring to the ASCII breasts?
Thanks,
Mike
-Original Message-
From: Adrian Lynch [mailto:cont...@adrianlynch.co.uk]
Sent: Thursday, March 19, 2009 6:20 PM
To: cf-talk
Subject: RE: String to List?
You've gotta love this bit of code:
Personally I think that the anti-evaluate slant is a bit of orthodoxy
that
was picked up on years ago (when it was much more computationally
expensive) and enforced as such by members of the CF community.
Right, and it is not proper to the CF community, I remember having the
same discussion
Hi,
we have an ajax application and to refresh the session we make a remote call to
the following function on the server, which simply returns true:
cffunction name=refreshSession access=remote output=false
returntype=boolean hint=is just called to reset session
cfreturn true/
I have just applied the Jan 2009 patch (7703210)to Oracle 9.2.0.8 Once the
patching was completed, and the server rebooted, everything works fine, execpt
for cfdump and cftrace, both tags now take two to three minutes just to dump a
simple 90 record query. The query itself take only 350ms,
Ermm, no, I thought they looked like eyes! :OD
-Original Message-
From: Dawson, Michael [mailto:m...@evansville.edu]
Sent: 20 March 2009 13:31
To: cf-talk
Subject: RE: String to List?
Are you referring to the ASCII breasts?
Thanks,
Mike
-Original
well personally i try to avoid evaluates too. it still is about the
computational expense.same with query of queries. the expense of QoQ can
be seen dramatically when there's looping involved. I remember when I first
started at this job, one of the components was doing a recursive
Is that method in the same application the rest of your code?
It might be that you're calling code that's running in another app?
Adrian
-Original Message-
From: Richard White [mailto:rich...@j7is.co.uk]
Sent: 20 March 2009 14:25
To: cf-talk
Subject: refresh session in ajax
could be a caching issue in that sometimes the browser will say Heh! I just
got that identical response 5 mins ago from that url, no need to travel to the
server here is the response I got last time!
Try adding a date time string to the javascript that initiates the call.
Test your function
I'd be interested to know how the code I suggested performs in
comparison to the regex with the 360k string - in theory it
outperform
it:
cfset myList = ArrayToList( myString.toCharArray() ) /
Running on CF8, I used cftimer to test execution time on a string 360K long
(all
I just noticed that listFromChars() is essentially 1 line of code, also. My
bad...
Bottom line for me is to learn regex and more Java!
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
The one time I know we have to use it is because we have some database
tables where some fields actually have CF expressions in them, so to have
those expressions get, errr, evaluated, we have to use evaluate().
On Mar 19, 2009 8:10pm, Dave Watts dwa...@figleaf.com wrote:
In general,
Another way is to write them to a file and cfinclude it. But in this case I
think Evaluate might look nicer...
Adrian
-Original Message-
From: dsbr...@gmail.com [mailto:dsbr...@gmail.com]
Sent: 20 March 2009 15:37
To: cf-talk
Subject: Re: Re: How is this done without evaluate()?
So we finally have CF8.
We have been successful moving old Legacy Sites to CF8.
I have a strong desire to start (well . . . continue) sneaking good
code under the hood. I wondered what may be a good framework to use to
accomplish two things.
1. Begin implementing a cleaner architecture
2.
I am pulling an RSS feed from a 3rd party events calendar and want to
limit how many events show on a page. The only control I have at the
moment is to set the day_count which is currently set to 2. Any
help/guidance would be appreciated.
Here is my code:
cfhttp
cfif arraylen(objRSS.rss.channel.item) LT [insert limit here]
cfset Item_Length = arraylen(objRSS.rss.channel.item) /
cfelse
cfset Item_Length = [insert limit here] /
/cfif
2009/3/20 Steve LaBadie slaba...@po-box.esu.edu
I am pulling an RSS feed from a 3rd party events calendar and want
2009/3/20 Steve LaBadie slaba...@po-box.esu.edu
I am pulling an RSS feed from a 3rd party events calendar and want to
limit how many events show on a page. The only control I have at the
moment is to set the day_count which is currently set to 2. Any
help/guidance would be appreciated.
Just change you loop to loop from 1 to your page limit instead of
#item_length#. Then you'd have to handle the paging though.
-Original Message-
From: Steve LaBadie [mailto:slaba...@po-box.esu.edu]
Sent: Friday, March 20, 2009 12:04 PM
To: cf-talk
Subject: Limiting RSS Records
I am
Interesting stuff - vodoo regex wonders :)
Dominic
Running on CF8, I used cftimer to test execution time on a string 360K long
(all alphanumerics, just alphabet appended with 1 to 0 and concatenated
10,000 times). No cfdump or output; just a cfset statement.
My original function - over
Hello,
I've had a Verity Collection created on a UNIX server and because I don't have
access to the CF Admin, I have to update the collection through code. Here's
what I have so far (that doesn't seem to be working).
cfindex collection=myColl action=refresh extensions=.cfm, .pdf
type=path
Hi all,
We're looking at hosting a number of our websites in Australia a.) because were
setting up an office in Sydney and b.) we have a large client base in that part
of the world.
Any pointers of a good host in Australia or in Asia Pacific area for that
matter?
Many thanks,
Matt
Thanks Everyone
Steve LaBadie, Web Manager
East Stroudsburg University
200 Prospect St.
East Stroudsburg, Pa 18301
570-422-3999
http://www.esu.edu
slaba...@po-box.esu.edu
-Original Message-
From: Burns, John D [mailto:john.bu...@wyle.com]
Sent: Friday, March 20, 2009 12:19 PM
To:
AFP Webworks
http://afpwebworks.com
On Fri, Mar 20, 2009 at 11:53 AM, Matthew Allen a.matthe...@yahoo.com wrote:
Hi all,
We're looking at hosting a number of our websites in Australia a.) because
were setting up an office in Sydney and b.) we have a large client base in
that part of the
Thanks andrew, this makes a lot of sense we are sure this would have solved it
richard
could be a caching issue in that sometimes the browser will say Heh!
I just got that identical response 5 mins ago from that url, no need
to travel to the server here is the response I got last time!
HI,
I am using cffile to upload a file to the server. The user picks a file,
clicks a button, and the file is uploaded. However, how can I find the name
of the file that he chose?
Thanks
~|
Adobe® ColdFusion® 8 software 8 is
http://livedocs.adobe.com/coldfusion/8/htmldocs/Tags_f_10.html#3540091
Parameter - Description
attemptedServerFile - Initial name ColdFusion used when attempting to save
a file
serverFile - Filename of the file saved on the server
On Fri, Mar 20, 2009 at 3:11 PM, Nupur Gupta
#clientfile# - File name of original file
#serverfile# - File as named on server
Robert B. Harrison
Director of Interactive Services
Austin Williams
125 Kennedy Drive, Suite 100
Hauppauge NY 11788
P : 631.231.6600 Ext. 119
F : 631.434.7022
http://www.austin-williams.com
Great advertising
Nupur Gupta wrote:
HI,
I am using cffile to upload a file to the server. The user picks a file,
clicks a button, and the file is uploaded. However, how can I find the name
of the file that he chose?
Thanks
cffile.clientfile
Goto
http://wsoncf.blogspot.com
Uploading blog
-Original Message-
From: Nupur Gupta nupurgupta0...@gmail.com
Sent: Friday, March 20, 2009 1:11 PM
To: cf-talk cf-talk@houseoffusion.com
Subject: cffile name of uploaded file
HI,
I am using cffile to upload a file to the server. The user
glad to help, I use JSMX by http://www.lalabird.com/
that appends a date time string by design because IE browsers like to cache.
Andrew.
Thanks andrew, this makes a lot of sense we are sure this would have solved it
richard
Hi Josh,
One of the design concepts for the onTap framework is that it allows you
to migrate individual pages of an application gradually as needed. You
may be able to get that done to some extent as well with some other open
source frameworks like recent versions of FuseBox, although the
Thanks for all your help.
Another problem - I have a coldfusion page, which uploads a file. Then the
code does some processing on this. I would like to reload my page (this will
display updated data). How can I do this? There is no button to be pressed
etc...
Thanks
Look at cflocation tag for redirecting back to the form.
To have the form pre-populated, set values of each field to #form.whatever#.
Use cfparam name=form.whatever default=/ to ensure variables exist before
form is first submitted.
After writing CFC's after CFC's, CFM's after CFM's, what are things that really
motivate you at work?
my blog entry of the day:
http://henrylearnstorock.blogspot.com/2009/03/how-do-you-get-motivated-at-work.html
~|
Adobe®
After writing CFC's after CFC's, CFM's after CFM's, what are things that
really motivate you at work?
my blog entry of the day:
http://henrylearnstorock.blogspot.com/2009/03/how-do-you-get-motivated-at-work.html
I find that posting off-topic messages to technical lists motivates me.
Dave
After writing CFC's after CFC's, CFM's after CFM's, what are things that
really motivate you at work?
Fear mostly.
Oh wait... You mean other than the fear of getting laid off during difficult
economic times?
In that case. Beer.
G!
On Fri, Mar 20, 2009 at 10:07 PM, henry ho
46 matches
Mail list logo