Re: JVM Tuning and Garbage Collection

2009-02-06 Thread Jochem van Dieten

On Fri, Feb 6, 2009 at 1:15 AM, Rick Root wrote:
 I lowed the memory on each instance to 768m - min and max - and added
 the garbage collection interval.  I also increased the maxpermsize

 java.args=-server -Xmx768m -Xms768m -Dmail.host=www.classcreator.com
 -Dsun.io.useCanonCaches=false -Dsun.rmi.dgc.client.gcInterval=60
 -Dsun.rmi.dgc.server.gcInterval=60 -XX:MaxPermSize=256m
 -XX:+UseConcMarkSweepGC -Dcoldfusion.rootDir={application.home}/

Do you really have that many templates that you need a 256 MB Max Perm
size or are you just guessing? For a much deeper overview of what is
happening add the following options:
 -XX:+PrintGCTimeStamps -XX:+PrintGCDetails -verbose:gc -XX:+PrintHeapAtGC

The amount of info this will dump to STDOUT is significant, so if you
run this in a production environment you probably want some script to
parse this into graphs.

Jochem

-- 
Jochem van Dieten
http://jochem.vandieten.net/

~|
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://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318958
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


(Admin) Please check your filter

2009-02-06 Thread Michael Dinowitz

Someone on the list has an anti-spam filter which is spamming anyone who
posts to the list. If you recognize this text then please look into it.

Location: ICAA/First Administrative Group/CA-SYD-EXCH-01

Thanks

