Scheduled tasks timeout vs. server timeout

2009-10-28 Thread Earl, George

We need to be able to manually run scheduled tasks that take longer to
complete than our server timeout setting. 

By 'manually run' I mean by entering the URL for a scheduled task into
the address bar of our browser or by clicking on links to a scheduled
task (because we have limited access to CF Administrator). 

I understand that the timeout setting for scheduled tasks overrides the
server timeout setting but I assume that works only when the task is run
by the CF scheduler or by running it manually from within the CF
Administrator, is this correct?

If we run a scheduled task manually as described above is
cfsetting\requestTimeout in the code our only recourse for overriding
the server timeout setting?

Thanks!

George Earl
IT Specialist
DCS\OEEAS\DIIS\WMSDB
410 965-5198



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327783
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: ColdFusion cfftp and a secure (SFTP) server.

2009-10-28 Thread Pete Freitag

On Tue, Oct 27, 2009 at 3:29 PM, Ian Skinner h...@ilsweb.com wrote:

 Can ColdFusion communicate with a SFTP server with it's cfftp... tag?


Yes as of CF8, just add secure=true when you open the connection.

Here's a simple example:

cfftp action=open server=#server# connection=ftpSession
username=#user# password=#pass# secure=true
cfif cfftp.succeeded
cfftp action=listdir connection=ftpSession directory=/ 
name=list
cfdump var=#list#
cfelse
Error:
cfdump var=#cfftp#
/cfif

Though you might want to consider using the key attribute instead of
username and password, see
http://livedocs.adobe.com/coldfusion/8/htmldocs/Tags_f_18.html#3972324

--
Pete Freitag
http://foundeo.com/ - ColdFusion Consulting  Products
http://petefreitag.com/ - My Blog
http://hackmycf.com - Is your ColdFusion Server Secure?

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327784
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: GetHTTPRequestData().content bytearray

2009-10-28 Thread Pete Freitag

Hi Jessica,

Try cfset xmlString = GetHTTPRequestData().content.toString(UTF-8)

--
Pete Freitag
http://foundeo.com/ - ColdFusion Consulting  Products
http://petefreitag.com/ - My Blog
http://hackmycf.com - Is your ColdFusion Server Secure?



On Fri, Oct 23, 2009 at 9:36 PM, Jessica Kennedy
police_kidnapped_your_child...@yahoo.com wrote:

 i'm programming a response handler for receiving xml data sent via a 'get' 
 request from a 3rd party api.  I have tested my handler without problems 
 using sample xml, however, when the info is sent from the api, I get the 
 error:

 ByteArray objects cannot be converted to strings.

 here is the line causing the error:

 cfset xmlstr = GetHTTPRequestData().content

 How can I get the xml parsed without throwing this error?  I'm sure it's 
 simple, but  google has not been kind to me on this one!

 Thanks for the help!

 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327785
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Scheduled tasks timeout vs. server timeout

2009-10-28 Thread James Holmes

You could cfschedule a new single run of the template with the chosen timeout.

mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/

2009/10/28 Earl, George george.e...@ssa.gov:

 We need to be able to manually run scheduled tasks that take longer to
 complete than our server timeout setting.

 By 'manually run' I mean by entering the URL for a scheduled task into
 the address bar of our browser or by clicking on links to a scheduled
 task (because we have limited access to CF Administrator).

 I understand that the timeout setting for scheduled tasks overrides the
 server timeout setting but I assume that works only when the task is run
 by the CF scheduler or by running it manually from within the CF
 Administrator, is this correct?

 If we run a scheduled task manually as described above is
 cfsetting\requestTimeout in the code our only recourse for overriding
 the server timeout setting?

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327786
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Scheduled tasks timeout vs. server timeout

2009-10-28 Thread Robert Harrison

Add CFSETTING to the page to override the server time out...

cfsetting requesttimeout=54000 !--- sets timeout limit to 15 hours
---


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 can't be either/or.  It must be .

Plug in to our blog: AW Unplugged
http://www.austin-williams.com/unplugged


