Re: JRun Throwing 503 Errors

2009-03-20 Thread Matt Quackenbush
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

Re: JRun Throwing 503 Errors

2009-03-20 Thread Matt Quackenbush
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

Re: component paths in cfinvoke

2009-03-20 Thread Dominic Watson
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

RE: JRun Throwing 503 Errors

2009-03-20 Thread Robert Rawlins
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

Re: component paths in cfinvoke

2009-03-20 Thread Peter Boughton
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

Re: Yet another SEO/URL rewrite question....

2009-03-20 Thread Will Tomlinson
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:

RE: component paths in cfinvoke

2009-03-20 Thread Rick Faircloth
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

Re: How is this done without evaluate()?

2009-03-20 Thread Claude Schneegans
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.

Re: How is this done without evaluate()?

2009-03-20 Thread Scott Stroz
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

Re: String to List?

2009-03-20 Thread Christophe Maso
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

Re: String to List?

2009-03-20 Thread Dominic Watson
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

RE: String to List?

2009-03-20 Thread Dawson, Michael
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:

Re: How is this done without evaluate()?

2009-03-20 Thread Claude Schneegans
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

refresh session in ajax application

2009-03-20 Thread Richard White
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/

CFDUMP and Oracle patch

2009-03-20 Thread Jerome Huff
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,

RE: String to List?

2009-03-20 Thread Adrian Lynch
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

Re: How is this done without evaluate()?

2009-03-20 Thread Yuliang Ruan
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

RE: refresh session in ajax application

2009-03-20 Thread Adrian Lynch
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

Re: refresh session in ajax application

2009-03-20 Thread Andrew Grosset
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

Re: String to List?

2009-03-20 Thread Christophe Maso
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

Re: String to List?

2009-03-20 Thread Christophe Maso
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

Re: Re: How is this done without evaluate()?

2009-03-20 Thread dsbrady
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,

RE: Re: How is this done without evaluate()?

2009-03-20 Thread Adrian Lynch
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()?

Kludge to Clean; framework help

2009-03-20 Thread Joshua O'Connor-Rose
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.

Limiting RSS Records

2009-03-20 Thread Steve LaBadie
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

Re: Limiting RSS Records

2009-03-20 Thread John M Bliss
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

Re: Limiting RSS Records

2009-03-20 Thread Charlie Griefer
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.

RE: Limiting RSS Records

2009-03-20 Thread Burns, John D
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

Re: String to List?

2009-03-20 Thread Dominic Watson
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

Updating a Verity Collection on a remote UNIX server

2009-03-20 Thread Joe None
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

Good CF Hosting Company in Australia

2009-03-20 Thread Matthew Allen
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

RE: Limiting RSS Records

2009-03-20 Thread Steve LaBadie
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:

Re: Good CF Hosting Company in Australia

2009-03-20 Thread Maureen
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

Re: refresh session in ajax application

2009-03-20 Thread Richard White
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!

cffile name of uploaded file

2009-03-20 Thread Nupur Gupta
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

Re: cffile name of uploaded file

2009-03-20 Thread John M Bliss
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

RE: cffile name of uploaded file

2009-03-20 Thread Robert Harrison
#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

Re: cffile name of uploaded file

2009-03-20 Thread Roger Austin
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

RE: cffile name of uploaded file

2009-03-20 Thread William
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

Re: refresh session in ajax application

2009-03-20 Thread Andrew Grosset
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

Re: Kludge to Clean; framework help

2009-03-20 Thread s. isaac dealey
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

Refresh coldfusion form

2009-03-20 Thread Nupur Gupta
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

Re: Refresh coldfusion form

2009-03-20 Thread Peter Boughton
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.

How do you get motivated at work?

2009-03-20 Thread henry ho
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®

Re: How do you get motivated at work?

2009-03-20 Thread Dave Watts
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

Re: How do you get motivated at work?

2009-03-20 Thread Gerald Guido
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