-- 
Michael Dinowitz (http://www.linkedin.com/in/mdinowitz)
President: House of Fusion(http://www.houseoffusion.com)
Publisher: Fusion Authority(http://www.fusionauthority.com)
Adobe Community Expert / Advanced Certified ColdFusion Professional
Si, soy el senor chico malo para todos


~|
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://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318959
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


How are CFCONTENT requests handled?

2009-02-06 Thread Seb Duggan

I'm putting together a page on one of my sites for downloading of hi- 
res press images.

These are JPEGs; but I want them to be downloaded rather than opened  
in the browser.

The following code works just fine:

cfheader name=Content-Disposition value=attachment; filename=press- 
image.jpg /
cfcontent type=image/jpeg file=#ExpandPath(press-image.jpg)# /

What I want to know is: if I'm serving the file in this method, does  
CF load the image into memory and then serve it? Or does it just point  
the browser to the relevant location?

The reason I ask is that some of the images are up to 10MB in size,  
and I don't want my CF server to be hammered by someone downloading a  
few of these at the same time.

The alternative is to zip them all up - very little size gain for  
JPEGs, but at least the browser will just download the file, and IIS  
will take the strain instead of CF...



Seb Duggan
Web  ColdFusion Developer

e:  s...@sebduggan.com
t:  07786 333184
w:  http://sebduggan.com



~|
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://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318962
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: How are CFCONTENT requests handled?

2009-02-06 Thread Adrian Lynch

CF will be used for the duration of that request.

I'd be interested in hearing a solution to this also.

Adrian

 -Original Message-
 From: Seb Duggan [mailto:s...@sebduggan.com]
 Sent: 06 February 2009 11:49
 To: cf-talk
 Subject: How are CFCONTENT requests handled?
 
 
 I'm putting together a page on one of my sites for downloading of hi-
 res press images.
 
 These are JPEGs; but I want them to be downloaded rather than opened
 in the browser.
 
 The following code works just fine:
 
 cfheader name=Content-Disposition value=attachment; filename=press-
 image.jpg /
 cfcontent type=image/jpeg file=#ExpandPath(press-image.jpg)# /
 
 What I want to know is: if I'm serving the file in this method, does
 CF load the image into memory and then serve it? Or does it just point
 the browser to the relevant location?
 
 The reason I ask is that some of the images are up to 10MB in size,
 and I don't want my CF server to be hammered by someone downloading a
 few of these at the same time.
 
 The alternative is to zip them all up - very little size gain for
 JPEGs, but at least the browser will just download the file, and IIS
 will take the strain instead of CF...
 
 
 
 Seb Duggan
 Web  ColdFusion Developer
 
 e:s...@sebduggan.com
 t:07786 333184
 w:http://sebduggan.com


~|
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://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318963
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


File upload progress bar.

2009-02-06 Thread Robert Rawlins

Chaps,

Does anyone have any good solution for displaying a file upload progress bar? I 
essentially have a form which looks like this:

form name=upload action=process.cfm method=post

input name=NewName type=text /

input name=TheFile type=file /

input name=Submit type=submit value=Upload Now! /

/form

On the process.cfm I use a cffile to handle the file, I save it to the FS with 
a UUID as its path/name and then enter a record into the DB with that unique 
path and the 'freindly' name which they enter in the form.

This is fine however with large files the page sits their whilst the file 
uploads, in an ideal world I'd have a progress bar showing the percentage 
uploaded.

I've not seen anything which CF has built-in for doing this, have you got any 
decent 3rd party solutions which any of you have implement successfully?

Cheers for now,

Rob 

~|
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://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318964
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: JVM Tuning and Garbage Collection

2009-02-06 Thread Gaulin, Mark

Hi
Very interesting discussion about JVM tuning.  I can't help much with
that, but I do have a suggestion for investigating your database.

If you have SQL Server you can run the SQL profiler to watch for slow
queries; I've used this to isolate the queries that were actually slow
(lots of read/writes or cpu, for example) from the queries that were
slow because they were waiting for the other query to finish.  This can
be much more effective than looking at the queries on slow pages because
you never really know why the page (or even the query that the page
does) is slow.

SQL profile does add a bit of ovehead so it is not the kind of thing you
want to run all of the time, but I've run it for extended periods (a
day or two) and learned a lot about that helped improve performance.

Thanks
Mark


-Original Message-
From: Rick Root [mailto:rick.r...@webworksllc.com] 
Sent: Thursday, February 05, 2009 7:15 PM
To: cf-talk
Subject: Re: JVM Tuning and Garbage Collection


I've taken advice from several of you and restarted my services... so
far so good.

I lowed the memory on each instance to 768m - min and max - and added
the garbage collection interval.  I also increased the maxpermsize

java.args=-server -Xmx768m -Xms768m -Dmail.host=www.classcreator.com
-Dsun.io.useCanonCaches=false -Dsun.rmi.dgc.client.gcInterval=60
-Dsun.rmi.dgc.server.gcInterval=60 -XX:MaxPermSize=256m
-XX:+UseConcMarkSweepGC -Dcoldfusion.rootDir={application.home}/

Oops.. I just noticed that I accidentally left the GC method to
UseConcMarkSweepGC .. I didn't intend for that as I switched it to that
last friday night, and monday when activity picked up I was in hell...
switched back to UseParallelGC Tuesday morning, and things smoothed out
considerably.

So far, things are running pretty smoothly.  Garbage collection does not
seem to be causing any problems.  I am still seeing these weird,
rhythmic activity spikes where every 13-14 minutes, my request activity
graph skyrockets to 20 active requests, while it usually hovers around
2-3 active requests (while processing anywhere from 5-10 requests per
second)

NEXT STEP:  I'm going to upgrade from the JVM that shipped with CF 8 to
the latest 1.6.0_12

At the same time as these request spikes, I see JDBC time spikes.  A
significant spike of requests could slow down the database server, so
this makes sense to me.  Alternatively, a temporary slowdown on the
database server could also lead to a slowdown of request processing
which would lead to the piling up of requests.

HOWEVER, I haven't seen anything particularly unusual on the database
server that would cause these rhythmic spikes in activity.  No scheduled
tasks running every 13 minutes, etc.

I am having Cacti installed so we can better monitor CPU and disk
activity on our servers so hopefully that will help me problem solve!

Anyway, thanks all, I appreciate your input.

Rick



~|
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://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318965
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Nicola Tesla's dreams about to come true

2009-02-06 Thread Scott Stewart

shoulda sent this to community... ignore

Scott Stewart wrote:
 http://tech.msn.com/news/article.aspx?cp-documentid=17337626

   

-- 
Scott Stewart
ColdFusion Developer

Office of Research Information Systems
Research amp; Economic Development
University of North Carolina at Chapel Hill

Phone:(919)843-2408
Fax: (919)962-3600
Email: saste...@email.unc.edu



~|
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://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318968
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Nicola Tesla's dreams about to come true

2009-02-06 Thread Tom Chiverton

On Friday 06 Feb 2009, Scott Stewart wrote:
To: cf-t...@...
... article.aspx .

Bad Scott :-)

-- 
Tom Chiverton
Helping to economically seize fourth-generation seamless customized 
fifth-generation communities



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  A list 
of members is available for inspection at the registered office together with a 
list of those non members who are referred to as partners.  We use the word 
“partner” to refer to a member of the LLP, or an employee or consultant with 
equivalent standing and qualifications. Regulated by the Solicitors Regulation 
Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 2500.

For more information about Halliwells LLP visit www.halliwells.co

~|
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://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318969
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Data export question (general and very vague)

2009-02-06 Thread Tom Chiverton

On Thursday 05 Feb 2009, Seamus Campbell wrote:
 The data I will need to access is on an in-house MySql database. I have to
 have the website on an external commercial server. Any clues on the best
 way to update the external database (which can be MSSQL or MySQL)
 efficiently. It needs to be updated probably every 2-6 hours and a lot of

A pair of scheduled tasks and an SFTP client...

-- 
Tom Chiverton
Helping to vitalistically industrialize next-generation global users



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  A list 
of members is available for inspection at the registered office together with a 
list of those non members who are referred to as partners.  We use the word 
“partner” to refer to a member of the LLP, or an employee or consultant with 
equivalent standing and qualifications. Regulated by the Solicitors Regulation 
Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 2500.

For more information about Halliwells LLP visit www.halliwells.co

~|
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://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318966
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Attaching digital signature to mail generated by ColdFusion?

2009-02-06 Thread Dan Parker

Does anyone know if ColdFusion can attach a digital signature to the mail it 
generates? We have a requirement to do so. I'm trying to find out if we can do 
it with CF or if we have to apply the signature with our mail server (not sure 
that's possible either).

We have both system generated email (jobs) and email that's fired by user 
interaction (send email).

Thanks!! 

~|
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://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318970
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: JVM Tuning and Garbage Collection

2009-02-06 Thread Mark Kruger

Rick,

Check networking as well. Momentary disruptions (like cards and ports
resynching their rate and duplexing) could cause sympoms like this as well.
I always check point to point to insure that the NIC on the server (db and
web) and the ports on the switch are set statically to the optimum rate.

-Mark

 

-Original Message-
From: Rick Root [mailto:rick.r...@webworksllc.com] 
Sent: Thursday, February 05, 2009 6:15 PM
To: cf-talk
Subject: Re: JVM Tuning and Garbage Collection


I've taken advice from several of you and restarted my services... so far so
good.

I lowed the memory on each instance to 768m - min and max - and added the
garbage collection interval.  I also increased the maxpermsize

java.args=-server -Xmx768m -Xms768m -Dmail.host=www.classcreator.com
-Dsun.io.useCanonCaches=false -Dsun.rmi.dgc.client.gcInterval=60
-Dsun.rmi.dgc.server.gcInterval=60 -XX:MaxPermSize=256m
-XX:+UseConcMarkSweepGC -Dcoldfusion.rootDir={application.home}/

Oops.. I just noticed that I accidentally left the GC method to
UseConcMarkSweepGC .. I didn't intend for that as I switched it to that last
friday night, and monday when activity picked up I was in hell... switched
back to UseParallelGC Tuesday morning, and things smoothed out considerably.

So far, things are running pretty smoothly.  Garbage collection does not
seem to be causing any problems.  I am still seeing these weird, rhythmic
activity spikes where every 13-14 minutes, my request activity graph
skyrockets to 20 active requests, while it usually hovers around 2-3 active
requests (while processing anywhere from 5-10 requests per second)

NEXT STEP:  I'm going to upgrade from the JVM that shipped with CF 8 to the
latest 1.6.0_12

At the same time as these request spikes, I see JDBC time spikes.  A
significant spike of requests could slow down the database server, so this
makes sense to me.  Alternatively, a temporary slowdown on the database
server could also lead to a slowdown of request processing which would lead
to the piling up of requests.

HOWEVER, I haven't seen anything particularly unusual on the database server
that would cause these rhythmic spikes in activity.  No scheduled tasks
running every 13 minutes, etc.

I am having Cacti installed so we can better monitor CPU and disk activity
on our servers so hopefully that will help me problem solve!

Anyway, thanks all, I appreciate your input.





~|
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://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318971
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Trouble With Verity

2009-02-06 Thread Robert Nurse

Hi All,

I'm having some difficulty with Verity on our production server.  We moved an 
application that uses collections from test to production.  But, we're getting 
the following error when we run our searches:

Error switching collection offline.: 
com.verity.api.administration.ConfigurationException: Failed to find 
configuration key. (-6005)

I tried uninstalling then reinstalling Verity by running verity-uninstall.sh 
and verity-install.sh.  But, now Verity won't reinstall.  I checked the 
verity-install.out file and it says that it couldn't open:

{install directory}/verity/Data/host/admin/admin.xml
{install directory}/verity/k2/_ssol26/bin/k2adminstart
{install directory}/verity/k2/_ssol26/bin/k2adminstop

admin.xml is not there.  Though several versions of it exit: 

admin0.xml
admin1.xml
admin2.xml
.
.
.

adminN.xml

The other two files exist where they should and the user account CF runs under 
has r-x permissions on both files.  Any ideas?  I'm stumped.



~|
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://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318972
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Attaching digital signature to mail generated by ColdFusion?

2009-02-06 Thread Tom Chiverton

On Friday 06 Feb 2009, Dan Parker wrote:
 Does anyone know if ColdFusion can attach a digital signature to the mail
 it generates? We have a requirement to do so. I'm trying to find out if we
 can do it with CF or if we have to apply the signature with our mail server
 (not sure that's possible either).

You could certainly CFExecute OpenPGP and create a signature.

-- 
Tom Chiverton
Helping to professionally incubate attention-grabbing advanced global 24/365 
communities



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  A list 
of members is available for inspection at the registered office together with a 
list of those non members who are referred to as partners.  We use the word 
“partner” to refer to a member of the LLP, or an employee or consultant with 
equivalent standing and qualifications. Regulated by the Solicitors Regulation 
Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 2500.

For more information about Halliwells LLP visit www.halliwells.co

~|
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://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318973
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Nicola Tesla's dreams about to come true

2009-02-06 Thread Scott Stewart

http://tech.msn.com/news/article.aspx?cp-documentid=17337626

-- 
Scott Stewart
ColdFusion Developer

Office of Research Information Systems
Research amp; Economic Development
University of North Carolina at Chapel Hill

Phone:(919)843-2408
Fax: (919)962-3600
Email: saste...@email.unc.edu



~|
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://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318967
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


CF 8.01 Server Error IO server on server communication

2009-02-06 Thread Robert Mills

I get the following error message whenever I click the browse button to add 
Mappings or Sandbox directories:

Server Error IO server on server communication

It gives the normal message retrieving initial directories and then after a few 
seconds the above message appears. I noticed in the application logs the 
following errors seem to coincide with this error:

File not found: /CFIDE/main/ide.cfm The specific sequence of files included or 
processed is: C:\inetpub\wwwroot\CFIDE\main\ide.cfm'' 

Setup: CF 8.01 Win 2008 IIS7 Single user RDS Single user Admin. 


~|
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://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318974
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Simplest forum

2009-02-06 Thread Will Swain

If you leave your door open and mine is locked, who's house is going to get
broken into first?

Anyway, Galleon is nicely configurable. Why not just download it and have a
play? 

-Original Message-
From: Don L [mailto:do...@yahoo.com] 
Sent: 06 February 2009 02:22
To: cf-talk
Subject: Re: Simplest forum


Don
Bad ppl *will* find it if it is on the internets. It is like hard drive 
failure. It is not a matter of if, it is a matter of when.

G!

On Thu, Feb 5, 2009 at 7:06 PM, D


Gerald,

I see your point.  In a way, it's like a house, even with a lock on when
its owner is out, a determined burglor can still break in, and because of
that, should we leave the door open? Probably we can do that if it's a
homeless shelter.  Well, let's say, this is a hotel, open to all but some
degree of security is necessary but probably not too much...

Don






~|
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://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318960
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Simplest forum

2009-02-06 Thread Jochem van Dieten

On Fri, Feb 6, 2009 at 1:06 AM, Don L wrote:
 John and Rob, it looks great.  My only concern is user registration, as Peter 
 asked, my target audience is students (some college, some high school), and 
 my guess is that this demographics is much less patient than the business 
 demographics, hence, I intend to make it even simpler for them.

Your demographic is much more familiar with a subscribe and email
verification procedure then a business demographic.


 Now, a question is, probably not for this forum, but you guys who know 
 Galleons well would be in the know, is there a way to disable the 
 registration feature to make an open forum?

Hook it into OpenID or some Facebook API, it is what your demographic
uses anyway.

Jochem

-- 
Jochem van Dieten
http://jochem.vandieten.net/

~|
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://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318961
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Timeout in CFHTTP

2009-02-06 Thread Glyn Jackson

Hi all,

Having some problems with trying to catch an error when my http post times out.

I have followed the livedocs and included a try and catch statement however 
when it times out I get an white page with error 500 tag exceeded etc I 
assumed that a try statement would overrule any error system CF had in place. 
how can I solve this? thanks :) 

what i am using is below...
cftry
cfhttp method=get url=http://www.somedomainhere.com; throwonerror=yes 
resolveurl=no timeout=200
  cfhttpparam type=Formfield value=#CartItems# name=CartItems
  cfhttpparam type=Formfield value=#GetCustomer.name# name=name
  cfhttpparam type=Formfield value=#GetCustomer.company# name=company
  cfhttpparam type=Formfield value=#GetCustomer.address1# name=address1
  cfhttpparam type=Formfield value=#GetCustomer.address2# name=address2
  cfhttpparam type=Formfield value=#GetCustomer.address3# name=address3
  cfhttpparam type=Formfield value=#GetCustomer.city# name=city
  cfhttpparam type=Formfield value=#GetCustomer.county# name=county
  cfhttpparam type=Formfield value=#GetCustomer.post_code# 
name=post_code
  cfhttpparam type=Formfield value=#GetCustomer.county# name=county
  cfhttpparam type=Formfield value=#GetCustomer.tel# name=tel
  cfhttpparam type=Formfield value=#GetCustomer.fax# name=fax
  cfhttpparam type=Formfield value=#GetCustomer.mobile# name=mobile
  cfhttpparam type=Formfield value=#GetCustomer.email# name=email
/cfhttp
cfcatch type=any
pcustom time out message/p
/cfcatch
/cftry 

~|
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://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318975
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


reporting batch abends from CICS with coldfusion

2009-02-06 Thread Rick Root

Back when I worked at Progress Energy, one of the things I did in IT
Operations was to have coldfusion and perl report on all kinds of
crazy stuff... ranging from remedy tickets in our change management
system, backup reports from ADSM/Tivoli, and batch abends from the
mainframe.

Sadly, I don't remember how to do ANY of this and I've recently been
asked to investigate whether or not I can use Coldfusion to
interrogate our mainframe (Os/390, DB2) to retrieve recent job
failures (I hate the world abend, it's weird).

Has anyone here done this kind of thing with coldfusion and a mainframe?

-- 
Rick Root
New Brian Vander Ark Album, songs in the music player and cool behind
the scenes video at www.myspace.com/brianvanderark

~|
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://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318976
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Timeout in CFHTTP

2009-02-06 Thread Adrian Lynch

Is it the remote request or your own page timing out?

Adrian

 -Original Message-
 From: Glyn Jackson [mailto:glyn.jack...@newebia.co.uk]
 Sent: 06 February 2009 16:31
 To: cf-talk
 Subject: Timeout in CFHTTP
 
 
 Hi all,
 
 Having some problems with trying to catch an error when my http post
 times out.
 
 I have followed the livedocs and included a try and catch statement
 however when it times out I get an white page with error 500 tag
 exceeded etc I assumed that a try statement would overrule any
 error system CF had in place. how can I solve this? thanks :)
 
 what i am using is below...
 cftry
 cfhttp method=get url=http://www.somedomainhere.com;
 throwonerror=yes resolveurl=no timeout=200
   cfhttpparam type=Formfield value=#CartItems# name=CartItems
   cfhttpparam type=Formfield value=#GetCustomer.name# name=name
   cfhttpparam type=Formfield value=#GetCustomer.company#
 name=company
   cfhttpparam type=Formfield value=#GetCustomer.address1#
 name=address1
   cfhttpparam type=Formfield value=#GetCustomer.address2#
 name=address2
   cfhttpparam type=Formfield value=#GetCustomer.address3#
 name=address3
   cfhttpparam type=Formfield value=#GetCustomer.city# name=city
   cfhttpparam type=Formfield value=#GetCustomer.county#
 name=county
   cfhttpparam type=Formfield value=#GetCustomer.post_code#
 name=post_code
   cfhttpparam type=Formfield value=#GetCustomer.county#
 name=county
   cfhttpparam type=Formfield value=#GetCustomer.tel# name=tel
   cfhttpparam type=Formfield value=#GetCustomer.fax# name=fax
   cfhttpparam type=Formfield value=#GetCustomer.mobile#
 name=mobile
   cfhttpparam type=Formfield value=#GetCustomer.email#
 name=email
 /cfhttp
 cfcatch type=any
 pcustom time out message/p
 /cfcatch
 /cftry


~|
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://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318977
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Timeout in CFHTTP

2009-02-06 Thread Azadi Saryev

sure it is cfhttp timing out or maybe it's your page that does?
try adding cfsetting requesttimeout=300 at the top of your page.

Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/



Glyn Jackson wrote:
 Hi all,

 Having some problems with trying to catch an error when my http post times 
 out.

 I have followed the livedocs and included a try and catch statement however 
 when it times out I get an white page with error 500 tag exceeded etc I 
 assumed that a try statement would overrule any error system CF had in place. 
 how can I solve this? thanks :) 



   

~|
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://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318978
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Timeout in CFHTTP

2009-02-06 Thread Adrian Lynch

Note that Cfhhtp's timeout is in seconds, CF's requesttimeout is in
milliseconds.

Adrian

 -Original Message-
 From: Azadi Saryev [mailto:az...@sabai-dee.com]
 Sent: 06 February 2009 16:45
 To: cf-talk
 Subject: Re: Timeout in CFHTTP
 
 
 sure it is cfhttp timing out or maybe it's your page that does?
 try adding cfsetting requesttimeout=300 at the top of your page.
 
 Azadi Saryev
 Sabai-dee.com
 http://www.sabai-dee.com/
 
 
 
 Glyn Jackson wrote:
  Hi all,
 
  Having some problems with trying to catch an error when my http post
 times out.
 
  I have followed the livedocs and included a try and catch statement
 however when it times out I get an white page with error 500 tag
 exceeded etc I assumed that a try statement would overrule any
 error system CF had in place. how can I solve this? thanks :)