-Original Message-
From: Earl, George [mailto:george.e...@ssa.gov] 
Sent: Wednesday, October 28, 2009 8:42 AM
To: cf-talk
Subject: Scheduled tasks timeout vs. server timeout


We need to be able to manually run scheduled tasks that take longer to
complete than our server timeout setting. 

By 'manually run' I mean by entering the URL for a scheduled task into
the address bar of our browser or by clicking on links to a scheduled
task (because we have limited access to CF Administrator). 

I understand that the timeout setting for scheduled tasks overrides the
server timeout setting but I assume that works only when the task is run
by the CF scheduler or by running it manually from within the CF
Administrator, is this correct?

If we run a scheduled task manually as described above is
cfsetting\requestTimeout in the code our only recourse for overriding
the server timeout setting?

Thanks!

George Earl
IT Specialist
DCS\OEEAS\DIIS\WMSDB
410 965-5198





~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327787
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: SQL Join help needed

2009-10-28 Thread daniel kessler

OPPS...

Change the on a.student_id = d.student_id to on a.passport_listing_id =
d.passport_listing_id

That didn't work.  It returned too many entries.  I put up a page that has: 
1 - attendance dataset in my original query (on passport_listing_id)

2 - my original join that was working except i couldn't integrate the 
passport_attendance_id.

3 - the join that you gave me.  It returns way too many entries.  It should be 
26 like #2, but with passport_attendance_id inserted where it exists and null 
where it does not.

I'm hoping that by seeing the data, it'll be clear if I have not explained it 
well.

btw, thanks for the assistance. 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327788
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Scheduled tasks timeout vs. server timeout

2009-10-28 Thread Dave Watts

 I understand that the timeout setting for scheduled tasks overrides the
 server timeout setting but I assume that works only when the task is run
 by the CF scheduler or by running it manually from within the CF
 Administrator, is this correct?

Yes. When you run any CF URL directly, CF has no idea that you might
also run that same URL as a scheduled task.

 If we run a scheduled task manually as described above is
 cfsetting\requestTimeout in the code our only recourse for overriding
 the server timeout setting?

Yes.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327789
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Scheduled tasks timeout vs. server timeout

2009-10-28 Thread Rick Faircloth

A couple of options come to mind...
 
- use cfsetting requesttimeout = X on the task page before the code...
  that should override setting in administrator - that's the only way I can
think
  of to override the administrator default

- use cfthread to run your tasks in the browser - cfthread allows the
browser
  to finish it's handling of the code while cfthread continues the
processing.
  The drawback to this method is that the browser doesn't show when the task
  run by cfthread is complete.  You'll have to use another method besides
  feedback in the browser to determine completion.  Another positive with
