Re: CFThread - Am I using it correctly?

2010-12-15 Thread Michael Grant
I should mention this code is inside a cfc with a remote access type that I'm calling from a .cfm in the same directory. Don't know if any of that matters. On Wed, Dec 15, 2010 at 11:08 PM, Michael Grant wrote: > I have some older code that gets remote content. I wanted to add the use of > cft

CFThread - Am I using it correctly?

2010-12-15 Thread Michael Grant
I have some older code that gets remote content. I wanted to add the use of cfthread to allow the app to run other processes while it's pulling larger files. However once I wrap it in thread tags it stops actually pulling the files. It doesn't throw an error or act any differently except that they

RE: Counting photos on a remote server

2010-12-15 Thread Dave Long
Thanks to all for your responses. I'm going to try Mack's suggestion first and see how it integrates into my app. Our old motto: "Laborare Debit" (It should work!?) Dave Long NorthGoods Merchant Services http://www.northgoods.com -Original Message- From: Mack [mailto:mrsmith.w...@gma

RE: Another 8.01 Gotcha (CFDOCUMENT)

2010-12-15 Thread DURETTE, STEVEN J (ATTASIAIT)
Brook, No, Installing the latest hot fix may not include everything. Charlie Arehart just blogged on this. Try these links: http://bit.ly/fWhBU4 and http://bit.ly/fT6yip Steve -Original Message- From: Brook Davies [mailto:br...@logiforms.com] Sent: Wednesday, December 15, 2010 3:58

Another 8.01 Gotcha (CFDOCUMENT)

2010-12-15 Thread Brook Davies
Another day, another bug found in the 8.01 release... This time I'm getting this error from CFDOCUMENT when generating a PDF: "java.io.IOException: Parsing problem occured during the rendering process of this document. " This error only starts popping up after a while (yeah, another on

Re: FileHandles in memory

2010-12-15 Thread Leigh
> I think if the session expires the file handles will be > closed by the > finalizer thread but I don't think there's a guarantee > regarding the > time it takes until the handles are closed. Honestly, I am not sure. But creating a situation that potentially leaves a file locked for an unknown

Re: Counting photos on a remote server

2010-12-15 Thread Nathan Strutz
> Our server use ColdFusion 5 and MySQL 3.51. > ... > Does anybody have a suggestion? (Please keep it G rated.) Funny. I bet you can guess what my suggestion is. And if it's really about the money, switch to Railo, it's free, it's fast, and it works pretty well, certainly better than CF5. Per wh

Re: Counting photos on a remote server

2010-12-15 Thread Jerry Johnson
can you call a remote script that returns a dir or ls to get the file list? On Wed, Dec 15, 2010 at 11:08 AM, Dave Long wrote: > > Our server use ColdFusion 5 and MySQL 3.51. > > My application displays photos stored on a server remote from the server on > which the app is hosted. The number

Re: Counting photos on a remote server

2010-12-15 Thread Mack
> Does anybody have a suggestion? (Please keep it G rated.) You can use HEAD requests to verify that the images exists and cache the results of the tests locally, something like: cfloop condition="remoteFile exists" cfhttp method="head" url="remoteFile" cfif (cfhttp.statusCode eq 404) //

Re: Counting photos on a remote server

2010-12-15 Thread Wil Genovese
I'm assuming these are real estate photos? Based on your description of the issue it sounds very familiar to what I've worked on for many years. If not then this may not apply. Usually with real estate date they give you a photo count in the data feed. You can use that photo count to tell the

Counting photos on a remote server

2010-12-15 Thread Dave Long
Our server use ColdFusion 5 and MySQL 3.51. My application displays photos stored on a server remote from the server on which the app is hosted. The number of photos varies from one to twenty. The image files are named using a constant ID number plus a sequential number for each file, like this:

RE: Importing/Exporting CF Server Settings

2010-12-15 Thread Eric Roberts
You are staring at the right section...create an archive through that and then you can use the ear or war file (I forget which of the 2 it produces offhand) to import setting on a different server. When you click on ColdFusion Archives, give it a name and click create archive. On the server you

Re: FileHandles in memory

2010-12-15 Thread Mack
On Wed, Dec 15, 2010 at 8:02 AM, Leigh wrote: > >> What do you suppose happens when you store a file handle in >> the session scope, and the session expires? > > Going strictly off the documentation > > http://livedocs.adobe.com/coldfusion/8/functions_e-g_12.html > "...If you do not close a file,

Importing/Exporting CF Server Settings

2010-12-15 Thread Robert Nurse
Hi All, We're going to be moving to new servers in a few months and I'd like to export our current CF settings (scheduled templates, data sources and verity collections) and import them into the new CF installations. I read something about .car files here. But, could someone point me to deta

Re: CF9 Not Restarting after Java Update

2010-12-15 Thread Chad Baloga
>That would be a very good example why you test everything you can before >migrating to production. > >One question I will have to ask though, is this update replacing the JVM >installed in the ColdFusion directory or have you pushed the config changes >to point to the new JVM? Also it would be wo