~|
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://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318979
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: JVM Tuning and Garbage Collection

2009-02-06 Thread Rick Root

On Fri, Feb 6, 2009 at 3:26 AM, Jochem van Dieten joch...@gmail.com wrote:

 Do you really have that many templates that you need a 256 MB Max Perm
 size or are you just guessing?

you got me :)  We only have a few hundred templates, but we've got
7,000 unique web sites all running in a single application scope, and
we cache a fair amount of data in memory to avoid hitting the db on
every request...

These changes have definately made an improvement, along with some
other actual code changes I made last night... the server isn't
terribly busy right now (averaging 3-6 requests per second per
instance) and it's doing garbage collection every 10 minutes, but more
importantly, the major GC is only having to clean up about 125MB of
ram...  and none of the three instances are peaking at more than 600MB
of ram.

 For a much deeper overview of what is happening add the following options:
  -XX:+PrintGCTimeStamps -XX:+PrintGCDetails -verbose:gc -XX:+PrintHeapAtGC

 The amount of info this will dump to STDOUT is significant, so if you
 run this in a production environment you probably want some script to
 parse this into graphs.

I'll give this a try sometime.

Rick

~|
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://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318980
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: JVM Tuning and Garbage Collection

2009-02-06 Thread Rick Root

On Fri, Feb 6, 2009 at 8:36 AM, Gaulin, Mark mgau...@globalspec.com wrote:

 If you have SQL Server you can run the SQL profiler to watch for slow
 queries; I've used this to isolate the queries that were actually slow
 (lots of read/writes or cpu, for example) from the queries that were
 slow because they were waiting for the other query to finish.  This can
 be much more effective than looking at the queries on slow pages because
 you never really know why the page (or even the query that the page
 does) is slow.