this
  approach, besides getting around browser timeout, is that you can spawn
  multiple threads to run simultaneously.  (Making sure they're no
co-dependent...in
  that case, you'd need to set up a series of don't run the next thread
until this
  one finishes.  I do this every day with about 40 tasks processing data
sequentially
  (But my threads are run in the task scheduler...you could do the same
thing from
  a browser)

Question:  do the tasks have to be triggered manually from the browser for a
reason
other than running them sequentially?

-Original Message-
From: Earl, George [mailto:george.e...@ssa.gov] 
Sent: Wednesday, October 28, 2009 8:42 AM
To: cf-talk
Subject: Scheduled tasks timeout vs. server timeout


We need to be able to manually run scheduled tasks that take longer to
complete than our server timeout setting. 

By 'manually run' I mean by entering the URL for a scheduled task into
the address bar of our browser or by clicking on links to a scheduled
task (because we have limited access to CF Administrator). 

I understand that the timeout setting for scheduled tasks overrides the
server timeout setting but I assume that works only when the task is run
by the CF scheduler or by running it manually from within the CF
Administrator, is this correct?

If we run a scheduled task manually as described above is
cfsetting\requestTimeout in the code our only recourse for overriding
the server timeout setting?

Thanks!

George Earl
IT Specialist
DCS\OEEAS\DIIS\WMSDB
410 965-5198





~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327790
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


re: Scheduled tasks timeout vs. server timeout

2009-10-28 Thread Jason Fisher

You can put requestTimeout=[seconds] right into the URL, IIRC.
 



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327791
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: SQL Join help needed

2009-10-28 Thread daniel kessler

OPPS...

Change the on a.student_id = d.student_id to on a.passport_listing_id =
d.passport_listing_id

http://sph.umd.edu/test/passport_stats.cfm?passport_listing_id=321

That didn't work.  It returned too many entries.  I put up a page that has: 
1 - attendance dataset in my original query (on passport_listing_id)

2 - my original join that was working except i couldn't integrate the 
passport_attendance_id.

3 - the join that you gave me.  It returns way too many entries.  It should be 
26 like #2, but with passport_attendance_id inserted where it exists and null 
where it does not.

I'm hoping that by seeing the data, it'll be clear if I have not explained it 
well.
http://sph.umd.edu/test/passport_stats.cfm?passport_listing_id=321

btw, thanks for the assistance. 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327792
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Scheduled tasks timeout vs. server timeout

2009-10-28 Thread Cameron Childress

On Wed, Oct 28, 2009 at 8:41 AM, Earl, George george.e...@ssa.gov wrote:
 If we run a scheduled task manually as described above is
 cfsetting\requestTimeout in the code our only recourse for overriding
 the server timeout setting?

You can also drop it in the URL like something.cfm?requestTimeout=600

-Cameron

-- 
Cameron Childress
Sumo Consulting Inc
http://www.sumoc.com
---
cell:  678.637.5072
aim:   cameroncf
email: camer...@gmail.com

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327793
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: SQL Join help needed

2009-10-28 Thread daniel kessler

OPPS...

Change the on a.student_id = d.student_id to on a.passport_listing_id =
d.passport_listing_id

http://sph.umd.edu/test/passport_stats.cfm?passport_listing_id=321

That didn't work.  It returned too many entries.  I put up a page that has: 
1 - attendance dataset in my original query (on passport_listing_id)

2 - my original join that was working except i couldn't integrate the 
passport_attendance_id.

3 - the join that you gave me.  It returns way too many entries.  It should be 
26 like #2, but with passport_attendance_id inserted where it exists and null 
where it does not.

I'm hoping that by seeing the data, it'll be clear if I have not explained it 
well.
http://sph.umd.edu/test/passport_stats.cfm?passport_listing_id=321

btw, thanks for the assistance. 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327794
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: SQL Join help needed

2009-10-28 Thread DURETTE, STEVEN J (ATTASIAIT)

Daniel,

You didn't post a link to the data.

Steve


-Original Message-
From: daniel kessler [mailto:dani...@umd.edu] 
Sent: Wednesday, October 28, 2009 8:47 AM
To: cf-talk
Subject: Re: SQL Join help needed


OPPS...

Change the on a.student_id = d.student_id to on a.passport_listing_id =
d.passport_listing_id

That didn't work.  It returned too many entries.  I put up a page that
has: 
1 - attendance dataset in my original query (on passport_listing_id)

2 - my original join that was working except i couldn't integrate the
passport_attendance_id.

3 - the join that you gave me.  It returns way too many entries.  It
should be 26 like #2, but with passport_attendance_id inserted where it
exists and null where it does not.

I'm hoping that by seeing the data, it'll be clear if I have not
explained it well.

btw, thanks for the assistance. 



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327795
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: SQL Join help needed

2009-10-28 Thread daniel kessler

And here's the page with the data:
http://sph.umd.edu/test/passport_stats.cfm?passport_listing_id=321


I seem to be having trouble posting today, so sorry if this shows up a bunch of 
times. 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327796
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: SQL Join help needed

2009-10-28 Thread DURETTE, STEVEN J (ATTASIAIT)

Daniel,

Try this:

SELECT 
a.passport_listing_id 
,a.passport_registration_id 
,a.email_sent_attendance 
,a.s_uid 
,a.student_id 
,a.people_id 
,coalesce(b.fname, c.fname) fname 
,coalesce(b.lname, c.lname) lname 
,coalesce(b.email, c.email) email 
,passport_attendance_id 
FROM passport_registration a 
Left outer join students b 
On a.student_id = b.student_id 
Left outer join people c 
On a.people_id = c.id 
Left outer join passport_attendance d 
On a.passport_listing_id = d.passport_listing_id 
and (a.student_id = d.student_id
or a.people_id = d.people_id)
WHERE a.passport_listing_id = 321

It adds some more criteria for the passport_attendance.

-Original Message-
From: daniel kessler [mailto:dani...@umd.edu] 
Sent: Wednesday, October 28, 2009 10:19 AM
To: cf-talk
Subject: Re: SQL Join help needed


And here's the page with the data:
http://sph.umd.edu/test/passport_stats.cfm?passport_listing_id=321


I seem to be having trouble posting today, so sorry if this shows up a
bunch of times. 



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327797
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Generating Documentation CF9

2009-10-28 Thread Jeremy Rottman

I have to have something setup wrong then.

When I use the run.cfm below, it generates the documents, but they do not 
contain any of the information about the cfc's I have written.

Here is my run.cfm

cfscript
colddoc = createObject(component, ColdDoc).init();

base = expandPath(/org);
docs = expandPath(docs);

colddoc.generate(base, docs, , Media Review .63);
/cfscript


h1Done!/h1

p
a href=/docs/index.htmlView Docs/a
/p 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327798
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Scheduled tasks timeout vs. server timeout

2009-10-28 Thread Earl, George

I asked:
 If we run a scheduled task manually as described above is 
 cfsetting\requestTimeout in the code our only recourse for 
 overriding the server timeout setting?

Thanks, everyone.

We'll use ?requestTimeout=[seconds] appended to the URL for the
scheduled task until we can get the cfsetting tag inserted into the
appropriate places.

Rick asked:

 Question:  do the tasks have to be triggered manually from 
 the browser for a reason other than running them sequentially?

Actually running them sequentially has nothing to do with it. We run the
tasks manually when testing\debugging and when a production dependency
comes in late, after the scheduled task already has run. Thanks for your
suggestions.

George

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327799
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: SQL Join help needed

2009-10-28 Thread daniel kessler

Sorry about the multiple posts.  I waited hours for the others to go through 
and they didn't, then all at once.

That worked GREAT!  Thank you very much.  However, I don't really see any 
differences from my attempts and yours except that you did the joins on the 
FROM and I did it on the WHERE.  Is that the major difference?

Also, I substituted:
On a.passport_listing_id = d.passport_listing_id 
and (a.student_id = d.student_id or a.people_id = d.people_id)

for

On a.passport_listing_id = d.passport_listing_id 
  and a.s_uid = d.s_uid

I put in s_uid for that purpose.  The student_id and people_id are often used 
differently but the same here so I have s_uid as a field where they co-exists.  
dunno if it's a good idea, but it has made things simpler.

If you have any education for me on why yours worked, I'd like it.  Otherwise - 
THANK YOU VERY VERY MUCH.

daniel 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327800
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Child Threads

2009-10-28 Thread Stefan Richter

Thanks Barney.
What may be a good workaround for the child threads problem? Could I  
hit another CFM script via cfhttp from within my first thread and have  
tat CFM spawn another thread, or is that still consider a child thread  
then?
Basically I have 2 or 3 long running processes (image conversions and  
manipulations) which should be chained somehow. For example I need to  
first kick off a PDF to image conversion via cfpdf after a user  
uploads a file. After that process is complete I need to rename and  
sometimes cut up the generated images, or apply a different  
compression setting, resize them etc.
Each step can take a few minutes.

Yes I could use some sort of polling mechanism but that's not slick  
enough ;-)