That's an excellent idea.  I've never used SQL Profiler before...

Rick

~|
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://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318981
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Timeout in CFHTTP

2009-02-06 Thread Glyn Jackson

I put it to a high 200 seconds on a url I knew would time out, however I get 
the error after around 30 seconds so its just ignoring the timeout on the 
CFHTTP call. does requesttimeout come before? which takes precedence? 

~|
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://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318982
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Timeout in CFHTTP

2009-02-06 Thread Azadi Saryev

are you sure, Adrian?

the docs (cfml reference) say:

requestTimeout:
Optional
integer; *number of seconds*. Time limit, after which ColdFusion processes
the page as an unresponsive thread. Overrides the time-out set in the
ColdFusion Administrator.

Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/



Adrian Lynch wrote:
 Note that Cfhhtp's timeout is in seconds, CF's requesttimeout is in
 milliseconds.

 Adrian
   

~|
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://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318983
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Timeout in CFHTTP

2009-02-06 Thread Adrian Lynch

Ermm, I was sure, but now I'm not!

Just looked at the docs, you're right. I think I might have to revisit some
code now!

:O.

Adrian

 -Original Message-
 From: Azadi Saryev [mailto:az...@sabai-dee.com]
 Sent: 06 February 2009 17:21
 To: cf-talk
 Subject: Re: Timeout in CFHTTP
 
 
 are you sure, Adrian?
 
 the docs (cfml reference) say:
 
 requestTimeout:
 Optional
 integer; *number of seconds*. Time limit, after which ColdFusion
 processes
 the page as an unresponsive thread. Overrides the time-out set in the
 ColdFusion Administrator.
 
 Azadi Saryev
 Sabai-dee.com
 http://www.sabai-dee.com/
 
 
 
 Adrian Lynch wrote:
  Note that Cfhhtp's timeout is in seconds, CF's requesttimeout is in
  milliseconds.
 
  Adrian


~|
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://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318984
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: JVM Tuning and Garbage Collection

2009-02-06 Thread Rick Root

Eventually I'm going to want to solve these spikes.. I think SQL
Profiler might help me figure stuff out but also having Cacti
installed and monitoring network and disk and cpu activity more
accurately than the task manager might help me debug some things to.

So, my server is experience fairly rhthmic request activity spikes
where for 10 seconds or so, fusion reactor shows a whole bunch of
active requests... while I'm normally cruising along at 5-10 requests
per second, I'll suddenly get 20 active requests and FR will queue new
requests.

So far I've been unable to figure out what's going on.

But one interesting thing I just noted while comparing my request
activity, jdbc activity, cpu and memory graphs

I had one of these spikes at 11:55 today... my active requests spiked
to 20 for about 20 seconds, while competed requests dropped down to 0
per second for a good 10 seconds.

at the same time, JDBC activity dropped to 1 active request and 0
completed requests per second for about 15 seconds.  The normal is
30-50 completed JDBC queries per second.

the memory graph shows nothing unusual.

The CPU graph shows the overall and instance cpu dropping to almost nothing.

Which strikes me as a little odd.. I mean, let's say there is some
application.cfm code that uses an exclusive named lock, and it
includes a query that hits the database.  If that query, for some
reason, ran for 15 seconds (god forbid), I could understand this
happening.. all the other requests would have to sit and wait for the
lock to be released, and it woudl explain why only one query was
running

Unless it *IS* the database, in which case the lock would hang up on
all three instances at the same time

But the thing is... it's rhythmic... but not so rhythmic it can be
attributed to some kind of scheduled task on the database server...
but it is relative to system activity.. ie, the busier the site is,
the more often these spikes occur.

So I'm thinking.. MAYBE SQL Server is doing something that's causing
it to slow down for 15 seconds ..

but it's not going along with any kind of database maintenance,
scheduled tasks or scheduled backups, etc...

OTHER Than my already intended plans of using SQL Profiler to do some
more SQL monitoring... and cacti to monitor the servers via SNMP ...
are there any other suggestions?

Rick

~|
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://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318985
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: JVM Tuning and Garbage Collection

2009-02-06 Thread Jochem van Dieten

On Fri, Feb 6, 2009 at 6:02 PM, Rick Root wrote:
 On Fri, Feb 6, 2009 at 3:26 AM, Jochem van Dieten wrote:

 Do you really have that many templates that you need a 256 MB Max Perm
 size or are you just guessing?

 you got me :)  We only have a few hundred templates, but we've got
 7,000 unique web sites all running in a single application scope, and
 we cache a fair amount of data in memory to avoid hitting the db on
 every request...

But the perm size scales with the number of templates (or more precise
classes), not with the number of instances. So caching does not
require changes to the perm size.


 For a much deeper overview of what is happening add the following options:
  -XX:+PrintGCTimeStamps -XX:+PrintGCDetails -verbose:gc -XX:+PrintHeapAtGC

 The amount of info this will dump to STDOUT is significant, so if you
 run this in a production environment you probably want some script to
 parse this into graphs.

 I'll give this a try sometime.

It will show you your perm space usage as well :)

Jochem

-- 
Jochem van Dieten
http://jochem.vandieten.net/

~|
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://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318986
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CFWindow Refreshing the parent page

2009-02-06 Thread David Mineer

Yep, your right it is not a parent. I learned that in my journey trying to
figure out this issue.  Just part of the page that you can stick out there
by itself for a minute.  Understanding this concept does help a great deal
when using cfwindow.

Wish I would have grasped that at the very beginning.

On Mon, Feb 2, 2009 at 8:00 AM, Andrew Scott andrew.sc...@aegeon.com.auwrote:


 Can you please explain to me why you call it the parent page?

 From what I can tell the cfwindow is called from the page request called,
 if
 that is the case there is no such thing as a parent page!!

 Even though it looks like a window and behaves like a window, doesnt make
 it
 a child in the context of a window in a browser. If you do a views ource,
 you will notice that it is just div containers in the page.

 What that means is that you dont reference it with parent.functionName() as
 you would with normal JS and browser windows. Just dont confuse yourself
 more by calling it a parent.

 Parent and such is more of a reference for JS when you open a window from
 within JS with the document.open().

 Regards,
 Andrew Scott



 On Sun, Feb 1, 2009 at 1:21 PM, Nando d.na...@gmail.com wrote:

 
  I also had to tackle this problem in the particular context of the data
 in
  a
  cfgrid. I didn't need to refresh the whole page, but the problem seem to
 be
  that the grid would refresh before the changes made in the cfwindow
 fields
  were persisted. Perhaps the same is happening in your case?
 
  The solution I came up with was to use cfajaxproxy to set up means to
  persist data via a javascript and submit the form to a javascript method
 on
  the parent page. That way, the steps can be sequenced.
 
  Here's some sample code, copied from a working implementation that you
 can
  probably adapt.
 
  // set up the proxy and import the ext library needed to build the
 buttons
  i
  use ...
 
  cfajaxproxy cfc=remote.RemoteGateway jsclassname=dataproxy
  script type=text/javascript
  src=/CFIDE/scripts/ajax/ext/package/toolbar/toolbar.js/script
 
  script type=text/javascript
 var dataproxy = new dataproxy();
 
  // set up grid, adding buttons with handlers
 
 function initGrid() {
 grid = ColdFusion.Grid.getGridObject(RecipeHerbGrid);
 var gridFoot = grid.getView().getFooterPanel(true);
 var bbar = new Ext.Toolbar(gridFoot);
 bbar.addButton({
 cls:x-btn-text-icon,
 icon:icons/add.png,
 handler:onAdd
 });
 bbar.addSeparator();
 bbar.addButton({
 text:Delete Selected,
 cls:x-btn-text-icon,
 icon:icons/delete.png,
 handler:onDelete
 });
 }
 
  // this method is fired when the Add button is clicked, opening the add
  recipe window
 
 function onAdd(button,event){
 ColdFusion.Window.show('addRecipeHerbWindow');
 }
 
  // when the Save button is clicked in the form in the add recipe window,
 it
  calls this function
  // NOTE: the button in the form is not a type=submit - it's a
  type=button - this is important
  // this function acts as a proxy to the addRecipeHerb() method in the
  remote.RemoteGateway CFC
  // so in effect, the form submission is persisted, then the window is
  hidden,
  // and then the grid is refreshed. You could refresh the whole page if
  needed at this point
 
 function addRecipeHerb() {
 var f = document.frmRecipeHerb;
 dataproxy.addNewRecipeHerb (
 f.recipeVariationId.value,
 f.herbId.value,
 f.weight.value
 );
 ColdFusion.Window.hide('addRecipeHerbWindow');
 ColdFusion.Grid.refresh('RecipeHerbGrid', true);
 }
 
  // here are the functions for the delete button to make it complete
 
  var grid = ColdFusion.Grid.getGridObject(RecipeHerbGrid);
 var record = grid.getSelections();
 // remember, CF makes column names to all UPPERCASE, so dont forget to
  do that
 dataproxy.deleteRecipeHerb(record[0].data.RECIPEHERBID);
 }
 ColdFusion.Window.hide('deleteRecipeHerbWin');
 ColdFusion.Grid.refresh('RecipeHerbGrid', true);
 }
 
 function editRecipeHerb() {
 var grid = ColdFusion.Grid.getGridObject(RecipeHerbGrid);
 var record = grid.getSelections();
 dataproxy.editRecipeHerb (
 record[0].data.RECIPEHERBID,
 record[0].data.THEWEIGHT,
 record[0].data.PINYIN
 );
 ColdFusion.Grid.refresh('RecipeHerbGrid', true);
 }
 
  // and the cfwindow code block. Note again that the submit buttons are
  type=button
 
  cfwindow closable=true modal=true name=addRecipeHerbWindow
  title=Add
  Recipe Herb width=250 height=140 x=300 y=250
 form name=frmRecipeHerb
 input type=hidden name=recipeVariationId
  value=#qMainRecipeVariation.recipeVariationId#
 table cellpadding=0 cellspacing=0 border=0
 tr
 td class=labelPin yin/td
 td
 

Re: CF 8.01 Server Error IO server on server communication

2009-02-06 Thread Dave Watts

 I get the following error message whenever I click the browse button to add 
 Mappings or Sandbox directories:

 Server Error IO server on server communication

RDS must be enabled for this feature to work. Is it?

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!

~|
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://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318988
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CF 8.01 Server Error IO server on server communication

2009-02-06 Thread Robert Mills

This error is related to RDS not being enabled on server, apparently can't 
browse without RDS. Question answered.

Thanks


~|
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://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318989
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: CF 8.01 Server Error IO server on server communication

2009-02-06 Thread Robert Mills

Yeap, that's the issue. Thanks 

~|
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://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318990
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: (Admin) Please check your filter

2009-02-06 Thread Dave Watts

 Someone on the list has an anti-spam filter which is spamming anyone who
 posts to the list. If you recognize this text then please look into it.

 Location: ICAA/First Administrative Group/CA-SYD-EXCH-01

The mail headers contain this address: antigen_ca-syd-exch...@icaa.org.au

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!

~|
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://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318991
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: (Admin) Please check your filter

2009-02-06 Thread Michael Dinowitz

I removed the person this morning. If I get a response to this email I'll
dig further.

On Fri, Feb 6, 2009 at 1:48 PM, Dave Watts dwa...@figleaf.com wrote:


  Someone on the list has an anti-spam filter which is spamming anyone who
  posts to the list. If you recognize this text then please look into it.
 
  Location: ICAA/First Administrative Group/CA-SYD-EXCH-01

 The mail headers contain this address: antigen_ca-syd-exch...@icaa.org.au

 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!

 

~|
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://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318992
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


CFIMAGE - writing to browser

2009-02-06 Thread Fawzi Amadu

I was trying to work with cfimage and needed to write it to the browser, 
unfortunately I realized that cfimage's write to browser function only used the 
png format which my system does not support. Is there a way (without saving the 
file) to write it into display it in another format? 

If I can't do the above, then I have to resize and save the file before 
displaying it, which would waste space. TIA 

~|
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://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318993
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: CFIMAGE - writing to browser

2009-02-06 Thread C S

 cfimage's write to browser 
 function only used the png format which my system does not support.

The default is png, but you can specify another format like jpg.  I do not 
think gif is supported.




~|
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://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318995
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: JVM Tuning and Garbage Collection (Using SQL Profiler)

2009-02-06 Thread Gaulin, Mark

Hi
I've seen a similar regular burp in SQL server performance every
fifteen minutes or so on our servers too. I thought it might be related
to maintaining the transaction log but I was never able to prove it.

I have some notes on using SQL Profiler that I wrote for an internal
information sharing session; here it is (below), pasted from Word, so
sorry about the formatting.  The general tips are probably worth
reading if you haven't using SQL Profiler before.
Thanks
Mark

Intro to SQL Profiler
11/1/06

Basics of SQL Profiler  1
Creating a Trace1
General Tab 2
Events Tab  3
Data Columns Tab4
Filters Tab 6
Running the Trace   7
Other Things8
Basics of SQL Profiler
SQL Server Profiler sees all SQL Server queries running on the SQL
Server. This allows you to see exactly what T-SQL statements are
submitted to the server and how the server accesses the database to
return result sets.

Using SQL Server Profiler, you can do the following:
*   Create a trace that is based on a reusable template
*   Watch the trace results as the trace runs
*   Store the trace results in a table
*   Start, stop, pause, and modify the trace results as necessary
*   Replay the trace results
*   Monitor only the events in which you are interested

With the SQL profile you can see the SQL being generated by any program,
even ones you don't have source code for or are not running in a
debugger.  

Simply remembering that you don't have to open a program in a debugger,
set a breakpoint, and then get the program to execute a routine just to
see the SQL it would produce can save you some time, plus you can watch
it all happen on a live database.

A properly set-up trace will let you find slow queries and determine if
the query itself is slow or if the problem is some other query running
at the same time.

Profiling does add overhead to the SQL Server, so don't go crazy with
events to monitor or leave a trace running for a very long time.  (I
have had traces running on the live site overnight or over a weekend to
find a problem that was crashing the site. You do what you have to do.)

Creating a Trace
SQL Profiler is installed with the rest of the SQL Tools, and you'll
find it in the Microsoft SQL Server program group.   Here's a really
quick way to get a trace going:

*   Start the Profiler
*   Do File/New/Trace
*   Pick the SQL Server to connect to
*   Next you'll see the Trace Properties dialog. Just hit the Run
button
*   You are now watching live queries running on the target SQL
Server!

You'll want to learn how to use the Trace Properties settings to make it
easier to find what you are looking for, so I'll describe each tab in
the Trace Properties dialog.

General Tab
The general tab lets you pick/change the SQL Server to connect to and
the trace template to use.  Trace templates are just the saved
settings from the Trace Properties dialog.  There are several standard
ones and you can make your own.  (I have some saved on the live site for
different debugging scenarios.)

*   Setting a stop time might be useful if you want to capture a
lot of data but not too much data.  You can also use it in conjunction
with a Start Time filter to capture, say, all events between 2 am and
3 am.
*   I've never used the save to table option, but it does what it
says... saving all traced rows to a database table so you can look at
them later.
 