Cheers

Stefan





On 27 Oct 2009, at 22:46, Barney Boisvert wrote:


 No limit to threads on Enterprise Edition, but no CF edition allows
 child threads.  Total buzzkill.  Fortunately, with native threads can
 be leveraged with Groovy or JavaLoader's CFC-based dynamic proxies.
 Neither one is particularly elegant, but at least you can do it, since
 CF itself doesn't provide the tooling.

 cheers,
 barneyb

 On Tue, Oct 27, 2009 at 3:43 PM, Stefan Richter ste...@flashcomguru.com 
  wrote:

 Quick question: does the CF Enterprise edition allow child threads?
 Also is there a limit of threads with that edition?

 Cheers

 Stefan





~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327801
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Child Threads

2009-10-28 Thread Barney Boisvert

It sounds like that's a sequential-parallel process, not a
parallel-parallel one?  I.e. you have to convert the PDF to image
before you can slice the image up, but you CAN post-process the images
in parallel.

Can you not do this (in psuedo-code)

imageArray = pdfToImage(myPdf);
threadArray = [];
for (image in imageArray) {
  threadArray.add(new thread(image) {
doStuffToImage(image);
  })
}
joinThreads(threadArray);

So you'll do the pdfToImage first, and then loop over each page's
image spawning a thread per page so they all process in parallel.