Events Tab
An event is an action generated on a SQL Server: 
*   Login connections, failures, and disconnections.
*   Transact-SQL SELECT, INSERT, UPDATE, and DELETE statements.
*   Remote procedure call (RPC) batch status.
*   The start or end of a stored procedure.
*   The start or end of statements within stored procedures.
*   The start or end of an SQL batch.
*   An error written to the SQL Server error log.
*   A lock acquired or released on a database object.
*   An opened cursor.
*   Security permission checks.
*   Performance events include execution plans

All of the data generated by an event is displayed in the trace in a
single row.  I find that the default events (shown below) are usually
more than I need, so I often remove the Security Audit and Sessions
events, leaving just the two Completed events.
  
Data Columns Tab
This is where you pick the information to display for each event in the
trace. The default columns (partially show below) are not too bad, but I
usually need to change them. Selecting the right data columns to display
can take some trial and error.

General tips:
*   You'll always want Text Data... that's the SQL statement
itself.
*   You can't remove the Event Class column, so I often move it to
the end of the list with the Up/Down buttons

If you are interested in performance then I suggest including these
columns:
*   Duration, CPU, Reads, Writes
o   These numeric fields are key to spotting slow queries
*   

CFFILE - multiple uploads

2009-02-06 Thread Fawzi Amadu

Having to alter the functionality of a site, I decided to add multiple upload 
functionality using CFFILE but I find that I am confused. Looking at my use of 
CFFILE and CFQUERY below, I am confused as to how to code for multiple uploads.

cfset upLoadDestination = #ExpandPath('images/consumer/')#

 cffile action=upload 
 filefield=uploadProductIMAGE
 destination= #upLoadDestination#
 nameconflict=makeunique

   **

!---code to complete data entry ---
 cfquery datasource=#request.datasource#
   Insert into Consumer_Product(Cnsmr_ProductID, 
Cnsmr_ProductNAME, 
Cnsmr_ProductCATEGORY, 

Cnsmr_ProductDESCRIPTION, 
Cnsmr_ProductIMAGE, 
Cnsmr_ProductPRICE, 
Cnsmr_ProductModelNO,
Cnsmr_ProductMODELYEAR,
User_id)
   Values('#Form.Cnsmr_ProductID#',
  '#Form.Cnsmr_ProductNAME#',
  '#Form.Cnsmr_ProductCATEGORY#',
  '#Form.Cnsmr_ProductDESCRIPTION#',
  '#CFFILE.ServerFile#',
   #Form.Cnsmr_ProductPRICE#,
  '#Form.Cnsmr_ProductModelNO#',
  '#Form.Cnsmr_ProductMODELYEAR#',
  '#SESSION.auth.User_id#')
 /cfquery 


My confusion is, if I add all subsequent  upload code, I will have to refer to 
multiple #CFFILE.ServerFile# and how would the coldfusion resolve the names in 
the proper manner? TIA


~|
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://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318996
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Implementing FCK Editor in CF8.01

2009-02-06 Thread Terry Troxel

My provider updated my server to cf801 and I have been calling FCK Editor
from the siteroot/admin/fckeditor folder structure very successfully with
the install from fckeditor's site.

My question is what do I do to switch to the embedded version in stead of
the one I downloaded?

This is how I am trying to call the embedded editor:

cfform
cftextarea richtext = true name=richtext11234/cftextarea
/cfform
It gives me a plain textbox.


This is how I call it with the downloaded version:

cfmodule
template=fckeditor/fckeditor.cfm
basePath=fckeditor/
instanceName=pagecontent
value='1234'
width=760
height=400


This works.

Any positive help will be greatly appreciated.

Terry



~|
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://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318997
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CFFILE - multiple uploads

2009-02-06 Thread John M Bliss

Check out http://uploadformcfc.riaforge.org

On Fri, Feb 6, 2009 at 1:56 PM, Fawzi Amadu abd...@gmail.com wrote:


 Having to alter the functionality of a site, I decided to add multiple
 upload functionality using CFFILE but I find that I am confused. Looking at
 my use of CFFILE and CFQUERY below, I am confused as to how to code for
 multiple uploads.

 cfset upLoadDestination = #ExpandPath('images/consumer/')#

  cffile action=upload
 filefield=uploadProductIMAGE
 destination= #upLoadDestination#
 nameconflict=makeunique

   **

 !---code to complete data entry ---
  cfquery datasource=#request.datasource#
   Insert into Consumer_Product(Cnsmr_ProductID,
Cnsmr_ProductNAME,

  Cnsmr_ProductCATEGORY,

  Cnsmr_ProductDESCRIPTION,
Cnsmr_ProductIMAGE,
Cnsmr_ProductPRICE,

  Cnsmr_ProductModelNO,

  Cnsmr_ProductMODELYEAR,
User_id)
   Values('#Form.Cnsmr_ProductID#',
  '#Form.Cnsmr_ProductNAME#',
  '#Form.Cnsmr_ProductCATEGORY#',
  '#Form.Cnsmr_ProductDESCRIPTION#',
  '#CFFILE.ServerFile#',
   #Form.Cnsmr_ProductPRICE#,
  '#Form.Cnsmr_ProductModelNO#',
  '#Form.Cnsmr_ProductMODELYEAR#',
  '#SESSION.auth.User_id#')
  /cfquery


 My confusion is, if I add all subsequent  upload code, I will have to refer
 to multiple #CFFILE.ServerFile# and how would the coldfusion resolve the
 names in the proper manner? TIA


 

~|
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://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318998
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: How are CFCONTENT requests handled?

2009-02-06 Thread Nathan Strutz

Seb,

It is most likely that CF will open the file you are delivering, however, it
will probably be more in a streaming fashion, aka, it will probably not all
be loaded into active memory.

I just did it with a 200MB file, the memory went up about 6MB and now has
dropped down 12MB. I would say it's safe.

It literally streams it from disk to network and to local disk without any
one application loading 200MB of data. I used CF7 and Firefox 3.