To answer your first question, if you use CFHTTP, you get a new
context.  The no-nesting limitation is within a single CFML request,
so if you initiate another request, you get a new (empty) threading
context.  Note that while this lets you spawn new threads, it means
you CAN'T interact with the original request's threads.

cheers,
barneyb

On Wed, Oct 28, 2009 at 12:32 PM, Stefan Richter
ste...@flashcomguru.com wrote:

 Thanks Barney.
 What may be a good workaround for the child threads problem? Could I
 hit another CFM script via cfhttp from within my first thread and have
 tat CFM spawn another thread, or is that still consider a child thread
 then?
 Basically I have 2 or 3 long running processes (image conversions and
 manipulations) which should be chained somehow. For example I need to
 first kick off a PDF to image conversion via cfpdf after a user
 uploads a file. After that process is complete I need to rename and
 sometimes cut up the generated images, or apply a different
 compression setting, resize them etc.
 Each step can take a few minutes.

 Yes I could use some sort of polling mechanism but that's not slick
 enough ;-)

 Cheers

 Stefan





 On 27 Oct 2009, at 22:46, Barney Boisvert wrote:


 No limit to threads on Enterprise Edition, but no CF edition allows
 child threads.  Total buzzkill.  Fortunately, with native threads can
 be leveraged with Groovy or JavaLoader's CFC-based dynamic proxies.
 Neither one is particularly elegant, but at least you can do it, since
 CF itself doesn't provide the tooling.

 cheers,
 barneyb

 On Tue, Oct 27, 2009 at 3:43 PM, Stefan Richter ste...@flashcomguru.com
  wrote:

 Quick question: does the CF Enterprise edition allow child threads?
 Also is there a limit of threads with that edition?

 Cheers

 Stefan





 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327802
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Generating Documentation CF9

2009-10-28 Thread Mark Mandel

Well since you told me that your folder structure starts with /com, and you
are expandPath()'ing on /org... I'm not surprised ;o)

Mark

On Thu, Oct 29, 2009 at 3:43 AM, Jeremy Rottman rottm...@gmail.com wrote:


 I have to have something setup wrong then.

 When I use the run.cfm below, it generates the documents, but they do not
 contain any of the information about the cfc's I have written.

 Here is my run.cfm

 cfscript
colddoc = createObject(component, ColdDoc).init();

base = expandPath(/org);
docs = expandPath(docs);

colddoc.generate(base, docs, , Media Review .63);
 /cfscript


 h1Done!/h1

 p
 a href=/docs/index.htmlView Docs/a
 /p

 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327803
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Unable to load CFX C++ on CF 64 bit

2009-10-28 Thread Brad Roberts

Hi Jack,

Did you ever find a solution for this?  I'm getting the same error on our 64 
bit box. 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327804
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Unable to load CFX C++ on CF 64 bit

2009-10-28 Thread Rick Root

You can't take a C++ CFX tag from a 32 bit system and install it on a
64 bit system.

You'll probably need to get a 64 bit version of the tag *OR* switch to
something else.

Rick


On Wed, Oct 28, 2009 at 6:34 PM, Brad Roberts b...@agentblaze.com wrote:

 Hi Jack,

 Did you ever find a solution for this?  I'm getting the same error on our 64 
 bit box

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327805
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4