nathan strutz
[Blog and Family @ http://www.dopefly.com/]
[AZCFUG Manager @ http://www.azcfug.org/]



On Fri, Feb 6, 2009 at 4:49 AM, Seb Duggan s...@sebduggan.com wrote:


 I'm putting together a page on one of my sites for downloading of hi-
 res press images.

 These are JPEGs; but I want them to be downloaded rather than opened
 in the browser.

 The following code works just fine:

 cfheader name=Content-Disposition value=attachment; filename=press-
 image.jpg /
 cfcontent type=image/jpeg file=#ExpandPath(press-image.jpg)# /

 What I want to know is: if I'm serving the file in this method, does
 CF load the image into memory and then serve it? Or does it just point
 the browser to the relevant location?

 The reason I ask is that some of the images are up to 10MB in size,
 and I don't want my CF server to be hammered by someone downloading a
 few of these at the same time.

 The alternative is to zip them all up - very little size gain for
 JPEGs, but at least the browser will just download the file, and IIS
 will take the strain instead of CF...



 Seb Duggan
 Web  ColdFusion Developer

 e:  s...@sebduggan.com
 t:  07786 333184
 w:  http://sebduggan.com



 

~|
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://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318999
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Implementing FCK Editor in CF8.01

2009-02-06 Thread Rob Parkhill

is the CFIDE directory mapped?  or inside your webroot for the hosting
provider?  I usually upload the CFIDE directory, and add the scriptsrc=CFIDE
location, and then you should have no problems.
HTH

Rob

On Fri, Feb 6, 2009 at 3:13 PM, Terry Troxel te...@it-werks.com wrote:


 My provider updated my server to cf801 and I have been calling FCK Editor
 from the siteroot/admin/fckeditor folder structure very successfully with
 the install from fckeditor's site.

 My question is what do I do to switch to the embedded version in stead of
 the one I downloaded?

 This is how I am trying to call the embedded editor:

 cfform
 cftextarea richtext = true name=richtext11234/cftextarea
 /cfform
 It gives me a plain textbox.


 This is how I call it with the downloaded version:

 cfmodule
 template=fckeditor/fckeditor.cfm
 basePath=fckeditor/
 instanceName=pagecontent
 value='1234'
 width=760
 height=400
 

 This works.

 Any positive help will be greatly appreciated.

 Terry



 

~|
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://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319000
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: JVM Tuning and Garbage Collection (Using SQL Profiler)

2009-02-06 Thread Rick Root

Mark, that's awesome, thanks!

On Fri, Feb 6, 2009 at 2:52 PM, Gaulin, Mark mgau...@globalspec.com wrote:

 Hi
 I've seen a similar regular burp in SQL server performance every
 fifteen minutes or so on our servers too. I thought it might be related
 to maintaining the transaction log but I was never able to prove it.

 I have some notes on using SQL Profiler that I wrote for an internal
 information sharing session; here it is (below), pasted from Word, so
 sorry about the formatting.  The general tips are probably worth
 reading if you haven't using SQL Profiler before.
 Thanks
Mark

 Intro to SQL Profiler
 11/1/06

 Basics of SQL Profiler  1
 Creating a Trace1
 General Tab 2
 Events Tab  3
 Data Columns Tab4
 Filters Tab 6
 Running the Trace   7
 Other Things8
 Basics of SQL Profiler
 SQL Server Profiler sees all SQL Server queries running on the SQL
 Server. This allows you to see exactly what T-SQL statements are
 submitted to the server and how the server accesses the database to
 return result sets.

 Using SQL Server Profiler, you can do the following:
 *   Create a trace that is based on a reusable template
 *   Watch the trace results as the trace runs
 *   Store the trace results in a table
 *   Start, stop, pause, and modify the trace results as necessary
 *   Replay the trace results
 *   Monitor only the events in which you are interested

 With the SQL profile you can see the SQL being generated by any program,
 even ones you don't have source code for or are not running in a
 debugger.

 Simply remembering that you don't have to open a program in a debugger,
 set a breakpoint, and then get the program to execute a routine just to
 see the SQL it would produce can save you some time, plus you can watch
 it all happen on a live database.

 A properly set-up trace will let you find slow queries and determine if
 the query itself is slow or if the problem is some other query running
 at the same time.

 Profiling does add overhead to the SQL Server, so don't go crazy with
 events to monitor or leave a trace running for a very long time.  (I
 have had traces running on the live site overnight or over a weekend to
 find a problem that was crashing the site. You do what you have to do.)

 Creating a Trace
 SQL Profiler is installed with the rest of the SQL Tools, and you'll
 find it in the Microsoft SQL Server program group.   Here's a really
 quick way to get a trace going:

 *   Start the Profiler
 *   Do File/New/Trace
 *   Pick the SQL Server to connect to
 *   Next you'll see the Trace Properties dialog. Just hit the Run
 button
 *   You are now watching live queries running on the target SQL
 Server!

 You'll want to learn how to use the Trace Properties settings to make it
 easier to find what you are looking for, so I'll describe each tab in
 the Trace Properties dialog.

 General Tab
 The general tab lets you pick/change the SQL Server to connect to and
 the trace template to use.  Trace templates are just the saved
 settings from the Trace Properties dialog.  There are several standard
 ones and you can make your own.  (I have some saved on the live site for
 different debugging scenarios.)

 *   Setting a stop time might be useful if you want to capture a
 lot of data but not too much data.  You can also use it in conjunction
 with a Start Time filter to capture, say, all events between 2 am and
 3 am.
 *   I've never used the save to table option, but it does what it
 says... saving all traced rows to a database table so you can look at
 them later.

 Events Tab
 An event is an action generated on a SQL Server:
 *   Login connections, failures, and disconnections.
 *   Transact-SQL SELECT, INSERT, UPDATE, and DELETE statements.
 *   Remote procedure call (RPC) batch status.
 *   The start or end of a stored procedure.
 *   The start or end of statements within stored procedures.
 *   The start or end of an SQL batch.
 *   An error written to the SQL Server error log.
 *   A lock acquired or released on a database object.
 *   An opened cursor.
 *   Security permission checks.
 *   Performance events include execution plans

 All of the data generated by an event is displayed in the trace in a
 single row.  I find that the default events (shown below) are usually
 more than I need, so I often remove the Security Audit and Sessions
 events, leaving just the two Completed events.

 Data Columns Tab
 This is where you pick the information to display for each event in the
 trace. The default columns (partially show below) are not too bad, but I
 usually need to change them. Selecting the right data columns to display
 can take some trial and error.

 General tips:
 *   You'll always want Text Data... that's the SQL statement
 itself.
 *   You can't remove the Event Class column, so I often move it to
 the end of the list with the Up/Down 

Re: How are CFCONTENT requests handled?

2009-02-06 Thread Seb Duggan

Thanks Nathan.

I'm currently trying to work out a solution using ISAPI_Rewrite to  
modify the headers, but can't quite get it to work yet...



On 6 Feb 2009, at 20:29, Nathan Strutz wrote:


 Seb,

 It is most likely that CF will open the file you are delivering,  
 however, it
 will probably be more in a streaming fashion, aka, it will probably  
 not all
 be loaded into active memory.

 I just did it with a 200MB file, the memory went up about 6MB and  
 now has
 dropped down 12MB. I would say it's safe.

 It literally streams it from disk to network and to local disk  
 without any
 one application loading 200MB of data. I used CF7 and Firefox 3.

 nathan strutz
 [Blog and Family @ http://www.dopefly.com/]
 [AZCFUG Manager @ http://www.azcfug.org/]




~|
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://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319002
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: How are CFCONTENT requests handled?

2009-02-06 Thread Brian Kotek

The issue isn't memory usage as much as it is thread usage. A server thread
will be occupied for the entire duration of the download. Which means if you
have large files, and 50 people are downloading, then that is 50 of your
threads used for however long it takes their downloads to complete. The same
is true for uploads, only much worse, since most people's upload speed is
far lower than their download speed.

Basically, if you plan on doing lots of large file uploads or downloads, you
need to set up a dedicated file server or look at something like FTP.

On Fri, Feb 6, 2009 at 3:29 PM, Nathan Strutz str...@gmail.com wrote:


 Seb,

 It is most likely that CF will open the file you are delivering, however,
 it
 will probably be more in a streaming fashion, aka, it will probably not all
 be loaded into active memory.

 I just did it with a 200MB file, the memory went up about 6MB and now has
 dropped down 12MB. I would say it's safe.

 It literally streams it from disk to network and to local disk without any
 one application loading 200MB of data. I used CF7 and Firefox 3.

 nathan strutz
 [Blog and Family @ http://www.dopefly.com/]
 [AZCFUG Manager @ http://www.azcfug.org/]





~|
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://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319003
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: How are CFCONTENT requests handled?

2009-02-06 Thread Brian Kotek

Or, depending on the version of CF8 and your familiarity with it, you could
look at using CFTHREAD since those use a separate thread pool.

On Fri, Feb 6, 2009 at 6:08 PM, Brian Kotek brian...@gmail.com wrote:

 The issue isn't memory usage as much as it is thread usage. A server thread
 will be occupied for the entire duration of the download. Which means if you
 have large files, and 50 people are downloading, then that is 50 of your
 threads used for however long it takes their downloads to complete. The same
 is true for uploads, only much worse, since most people's upload speed is
 far lower than their download speed.

 Basically, if you plan on doing lots of large file uploads or downloads,
 you need to set up a dedicated file server or look at something like FTP.


 On Fri, Feb 6, 2009 at 3:29 PM, Nathan Strutz str...@gmail.com wrote:


 Seb,

 It is most likely that CF will open the file you are delivering, however,
 it
 will probably be more in a streaming fashion, aka, it will probably not
 all
 be loaded into active memory.

 I just did it with a 200MB file, the memory went up about 6MB and now has
 dropped down 12MB. I would say it's safe.

 It literally streams it from disk to network and to local disk without any
 one application loading 200MB of data. I used CF7 and Firefox 3.

 nathan strutz
 [Blog and Family @ http://www.dopefly.com/]
 [AZCFUG Manager @ http://www.azcfug.org/]






~|
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://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319004
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Using The Built-in Verity Indexing With A File Server

2009-02-06 Thread Philip Hayes

In ColdFusion 7, I was able to index a file server directory using the 
following code.

CFINDEX
action=refresh 
collection=orders
key=//999.99.9.999/FireRescue/ADMIN/Orders
type=path
urlpath=http://fireweb/DeptOrders/;
extensions=.doc
recurse=yes
language=English


I tried to do the same thing in CF8 and can't get it to work at all.  Does 
anybody have any 
suggestions on how to get it to index?  I also tried reversing the slashes 
without success.

Thanks.

Phil Hayes




~|
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://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319005
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Using The Built-in Verity Indexing With A File Server

2009-02-06 Thread Adrian Lynch

Does CF have access/permissions to that share?

Adrian

 -Original Message-
 From: Philip Hayes [mailto:philip.ha...@siriusinnovations.com]
 Sent: 07 February 2009 00:25
 To: cf-talk
 Subject: Using The Built-in Verity Indexing With A File Server
 
 
 In ColdFusion 7, I was able to index a file server directory using the
 following code.
 
 CFINDEX
 action=refresh
   collection=orders
 key=//999.99.9.999/FireRescue/ADMIN/Orders
 type=path
   urlpath=http://fireweb/DeptOrders/;
 extensions=.doc
 recurse=yes
 language=English
 
 
 I tried to do the same thing in CF8 and can't get it to work at all.
 Does anybody have any
 suggestions on how to get it to index?  I also tried reversing the
 slashes without success.
 
 Thanks.
 
 Phil Hayes


~|
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://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319006
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Using The Built-in Verity Indexing With A File Server

2009-02-06 Thread Hayes Philip L

Yes... Coldfusion is running as my user account and I have permissions.


On Feb 6, 2009, at 7:54 PM, Adrian Lynch wrote:


 Does CF have access/permissions to that share?

 Adrian

 -Original Message-
 From: Philip Hayes [mailto:philip.ha...@siriusinnovations.com]
 Sent: 07 February 2009 00:25
 To: cf-talk
 Subject: Using The Built-in Verity Indexing With A File Server


 In ColdFusion 7, I was able to index a file server directory using  
 the
 following code.

 CFINDEX
action=refresh
  collection=orders
key=//999.99.9.999/FireRescue/ADMIN/Orders
type=path
  urlpath=http://fireweb/DeptOrders/;
extensions=.doc
recurse=yes
language=English


 I tried to do the same thing in CF8 and can't get it to work at all.
 Does anybody have any
 suggestions on how to get it to index?  I also tried reversing the
 slashes without success.

 Thanks.

 Phil Hayes


 

~|
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://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319007
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Using The Built-in Verity Indexing With A File Server

2009-02-06 Thread Adrian Lynch

I'm not sure it's needed at the point when the tag runs, but does CF know
how to get to http://fireweb/DeptOrders/?

Adrian

 -Original Message-
 From: Hayes Philip L [mailto:philip.ha...@siriusinnovations.com]
 Sent: 07 February 2009 01:07
 To: cf-talk
 Subject: Re: Using The Built-in Verity Indexing With A File Server
 
 
 Yes... Coldfusion is running as my user account and I have permissions.
 
 
 On Feb 6, 2009, at 7:54 PM, Adrian Lynch wrote:
 
 
  Does CF have access/permissions to that share?
 
  Adrian
 
  -Original Message-
  From: Philip Hayes [mailto:philip.ha...@siriusinnovations.com]
  Sent: 07 February 2009 00:25
  To: cf-talk
  Subject: Using The Built-in Verity Indexing With A File Server
 
 
  In ColdFusion 7, I was able to index a file server directory using
  the
  following code.
 
  CFINDEX
 action=refresh
 collection=orders
 key=//999.99.9.999/FireRescue/ADMIN/Orders
 type=path
 urlpath=http://fireweb/DeptOrders/;
 extensions=.doc
 recurse=yes
 language=English
 
 
  I tried to do the same thing in CF8 and can't get it to work at all.
  Does anybody have any
  suggestions on how to get it to index?  I also tried reversing the
  slashes without success.
 
  Thanks.
 
  Phil Hayes


~|
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://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319008
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Implementing FCK Editor in CF8.01

2009-02-06 Thread Mike Kear

My advice is to stick with the way you've been doing it.When you
learn how to manipulate FCKEditor yourself (as you have done already)
you have much more control over the way it's presented to the user -
things like skins,  customised toolbars etc and it's easier to keep up
to date with current versions.

If you use the native version, you're always going to have to wait for
Adobe to put out an updater to ColdFusion to update your editor, and
you wont have anything like the control and options available to you
when you call it into your form.

Cheers
Mike Kear
Windsor, NSW, Australia
Adobe Certified Advanced ColdFusion Developer
AFP Webworks
http://afpwebworks.com
ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month



On Sat, Feb 7, 2009 at 7:51 AM, Rob Parkhill robert.parkh...@gmail.com wrote:

 is the CFIDE directory mapped?  or inside your webroot for the hosting
 provider?  I usually upload the CFIDE directory, and add the scriptsrc=CFIDE
 location, and then you should have no problems.
 HTH

 Rob

 On Fri, Feb 6, 2009 at 3:13 PM, Terry Troxel te...@it-werks.com wrote:


 My provider updated my server to cf801 and I have been calling FCK Editor
 from the siteroot/admin/fckeditor folder structure very successfully with
 the install from fckeditor's site.

 My question is what do I do to switch to the embedded version in stead of
 the one I downloaded?

 This is how I am trying to call the embedded editor:

 cfform
 cftextarea richtext = true name=richtext11234/cftextarea
 /cfform
 It gives me a plain textbox.


 This is how I call it with the downloaded version:

 cfmodule
 template=fckeditor/fckeditor.cfm
 basePath=fckeditor/
 instanceName=pagecontent
 value='1234'
 width=760
 height=400
 

 This works.

 Any positive help will be greatly appreciated.

 Terry




~|
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://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319009
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Implementing FCK Editor in CF8.01

2009-02-06 Thread Scott Stroz

Not treu, you can have every bit as much controlover the toolbars and other
options using cftextarea as you can using it 'natively'.  You just need to
know how.  You can use the scroptsrc attribute to tell CF where to look for
the config files and such.  From there, you can make changes just as easily
as if you used FCK on its own.

On Fri, Feb 6, 2009 at 10:20 PM, Mike Kear afpwebwo...@gmail.com wrote:


 My advice is to stick with the way you've been doing it.When you
 learn how to manipulate FCKEditor yourself (as you have done already)
 you have much more control over the way it's presented to the user -
 things like skins,  customised toolbars etc and it's easier to keep up
 to date with current versions.

 If you use the native version, you're always going to have to wait for
 Adobe to put out an updater to ColdFusion to update your editor, and
 you wont have anything like the control and options available to you
 when you call it into your form.

 Cheers
 Mike Kear
 Windsor, NSW, Australia
 Adobe Certified Advanced ColdFusion Developer
 AFP Webworks
 http://afpwebworks.com
 ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month



 On Sat, Feb 7, 2009 at 7:51 AM, Rob Parkhill robert.parkh...@gmail.com
 wrote:
 
  is the CFIDE directory mapped?  or inside your webroot for the hosting
  provider?  I usually upload the CFIDE directory, and add the
 scriptsrc=CFIDE
  location, and then you should have no problems.
  HTH
 
  Rob
 
  On Fri, Feb 6, 2009 at 3:13 PM, Terry Troxel te...@it-werks.com wrote:
 
 
  My provider updated my server to cf801 and I have been calling FCK
 Editor
  from the siteroot/admin/fckeditor folder structure very successfully
 with
  the install from fckeditor's site.
 
  My question is what do I do to switch to the embedded version in stead
 of
  the one I downloaded?
 
  This is how I am trying to call the embedded editor:
 
  cfform
  cftextarea richtext = true name=richtext11234/cftextarea
  /cfform
  It gives me a plain textbox.
 
 
  This is how I call it with the downloaded version:
 
  cfmodule
  template=fckeditor/fckeditor.cfm
  basePath=fckeditor/
  instanceName=pagecontent
  value='1234'
  width=760
  height=400
  
 
  This works.
 
  Any positive help will be greatly appreciated.
 
  Terry
 
 
 

 

~|
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://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319010
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4