RE: pseudo-memory leak

2005-11-28 Thread Russ
This should work... But then lets say that you encrypt your login page using
SSL.  And the rest of the site is not (as it should be).  The password hash
gets passed with every request, which makes it very likely that it can be
sniffed.  Once the hacker has the hash, he can do a brute force attack on it
and figure out the user's password.  Even worse, he doesn't even need the
password, as the hash is enough for him to get into the account.  

Now, a hacker being able to sniff someone's session would probably be able
to fake the CF session cookies and hijack the session anyway, but at least
he wouldn't be able to figure out the password.  



-Original Message-
From: Matthew Walker [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 28, 2005 8:05 PM
To: CF-Talk
Subject: RE: pseudo-memory leak

> why can't a smart user has a userID 123457 using CF and set the
cookie?  

Because you'd hash the password and store that too. 



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225505
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: pseudo-memory leak

2005-11-28 Thread Russ
The client variables would be used in case the user checks something like
'Remember Me' checkbox upon loggin in.  Otherwise, of course you would be
using session variables (Unless you're on a load balanced server using CF
Standard, which doesn't have session replication).  In that case, it would
be better to use client variables instead of session variables.   

-Original Message-
From: Justin D. Scott [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 29, 2005 12:07 AM
To: CF-Talk
Subject: RE: pseudo-memory leak

> Client.userId=123456
> 
> Now, the user has no way to change that... Now, lets say I store it in 
> the cookie...

If your site is running on any kind of traffic, you should probably be using
session variables for this kind of thing anyway.

> 
> 
> Now, the user can examine their cookies and know their userid.  Worse, 
> they can change the userid, and be logged in as a different user.

Using an ID in a cookie in combination with something else, like a unique
session hash cookie that changes upon login and gets checked against the
database on every page load, you would be okay.  Session variables are still
more efficient in most cases though.


-Justin Scott




~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225504
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: iMS or alternatives?

2005-11-28 Thread Russ
IMS is great... I'm using the lite (free) version... Although it was
crashing on our server after a few months of steady use, I've fixed that by
upgrading to the latest version.  Loads better then the build in CF spooler.
We still use a dedicated mail server for sending mail, but that's because we
already had a dedicated mail server.   

-Original Message-
From: Greg Saunders [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 28, 2005 9:00 PM
To: CF-Talk
Subject: iMS or alternatives?

I'm ready to give up on IIS SMTP for sending large volumes of mail from CF,
and am now looking at the inFusion Mail Server
(http://www.coolfusion.com/products/ims/index.cfm).  Any opinions on this or
other solutions?

Thanks,
Greg Saunders

PS if anyone has expertise in sending email to large numbers of subscribers,
getting on whitelists, etc., and is available for some consulting, can you
please contact me off list?




~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225503
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Apache Virtual Hosts

2005-11-28 Thread Jennifer Gavin-Wear
ahhh .. thanks, excellent :)

-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]
Sent: 29 November 2005 02:23
To: CF-Talk
Subject: RE: Apache Virtual Hosts


> Unfortunately this means no log is made of the missing 
> template error and I don't fancy writing a whole routine 
> for logging them, so I'll leave as is and in not too long 
> people will latch onto the new pages.

You don't really need a whole routine, just the CFLOG tag.

Alternatively, if you have a list of invalid URLs, you could just map them
to valid URLs using mod_rewrite.





~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225502
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: pseudo-memory leak

2005-11-28 Thread Justin D. Scott
> Client.userId=123456
> 
> Now, the user has no way to change that... Now, lets
> say I store it in the cookie... 

If your site is running on any kind of traffic, you should probably be using
session variables for this kind of thing anyway.

> 
> 
> Now, the user can examine their cookies and know their
> userid.  Worse, they can change the userid, and be
> logged in as a different user.  

Using an ID in a cookie in combination with something else, like a unique
session hash cookie that changes upon login and gets checked against the
database on every page load, you would be okay.  Session variables are still
more efficient in most cases though.


-Justin Scott


~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225501
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: CF7 and 64-bit CPUs

2005-11-28 Thread Dave Watts
> > 1. Install J2SDK 1.5.0_05 AMD64 edition
> 
> that alone will give big chunks of cf the heebie-jeebies, 
> 64-bit OS or otherwise.

I'd pay good money for a complete list of JVM dependencies - the 1.4.2_05
JVM is just so damn old!

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!


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225500
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CF7 and 64-bit CPUs

2005-11-28 Thread Paul Hastings
Nat Papovich wrote:
> 1. Install J2SDK 1.5.0_05 AMD64 edition

that alone will give big chunks of cf the heebie-jeebies, 64-bit OS or 
otherwise.

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225499
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Using request var in CFC - was : FREE Homesite/CF Studio CFC VTML Generator

2005-11-28 Thread Aaron Rouse
I do this, then within each "function" I call a private function that checks
to see that the CFC has been initialized.

On 11/28/05, Matthew Walker <[EMAIL PROTECTED]> wrote:
>
> Just pass it in as an argument.
>
>  "mycfc").init(datasource="myDatasource")>
>
> Ensure your init() method returns "this" to use the syntax above.
> Alternatively, make a small struct of useful settings and pass that in.
>
>
> -Original Message-
> From: Stan Winchester [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, 29 November 2005 2:16 p.m.
> To: CF-Talk
> Subject: Using request var in CFC - was : FREE Homesite/CF Studio CFC
> VTML Generator
>
> What is best practise for passing dsn variable to cfc? In the CFMX (v
> 6.x) Bible shows using request variables to pass dsn, but Douglas says
> that is Blasphemy!  Heresy!, well he was just kidding, but seriously
> what is best practise? Should it be passed as an argument?
>
> > >
> > > Why should I pass the DSN to the CFC and use the request scope? I
> > based this wizard off chapters in the CFMX Bible.
> >
> > CFMX Bible, you say?  Blasphemy!  Heresy!  ha!  J/K  It is excepted
> > practise to never use vars outside the CFC.
> >
>
>
>
> 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225498
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CF data driven Flash photo site?

2005-11-28 Thread Ryan Guill
check out www.slideshowpro.net

it runs off an xml file.  I have a manager for it that does it all for
you.  I should have a new version of it out soon.  If you need it
sooner hit me up off list.

On 11/28/05, Stan Winchester <[EMAIL PROTECTED]> wrote:
> Is it possible to have a CF data driven Flash photo site like on:
> http://www.arizonatile.com/ (You need to click on the "High Speed" link to
> open the Flash version)?
>
> The client wants to have a standard CF dynamic HTML version, which is easy.
> However, they also want this Flash version setup so they can add new
> products through the same administrative backend used to run the HTML site.
>
> Thank you,
> Aftershock Web Design, Inc.
> by: Stan Winchester
> President/Developer
> http://www.aftershockweb.com/
>
> 

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225497
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


CF data driven Flash photo site?

2005-11-28 Thread Stan Winchester
Is it possible to have a CF data driven Flash photo site like on:
http://www.arizonatile.com/ (You need to click on the "High Speed" link to
open the Flash version)?

The client wants to have a standard CF dynamic HTML version, which is easy.
However, they also want this Flash version setup so they can add new
products through the same administrative backend used to run the HTML site.

Thank you,
Aftershock Web Design, Inc.
by: Stan Winchester
President/Developer
http://www.aftershockweb.com/

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225496
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Cfmx 7.1 on 2.3k locking up once a day

2005-11-28 Thread Dave Carabetta
On 11/28/05, gabriel l smallman <[EMAIL PROTECTED]> wrote:
> We just rolled out mx 7.1 on win 2.3k, Fusebox 4.1. It's a simple
> application, just content management with 150-200k views a day.
>
> Without fail that mx server hangs in under 24 hours. Here is the evidence we
> have found.
>
> I started app. Server at the command line:
>
> When I peep'd in while it was hung it was dumping out the following:
>
> java.lang.RuntimeException: Request timed out waiting for an available
> thread to run. You may want to consider increasing the number of active
> threads in the thread pool.
>
> This is repeated, again and again.
>
> NOTE: found some articles suggesting ideas on this, turn of debug (done),
> make sure db is responding (appears to be). Adjust some of the jrun.xml
> settings (appears to already be done in 7.1)
>
> Perf Mon.
> went back to before the crash, the only thing odd is the data seems to miss
> a beat nearing the crash and some data seems off the chart. But when we
> examine logs we see no burst of traffic. I exported the perf. Mon data and
> don't see any bursts.
>
> Did a stack dump while it was hung found a ton of these:
>
> "jrpp-108" prio=5 tid=0x04430d60 nid=0x1b08 in Object.wait()
> [c4af000..c4afdb8]
> at java.lang.Object.wait(Native Method)
> - waiting on <0x172c0fa8> (a jrunx.scheduler.ThreadPool$Throttle)
> at jrunx.scheduler.ThreadPool$Throttle.enter(ThreadPool.java:107)
> - locked <0x172c0fa8> (a jrunx.scheduler.ThreadPool$Throttle)
> at
> jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:423
> )
> at
> jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:26
> 4)
> at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
>
>
> Whole log: http://icc.getfused.com/out.txt
>
>
> We have tried moving app. To a 2nd 7.1 and win 2.3k server.. Same issue. We
> moved the db to another machine, same issue. No other sites using the db
> seem to be having any issues.
>
> Anyone have any thoughts? Im about to toss in the towel and call adobe and
> burn 500.00 clams. Any help would be apprecaited, if it saves me the 500.00
> then a shopping spree at Amazon could be in your future.
>

This blog posting by Steven Erat seems timely, as it covers your error message:

http://www.talkingtree.com/blog/index.cfm/2005/11/28/Request-timed-out-waiting-for-an-available-thread-to-run

Make sure you check the activeThread settings in your jrun.xml file.
The defaults are woefully wrong, even for the most powerful boxes.
Also check the threadWaitTimeout settings.

Regards,
Dave.

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225495
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Get path of page calling cfinvoke?

2005-11-28 Thread Barney Boisvert
You could thow an exception and examine the stack trace, but that
won't help for inherited methods, only for inherited methods called
from methods defined in the subclass.

Of course, if your functionality is dependant on knowing who's calling
you, you likely have some flaw in your design.  Environment
non-neutrality is a pretty consistent warning flag for "bad things". 
In particular, an object should never know or care what it's
subclasses are.

cheers,
banreyb

On 11/28/05, Andrew Spear <[EMAIL PROTECTED]> wrote:
> Is it possible for a CFC to determine the path of the physical template that 
> is cfinvoking it?  I'm trying to have a base CFC determine what file is 
> extending it.  Any ideas?
>
> Thanks-
> Andrew
>
>

--
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/

Got Gmail? I have 100 invites.

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225494
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: iMS or alternatives?

2005-11-28 Thread Phillip Beazley
At 08:00 PM 11/28/2005, you wrote:

>I'm ready to give up on IIS SMTP for sending large volumes of mail from CF,
>and am now looking at the inFusion Mail Server
>(http://www.coolfusion.com/products/ims/index.cfm).  Any opinions on this
>or other solutions?

iMS is simply fabulous, you can't go wrong using it.


-- 
Phillip Beazley
Onvix -- Website Hosting, Development & E-commerce
Visit http://www.onvix.com/ or call 727-578-9600.



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225493
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Cfmx 7.1 on 2.3k locking up once a day

2005-11-28 Thread gabriel l smallman
Yes on min and maxheap sizes. I have never seen the heap over 500megs. The
trace logs show very steady memory levels.

gabe 

-Original Message-
From: Michael Dinowitz [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 28, 2005 9:10 PM
To: CF-Talk
Subject: Re: Cfmx 7.1 on 2.3k locking up once a day

min as in minheap and max as in maxheap? Does the jrun.exe current or
virtual memory size ever exceed 1000?


> Min memory is set to 500, max to 1000, system seems to idle around 400 
> megs,
> up and down a little but perf. Mon shows no memory usages spikes.
>
> Client vars are disabled. Though sessions are turned on in the index.cfm
> file, very little use for them except for the content administrator login.
> Thought each page request does set three session vars by default. We have 
> no
> checkout, or anything that is complex in session scope.
>
> gabe
>
>
> -Original Message-
> From: Michael Dinowitz [mailto:[EMAIL PROTECTED]
> Sent: Monday, November 28, 2005 8:52 PM
> To: CF-Talk
> Subject: Re: Cfmx 7.1 on 2.3k locking up once a day
>
> What's your memory like on the machine? What's the JVM set as? Are you 
> using
> lots of session or client vars?
>
>
>> We just rolled out mx 7.1 on win 2.3k, Fusebox 4.1. It's a simple
>> application, just content management with 150-200k views a day.
>>
>> Without fail that mx server hangs in under 24 hours. Here is the evidence
>> we
>> have found.
>>
>> I started app. Server at the command line:
>>
>> When I peep'd in while it was hung it was dumping out the following:
>>
>> java.lang.RuntimeException: Request timed out waiting for an available
>> thread to run. You may want to consider increasing the number of active
>> threads in the thread pool.
>>
>> This is repeated, again and again.
>>
>> NOTE: found some articles suggesting ideas on this, turn of debug (done),
>> make sure db is responding (appears to be). Adjust some of the jrun.xml
>> settings (appears to already be done in 7.1)
>>
>> Perf Mon.
>> went back to before the crash, the only thing odd is the data seems to
>> miss
>> a beat nearing the crash and some data seems off the chart. But when we
>> examine logs we see no burst of traffic. I exported the perf. Mon data 
>> and
>> don't see any bursts.
>>
>> Did a stack dump while it was hung found a ton of these:
>>
>> "jrpp-108" prio=5 tid=0x04430d60 nid=0x1b08 in Object.wait()
>> [c4af000..c4afdb8]
>> at java.lang.Object.wait(Native Method)
>> - waiting on <0x172c0fa8> (a jrunx.scheduler.ThreadPool$Throttle)
>> at jrunx.scheduler.ThreadPool$Throttle.enter(ThreadPool.java:107)
>> - locked <0x172c0fa8> (a jrunx.scheduler.ThreadPool$Throttle)
>> at
>>
>
jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:423
>> )
>> at
>>
>
jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:26
>> 4)
>> at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
>>
>>
>> Whole log: http://icc.getfused.com/out.txt
>>
>>
>> We have tried moving app. To a 2nd 7.1 and win 2.3k server.. Same issue.
>> We
>> moved the db to another machine, same issue. No other sites using the db
>> seem to be having any issues.
>>
>> Anyone have any thoughts? Im about to toss in the towel and call adobe 
>> and
>> burn 500.00 clams. Any help would be apprecaited, if it saves me the
>> 500.00
>> then a shopping spree at Amazon could be in your future.
>>
>> Thanks
>>
>> gabe
>>
>>
>>
>
>
>
> 



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225492
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Apache Virtual Hosts

2005-11-28 Thread Dave Watts
> Unfortunately this means no log is made of the missing 
> template error and I don't fancy writing a whole routine 
> for logging them, so I'll leave as is and in not too long 
> people will latch onto the new pages.

You don't really need a whole routine, just the CFLOG tag.

Alternatively, if you have a list of invalid URLs, you could just map them
to valid URLs using mod_rewrite.

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!


~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225491
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Slowing Down CFMAIL: Yet Again

2005-11-28 Thread Matt Robertson
I have a client on a new dedicated CF 7 server (formerly running on
CF5, also dedicated) and am seeing something weird:

Originally the CF server was also a mail server, with a copy of
SmarterMail running that service.  When I moved CF to a new server, I
kept the old mail server running and, when trickling out mail to the
server I saw the que emptying out at a crawl.  One email leaving the
CF spool every 20 seconds, on the dot.

When I dropped that server in favor of another, also brand-new
dedicated server (also running the latest build of SmarterMail) the CF
mail queue started emptying out one email only, at precise intervals
of five seconds.

I can tell all this as I have CF set to log all outgoing mail.  The CF
Administrator is set to flush the mail queue at 5-second intervals
(and was set for this back when the 20-second intervals were
experienced) but of course thats not meant to let CF send one single
email at each spool flush.

What the heck could cause something like that?  The new mail server
has nothing to do but get fed mail by CF, at the moment, so its not
like its busy.

--
--mattRobertson--
Janitor, MSB Web Systems
mysecretbase.com

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225490
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Cfmx 7.1 on 2.3k locking up once a day

2005-11-28 Thread Mark A Kruger
Gabe - consider some alternative settings for your JVM - things like garbage
collection and  "newsize" etc.

This blog

http://mkruger.cfwebtools.com/index.cfm?mode=entry&entry=395F3C8A-058B-CADD-
826F03A60674D5B3

has some good info - plus links to other blogs on the subject.

-Mark

-Original Message-
From: gabriel l smallman [mailto:[EMAIL PROTECTED]
Sent: Monday, November 28, 2005 8:04 PM
To: CF-Talk
Subject: RE: Cfmx 7.1 on 2.3k locking up once a day


Min memory is set to 500, max to 1000, system seems to idle around 400 megs,
up and down a little but perf. Mon shows no memory usages spikes.

Client vars are disabled. Though sessions are turned on in the index.cfm
file, very little use for them except for the content administrator login.
Thought each page request does set three session vars by default. We have no
checkout, or anything that is complex in session scope.

gabe


-Original Message-
From: Michael Dinowitz [mailto:[EMAIL PROTECTED]
Sent: Monday, November 28, 2005 8:52 PM
To: CF-Talk
Subject: Re: Cfmx 7.1 on 2.3k locking up once a day

What's your memory like on the machine? What's the JVM set as? Are you using
lots of session or client vars?


> We just rolled out mx 7.1 on win 2.3k, Fusebox 4.1. It's a simple
> application, just content management with 150-200k views a day.
>
> Without fail that mx server hangs in under 24 hours. Here is the evidence
> we
> have found.
>
> I started app. Server at the command line:
>
> When I peep'd in while it was hung it was dumping out the following:
>
> java.lang.RuntimeException: Request timed out waiting for an available
> thread to run. You may want to consider increasing the number of active
> threads in the thread pool.
>
> This is repeated, again and again.
>
> NOTE: found some articles suggesting ideas on this, turn of debug (done),
> make sure db is responding (appears to be). Adjust some of the jrun.xml
> settings (appears to already be done in 7.1)
>
> Perf Mon.
> went back to before the crash, the only thing odd is the data seems to
> miss
> a beat nearing the crash and some data seems off the chart. But when we
> examine logs we see no burst of traffic. I exported the perf. Mon data and
> don't see any bursts.
>
> Did a stack dump while it was hung found a ton of these:
>
> "jrpp-108" prio=5 tid=0x04430d60 nid=0x1b08 in Object.wait()
> [c4af000..c4afdb8]
> at java.lang.Object.wait(Native Method)
> - waiting on <0x172c0fa8> (a jrunx.scheduler.ThreadPool$Throttle)
> at jrunx.scheduler.ThreadPool$Throttle.enter(ThreadPool.java:107)
> - locked <0x172c0fa8> (a jrunx.scheduler.ThreadPool$Throttle)
> at
>
jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:423
> )
> at
>
jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:26
> 4)
> at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
>
>
> Whole log: http://icc.getfused.com/out.txt
>
>
> We have tried moving app. To a 2nd 7.1 and win 2.3k server.. Same issue.
> We
> moved the db to another machine, same issue. No other sites using the db
> seem to be having any issues.
>
> Anyone have any thoughts? Im about to toss in the towel and call adobe and
> burn 500.00 clams. Any help would be apprecaited, if it saves me the
> 500.00
> then a shopping spree at Amazon could be in your future.
>
> Thanks
>
> gabe
>
>
>





~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225489
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Cfmx 7.1 on 2.3k locking up once a day

2005-11-28 Thread Michael Dinowitz
min as in minheap and max as in maxheap? Does the jrun.exe current or 
virtual memory size ever exceed 1000?


> Min memory is set to 500, max to 1000, system seems to idle around 400 
> megs,
> up and down a little but perf. Mon shows no memory usages spikes.
>
> Client vars are disabled. Though sessions are turned on in the index.cfm
> file, very little use for them except for the content administrator login.
> Thought each page request does set three session vars by default. We have 
> no
> checkout, or anything that is complex in session scope.
>
> gabe
>
>
> -Original Message-
> From: Michael Dinowitz [mailto:[EMAIL PROTECTED]
> Sent: Monday, November 28, 2005 8:52 PM
> To: CF-Talk
> Subject: Re: Cfmx 7.1 on 2.3k locking up once a day
>
> What's your memory like on the machine? What's the JVM set as? Are you 
> using
> lots of session or client vars?
>
>
>> We just rolled out mx 7.1 on win 2.3k, Fusebox 4.1. It's a simple
>> application, just content management with 150-200k views a day.
>>
>> Without fail that mx server hangs in under 24 hours. Here is the evidence
>> we
>> have found.
>>
>> I started app. Server at the command line:
>>
>> When I peep'd in while it was hung it was dumping out the following:
>>
>> java.lang.RuntimeException: Request timed out waiting for an available
>> thread to run. You may want to consider increasing the number of active
>> threads in the thread pool.
>>
>> This is repeated, again and again.
>>
>> NOTE: found some articles suggesting ideas on this, turn of debug (done),
>> make sure db is responding (appears to be). Adjust some of the jrun.xml
>> settings (appears to already be done in 7.1)
>>
>> Perf Mon.
>> went back to before the crash, the only thing odd is the data seems to
>> miss
>> a beat nearing the crash and some data seems off the chart. But when we
>> examine logs we see no burst of traffic. I exported the perf. Mon data 
>> and
>> don't see any bursts.
>>
>> Did a stack dump while it was hung found a ton of these:
>>
>> "jrpp-108" prio=5 tid=0x04430d60 nid=0x1b08 in Object.wait()
>> [c4af000..c4afdb8]
>> at java.lang.Object.wait(Native Method)
>> - waiting on <0x172c0fa8> (a jrunx.scheduler.ThreadPool$Throttle)
>> at jrunx.scheduler.ThreadPool$Throttle.enter(ThreadPool.java:107)
>> - locked <0x172c0fa8> (a jrunx.scheduler.ThreadPool$Throttle)
>> at
>>
> jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:423
>> )
>> at
>>
> jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:26
>> 4)
>> at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
>>
>>
>> Whole log: http://icc.getfused.com/out.txt
>>
>>
>> We have tried moving app. To a 2nd 7.1 and win 2.3k server.. Same issue.
>> We
>> moved the db to another machine, same issue. No other sites using the db
>> seem to be having any issues.
>>
>> Anyone have any thoughts? Im about to toss in the towel and call adobe 
>> and
>> burn 500.00 clams. Any help would be apprecaited, if it saves me the
>> 500.00
>> then a shopping spree at Amazon could be in your future.
>>
>> Thanks
>>
>> gabe
>>
>>
>>
>
>
>
> 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225488
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: iMS or alternatives?

2005-11-28 Thread Michael Dinowitz
On a good day I've sent over a million posts through iMS for these lists. On 
an average day between a quarter to a half million. Very solid product, very 
fast and the things you can do with the posts are fantastic.


> I'm ready to give up on IIS SMTP for sending large volumes of mail from 
> CF,
> and am now looking at the inFusion Mail Server
> (http://www.coolfusion.com/products/ims/index.cfm).  Any opinions on this
> or other solutions?
>
> Thanks,
> Greg Saunders
>
> PS if anyone has expertise in sending email to large numbers of
> subscribers, getting on whitelists, etc., and is available for some
> consulting, can you please contact me off list?
>
>
> 

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225487
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Cfmx 7.1 on 2.3k locking up once a day

2005-11-28 Thread gabriel l smallman
Min memory is set to 500, max to 1000, system seems to idle around 400 megs,
up and down a little but perf. Mon shows no memory usages spikes.

Client vars are disabled. Though sessions are turned on in the index.cfm
file, very little use for them except for the content administrator login.
Thought each page request does set three session vars by default. We have no
checkout, or anything that is complex in session scope. 
 
gabe


-Original Message-
From: Michael Dinowitz [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 28, 2005 8:52 PM
To: CF-Talk
Subject: Re: Cfmx 7.1 on 2.3k locking up once a day

What's your memory like on the machine? What's the JVM set as? Are you using
lots of session or client vars?


> We just rolled out mx 7.1 on win 2.3k, Fusebox 4.1. It's a simple
> application, just content management with 150-200k views a day.
>
> Without fail that mx server hangs in under 24 hours. Here is the evidence 
> we
> have found.
>
> I started app. Server at the command line:
>
> When I peep'd in while it was hung it was dumping out the following:
>
> java.lang.RuntimeException: Request timed out waiting for an available
> thread to run. You may want to consider increasing the number of active
> threads in the thread pool.
>
> This is repeated, again and again.
>
> NOTE: found some articles suggesting ideas on this, turn of debug (done),
> make sure db is responding (appears to be). Adjust some of the jrun.xml
> settings (appears to already be done in 7.1)
>
> Perf Mon.
> went back to before the crash, the only thing odd is the data seems to 
> miss
> a beat nearing the crash and some data seems off the chart. But when we
> examine logs we see no burst of traffic. I exported the perf. Mon data and
> don't see any bursts.
>
> Did a stack dump while it was hung found a ton of these:
>
> "jrpp-108" prio=5 tid=0x04430d60 nid=0x1b08 in Object.wait()
> [c4af000..c4afdb8]
> at java.lang.Object.wait(Native Method)
> - waiting on <0x172c0fa8> (a jrunx.scheduler.ThreadPool$Throttle)
> at jrunx.scheduler.ThreadPool$Throttle.enter(ThreadPool.java:107)
> - locked <0x172c0fa8> (a jrunx.scheduler.ThreadPool$Throttle)
> at
>
jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:423
> )
> at
>
jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:26
> 4)
> at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
>
>
> Whole log: http://icc.getfused.com/out.txt
>
>
> We have tried moving app. To a 2nd 7.1 and win 2.3k server.. Same issue. 
> We
> moved the db to another machine, same issue. No other sites using the db
> seem to be having any issues.
>
> Anyone have any thoughts? Im about to toss in the towel and call adobe and
> burn 500.00 clams. Any help would be apprecaited, if it saves me the 
> 500.00
> then a shopping spree at Amazon could be in your future.
>
> Thanks
>
> gabe
>
>
> 



~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225486
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


iMS or alternatives?

2005-11-28 Thread Greg Saunders
I'm ready to give up on IIS SMTP for sending large volumes of mail from CF, 
and am now looking at the inFusion Mail Server 
(http://www.coolfusion.com/products/ims/index.cfm).  Any opinions on this 
or other solutions?

Thanks,
Greg Saunders

PS if anyone has expertise in sending email to large numbers of 
subscribers, getting on whitelists, etc., and is available for some 
consulting, can you please contact me off list?


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225485
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CF server version

2005-11-28 Thread Ryan Guill



On 11/28/05, CFDEV <[EMAIL PROTECTED]> wrote:
> What's the code to know the cf version on the server already?
>
> thanks
>
> Pat
>
>
> 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225484
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Cfmx 7.1 on 2.3k locking up once a day

2005-11-28 Thread Michael Dinowitz
What's your memory like on the machine? What's the JVM set as? Are you using 
lots of session or client vars?


> We just rolled out mx 7.1 on win 2.3k, Fusebox 4.1. It's a simple
> application, just content management with 150-200k views a day.
>
> Without fail that mx server hangs in under 24 hours. Here is the evidence 
> we
> have found.
>
> I started app. Server at the command line:
>
> When I peep'd in while it was hung it was dumping out the following:
>
> java.lang.RuntimeException: Request timed out waiting for an available
> thread to run. You may want to consider increasing the number of active
> threads in the thread pool.
>
> This is repeated, again and again.
>
> NOTE: found some articles suggesting ideas on this, turn of debug (done),
> make sure db is responding (appears to be). Adjust some of the jrun.xml
> settings (appears to already be done in 7.1)
>
> Perf Mon.
> went back to before the crash, the only thing odd is the data seems to 
> miss
> a beat nearing the crash and some data seems off the chart. But when we
> examine logs we see no burst of traffic. I exported the perf. Mon data and
> don't see any bursts.
>
> Did a stack dump while it was hung found a ton of these:
>
> "jrpp-108" prio=5 tid=0x04430d60 nid=0x1b08 in Object.wait()
> [c4af000..c4afdb8]
> at java.lang.Object.wait(Native Method)
> - waiting on <0x172c0fa8> (a jrunx.scheduler.ThreadPool$Throttle)
> at jrunx.scheduler.ThreadPool$Throttle.enter(ThreadPool.java:107)
> - locked <0x172c0fa8> (a jrunx.scheduler.ThreadPool$Throttle)
> at
> jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:423
> )
> at
> jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:26
> 4)
> at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
>
>
> Whole log: http://icc.getfused.com/out.txt
>
>
> We have tried moving app. To a 2nd 7.1 and win 2.3k server.. Same issue. 
> We
> moved the db to another machine, same issue. No other sites using the db
> seem to be having any issues.
>
> Anyone have any thoughts? Im about to toss in the towel and call adobe and
> burn 500.00 clams. Any help would be apprecaited, if it saves me the 
> 500.00
> then a shopping spree at Amazon could be in your future.
>
> Thanks
>
> gabe
>
>
> 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225483
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Cfmx 7.1 on 2.3k locking up once a day

2005-11-28 Thread gabriel l smallman
Thanks for the ideas rob couple thoughts on them,

1. Haven't tried seefusion, I will install and see what I can see.

2. queries are all short, we have 3 other cf server running db sites off the
same db server so I don't think that's it

3. Max requests are set to 6, which is about standard for twin cpu, I could
bump it for a test.

4. Long running pages, yes, but with fusebox it just tells you hey
"index.cfm" took X seconds.. But I have it on anyway and no sign of long
running pages except when fusebox reloads. 



-Original Message-
From: Robert Munn [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 28, 2005 7:34 PM
To: CF-Talk
Subject: Re: Cfmx 7.1 on 2.3k locking up once a day

could be lots of things. have you tried running seefusion to get more info
on the application server? have you checked your database to see if there
are long-running queries? i had a client that kept killing their site, and
it turned out that the whole problem was a mis-behaving query that would
take down the sql server and force timeouts on the cf server.

have you tried increasing your max request count in cf admin? try that.
start logging long-running requests if you are not yet, and see what comes
back. you might have a runaway page somewhere.

>We just rolled out mx 7.1 on win 2.3k, Fusebox 4.1. It's a simple 
>application, just content management with 150-200k views a day.
>
>Without fail that mx server hangs in under 24 hours. Here is the 
>evidence we have found.
>
>I started app. Server at the command line: 
>
>When I peep'd in while it was hung it was dumping out the following:
>
>java.lang.RuntimeException: Request timed out waiting for an available 
>thread to run. You may want to consider increasing the number of active 
>threads in the thread pool.
>
>This is repeated, again and again. 
>
>NOTE: found some articles suggesting ideas on this, turn of debug 
>(done), make sure db is responding (appears to be). Adjust some of the 
>jrun.xml settings (appears to already be done in 7.1)
>
>Perf Mon. 
>went back to before the crash, the only thing odd is the data seems to 
>miss a beat nearing the crash and some data seems off the chart. But 
>when we examine logs we see no burst of traffic. I exported the perf. 
>Mon data and don't see any bursts.
>
>Did a stack dump while it was hung found a ton of these:
>
>"jrpp-108" prio=5 tid=0x04430d60 nid=0x1b08 in Object.wait() 
>[c4af000..c4afdb8]
>   at java.lang.Object.wait(Native Method)
>   - waiting on <0x172c0fa8> (a jrunx.scheduler.ThreadPool$Throttle)
>   at jrunx.scheduler.ThreadPool$Throttle.enter(ThreadPool.java:107)
>   - locked <0x172c0fa8> (a jrunx.scheduler.ThreadPool$Throttle)
>   at
>jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.jav
>a:423
>)
>   at
>jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.ja
>va:26
>4)
>   at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
>
>
>Whole log: http://icc.getfused.com/out.txt
>
>
>We have tried moving app. To a 2nd 7.1 and win 2.3k server.. Same 
>issue. We moved the db to another machine, same issue. No other sites 
>using the db seem to be having any issues.
>
>Anyone have any thoughts? Im about to toss in the towel and call adobe 
>and burn 500.00 clams. Any help would be apprecaited, if it saves me 
>the 500.00 then a shopping spree at Amazon could be in your future.
>
>Thanks
>
>gabe



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225482
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


CF server version

2005-11-28 Thread CFDEV
What's the code to know the cf version on the server already?
 
thanks
 
Pat


~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225481
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Apache Virtual Hosts

2005-11-28 Thread Jennifer Gavin-Wear
It's the Missing Template handler deals with missing pages.

A mistake I made was to enter a full url into cf admin for the error
handling page.

Unfortunately this means no log is made of the missing template error and I
don't fancy writing a whole routine for logging them, so I'll leave as is
and in not too long people will latch onto the new pages.

Thanks to those who helped on this :-)




~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225480
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Cfmx 7.1 on 2.3k locking up once a day

2005-11-28 Thread Robert Munn
could be lots of things. have you tried running seefusion to get more info on 
the application server? have you checked your database to see if there are 
long-running queries? i had a client that kept killing their site, and it 
turned out that the whole problem was a mis-behaving query that would take down 
the sql server and force timeouts on the cf server.

have you tried increasing your max request count in cf admin? try that. start 
logging long-running requests if you are not yet, and see what comes back. you 
might have a runaway page somewhere.

>We just rolled out mx 7.1 on win 2.3k, Fusebox 4.1. It's a simple
>application, just content management with 150-200k views a day.
>
>Without fail that mx server hangs in under 24 hours. Here is the evidence we
>have found.
>
>I started app. Server at the command line: 
>
>When I peep'd in while it was hung it was dumping out the following:
>
>java.lang.RuntimeException: Request timed out waiting for an available
>thread to run. You may want to consider increasing the number of active
>threads in the thread pool.
>
>This is repeated, again and again. 
>
>NOTE: found some articles suggesting ideas on this, turn of debug (done),
>make sure db is responding (appears to be). Adjust some of the jrun.xml
>settings (appears to already be done in 7.1)
>
>Perf Mon. 
>went back to before the crash, the only thing odd is the data seems to miss
>a beat nearing the crash and some data seems off the chart. But when we
>examine logs we see no burst of traffic. I exported the perf. Mon data and
>don't see any bursts.
>
>Did a stack dump while it was hung found a ton of these:
>
>"jrpp-108" prio=5 tid=0x04430d60 nid=0x1b08 in Object.wait()
>[c4af000..c4afdb8]
>   at java.lang.Object.wait(Native Method)
>   - waiting on <0x172c0fa8> (a jrunx.scheduler.ThreadPool$Throttle)
>   at jrunx.scheduler.ThreadPool$Throttle.enter(ThreadPool.java:107)
>   - locked <0x172c0fa8> (a jrunx.scheduler.ThreadPool$Throttle)
>   at
>jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:423
>)
>   at
>jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:26
>4)
>   at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
>
>
>Whole log: http://icc.getfused.com/out.txt
>
>
>We have tried moving app. To a 2nd 7.1 and win 2.3k server.. Same issue. We
>moved the db to another machine, same issue. No other sites using the db
>seem to be having any issues.
>
>Anyone have any thoughts? Im about to toss in the towel and call adobe and
>burn 500.00 clams. Any help would be apprecaited, if it saves me the 500.00
>then a shopping spree at Amazon could be in your future.
>
>Thanks
>
>gabe

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225479
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Using request var in CFC - was : FREE Homesite/CF Studio CFC VTML Generator

2005-11-28 Thread Matthew Walker
Just pass it in as an argument. 

 

Ensure your init() method returns "this" to use the syntax above.
Alternatively, make a small struct of useful settings and pass that in. 


-Original Message-
From: Stan Winchester [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 29 November 2005 2:16 p.m.
To: CF-Talk
Subject: Using request var in CFC - was : FREE Homesite/CF Studio CFC
VTML Generator

What is best practise for passing dsn variable to cfc? In the CFMX (v
6.x) Bible shows using request variables to pass dsn, but Douglas says
that is Blasphemy!  Heresy!, well he was just kidding, but seriously
what is best practise? Should it be passed as an argument?

> >
> > Why should I pass the DSN to the CFC and use the request scope? I
> based this wizard off chapters in the CFMX Bible.
> 
> CFMX Bible, you say?  Blasphemy!  Heresy!  ha!  J/K  It is excepted 
> practise to never use vars outside the CFC.
> 



~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225478
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Using request var in CFC - was : FREE Homesite/CF Studio CFC VTML Generator

2005-11-28 Thread Sean Corfield
On 11/28/05, Stan Winchester <[EMAIL PROTECTED]> wrote:
> What is best practise for passing dsn variable to cfc?

It depends.

As you get more comfortable with OO, you'll feel less comfortable with
a CFC "reaching outside itself" for data.

What people often do with their data access CFCs is to pass the DSN
into the init() method and have the CFC remember it (in variables
scope - and assuming you save the CFC to application scope).

Then maybe you'd move to using an Inversion of Control container like
ColdSpring to handle the initialization and injection.

It's all down to what you feel comfortable with - as long as you keep
an eye on where you want to go.
--
Sean A Corfield -- http://corfield.org/
Got frameworks?

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225476
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Cfmx 7.1 on 2.3k locking up once a day

2005-11-28 Thread gabriel l smallman
We just rolled out mx 7.1 on win 2.3k, Fusebox 4.1. It's a simple
application, just content management with 150-200k views a day.

Without fail that mx server hangs in under 24 hours. Here is the evidence we
have found.

I started app. Server at the command line: 

When I peep'd in while it was hung it was dumping out the following:

java.lang.RuntimeException: Request timed out waiting for an available
thread to run. You may want to consider increasing the number of active
threads in the thread pool.

This is repeated, again and again. 

NOTE: found some articles suggesting ideas on this, turn of debug (done),
make sure db is responding (appears to be). Adjust some of the jrun.xml
settings (appears to already be done in 7.1)

Perf Mon. 
went back to before the crash, the only thing odd is the data seems to miss
a beat nearing the crash and some data seems off the chart. But when we
examine logs we see no burst of traffic. I exported the perf. Mon data and
don't see any bursts.

Did a stack dump while it was hung found a ton of these:

"jrpp-108" prio=5 tid=0x04430d60 nid=0x1b08 in Object.wait()
[c4af000..c4afdb8]
at java.lang.Object.wait(Native Method)
- waiting on <0x172c0fa8> (a jrunx.scheduler.ThreadPool$Throttle)
at jrunx.scheduler.ThreadPool$Throttle.enter(ThreadPool.java:107)
- locked <0x172c0fa8> (a jrunx.scheduler.ThreadPool$Throttle)
at
jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:423
)
at
jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:26
4)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)


Whole log: http://icc.getfused.com/out.txt


We have tried moving app. To a 2nd 7.1 and win 2.3k server.. Same issue. We
moved the db to another machine, same issue. No other sites using the db
seem to be having any issues.

Anyone have any thoughts? Im about to toss in the towel and call adobe and
burn 500.00 clams. Any help would be apprecaited, if it saves me the 500.00
then a shopping spree at Amazon could be in your future.

Thanks

gabe 


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225477
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Using request var in CFC - was : FREE Homesite/CF Studio CFC VTML Generator

2005-11-28 Thread Stan Winchester
What is best practise for passing dsn variable to cfc? In the CFMX (v 6.x) 
Bible shows using request variables to pass dsn, but Douglas says that is 
Blasphemy!  Heresy!, well he was just kidding, but seriously what is best 
practise? Should it be passed as an argument?

> >
> > Why should I pass the DSN to the CFC and use the request scope? I 
> based this wizard off chapters in the CFMX Bible.
> 
> CFMX Bible, you say?  Blasphemy!  Heresy!  ha!  J/K  It is excepted
> practise to never use vars outside the CFC.
> 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225475
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: pseudo-memory leak

2005-11-28 Thread Matthew Walker
> why can't a smart user has a userID 123457 using CF and set the
cookie?  

Because you'd hash the password and store that too. 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225474
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: FREE Homesite/CF Studio CFC VTML Generator

2005-11-28 Thread Stan Winchester
Tony, Thanks for the kind words!

I just put a new version up. See: 
http://www.aftershockweb.net/forums/messages.cfm/ThreadId/50/

Cheers, Stan

Thank you,
Aftershock Web Design, Inc.
by: Stan Winchester
President/Developer
http://www.aftershockweb.com/   

>stan.
>
>i just downloaded, and cannot wait to start using, what a GREAT idea.
>
>when you make changes, will you notify us here so we can download the new ones?
>
>tony
>
>On 11/28/05, Stan Winchester <[EMAIL PROTECTED]> wrote:
>>

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225473
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: pseudo-memory leak

2005-11-28 Thread Russ
The point is with client variables... There is no way that the user can mess
with it... Hashed or not... And even UUID's can be guessed... Not very
easily... But possible... But I guess it's sort of like trying to guess
sessions at that point...  

I still don't know how hashing something helps... Security by obscurity?  If
you take a userID 123456 and you hash it and it becomes ABCDEF (or whatever
the hash function produces), why can't a smart user has a userID 123457
using CF and set the cookie?  I mean he'd have to know that you're hashing
the userID and storing it in his cookie, but this is easily guessable... 



-Original Message-
From: Ryan Guill [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 28, 2005 7:03 PM
To: CF-Talk
Subject: Re: pseudo-memory leak

You would always hash any information that the user could mess with, no
matter what it is.  And you should have validation on all of it too.  the
same as if you had url variables.

Use an uuid for a userid if you are worried about them changing it. 
10 bucks says they dont guess anyone right but their own in 10 tries.
;)

On 11/28/05, Russ <[EMAIL PROTECTED]> wrote:
> Cookies are not very secure now, are they?  Lets say I was going to 
> let the user be logged in, and I wanted that to persist... So I would do..
>
> Client.userId=123456
>
> Now, the user has no way to change that... Now, lets say I store it in 
> the cookie...
>
> 
>
> Now, the user can examine their cookies and know their userid.  Worse, 
> they can change the userid, and be logged in as a different user.
>
> Russ
>
> -Original Message-
> From: Ryan Guill [mailto:[EMAIL PROTECTED]
> Sent: Monday, November 28, 2005 2:04 PM
> To: CF-Talk
> Subject: Re: pseudo-memory leak
>
> I have never really found a need for client variables.  What benefit 
> do they really offer?  The only time I could see using them is when 
> you had something that you might think about storing in a cookie.  I 
> rarely come across a need like that where I dont really want a cookie,
> and if I do I usually just store it in the session.   Am I missing
> something there?
>
> On 11/28/05, Russ <[EMAIL PROTECTED]> wrote:
> > Are you still running another server on BD?  How is BD handling this
> issue?
> >
> > -Original Message-
> > From: Michael Dinowitz [mailto:[EMAIL PROTECTED]
> > Sent: Monday, November 28, 2005 1:38 PM
> > To: CF-Talk
> > Subject: pseudo-memory leak
> >
> > I've written up my thoughts on what looks like the problem that the 
> > House of Fusion server was facing for the last few weeks. It's a 
> > problem that probably affects others but I'm not going to comment on 
> > how wide spread it is until the full write-up on Fusion Authority.
> > These are just my notes and thoughts.
> > http://www.blogoffusion.com/index.cfm/2005/11/28/pseudomemory-leak
> >
> >
> >
> >
>
>
>
> 



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225472
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: pseudo-memory leak

2005-11-28 Thread Ryan Guill
You would always hash any information that the user could mess with,
no matter what it is.  And you should have validation on all of it
too.  the same as if you had url variables.

Use an uuid for a userid if you are worried about them changing it. 
10 bucks says they dont guess anyone right but their own in 10 tries.
;)

On 11/28/05, Russ <[EMAIL PROTECTED]> wrote:
> Cookies are not very secure now, are they?  Lets say I was going to let the
> user be logged in, and I wanted that to persist... So I would do..
>
> Client.userId=123456
>
> Now, the user has no way to change that... Now, lets say I store it in the
> cookie...
>
> 
>
> Now, the user can examine their cookies and know their userid.  Worse, they
> can change the userid, and be logged in as a different user.
>
> Russ
>
> -Original Message-
> From: Ryan Guill [mailto:[EMAIL PROTECTED]
> Sent: Monday, November 28, 2005 2:04 PM
> To: CF-Talk
> Subject: Re: pseudo-memory leak
>
> I have never really found a need for client variables.  What benefit do they
> really offer?  The only time I could see using them is when you had
> something that you might think about storing in a cookie.  I rarely come
> across a need like that where I dont really want a cookie,
> and if I do I usually just store it in the session.   Am I missing
> something there?
>
> On 11/28/05, Russ <[EMAIL PROTECTED]> wrote:
> > Are you still running another server on BD?  How is BD handling this
> issue?
> >
> > -Original Message-
> > From: Michael Dinowitz [mailto:[EMAIL PROTECTED]
> > Sent: Monday, November 28, 2005 1:38 PM
> > To: CF-Talk
> > Subject: pseudo-memory leak
> >
> > I've written up my thoughts on what looks like the problem that the
> > House of Fusion server was facing for the last few weeks. It's a
> > problem that probably affects others but I'm not going to comment on
> > how wide spread it is until the full write-up on Fusion Authority.
> > These are just my notes and thoughts.
> > http://www.blogoffusion.com/index.cfm/2005/11/28/pseudomemory-leak
> >
> >
> >
> >
>
>
>
> 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225471
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Get path of page calling cfinvoke?

2005-11-28 Thread Andrew Spear
Is it possible for a CFC to determine the path of the physical template that is 
cfinvoking it?  I'm trying to have a base CFC determine what file is extending 
it.  Any ideas?

Thanks-
Andrew

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225470
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: pseudo-memory leak

2005-11-28 Thread Matthew Walker
In that case, wouldn't you want to store the password in the cookie too?
Perhaps hashed? 

-Original Message-
From: Russ [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 29 November 2005 12:46 p.m.
To: CF-Talk
Subject: RE: pseudo-memory leak

Cookies are not very secure now, are they?  Lets say I was going to let
the user be logged in, and I wanted that to persist... So I would do.. 
 
Client.userId=123456

Now, the user has no way to change that... Now, lets say I store it in
the cookie... 



Now, the user can examine their cookies and know their userid.  Worse,
they can change the userid, and be logged in as a different user.  

Russ 

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225469
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: pseudo-memory leak

2005-11-28 Thread Russ
Cookies are not very secure now, are they?  Lets say I was going to let the
user be logged in, and I wanted that to persist... So I would do.. 
 
Client.userId=123456

Now, the user has no way to change that... Now, lets say I store it in the
cookie... 



Now, the user can examine their cookies and know their userid.  Worse, they
can change the userid, and be logged in as a different user.  

Russ 

-Original Message-
From: Ryan Guill [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 28, 2005 2:04 PM
To: CF-Talk
Subject: Re: pseudo-memory leak

I have never really found a need for client variables.  What benefit do they
really offer?  The only time I could see using them is when you had
something that you might think about storing in a cookie.  I rarely come
across a need like that where I dont really want a cookie,
and if I do I usually just store it in the session.   Am I missing
something there?

On 11/28/05, Russ <[EMAIL PROTECTED]> wrote:
> Are you still running another server on BD?  How is BD handling this
issue?
>
> -Original Message-
> From: Michael Dinowitz [mailto:[EMAIL PROTECTED]
> Sent: Monday, November 28, 2005 1:38 PM
> To: CF-Talk
> Subject: pseudo-memory leak
>
> I've written up my thoughts on what looks like the problem that the 
> House of Fusion server was facing for the last few weeks. It's a 
> problem that probably affects others but I'm not going to comment on 
> how wide spread it is until the full write-up on Fusion Authority. 
> These are just my notes and thoughts.
> http://www.blogoffusion.com/index.cfm/2005/11/28/pseudomemory-leak
>
>
>
> 



~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225468
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Jump to an anchor link inside an iframe

2005-11-28 Thread Cornillon, Matthieu \(Consultant\)
This seems too easy an answer, so I probably missed something, but I'll
give it a try anyway.  You have page 1 currently sending variables to
page 2, which dynamically loads page 3 in an interior iframe.  Can you
not send the name of a named anchor along with it and have page 2 load
'pageThree.cfm#anchorName' instead of 'pageThree.cfm'?

HTH,
Matthieu

-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 28, 2005 5:23 PM
To: CF-Talk
Subject: OT: Jump to an anchor link inside an iframe


I have an app setup like so:

page 1 (the calling page)
page 2 (the called page)
page 3 (loads in an iframe inside page 2)

I have a link on page 1 which passes variables to the iframe (page 3)
inside page 2. It's dynamic so when I load page 2, I simply tack on the
variables to the iframe code and page 3 gets created correctly. Problem
is now the boss wants the links on page 1 to jump you straight to the
pertinent section of page 3 (inside page 2).

So the question is: Does anyone have code (or ideas) which would let me
jump from page 1 to the proper place on page 3 (inside page 2)?









~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225467
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CF7 and 64-bit CPUs

2005-11-28 Thread Dave Carabetta
On 11/28/05, Nat Papovich <[EMAIL PROTECTED]> wrote:
> I am running Win2k3 x64 on AMD64 and cannot get JRun4 U6 to use JVM 1.5 
> 64-bit. I keep getting the following error in cfusion-err.log (or 
> admin-err.log, when I try to start that service):
>
> Error loading: c:\Program Files\Java\jdk1.5.0_05\jre\bin\server\jvm.dll
>
> My steps were:
> 1. Install J2SDK 1.5.0_05 AMD64 edition
> 2. Install CFMX 7.01 with option #2, JRun server
> 3. Ran Updater 6 on Jrun 4
> 4. Point jvm.config java.home to the above JDK path
> 5. Attempt to start services
>
> Anyone have JRun operating under 64-bit JVM?
>

That's not supported and, as you saw, won't work I don't think:

http://www.macromedia.com/go/f760350a

Ben Forta did something similar a few months back to get CF/JRun up
and running. It might not be ideal, but this was his experience:

http://www.forta.com/blog/index.cfm?mode=entry&entry=A61BC32C-3048-80A9-EF40C1C41FA6A74A

Regards,
Dave.

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225466
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CF7 and 64-bit CPUs

2005-11-28 Thread Nat Papovich
p.s. I should say that I know MM states that it won't work, and a lot of people 
say it won't work, but I'm interested if anyone is under the radar and does 
have it working.

NAT

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225465
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


OT: Jump to an anchor link inside an iframe

2005-11-28 Thread Andy Matthews
I have an app setup like so:

page 1 (the calling page)
page 2 (the called page)
page 3 (loads in an iframe inside page 2)

I have a link on page 1 which passes variables to the iframe (page 3) inside
page 2. It's dynamic so when I load page 2, I simply tack on the variables
to the iframe code and page 3 gets created correctly. Problem is now the
boss wants the links on page 1 to jump you straight to the pertinent section
of page 3 (inside page 2).

So the question is: Does anyone have code (or ideas) which would let me jump
from page 1 to the proper place on page 3 (inside page 2)?







~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225464
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CF7 and 64-bit CPUs

2005-11-28 Thread Nat Papovich
I am running Win2k3 x64 on AMD64 and cannot get JRun4 U6 to use JVM 1.5 64-bit. 
I keep getting the following error in cfusion-err.log (or admin-err.log, when I 
try to start that service):

Error loading: c:\Program Files\Java\jdk1.5.0_05\jre\bin\server\jvm.dll

My steps were:
1. Install J2SDK 1.5.0_05 AMD64 edition
2. Install CFMX 7.01 with option #2, JRun server
3. Ran Updater 6 on Jrun 4
4. Point jvm.config java.home to the above JDK path
5. Attempt to start services

Anyone have JRun operating under 64-bit JVM?

NAT

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225463
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Apache Virtual Hosts

2005-11-28 Thread Dave Watts
> I think I must have just watched you doing a test. I removed 
> the entries in cf admin a few hours ago when they didn't do 
> anything.

Yes, I requested some nonexistent URLs on your server.

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!


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225462
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Custom Error Pages

2005-11-28 Thread Matt Robertson
On 11/27/05, ColdFusion <[EMAIL PROTECTED]> wrote:
> In a shared hosting environment where HELMs is used, you can establish
> custom error templates for 404 errors and others.

As you can see the answer to this is entirely dependent on your
hosting provider.  They can do something very simple in the missing
template handler that will redirect to
#cgi.http_host#/wherever/whatever.cfm if file exists, for example. 
That would be only a few lines of code and would work for every one of
their customers on that box.

But they have to decide to do it.

Another reason I love dedicated servers :-)

--
--mattRobertson--
Janitor, MSB Web Systems
mysecretbase.com

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225461
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: pseudo-memory leak

2005-11-28 Thread Michael Dinowitz
Not a worry. :)
Once I have some more information on specifics I'll have a full paper 
written up for Fusion Authority.


> Ohh, nevermind, I see it now.
>
> My applogies.
>
> On 11/28/05, Ryan Guill <[EMAIL PROTECTED]> wrote:
>> sorry, guess I haven't gotten the second email.. and no, i didnt look
>> at the blog.
>>
>> On 11/28/05, Michael Dinowitz <[EMAIL PROTECTED]> wrote:
>> > That's exactly what my example code did. It was in the second email and 
>> > in
>> > the blog.
>> >
>> > > Well in that case couldnt you look for the robot in the useragent
>> > > string?  I know googlebot at least has a specific user agent you can
>> > > look for.  Im sure yahoo does too.
>> > >
>> > > If you find that useragent, then dont create the client or session
>> > > vars/objs.
>> > >
>> >
>> >
>> >
>
> 

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225460
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Apache Virtual Hosts

2005-11-28 Thread Jennifer Gavin-Wear
I think I must have just watched you doing a test.  I removed the entries in
cf admin a few hours ago when they didn't do anything.


-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]
Sent: 28 November 2005 20:39
To: CF-Talk
Subject: RE: Apache Virtual Hosts


> Well, I tried both the site wide and the missing template handlers.
>
> http://www.chicksnchaps.co.uk/errors.cfm
>
> I placed an errors.cfm in the root of one of the sites with:
>
> 
> 
> http://www.chicksnchaps.co.uk/index.cfm";>
> 
> 
>
> But all I get is the standard error, no redirect as expected.
>
> Any ideas please?

I suspect that CF can't find your missing template handler. You can't just
put it in the root of one of the sites. I think you have to put in a valid
path based on a CF mapping.

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!




~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225459
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Apache Virtual Hosts

2005-11-28 Thread Dave Watts
> Well, I tried both the site wide and the missing template handlers.
> 
> http://www.chicksnchaps.co.uk/errors.cfm
> 
> I placed an errors.cfm in the root of one of the sites with:
> 
> 
> 
> http://www.chicksnchaps.co.uk/index.cfm";>
> 
> 
> 
> But all I get is the standard error, no redirect as expected.
> 
> Any ideas please?

I suspect that CF can't find your missing template handler. You can't just
put it in the root of one of the sites. I think you have to put in a valid
path based on a CF mapping.

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!


~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225458
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Apache Virtual Hosts

2005-11-28 Thread Jennifer Gavin-Wear
Has anyone got this working, please?


-Original Message-
From: Jennifer Gavin-Wear [mailto:[EMAIL PROTECTED]
Sent: 28 November 2005 13:33
To: CF-Talk
Subject: RE: Apache Virtual Hosts


Well, I tried both the site wide and the missing template handlers.

http://www.chicksnchaps.co.uk/errors.cfm

I placed an errors.cfm in the root of one of the sites with:



http://www.chicksnchaps.co.uk/index.cfm";>



But all I get is the standard error, no redirect as expected.

Any ideas please?

Jenny





~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225457
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: pseudo-memory leak

2005-11-28 Thread Ryan Guill
Ohh, nevermind, I see it now.

My applogies.

On 11/28/05, Ryan Guill <[EMAIL PROTECTED]> wrote:
> sorry, guess I haven't gotten the second email.. and no, i didnt look
> at the blog.
>
> On 11/28/05, Michael Dinowitz <[EMAIL PROTECTED]> wrote:
> > That's exactly what my example code did. It was in the second email and in
> > the blog.
> >
> > > Well in that case couldnt you look for the robot in the useragent
> > > string?  I know googlebot at least has a specific user agent you can
> > > look for.  Im sure yahoo does too.
> > >
> > > If you find that useragent, then dont create the client or session
> > > vars/objs.
> > >
> >
> >
> > 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225456
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: pseudo-memory leak

2005-11-28 Thread Ryan Guill
sorry, guess I haven't gotten the second email.. and no, i didnt look
at the blog.

On 11/28/05, Michael Dinowitz <[EMAIL PROTECTED]> wrote:
> That's exactly what my example code did. It was in the second email and in
> the blog.
>
> > Well in that case couldnt you look for the robot in the useragent
> > string?  I know googlebot at least has a specific user agent you can
> > look for.  Im sure yahoo does too.
> >
> > If you find that useragent, then dont create the client or session
> > vars/objs.
> >
>
>
> 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225455
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: pseudo-memory leak

2005-11-28 Thread Michael Dinowitz
That's exactly what my example code did. It was in the second email and in 
the blog.

> Well in that case couldnt you look for the robot in the useragent
> string?  I know googlebot at least has a specific user agent you can
> look for.  Im sure yahoo does too.
>
> If you find that useragent, then dont create the client or session 
> vars/objs.
>


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225454
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: pseudo-memory leak

2005-11-28 Thread Nathan Strutz
Ryan, you're right on, mainly.

The typical progression in developers, and/or in large projects, is,
start with client variables in the registry. Learn quickly not to do
that, switch to cookies until they can be stored in a database. With
traffic, you will eventually learn that your database / db server
can't handle the load, or the communication between CF and your DB is
becoming too great. Switch back to cookies until you can find a
permenant client var work-around.

Hopefully by this time client variable calls aren't too integrated
into your site, or making the switch will be a huge problem.
Meanwhile, if you store wddx in client variables, you will quickly
learn about the maximum size of a cookie, and the adverse effects it
has on different versions of popular browsers when that limit is
reached.

To make a long story short, don't do it:
http://www.dopefly.com/techblog/entry.cfm?entry=77

Of course, not everyone will have these problems. If you have a small
site with little traffic, even storing your client variables in the
registry may not hurt anything, and can be fine for years and years.

But when you build a popular site or get a few million hits a month,
you're in for a ride.

-nathan strutz
http://www.dopefly.com/


On 11/28/05, Ryan Guill <[EMAIL PROTECTED]> wrote:
> I have never really found a need for client variables.  What benefit
> do they really offer?  The only time I could see using them is when
> you had something that you might think about storing in a cookie.  I
> rarely come across a need like that where I dont really want a cookie,
> and if I do I usually just store it in the session.   Am I missing
> something there?
>
> On 11/28/05, Russ <[EMAIL PROTECTED]> wrote:
> > Are you still running another server on BD?  How is BD handling this issue?
> >
> > -Original Message-
> > From: Michael Dinowitz [mailto:[EMAIL PROTECTED]
> > Sent: Monday, November 28, 2005 1:38 PM
> > To: CF-Talk
> > Subject: pseudo-memory leak
> >
> > I've written up my thoughts on what looks like the problem that the House of
> > Fusion server was facing for the last few weeks. It's a problem that
> > probably affects others but I'm not going to comment on how wide spread it
> > is until the full write-up on Fusion Authority. These are just my notes and
> > thoughts.
> > http://www.blogoffusion.com/index.cfm/2005/11/28/pseudomemory-leak
> >
> >
> >
> >
>
> 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225453
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: pseudo-memory leak

2005-11-28 Thread Ryan Guill
Well in that case couldnt you look for the robot in the useragent
string?  I know googlebot at least has a specific user agent you can
look for.  Im sure yahoo does too.

If you find that useragent, then dont create the client or session vars/objs.

On 11/28/05, Jim Davis <[EMAIL PROTECTED]> wrote:
> > -Original Message-
> > From: Michael Dinowitz [mailto:[EMAIL PROTECTED]
> > Sent: Monday, November 28, 2005 2:10 PM
> > To: CF-Talk
> > Subject: Re: pseudo-memory leak
> >
> > I use them for a persisted signin when someone comes to the site. I can
> > use
> > a cookie instead but
> > As for the issue, think beyond client vars into what is created when your
> > site gets a 'hit'. If you have session vars, these are ramped up. If you
> > use
> > session objects, these are ramped up. My personal story used client vars,
> > but this affects more than just that.
>
> Exactly.
>
> I had the same kind of problems with FirstNight.org sometimes.  When the
> user traffic was high letting a bot start to index the site would kill it.
> Dead.
>
> We didn't use Client Variables on the site.  (I "solved" the issue by
> putting a restrictive robots.txt on the site for the busy times.)
>
> If Yahoo (or Google or whoever) hits your site even, say, 100 times an hour
> that's a 100 extra sessions (or whatever) that are created and have to be
> dealt with.  If it's more aggressive (as its clear Yahoo has become) you're
> looking at tens of thousands of extra "do nothing" user sessions.
>
> A lot of people load balance for expected user traffic... but really should
> also consider load balancing for additional search engine traffic as well.
>
> Jim Davis
>
>
>
> 

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225452
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: pseudo-memory leak

2005-11-28 Thread Jim Davis
> -Original Message-
> From: Michael Dinowitz [mailto:[EMAIL PROTECTED]
> Sent: Monday, November 28, 2005 2:10 PM
> To: CF-Talk
> Subject: Re: pseudo-memory leak
> 
> I use them for a persisted signin when someone comes to the site. I can
> use
> a cookie instead but
> As for the issue, think beyond client vars into what is created when your
> site gets a 'hit'. If you have session vars, these are ramped up. If you
> use
> session objects, these are ramped up. My personal story used client vars,
> but this affects more than just that.

Exactly.

I had the same kind of problems with FirstNight.org sometimes.  When the
user traffic was high letting a bot start to index the site would kill it.
Dead.

We didn't use Client Variables on the site.  (I "solved" the issue by
putting a restrictive robots.txt on the site for the busy times.)

If Yahoo (or Google or whoever) hits your site even, say, 100 times an hour
that's a 100 extra sessions (or whatever) that are created and have to be
dealt with.  If it's more aggressive (as its clear Yahoo has become) you're
looking at tens of thousands of extra "do nothing" user sessions.

A lot of people load balance for expected user traffic... but really should
also consider load balancing for additional search engine traffic as well.

Jim Davis



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225451
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: pseudo-memory leak

2005-11-28 Thread Michael Dinowitz
I use them for a persisted signin when someone comes to the site. I can use 
a cookie instead but
As for the issue, think beyond client vars into what is created when your 
site gets a 'hit'. If you have session vars, these are ramped up. If you use 
session objects, these are ramped up. My personal story used client vars, 
but this affects more than just that.


>I have never really found a need for client variables.  What benefit
> do they really offer?  The only time I could see using them is when
> you had something that you might think about storing in a cookie.  I
> rarely come across a need like that where I dont really want a cookie,
> and if I do I usually just store it in the session.   Am I missing
> something there?
>
> On 11/28/05, Russ <[EMAIL PROTECTED]> wrote:
>> Are you still running another server on BD?  How is BD handling this 
>> issue?
>>
>> -Original Message-
>> From: Michael Dinowitz [mailto:[EMAIL PROTECTED]
>> Sent: Monday, November 28, 2005 1:38 PM
>> To: CF-Talk
>> Subject: pseudo-memory leak
>>
>> I've written up my thoughts on what looks like the problem that the House 
>> of
>> Fusion server was facing for the last few weeks. It's a problem that
>> probably affects others but I'm not going to comment on how wide spread 
>> it
>> is until the full write-up on Fusion Authority. These are just my notes 
>> and
>> thoughts.
>> http://www.blogoffusion.com/index.cfm/2005/11/28/pseudomemory-leak
>>
>>
>>
>>
>
> 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225450
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Blogger Feed to homepage on CF5 ?

2005-11-28 Thread Donna French
Is there a way to feed my latest blogger.com post to my homepage on a
site running CF5?

Thanks for any help on this.

~ Donna

--
Donna French
[EMAIL PROTECTED]
http://dgfrench.blogspot.com

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225449
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: pseudo-memory leak

2005-11-28 Thread Ryan Guill
I have never really found a need for client variables.  What benefit
do they really offer?  The only time I could see using them is when
you had something that you might think about storing in a cookie.  I
rarely come across a need like that where I dont really want a cookie,
and if I do I usually just store it in the session.   Am I missing
something there?

On 11/28/05, Russ <[EMAIL PROTECTED]> wrote:
> Are you still running another server on BD?  How is BD handling this issue?
>
> -Original Message-
> From: Michael Dinowitz [mailto:[EMAIL PROTECTED]
> Sent: Monday, November 28, 2005 1:38 PM
> To: CF-Talk
> Subject: pseudo-memory leak
>
> I've written up my thoughts on what looks like the problem that the House of
> Fusion server was facing for the last few weeks. It's a problem that
> probably affects others but I'm not going to comment on how wide spread it
> is until the full write-up on Fusion Authority. These are just my notes and
> thoughts.
> http://www.blogoffusion.com/index.cfm/2005/11/28/pseudomemory-leak
>
>
>
> 

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225448
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: pseudo-memory leak

2005-11-28 Thread Michael Dinowitz
I'm not running any servers on BD. How BD handles this counts on what id 
does internally for client vars and when they are cleaned out. Note that I 
don't have 100% of the information on this as of yet and the memory 
structures for client variables might not work as I think or might clean out 
faster than I think.


> Are you still running another server on BD?  How is BD handling this 
> issue?
>
> -Original Message-
> From: Michael Dinowitz [mailto:[EMAIL PROTECTED]
> Sent: Monday, November 28, 2005 1:38 PM
> To: CF-Talk
> Subject: pseudo-memory leak
>
> I've written up my thoughts on what looks like the problem that the House 
> of
> Fusion server was facing for the last few weeks. It's a problem that
> probably affects others but I'm not going to comment on how wide spread it
> is until the full write-up on Fusion Authority. These are just my notes 
> and
> thoughts.
> http://www.blogoffusion.com/index.cfm/2005/11/28/pseudomemory-leak
>
>
>
> 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225447
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: FREE Homesite/CF Studio CFC VTML Generator

2005-11-28 Thread Douglas Knudsen
On 11/28/05, Stan Winchester <[EMAIL PROTECTED]> wrote:
> Douglas, Thanks for the feedback!

np...hey, DreamWeaver users already have this functionality.  Do you use DWMX?

>
> I just had a duh experience; I'll make the username/password optional as it 
> should be.
>
> "DataSource RootURL" is a typo, I'll change it to read "RootURL"
>
> Why should I pass the DSN to the CFC and use the request scope? I based this 
> wizard off chapters in the CFMX Bible.

CFMX Bible, you say?  Blasphemy!  Heresy!  ha!  J/K  It is excepted
practise to never use vars outside the CFC.

>
> I've never seen a forum that allows anonymous posts, and it does concern me a 
> bit. Maybe I could setup an "anonymous user" account, and make it an option 
> for a future release.

If i were to add just a post or two for quick feedback and not want to
be involved, anonymous would be good.

>
> I'll make max_id an option and also provide for autonumber. What is a 
> sequenced primary key; is that like autonumber? Should I make that an option 
> too?

No relation to autonumber, but in effect its the same thing, just not
automagik.  have to access it like so

sequencename.nextval

>
> As my of my clients are small businesses/non-profits, so I've never had to 
> use Oracle. I guess I need to put it on my dev server.
>
> As I have worked on our forums, shopping cart and other apps we are selling I 
> have found designing for cross platforms can be a pain, and there are 
> definite trade offs.

Yeah, in this case, IMHO, I'd say Oracle support is not needed.  Not
many non-profs can afford it, eh?  Of course there is Oracle Express
now.  Even so, depends on who your target audience will be eventually.
 Either way me thinks this will be a difficult thing to cover, not all
PKs are sequences, auto numbers, or even numbers.  But then if this is
used for maintenance/lookup tables that have such things, a wonderful
wizard

DK

>
> >ah, ok.  Neat idea. Some things to consider.
> >I never use a uid/password in my cfquery tags, why require these in
> >this wizard?
> >The above form requiring uid/pwd for a DSN is required after you have
> >browsed for a particular DSN to use.
> >The above form has a field 'DataSource RootURL', shouldn't this
> >actually be something like 'URL to Root of Application'?  I thought it
> >wanted the JDBC url or something.
> >Should really pass in the DSN to the CFC, not access the request scope
> >from within the CFC.
> >Allow anonymous posts on your forum :)
> >Looks cool and very helpful, a bit of a way to go to support different
> >DBs though, eh?  For instance, we use Oracle.  For numeric sequenced
> >primary keys, we use a sequence.  No need for computing max id to get
> >the next one.  But then this must be a tricky part to make universal
> >code for, eh?
> >
> >DK
> >
> >
> >
> >On 11/27/05, Stan Winchester <[EMAIL PROTECTED]> wrote:
> >>
>
> 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225446
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: SQL

2005-11-28 Thread Cornillon, Matthieu \(Consultant\)
> Thanks for that, but is there a way to copy a whole row...

This is a snippet of code that a friend here at work sent me for
creating a whole new row from a whole old row all within SQL.  It is
Oracle-based, and I have never used it myself, but I am pretty sure that
it does what you want.

Say you have CUSTOMERS
pkCUST
CUST_FName
CUST_LName
CUST_ZIPCode

and you want to copy the row with pkCUST=37 into a new row of the
same table.  Then just use this sequence of SQL statements:

CREATE TEMPORARY TABLE t SELECT myNewID  AS
pkCUST, CUST_Fname AS CUST_Fname, CUST_LName AS CUST_LName, CUST_ZIPCode
AS CUST_ZIPCode
FROM CUSTOMERS
WHERE pkCUST = 37;

INSERT INTO CUSTOMERS
SELECT * 
FROM t;

DROP TABLE t;

As I said, I have never used temporary tables, but I wish I had learned
about them long ago.  I think they are perfect for this sort of thing.
I am not sure that in the first statement you need the ColName AS
ColName statements; you might be able to just say * to get a copy of all
existing rows, but you'd have to test it.

Hope this helps,
Matthieu




~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225445
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: pseudo-memory leak

2005-11-28 Thread Russ
Are you still running another server on BD?  How is BD handling this issue? 

-Original Message-
From: Michael Dinowitz [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 28, 2005 1:38 PM
To: CF-Talk
Subject: pseudo-memory leak

I've written up my thoughts on what looks like the problem that the House of
Fusion server was facing for the last few weeks. It's a problem that
probably affects others but I'm not going to comment on how wide spread it
is until the full write-up on Fusion Authority. These are just my notes and
thoughts. 
http://www.blogoffusion.com/index.cfm/2005/11/28/pseudomemory-leak



~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225444
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


pseudo-memory leak

2005-11-28 Thread Michael Dinowitz
I've written up my thoughts on what looks like the problem that the House of 
Fusion server was facing for the last few weeks. It's a problem that probably 
affects others but I'm not going to comment on how wide spread it is until the 
full write-up on Fusion Authority. These are just my notes and thoughts. 
http://www.blogoffusion.com/index.cfm/2005/11/28/pseudomemory-leak

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225443
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


pseudo-memory leak

2005-11-28 Thread Michael Dinowitz
Sorry, meant to post the whole thing. :)

 For the last few weeks I've been having some problems with House of Fusion. 
The memory for the JRun.exe has been going through the roof and I didn't know 
why. The code was tight, nothing had really changed on the site, so what was 
up? The answer was Yahoo. 
In the last 3 weeks Yahoo has ramped up their indexing of sites. For a site as 
large as House of Fusion, this can take quite a bit of time. I've logged 2-4 
yahoo bot hits per second at some times. 
So how was yahoo the problem? Because of client variables. Not DB client 
variables and not even the dreaded registry client variables. Just simple 
cookie based client variables. It seems that when a client variable is set, a 
memory structure is also set for CF. Now each bot hit is assumed to be it's own 
session as it does not accept cookies. This mean each bot hit generates a 
memory structure of about 1k. Now this is not really a lot, but when you have a 
few 10's of thousands of hits from bots a day, it adds up. 
I'm still waiting on word from Macromedia as to when a client memory structure 
times out, but this seems to be the issue. 
So what's the solution? There are 4.
1. Increase your ram. If you can do this, then ramp up your memory as high as 
you can. This is not a perfect solution but it saves throwing time at the 
problem and gives you a 'buffer' against problems of this sort.
2. Set a robots.txt with a Crawl-delay setting. Mine is set to 1 second but you 
can set yours to something higher
3. set a different cfapplication for the most common bots. I use a simple 
regular expression to find key words that only exist in bots:





This will make sure that a client structure is NOT created for one of these 
bots.
4. Use the same regex to clean out the client structure after the bot finishes 
the page. Use structclear(client) to remove the data in the onRequestEnd.cfm, 
the onRequestEnd method of the application.cfc or in the template itself.
Bottom line is that while bots are great for indexing your content, they can 
cause havoc on your system when a lot of memory is assigned to what is 
essentially a 'dead session'. 

http://www.blogoffusion.com/index.cfm/2005/11/28/pseudomemory-leak


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225442
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: flash forms

2005-11-28 Thread Paul Stewart
Thanks Felipe your solution does solve the problem of getting flash forms 
them to at least display. Which i had initially. But having got them to 
display they won't show any data when i populate them with a query.

Thanks for trying my friend.

Anybody else? Someone must have run into this before?

Paul Stewart
Site Developer
[EMAIL PROTECTED]
www.whichfranchise.com

- Original Message - 
From: "Felipe Fernandes" <[EMAIL PROTECTED]>
To: "CF-Talk" 
Sent: Monday, November 28, 2005 5:46 PM
Subject: Re: flash forms


> Paul,
>
> You must have access to the /CFIDE/scripts/ directory to
> use flash forms, try ask your host, or if you have access to the web
> server alow it and it will probably wok fine.
>
> Felipe
>
> 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225441
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: REPOST: Crazy CF Mail Spooler problem - HELP!

2005-11-28 Thread Mark A Kruger
John,

Somewhere between 30 seconds to 120 seconds. I have it set to 15 seconds on
a server that sends out a steady trickly of time sensitive notifications.
That seems to work ok. But I'm not doing any "blast" email with
attachments - which seems to be your issue here.

-Mark


-Original Message-
From: Burns, John D [mailto:[EMAIL PROTECTED]
Sent: Monday, November 28, 2005 10:45 AM
To: CF-Talk
Subject: RE: REPOST: Crazy CF Mail Spooler problem - HELP!


What kind of value do you normally set for that? Again, I'll have to
check with the admin of the box as we don't have control of the cf
administrator or the box itself. Just filesystem access. It's a
government box located on a navy base.


John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer


-Original Message-
From: Mark A Kruger [mailto:[EMAIL PROTECTED]
Sent: Monday, November 28, 2005 11:24 AM
To: CF-Talk
Subject: RE: REPOST: Crazy CF Mail Spooler problem - HELP!

John,

One other thing to check would be the setting for how often CF checks
the spool directory. Makes sure it's not too fast. If the sheduler
checks the spool directory too often it might be stomping on it's own
threads. I've never seen this - but I do consider it when I'm setting
that value.

-Mark




~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225440
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: flash forms

2005-11-28 Thread Felipe Fernandes
Paul,

You must have access to the /CFIDE/scripts/ directory to
use flash forms, try ask your host, or if you have access to the web
server alow it and it will probably wok fine.

Felipe

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225439
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: flash forms - again

2005-11-28 Thread Felipe Fernandes
Here it goes, you must have access to the /CFIDE/scripts/ directory to
use flash forms, try ask your host, or if you have access to the web
server alow it and it will probably wok fine.

Felipe

On 11/28/05, Felipe Fernandes <[EMAIL PROTECTED]> wrote:
> Sorry, I don´t know what exactly you have to do, but every time I use
> flash form I need to ask my host to turn it on for that especific
> site, I guess it´s something about security, I´m gonna ask him what
> does he do and I´ll come back to you.
>
> Felipe
>
> On 11/28/05, Paul Stewart <[EMAIL PROTECTED]> wrote:
> > I just get blank forms throughout the application. Dumped and data is all
> > there, have full debugging enabled. Can see queries the lot.
> >
> > I have spent about 10 days building an app with flash forms. It works great
> > locally, But not on our live box. So it's a bit of a worry.
> >
> > Paul Stewart
> > Site Developer
> > [EMAIL PROTECTED]
> > www.whichfranchise.com
> >
> > - Original Message -
> > From: "Raymond Camden" <[EMAIL PROTECTED]>
> > To: "CF-Talk" 
> > Sent: Monday, November 28, 2005 3:55 PM
> > Subject: Re: flash forms - again
> >
> >
> > > So what do youget? Do you get a flash form w/ no data, or nothing?
> > > Have you confirmed that result.clientList has data? I'd add a dump
> > > before the form.
> > >
> > > On 11/28/05, Paul Stewart <[EMAIL PROTECTED]> wrote:
> > >> Here you go. It works fine locally.
> > >>
> > >> 
> > >> 
> > >> 
> > >>   
> > >> 
> > >>  > >> onClick="cliList.selectedIndex =
> > >> undefined; resetForm(); editShow.selected = true;" value="Add Client"/>
> > >>   
> > >> 
> > >>
> > >>
> > >> Paul Stewart
> > >> Site Developer
> > >> [EMAIL PROTECTED]
> > >> www.whichfranchise.com
> > >>
> > >> - Original Message -
> > >> From: "Raymond Camden" <[EMAIL PROTECTED]>
> > >> To: "CF-Talk" 
> > >> Sent: Monday, November 28, 2005 3:27 PM
> > >> Subject: Re: flash forms - again
> > >>
> > >>
> > >> > Got code?
> > >> >
> > >> > On 11/28/05, Paul Stewart <[EMAIL PROTECTED]> wrote:
> > >> >> Cant get Flash forms to display data from a query. Anybody heard of
> > >> >> this?
> > >> >>
> > >> >> Paul Stewart
> > >> >> Site Developer
> > >> >> [EMAIL PROTECTED]
> > >> >> www.whichfranchise.com
> > >> >>
> > >> >>
> > >> >>
> > >> >
> > >> >
> > >>
> > >>
> > >
> > >
> >
> > 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225438
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Blank CGI Variables

2005-11-28 Thread Dawson, Michael
That's kinda what I thought about IE jumping right in.  I wasn't sure
about the other browsers.

Thanks for the clarification.

M!ke 

-Original Message-
From: Munson, Jacob [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 28, 2005 10:56 AM
To: CF-Talk
Subject: RE: Blank CGI Variables

Mozilla based browsers support NTLM, AFAIK.  Here at work, there are a
lot of Intranet apps that require AD authentication, and when I hit them
with Firefox, I get a un/pw dialog, and I am allowed in after I enter my
network credentials.  Of course, in IE the user doesn't see the dialog,
they just get in (if they are already authenticated on the AD domain).
It would be nice if this were seamless in Firefox as well, but at least
it works.  :)

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225437
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: flash forms - again

2005-11-28 Thread Felipe Fernandes
Sorry, I don´t know what exactly you have to do, but every time I use
flash form I need to ask my host to turn it on for that especific
site, I guess it´s something about security, I´m gonna ask him what
does he do and I´ll come back to you.

Felipe

On 11/28/05, Paul Stewart <[EMAIL PROTECTED]> wrote:
> I just get blank forms throughout the application. Dumped and data is all
> there, have full debugging enabled. Can see queries the lot.
>
> I have spent about 10 days building an app with flash forms. It works great
> locally, But not on our live box. So it's a bit of a worry.
>
> Paul Stewart
> Site Developer
> [EMAIL PROTECTED]
> www.whichfranchise.com
>
> - Original Message -
> From: "Raymond Camden" <[EMAIL PROTECTED]>
> To: "CF-Talk" 
> Sent: Monday, November 28, 2005 3:55 PM
> Subject: Re: flash forms - again
>
>
> > So what do youget? Do you get a flash form w/ no data, or nothing?
> > Have you confirmed that result.clientList has data? I'd add a dump
> > before the form.
> >
> > On 11/28/05, Paul Stewart <[EMAIL PROTECTED]> wrote:
> >> Here you go. It works fine locally.
> >>
> >> 
> >> 
> >> 
> >>   
> >> 
> >>  >> onClick="cliList.selectedIndex =
> >> undefined; resetForm(); editShow.selected = true;" value="Add Client"/>
> >>   
> >> 
> >>
> >>
> >> Paul Stewart
> >> Site Developer
> >> [EMAIL PROTECTED]
> >> www.whichfranchise.com
> >>
> >> - Original Message -
> >> From: "Raymond Camden" <[EMAIL PROTECTED]>
> >> To: "CF-Talk" 
> >> Sent: Monday, November 28, 2005 3:27 PM
> >> Subject: Re: flash forms - again
> >>
> >>
> >> > Got code?
> >> >
> >> > On 11/28/05, Paul Stewart <[EMAIL PROTECTED]> wrote:
> >> >> Cant get Flash forms to display data from a query. Anybody heard of
> >> >> this?
> >> >>
> >> >> Paul Stewart
> >> >> Site Developer
> >> >> [EMAIL PROTECTED]
> >> >> www.whichfranchise.com
> >> >>
> >> >>
> >> >>
> >> >
> >> >
> >>
> >>
> >
> >
>
> 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225436
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: FREE Homesite/CF Studio CFC VTML Generator

2005-11-28 Thread Tony
stan.

i just downloaded, and cannot wait to start using, what a GREAT idea.

when you make changes, will you notify us here so we can download the new ones?

tony

On 11/28/05, Stan Winchester <[EMAIL PROTECTED]> wrote:
> Douglas, Thanks for the feedback!
>
> I just had a duh experience; I'll make the username/password optional as it 
> should be.
>
> "DataSource RootURL" is a typo, I'll change it to read "RootURL"
>
> Why should I pass the DSN to the CFC and use the request scope? I based this 
> wizard off chapters in the CFMX Bible.
>
> I've never seen a forum that allows anonymous posts, and it does concern me a 
> bit. Maybe I could setup an "anonymous user" account, and make it an option 
> for a future release.
>
> I'll make max_id an option and also provide for autonumber. What is a 
> sequenced primary key; is that like autonumber? Should I make that an option 
> too?
>
> As my of my clients are small businesses/non-profits, so I've never had to 
> use Oracle. I guess I need to put it on my dev server.
>
> As I have worked on our forums, shopping cart and other apps we are selling I 
> have found designing for cross platforms can be a pain, and there are 
> definite trade offs.
>
> >ah, ok.  Neat idea. Some things to consider.
> >I never use a uid/password in my cfquery tags, why require these in
> >this wizard?
> >The above form requiring uid/pwd for a DSN is required after you have
> >browsed for a particular DSN to use.
> >The above form has a field 'DataSource RootURL', shouldn't this
> >actually be something like 'URL to Root of Application'?  I thought it
> >wanted the JDBC url or something.
> >Should really pass in the DSN to the CFC, not access the request scope
> >from within the CFC.
> >Allow anonymous posts on your forum :)
> >Looks cool and very helpful, a bit of a way to go to support different
> >DBs though, eh?  For instance, we use Oracle.  For numeric sequenced
> >primary keys, we use a sequence.  No need for computing max id to get
> >the next one.  But then this must be a tricky part to make universal
> >code for, eh?
> >
> >DK
> >
> >
> >
> >On 11/27/05, Stan Winchester <[EMAIL PROTECTED]> wrote:
> >>
>
> 

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225435
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: FREE Homesite/CF Studio CFC VTML Generator

2005-11-28 Thread Stan Winchester
You can now post anonymous posts to:
http://www.aftershockweb.net/forums/forums.cfm/ConferenceId/8 regarding the 
FREE Homesite/CF Studio CFC VTML Generator

>Allow anonymous posts on your forum :)
>Looks cool and very helpful, a bit of a way to go to support different

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225434
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Multiple instances Custom Tags folder

2005-11-28 Thread Snake
Do u fancy giving me the run down on doing it that way>?
My reason for using the cfadmin instance manager is so that our support
staff can deploy new instances, without having to call me.
But it doesn#t appear to be working very well. 

-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED] 
Sent: 28 November 2005 15:41
To: CF-Talk
Subject: RE: Multiple instances Custom Tags folder

> This seems a but silly that your not meant to use the default 
> instance, otherwise it is a totally waste of memory as each instance 
> takes up around 200mb.

200 MB? That's a lot of memory for an instance that's not doing anything. On
my machine, an idle instance takes about 40-50 MB.

But anyway, yeah, that's why I prefer using the JRun Admin Console and an
EAR file for managing instances instead of the CF Administrator
functionality.

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!




~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225433
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: GIF Pipes/AJAX/async gateway

2005-11-28 Thread Bryan Stevenson
Thanks for all the replies from the CFAJAX, YODEL, and TACONITE folks!!

Looks like it's time to put on my reading hat and get some examples up and 
running (unless anyone has some simple samples to post...hehe).

I'll be back with some questions I'm sure.

Cheers

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com
- Original Message - 
From: "Dan G. Switzer, II" <[EMAIL PROTECTED]>
To: "CF-Talk" 
Sent: Monday, November 28, 2005 8:59 AM
Subject: RE: GIF Pipes/AJAX/async gateway


> Bryan,
>
> You might want to check out the Taconite project:
> http://taconite.sourceforge.net/
>
> One thing I do really like about this AJAX implementation is that you
> continue to work with what you already know--HTML (well, technically XHTML.)
>
> What makes this library a little different from most AJAX libraries is that
> instead of passing back just data, you're passing back XHTML fragments.
>
> The one caveat is that you must make sure to specify that the return doc
> type is of text/xml using the  tag.
>
> For example, server-side code would replace layer named "echoResponse" on
> the calling page with the contents inside the 
> tag.
>
> 
> 
> 
>  parseInBrowser="true">
> 
> Your name is: #url.name#
> Your gender is:
> #url.gender#
> Your age bracket is:
> #url.age#
> The tools you use is/are:
> #url.tools#
> 
> 
> 
>
> I do think there are times when just sending data is the most appropriate
> transport method, but there are also times when it's easier just to transfer
> the segment of HTML you want to display.
>
> -Dan
>
>>-Original Message-
>>From: Bryan Stevenson [mailto:[EMAIL PROTECTED]
>>Sent: Friday, November 25, 2005 6:26 PM
>>To: CF-Talk
>>Subject: GIF Pipes/AJAX/async gateway
>>
>>Hey All,
>>
>>Looking for opinions and code snippets for the various methods of behind
>>the scenes process (trying to avoid full page refreshes and having to use
>>Flash).
>>
>>I'm trying to do things like this:
>>
>>1) User selects a drop down optionthat fires off a request to get data
>>to populate 1 or more drop downs (and pre-loading all possible data and
>>using related multi-selects will not fly)
>>
>>2) User enters (or selects) a few or more fields of dataonce all bits
>>are entered/filled, a  request is fired off and the response is used to
>>change the content of various DIVs (or other containers).  For example 4
>>fields are required to narrow down what the user is trying to get atthe
>>request would then verify that the combo of those field values matches a
>>valid DB record).
>>
>>Assume I know nothing about this kind of processing (plz keep the acronyms
>>to a minimum). ;-)
>>
>>TIA
>>
>>Cheers
>>
>>Bryan Stevenson B.Comm.
>>VP & Director of E-Commerce Development
>>Electric Edge Systems Group Inc.
>>phone: 250.480.0642
>>fax: 250.480.1264
>>cell: 250.920.8830
>>e-mail: [EMAIL PROTECTED]
>>web: www.electricedgesystems.com
>>
>>
>
> 

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225432
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: flash forms

2005-11-28 Thread Dave Watts
> isn't CFIDE mapped by default when CF7 is intalled?

If you have multiple virtual web servers, the CFIDE directory will need to
be mapped to each as a virtual directory.

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!


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225431
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: flash forms

2005-11-28 Thread Paul Stewart
do you mean is there a mapping for CFIDE in cfadmin - yes there is 
C:\Inetpub\wwwroot\CFIDE

Or is it something to do with IIS? sorry no ex with IIS.

Paul Stewart
Site Developer
[EMAIL PROTECTED]
www.whichfranchise.com

- Original Message - 
From: "Raymond Camden" <[EMAIL PROTECTED]>
To: "CF-Talk" 
Sent: Monday, November 28, 2005 12:44 PM
Subject: Re: flash forms


> I'd check to ensure that CFIDE is a valid mapping for your server.
>
> On 11/28/05, Paul Stewart <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> When i try to run a simple flash form on our server i get a blank screen. 
>> Its my guess this some sort of security/permissions error on our box. As 
>> our host is very, very pedantic with security. I could contact them. But 
>> as they know zip about CF, and even less about flash forms, it would 
>> probaly take days, and much hair pulling out, to find out what must be a 
>> simple fix.
>>
>> We use IIS, CFMX version 7,0,1,116466
>>
>> Any ideas?
>>
>> Paul Stewart
>> Site Developer
>> [EMAIL PROTECTED]
>> www.whichfranchise.com
>>
>>
>>
>>
>
> 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225430
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Blank CGI Variables

2005-11-28 Thread Jillian Koskie
I am fine with it requiring IE to work --this is an Intranet application on a 
closed system.

The idea isthat yes, users just open the browser, their homepage is set to be 
my Intranet (we use Citrix, making this part easy as pie) and voila --they are 
in!  I specify their additional permissions via the active directory and we're 
good to go.

The problem is that Apache doesn't support NTLM like IIS, and so CGI variables 
just aren't cutting it --they are always coming up blank.

I -know- that Squid uses a module (internal to squid) to make the proxy server 
listen to NTLM authentication... so I -KNOW- it can be done.  The question 
is... how?!  I'm going nuts! :)

>It's been a while since I used this sort of authentication, but doesn't
>it require IE for it to work?
>
>I don't remember if non-IE browsers will support this process?
>
>As far as the feasibility of an "auto-login" as you speak, what if you
>want to open a browser, with your credentials, but at another person's
>computer?
>
>Your goal would require that user to close all apps, log off then let
>you log on.
>
>Personally, I like the ability to open a browser, anywhere on campus,
>regardless of who is logged-in on the console, and then log in as
>myself.
>
>If I wanted someone to test a page on my computer, I'd be damned if I
>would close all of my applications and log out just so they could log
>on.
>
>It is possible that your environment allows for this, but ours doesn't,
>so we just have the users log in each time they open their browser.
>Nobody, important, has complained yet.  ;^)
>
>M!ke
>
>-Original Message-
>From: Jillian Koskie [mailto:[EMAIL PROTECTED] 
>Sent: Monday, November 28, 2005 8:45 AM
>To: CF-Talk
>Subject: Blank CGI Variables
>
>Has anybody successfully used NTLM authentication on a Linux box with
>Apache?  There seem to be a few Apache modules that help accomplish this
>--hard to know if they are worth playing with.
>
>When I do a dump of my CGI variables, they are all blank.
>
>What I'm trying to accomplish:
>
>I am building an Intranet application and I would like it if my users
>did not have to login again.  It will only be accessed from inside the
>network.
>
>My environment:
>
>Linux / Apache 2 / CFMX 7 Enterprise

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225429
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: GIF Pipes/AJAX/async gateway

2005-11-28 Thread Dan G. Switzer, II
Bryan,

You might want to check out the Taconite project:
http://taconite.sourceforge.net/

One thing I do really like about this AJAX implementation is that you
continue to work with what you already know--HTML (well, technically XHTML.)

What makes this library a little different from most AJAX libraries is that
instead of passing back just data, you're passing back XHTML fragments. 

The one caveat is that you must make sure to specify that the return doc
type is of text/xml using the  tag. 

For example, server-side code would replace layer named "echoResponse" on
the calling page with the contents inside the 
tag.






Your name is: #url.name#
Your gender is:
#url.gender#
Your age bracket is:
#url.age#
The tools you use is/are:
#url.tools#




I do think there are times when just sending data is the most appropriate
transport method, but there are also times when it's easier just to transfer
the segment of HTML you want to display.

-Dan

>-Original Message-
>From: Bryan Stevenson [mailto:[EMAIL PROTECTED]
>Sent: Friday, November 25, 2005 6:26 PM
>To: CF-Talk
>Subject: GIF Pipes/AJAX/async gateway
>
>Hey All,
>
>Looking for opinions and code snippets for the various methods of behind
>the scenes process (trying to avoid full page refreshes and having to use
>Flash).
>
>I'm trying to do things like this:
>
>1) User selects a drop down optionthat fires off a request to get data
>to populate 1 or more drop downs (and pre-loading all possible data and
>using related multi-selects will not fly)
>
>2) User enters (or selects) a few or more fields of dataonce all bits
>are entered/filled, a  request is fired off and the response is used to
>change the content of various DIVs (or other containers).  For example 4
>fields are required to narrow down what the user is trying to get atthe
>request would then verify that the combo of those field values matches a
>valid DB record).
>
>Assume I know nothing about this kind of processing (plz keep the acronyms
>to a minimum). ;-)
>
>TIA
>
>Cheers
>
>Bryan Stevenson B.Comm.
>VP & Director of E-Commerce Development
>Electric Edge Systems Group Inc.
>phone: 250.480.0642
>fax: 250.480.1264
>cell: 250.920.8830
>e-mail: [EMAIL PROTECTED]
>web: www.electricedgesystems.com
>
>

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225428
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: FREE Homesite/CF Studio CFC VTML Generator

2005-11-28 Thread Stan Winchester
Douglas, Thanks for the feedback! 

I just had a duh experience; I’ll make the username/password optional as it 
should be.

“DataSource RootURL” is a typo, I’ll change it to read “RootURL”

Why should I pass the DSN to the CFC and use the request scope? I based this 
wizard off chapters in the CFMX Bible.

I’ve never seen a forum that allows anonymous posts, and it does concern me a 
bit. Maybe I could setup an “anonymous user” account, and make it an option 
for a future release. 

I’ll make max_id an option and also provide for autonumber. What is a 
sequenced primary key; is that like autonumber? Should I make that an option 
too?

As my of my clients are small businesses/non-profits, so I’ve never had to 
use Oracle. I guess I need to put it on my dev server. 

As I have worked on our forums, shopping cart and other apps we are selling I 
have found designing for cross platforms can be a pain, and there are definite 
trade offs.

>ah, ok.  Neat idea. Some things to consider.
>I never use a uid/password in my cfquery tags, why require these in
>this wizard?
>The above form requiring uid/pwd for a DSN is required after you have
>browsed for a particular DSN to use.
>The above form has a field 'DataSource RootURL', shouldn't this
>actually be something like 'URL to Root of Application'?  I thought it
>wanted the JDBC url or something.
>Should really pass in the DSN to the CFC, not access the request scope
>from within the CFC.
>Allow anonymous posts on your forum :)
>Looks cool and very helpful, a bit of a way to go to support different
>DBs though, eh?  For instance, we use Oracle.  For numeric sequenced
>primary keys, we use a sequence.  No need for computing max id to get
>the next one.  But then this must be a tricky part to make universal
>code for, eh?
>
>DK
>
>
>
>On 11/27/05, Stan Winchester <[EMAIL PROTECTED]> wrote:
>>

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225427
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Blank CGI Variables

2005-11-28 Thread Munson, Jacob
Mozilla based browsers support NTLM, AFAIK.  Here at work, there are a
lot of Intranet apps that require AD authentication, and when I hit them
with Firefox, I get a un/pw dialog, and I am allowed in after I enter my
network credentials.  Of course, in IE the user doesn't see the dialog,
they just get in (if they are already authenticated on the AD domain).
It would be nice if this were seamless in Firefox as well, but at least
it works.  :)

> -Original Message-
> From: Dawson, Michael [mailto:[EMAIL PROTECTED] 
> Sent: Monday, November 28, 2005 9:45 AM
> To: CF-Talk
> Subject: RE: Blank CGI Variables
> 
> It's been a while since I used this sort of authentication, 
> but doesn't
> it require IE for it to work?
> 
> I don't remember if non-IE browsers will support this process?
> 
> As far as the feasibility of an "auto-login" as you speak, what if you
> want to open a browser, with your credentials, but at another person's
> computer?
> 
> Your goal would require that user to close all apps, log off then let
> you log on.
> 
> Personally, I like the ability to open a browser, anywhere on campus,
> regardless of who is logged-in on the console, and then log in as
> myself.
> 
> If I wanted someone to test a page on my computer, I'd be damned if I
> would close all of my applications and log out just so they could log
> on.
> 
> It is possible that your environment allows for this, but 
> ours doesn't,
> so we just have the users log in each time they open their browser.
> Nobody, important, has complained yet.  ;^)
> 
> M!ke
> 
> -Original Message-
> From: Jillian Koskie [mailto:[EMAIL PROTECTED] 
> Sent: Monday, November 28, 2005 8:45 AM
> To: CF-Talk
> Subject: Blank CGI Variables
> 
> Has anybody successfully used NTLM authentication on a Linux box with
> Apache?  There seem to be a few Apache modules that help 
> accomplish this
> --hard to know if they are worth playing with.
> 
> When I do a dump of my CGI variables, they are all blank.
> 
> What I'm trying to accomplish:
> 
> I am building an Intranet application and I would like it if my users
> did not have to login again.  It will only be accessed from inside the
> network.
> 
> My environment:
> 
> Linux / Apache 2 / CFMX 7 Enterprise
> 
> 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225426
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: flash forms

2005-11-28 Thread Paul Stewart
isn't CFIDE mapped by default when CF7 is intalled?

Paul Stewart
Site Developer
[EMAIL PROTECTED]
www.whichfranchise.com

- Original Message - 
From: "Raymond Camden" <[EMAIL PROTECTED]>
To: "CF-Talk" 
Sent: Monday, November 28, 2005 3:27 PM
Subject: Re: flash forms


> Did you try what I suggested to the first poster? Ensuring CFIDE was a
> valid mapping?
>
> On 11/28/05, Artur Kordowski <[EMAIL PROTECTED]> wrote:
>> Hi Ray,
>>
>> thanks for the hint. But it still don't work after I have enabled it or a 
>> CF
>> restart.
>> Are there other options I have to set?
>>
>> Thanks, Artur
>>
>> -Original Message-
>> From: Raymond Camden [mailto:[EMAIL PROTECTED]
>> Sent: Monday, November 28, 2005 3:10 PM
>> To: CF-Talk
>> Subject: Re: flash forms
>>
>> You don't turn it on there. It is an option in the CF Admin.
>>
>> On 11/28/05, Artur Kordowski <[EMAIL PROTECTED]> wrote:
>> > It may be also a mistake in ActionScript. That's what drive me crazy 
>> > too!
>> > I've tried to enable the error output in the flex-config.xml but it
>> > don't work. So the best is you check the source. Step by step.
>> >
>> > Cheers, Artur
>> >
>>
>> --
>> ===
>> Raymond Camden, Director of Development for Mindseye, Inc 
>> (www.mindseye.com)
>>
>> Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)
>>
>> Email: [EMAIL PROTECTED]
>> Blog : ray.camdenfamily.com
>> Yahoo IM : cfjedimaster
>>
>> "My ally is the Force, and a powerful ally it is." - Yoda
>>
>>
>>
>>
>
> 

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225425
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Blank CGI Variables

2005-11-28 Thread Dawson, Michael
It's been a while since I used this sort of authentication, but doesn't
it require IE for it to work?

I don't remember if non-IE browsers will support this process?

As far as the feasibility of an "auto-login" as you speak, what if you
want to open a browser, with your credentials, but at another person's
computer?

Your goal would require that user to close all apps, log off then let
you log on.

Personally, I like the ability to open a browser, anywhere on campus,
regardless of who is logged-in on the console, and then log in as
myself.

If I wanted someone to test a page on my computer, I'd be damned if I
would close all of my applications and log out just so they could log
on.

It is possible that your environment allows for this, but ours doesn't,
so we just have the users log in each time they open their browser.
Nobody, important, has complained yet.  ;^)

M!ke

-Original Message-
From: Jillian Koskie [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 28, 2005 8:45 AM
To: CF-Talk
Subject: Blank CGI Variables

Has anybody successfully used NTLM authentication on a Linux box with
Apache?  There seem to be a few Apache modules that help accomplish this
--hard to know if they are worth playing with.

When I do a dump of my CGI variables, they are all blank.

What I'm trying to accomplish:

I am building an Intranet application and I would like it if my users
did not have to login again.  It will only be accessed from inside the
network.

My environment:

Linux / Apache 2 / CFMX 7 Enterprise

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225424
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: REPOST: Crazy CF Mail Spooler problem - HELP!

2005-11-28 Thread Burns, John D
What kind of value do you normally set for that? Again, I'll have to
check with the admin of the box as we don't have control of the cf
administrator or the box itself. Just filesystem access. It's a
government box located on a navy base. 


John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer
 

-Original Message-
From: Mark A Kruger [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 28, 2005 11:24 AM
To: CF-Talk
Subject: RE: REPOST: Crazy CF Mail Spooler problem - HELP!

John,

One other thing to check would be the setting for how often CF checks
the spool directory. Makes sure it's not too fast. If the sheduler
checks the spool directory too often it might be stomping on it's own
threads. I've never seen this - but I do consider it when I'm setting
that value.

-Mark


~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225423
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: REPOST: Crazy CF Mail Spooler problem - HELP!

2005-11-28 Thread Burns, John D
The weird thing is that CF did delete the first .cfmail file each time
through. This is on a unix server so I will have to check it with the
admin on the box to see if something like that is happening. The weird
thing is that we sent out the same email with only 1 attachment (instead
of 3) which was like 1k a couple days earlier and everything worked
fine. Other than the 2 new attachments we didn't change anything else in
the code to fire it off. 


John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer
 

-Original Message-
From: Mark A Kruger [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 28, 2005 11:19 AM
To: CF-Talk
Subject: RE: REPOST: Crazy CF Mail Spooler problem - HELP!

John,

Ok - check permissions on the directory. If you are running CF using a
user or domain account, and that user does not have "delete" permissions
on the directoy, then I might buy your theory :)

-Mark



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225422
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CFUnit Help ... assertEqualsBoolean?

2005-11-28 Thread Robert Blackburn
>>> testIsNullID(crTracker2._com.test.propertyTest): : expected:<...> but
>was:<...>
>
>Yes, this is copied verbatim and that is what really threw me.  What in the
>world does that mean?
>
>Robert - I will try out some of your suggestions, but as Sean said, what is
>the '...' as a value?
>
>-- Jeff


The CFUnit outputs will try to trim down longer strings so that if you only see 
the part that is different. For example, if you had these two strings:
   expected = "Hello World, My name is Rob";
   actual = "Hello World, My name is John";
Then the failure message might be something like

   testSomthing(com.myTest): : expected:<... is Rob> but was:<... is John>

This is done to make massages about of very long strings, like XML, readable. 
So when you see:

   testSomthing(com.myTest): : expected:<...> but was:<...>

That means that the comparison logic said that the two variables where 
different, but that when the logic tried to trim the strings down it could not 
find the part that was different.

You are probably correct, it is probable the formatting of the two boolean 
values are slightly different (1/0 vs yes/no vs true/false), so that the 
comparison failed, but the formatting couldn’t see the difference. I’ll 
have to investigate this and correct it.

Note: The reason I left CFUnit dynamically typed was because ColdFusion is 
dynamically typed. So therefore, in my opinion, so should its unit tests. So in 
CFUnit all simple values are the same in assertEquals. A bit, integer, floating 
number, and string are all the "simple" data type in CFML, so they are 
evaluated the same way in the unit tests. Therefore, if you have a method that 
returns type "numeric" you can still do this...

   assertEquals("some message", myMethod(), "123");

Even though the 123 is in quotes - and therefore would be considered a string 
in most strongly typed languages - ColdFusion still sees them both as simple 
values, and can still consider them to be equal. 

This does mean that when evaluating numbers (floating or integers) in CFUnit 
you may need to wrap them in the numberFormat() function to insure they are 
formatted the same. (However, when evaluating boolean values, I would suggest 
using assertTrue/false).
In CFUnit, if you wanted to assert that a variable was a specific type, then 
you would do one of these: 

   assertTrue("my message", IsBoolean( myvariable ) );
   assertTrue("my message", IsNumeric( myvariable ) );
   assertTrue("my message", IsDate( myvariable ) ); 
   assertTrue("my message", IsObject( myvariable ) ); 
   assertTrue("my message", IsXML( myvariable ) ); 
   assertTrue("my message", IsArray( myvariable ) ); 
   assertTrue("my message", IsStruct( myvariable ) ); 
   assertTrue("my message", IsQuery( myvariable ) ); 
   assertTrue("my message", IsBinary( myvariable ) );
   ect... ect...

For example:
   
   var expected = "123";
   var myvariable = myCFC.getNumber();
   assertTrue("The returned value is not a valid number", Is IsNumeric ( 
myvariable ) ); 
   assertEquals("The returned value is not the expected value",
   numberFormat(expected),
   numberFormat(myvariable)
   );

In this example, I would get a different (more informative) message if my 
returned value was not numeric then I would if it was not the expected value. 
(note: the assertEquals would still fail even if I did not assert the variables 
type prior to calling it, because numberFormat would throw an error, but that 
would be CFML thrown error, not a failure which I handle. Which you may or many 
not prefer)

As mentioned before, CFCUnit has typed assertions. I personally prefer a single 
assertion method myself, and feel this actually gives me more freedom. I guess 
it comes down to personal preference.

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225421
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: flash forms

2005-11-28 Thread Artur Kordowski
I'm using Apache 2.0.52/JVM 1.4.2 and I run the test page in the root dir,
where I can also access th CF Admin.
Can you tell me how I can disable the file exists check under Apache?

Artur

-Original Message-
From: Paul Hastings [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 28, 2005 4:54 PM
To: CF-Talk
Subject: Re: flash forms

Raymond Camden wrote:
> Did you try what I suggested to the first poster? Ensuring CFIDE was a 
> valid mapping?

also:
- turn off check if file exist (if under iis6) for the cfswf ext or whatever
it's called
- got the right permissions on the CFIDE dir
- *not* running JDK 1.5



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225420
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: flash forms

2005-11-28 Thread Artur Kordowski
Yes, I do. The mapping is valid. I will look later what the problem may be.
Thanks for your help.

Artur 

-Original Message-
From: Raymond Camden [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 28, 2005 4:28 PM
To: CF-Talk
Subject: Re: flash forms

Did you try what I suggested to the first poster? Ensuring CFIDE was a valid
mapping?

On 11/28/05, Artur Kordowski <[EMAIL PROTECTED]> wrote:
> Hi Ray,
>
> thanks for the hint. But it still don't work after I have enabled it 
> or a CF restart.
> Are there other options I have to set?
>
> Thanks, Artur
>
> -Original Message-
> From: Raymond Camden [mailto:[EMAIL PROTECTED]
> Sent: Monday, November 28, 2005 3:10 PM
> To: CF-Talk
> Subject: Re: flash forms
>
> You don't turn it on there. It is an option in the CF Admin.
>
> On 11/28/05, Artur Kordowski <[EMAIL PROTECTED]> wrote:
> > It may be also a mistake in ActionScript. That's what drive me crazy
too!
> > I've tried to enable the error output in the flex-config.xml but it 
> > don't work. So the best is you check the source. Step by step.
> >
> > Cheers, Artur
> >
>
> --
> ==
> = Raymond Camden, Director of Development for Mindseye, Inc 
> (www.mindseye.com)
>
> Member of Team Macromedia 
> (http://www.macromedia.com/go/teammacromedia)
>
> Email: [EMAIL PROTECTED]
> Blog : ray.camdenfamily.com
> Yahoo IM : cfjedimaster
>
> "My ally is the Force, and a powerful ally it is." - Yoda
>
>
>
> 



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225419
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: REPOST: Crazy CF Mail Spooler problem - HELP!

2005-11-28 Thread Mark A Kruger
John,

One other thing to check would be the setting for how often CF checks the
spool directory. Makes sure it's not too fast. If the sheduler checks the
spool directory too often it might be stomping on it's own threads. I've
never seen this - but I do consider it when I'm setting that value.

-Mark

-Original Message-
From: Burns, John D [mailto:[EMAIL PROTECTED]
Sent: Monday, November 28, 2005 9:08 AM
To: CF-Talk
Subject: RE: REPOST: Crazy CF Mail Spooler problem - HELP!


Mark-

My mistake, it is a cfloop, not a cfoutput. I wasn't thinking when I
typed.  We did pull up some of the cfmail files and all appeared to be
fine in there.  The way I found out what I did was by pulling up the
mailsent log file to see who the message had gone out to. As far as I
could tell the request had completed.  We actually deleted all the
cfmail files out of the directory to stop it so that people wouldn't get
any more and there were no new ones created. That's why I attributed it
to the deletion of the .cfmail files. Is that a separate process or do
the spooler do this when it is finished sending the mail? I'm still
leaning towards believing that it has something to do with the
attachments and how the mail was being generated because of the
individual  tags within the . I'm not sure if that's a
reasonable explanation, but so far that's the best I've come up with.


John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer


-Original Message-
From: Mark A Kruger [mailto:[EMAIL PROTECTED]
Sent: Monday, November 28, 2005 9:10 AM
To: CF-Talk
Subject: RE: REPOST: Crazy CF Mail Spooler problem - HELP!

John,

So you are saying this is a problem with the files in the spool
directory - AFTER you have created them and the request is not longer
running - yes? Did you open the .cfmail files and look at the headers?
For example, can you verify that the 2nd mail file did not have the
address of the first fellow in it?

You should not be able to do a "cfoutput query="" followed by a
"cfmail"... Both tags are "output" tags and it should generate a nested
output error.  If you are making it "succeed" the question is how?  Is
there a "try catch" block around the whole thing? It should be a
"cfloop", not a "cftouput".

-Mark

-Original Message-
From: Burns, John D [mailto:[EMAIL PROTECTED]
Sent: Monday, November 28, 2005 6:14 AM
To: CF-Talk
Subject: REPOST: Crazy CF Mail Spooler problem - HELP!


I'm guessing that a lot of people were out for the Thanksgiving holiday
so I'm reposting this hoping to get some help. Thanks!


John Burns
Certified Advanced ColdFusion MX Developer Wyle Laboratories, Inc. | Web
Developer


-Original Message-
From: Burns, John D [mailto:[EMAIL PROTECTED]
Sent: Friday, November 25, 2005 3:15 PM
To: CF-Talk
Subject: Crazy CF Mail Spooler problem - HELP!

Ok, this is a weird one. I'm hoping it's a bug or someone can explain
the reasoning behind it. We have a CF7 Enterprise installation on a UNIX
box and we just sent out an email to all of the users of our site. The
email had an 3 attachments (totaling about 150k) and went out to about
4,000 members.  We fired the email off and the noticed we were getting
the mail multiple times. We deleted all of the .cfmail files from the
spool directory and went back to look at our mailsent logs and found
some strange patterns. First of all, the spooler seemed to loop through
all of the cfmail files to send the emails and had gotten through about
5 iterations and didn't seem to be deleting any of the .cfmail files.
After further examination, it seemed like each time the spooler came in
and started sending mail it deleted the first .cfmail file after it
started it's loop. Therefore, the first guy on the list, got the email
only once, the second guy got it twice, the third guy three time and so
on.  So, to my questions:

1. How does the spooler/cleanup work? Is it the same process that sends
the mail and then deletes the file or is there a separate cleanup
process to remove old mail?
2. The developer who wrote the script to do this grabbed a query of
email address and did a  around a single 
tag. I know it's been talked about before on the list how  with
the QUERY attribute performs faster. Is this the sort of problem that
can be solved?
3. Because of the  nested in the  I'm
guessing the server has to create a separate temp file for the
attachments each time, then delete them. Does it just do it once if you
use  instead?

Any insite or suggestions or places to look would be EXTREMELY helpful.
Thanks a ton!

John Burns
Certified Advanced ColdFusion MX Developer Wyle Laboratories, Inc. | Web
Developer












~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://ww

Re: flash forms - again

2005-11-28 Thread Paul Stewart
I just get blank forms throughout the application. Dumped and data is all 
there, have full debugging enabled. Can see queries the lot.

I have spent about 10 days building an app with flash forms. It works great 
locally, But not on our live box. So it's a bit of a worry.

Paul Stewart
Site Developer
[EMAIL PROTECTED]
www.whichfranchise.com

- Original Message - 
From: "Raymond Camden" <[EMAIL PROTECTED]>
To: "CF-Talk" 
Sent: Monday, November 28, 2005 3:55 PM
Subject: Re: flash forms - again


> So what do youget? Do you get a flash form w/ no data, or nothing?
> Have you confirmed that result.clientList has data? I'd add a dump
> before the form.
>
> On 11/28/05, Paul Stewart <[EMAIL PROTECTED]> wrote:
>> Here you go. It works fine locally.
>>
>> 
>> 
>> 
>>   
>> 
>> > onClick="cliList.selectedIndex =
>> undefined; resetForm(); editShow.selected = true;" value="Add Client"/>
>>   
>> 
>>
>>
>> Paul Stewart
>> Site Developer
>> [EMAIL PROTECTED]
>> www.whichfranchise.com
>>
>> - Original Message -
>> From: "Raymond Camden" <[EMAIL PROTECTED]>
>> To: "CF-Talk" 
>> Sent: Monday, November 28, 2005 3:27 PM
>> Subject: Re: flash forms - again
>>
>>
>> > Got code?
>> >
>> > On 11/28/05, Paul Stewart <[EMAIL PROTECTED]> wrote:
>> >> Cant get Flash forms to display data from a query. Anybody heard of 
>> >> this?
>> >>
>> >> Paul Stewart
>> >> Site Developer
>> >> [EMAIL PROTECTED]
>> >> www.whichfranchise.com
>> >>
>> >>
>> >>
>> >
>> >
>>
>>
>
> 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225417
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: REPOST: Crazy CF Mail Spooler problem - HELP!

2005-11-28 Thread Mark A Kruger
John,

Ok - check permissions on the directory. If you are running CF using a user
or domain account, and that user does not have "delete" permissions on the
directoy, then I might buy your theory :)

-Mark


-Original Message-
From: Burns, John D [mailto:[EMAIL PROTECTED]
Sent: Monday, November 28, 2005 9:08 AM
To: CF-Talk
Subject: RE: REPOST: Crazy CF Mail Spooler problem - HELP!


Mark-

My mistake, it is a cfloop, not a cfoutput. I wasn't thinking when I
typed.  We did pull up some of the cfmail files and all appeared to be
fine in there.  The way I found out what I did was by pulling up the
mailsent log file to see who the message had gone out to. As far as I
could tell the request had completed.  We actually deleted all the
cfmail files out of the directory to stop it so that people wouldn't get
any more and there were no new ones created. That's why I attributed it
to the deletion of the .cfmail files. Is that a separate process or do
the spooler do this when it is finished sending the mail? I'm still
leaning towards believing that it has something to do with the
attachments and how the mail was being generated because of the
individual  tags within the . I'm not sure if that's a
reasonable explanation, but so far that's the best I've come up with.


John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer


-Original Message-
From: Mark A Kruger [mailto:[EMAIL PROTECTED]
Sent: Monday, November 28, 2005 9:10 AM
To: CF-Talk
Subject: RE: REPOST: Crazy CF Mail Spooler problem - HELP!

John,

So you are saying this is a problem with the files in the spool
directory - AFTER you have created them and the request is not longer
running - yes? Did you open the .cfmail files and look at the headers?
For example, can you verify that the 2nd mail file did not have the
address of the first fellow in it?

You should not be able to do a "cfoutput query="" followed by a
"cfmail"... Both tags are "output" tags and it should generate a nested
output error.  If you are making it "succeed" the question is how?  Is
there a "try catch" block around the whole thing? It should be a
"cfloop", not a "cftouput".

-Mark

-Original Message-
From: Burns, John D [mailto:[EMAIL PROTECTED]
Sent: Monday, November 28, 2005 6:14 AM
To: CF-Talk
Subject: REPOST: Crazy CF Mail Spooler problem - HELP!


I'm guessing that a lot of people were out for the Thanksgiving holiday
so I'm reposting this hoping to get some help. Thanks!


John Burns
Certified Advanced ColdFusion MX Developer Wyle Laboratories, Inc. | Web
Developer


-Original Message-
From: Burns, John D [mailto:[EMAIL PROTECTED]
Sent: Friday, November 25, 2005 3:15 PM
To: CF-Talk
Subject: Crazy CF Mail Spooler problem - HELP!

Ok, this is a weird one. I'm hoping it's a bug or someone can explain
the reasoning behind it. We have a CF7 Enterprise installation on a UNIX
box and we just sent out an email to all of the users of our site. The
email had an 3 attachments (totaling about 150k) and went out to about
4,000 members.  We fired the email off and the noticed we were getting
the mail multiple times. We deleted all of the .cfmail files from the
spool directory and went back to look at our mailsent logs and found
some strange patterns. First of all, the spooler seemed to loop through
all of the cfmail files to send the emails and had gotten through about
5 iterations and didn't seem to be deleting any of the .cfmail files.
After further examination, it seemed like each time the spooler came in
and started sending mail it deleted the first .cfmail file after it
started it's loop. Therefore, the first guy on the list, got the email
only once, the second guy got it twice, the third guy three time and so
on.  So, to my questions:

1. How does the spooler/cleanup work? Is it the same process that sends
the mail and then deletes the file or is there a separate cleanup
process to remove old mail?
2. The developer who wrote the script to do this grabbed a query of
email address and did a  around a single 
tag. I know it's been talked about before on the list how  with
the QUERY attribute performs faster. Is this the sort of problem that
can be solved?
3. Because of the  nested in the  I'm
guessing the server has to create a separate temp file for the
attachments each time, then delete them. Does it just do it once if you
use  instead?

Any insite or suggestions or places to look would be EXTREMELY helpful.
Thanks a ton!

John Burns
Certified Advanced ColdFusion MX Developer Wyle Laboratories, Inc. | Web
Developer












~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225416
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/lin

Re: Query result set; making it available to custom tags when query is run from CF template?

2005-11-28 Thread Larry Lyons
>I'm trying to improve a page I've written.  It's a calendar, and I'm
>using a custom tag to display the calendar itself.  On one view of the
>calendar, there can be four calls to that calendar custom tag (one for
>the current month, 3 for the next 3 months).  Rather than call the
>same stored procedure once per custom tag call, I'd rather call it
>once total from the CFM template, and then make that result set
>available to the custom tags.
>
>Is there a way to accomplish this, or do I just need to make multiple
>calls to get the recordset?
>
>Thanks,
>
>Pete

You could try putting the query into the request scope as in . The request scope is available to custom tags and 
child tags, as well as to all other pages associated with the calling page. 
From LiveDocs:
--
Used to hold data that must be available for the duration of one HTTP request. 
The Request scope is available to all pages, including custom tags and nested 
custom tags, that are processed in response to the request.

This scope is useful for nested (child/parent) tags. This scope can often be 
used in place of the Application scope, to avoid the need for locking 
variables. Several chapters discuss using the Request scope.
--
http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/variab35.htm

hth,
larry

--
Larry C. Lyons
Web Analyst
BEI Resources
American Type Culture Collection
email: llyons(at)atcc(dot)org
tel: 703.365.2700.2678
--

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225415
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: flash forms - again

2005-11-28 Thread Raymond Camden
So what do youget? Do you get a flash form w/ no data, or nothing?
Have you confirmed that result.clientList has data? I'd add a dump
before the form.

On 11/28/05, Paul Stewart <[EMAIL PROTECTED]> wrote:
> Here you go. It works fine locally.
>
> 
> 
> 
>   
> 
> 
>   
> 
>
>
> Paul Stewart
> Site Developer
> [EMAIL PROTECTED]
> www.whichfranchise.com
>
> - Original Message -
> From: "Raymond Camden" <[EMAIL PROTECTED]>
> To: "CF-Talk" 
> Sent: Monday, November 28, 2005 3:27 PM
> Subject: Re: flash forms - again
>
>
> > Got code?
> >
> > On 11/28/05, Paul Stewart <[EMAIL PROTECTED]> wrote:
> >> Cant get Flash forms to display data from a query. Anybody heard of this?
> >>
> >> Paul Stewart
> >> Site Developer
> >> [EMAIL PROTECTED]
> >> www.whichfranchise.com
> >>
> >>
> >>
> >
> >
>
> 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225414
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


REPOST: Scheduling a car archive

2005-11-28 Thread Rick Root
Posted this 11/18 with no response, thought I'd try one more time..

Rick Root wrote:
> Is it possible to schedule archiving of coldfusion settings and such?
> To a .car file.. I'd like to do this on an automated bases every night..
> 
> Rick

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225413
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Blank CGI Variables

2005-11-28 Thread Jillian Koskie
Has anybody successfully used NTLM authentication on a Linux box with Apache?  
There seem to be a few Apache modules that help accomplish this --hard to know 
if they are worth playing with.

When I do a dump of my CGI variables, they are all blank.

What I'm trying to accomplish:

I am building an Intranet application and I would like it if my users did not 
have to login again.  It will only be accessed from inside the network.

My environment:

Linux / Apache 2 / CFMX 7 Enterprise

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225412
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Custom Error Pages

2005-11-28 Thread Justin D. Scott
That is good to know.  I very rarely use charting, but if it ever breaks
somewhere I'll know where to look .

-Justin Scott
 

> -Original Message-
> From: Snake [mailto:[EMAIL PROTECTED] 
> Sent: Monday, November 28, 2005 8:14 AM
> To: CF-Talk
> Subject: RE: Custom Error Pages
> 
> If this setting is enabled it breaks cfcharting. 
> 
> -Original Message-
> From: Justin D. Scott [mailto:[EMAIL PROTECTED] 
> Sent: 28 November 2005 12:59
> To: CF-Talk
> Subject: RE: Custom Error Pages
> 
> Also remember that you can set IIS to "check if file exists" 
> before passing
> the request off to ColdFusion so that IIS would handle 404's 
> on cfm files as
> well.  It would depend on your host as to how that was set.
> 
> -Justin Scott
>  
> 
> > -Original Message-
> > From: Snake [mailto:[EMAIL PROTECTED]
> > Sent: Monday, November 28, 2005 6:24 AM
> > To: CF-Talk
> > Subject: RE: Custom Error Pages
> > 
> > Coldfusion 404 errors are not handled by IIS.
> > This is a setting in the CFADMIN that specifies a global 
> 404 page for 
> > missing .CFM pages.
> > 
> > As far as he regular IIS errors, you can specify any page you like, 
> > the extension doesn't matter.
> > 
> > --
> > Snake
> > 
> > -Original Message-
> > From: ColdFusion [mailto:[EMAIL PROTECTED]
> > Sent: 28 November 2005 01:29
> > To: CF-Talk
> > Subject: Custom Error Pages
> > 
> > In a shared hosting environment where HELMs is used, you 
> can establish 
> > custom error templates for 404 errors and others.
> > 
> > Now if I want to redirect 404 errors to an error page such as:
> > /errors/404.cfm
> > 
> > That should be fine, right? Or does it need to be an HTM page?
> > 
> > I was informed this:
> > I think the custom error pages work provided that you call 
> a URL that 
> > doesn't end with .cfm.
> > 
> > Anyone have more information about it?
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> 
> 
> 
> 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225411
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Multiple instances Custom Tags folder

2005-11-28 Thread Dave Watts
> This seems a but silly that your not meant to use the default 
> instance, otherwise it is a totally waste of memory as each 
> instance takes up around 200mb.

200 MB? That's a lot of memory for an instance that's not doing anything. On
my machine, an idle instance takes about 40-50 MB.

But anyway, yeah, that's why I prefer using the JRun Admin Console and an
EAR file for managing instances instead of the CF Administrator
functionality.

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!


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225410
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: flash forms - again

2005-11-28 Thread Paul Stewart
Here you go. It works fine locally.




  


  



Paul Stewart
Site Developer
[EMAIL PROTECTED]
www.whichfranchise.com

- Original Message - 
From: "Raymond Camden" <[EMAIL PROTECTED]>
To: "CF-Talk" 
Sent: Monday, November 28, 2005 3:27 PM
Subject: Re: flash forms - again


> Got code?
>
> On 11/28/05, Paul Stewart <[EMAIL PROTECTED]> wrote:
>> Cant get Flash forms to display data from a query. Anybody heard of this?
>>
>> Paul Stewart
>> Site Developer
>> [EMAIL PROTECTED]
>> www.whichfranchise.com
>>
>>
>>
>
> 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225409
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: flash forms

2005-11-28 Thread Paul Hastings
Raymond Camden wrote:
> Did you try what I suggested to the first poster? Ensuring CFIDE was a
> valid mapping?

also:
- turn off check if file exist (if under iis6) for the cfswf ext or 
whatever it's called
- got the right permissions on the CFIDE dir
- *not* running JDK 1.5

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225408
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: REPOST: Crazy CF Mail Spooler problem - HELP!

2005-11-28 Thread Burns, John D
My mistake, it is a cfloop, not a cfoutput. I wasn't thinking when I
typed.  We did pull up some of the cfmail files and all appeared to be
fine in there.  The way I found out what I did was by pulling up the
mailsent log file to see who the message had gone out to. As far as I
could tell the request had completed.  We actually deleted all the
cfmail files out of the directory to stop it so that people wouldn't get
any more and there were no new ones created. That's why I attributed it
to the deletion of the .cfmail files. Is that a separate process or do
the spooler do this when it is finished sending the mail? I'm still
leaning towards believing that it has something to do with the
attachments and how the mail was being generated because of the
individual  tags within the . I'm not sure if that's a
reasonable explanation, but so far that's the best I've come up with. 


John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer
 

-Original Message-
From: Mark A Kruger [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 28, 2005 9:10 AM
To: CF-Talk
Subject: RE: REPOST: Crazy CF Mail Spooler problem - HELP!

John,

So you are saying this is a problem with the files in the spool
directory - AFTER you have created them and the request is not longer
running - yes? Did you open the .cfmail files and look at the headers?
For example, can you verify that the 2nd mail file did not have the
address of the first fellow in it?

You should not be able to do a "cfoutput query="" followed by a
"cfmail"... Both tags are "output" tags and it should generate a nested
output error.  If you are making it "succeed" the question is how?  Is
there a "try catch" block around the whole thing? It should be a
"cfloop", not a "cftouput".

-Mark

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225407
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: flash forms

2005-11-28 Thread Raymond Camden
Did you try what I suggested to the first poster? Ensuring CFIDE was a
valid mapping?

On 11/28/05, Artur Kordowski <[EMAIL PROTECTED]> wrote:
> Hi Ray,
>
> thanks for the hint. But it still don't work after I have enabled it or a CF
> restart.
> Are there other options I have to set?
>
> Thanks, Artur
>
> -Original Message-
> From: Raymond Camden [mailto:[EMAIL PROTECTED]
> Sent: Monday, November 28, 2005 3:10 PM
> To: CF-Talk
> Subject: Re: flash forms
>
> You don't turn it on there. It is an option in the CF Admin.
>
> On 11/28/05, Artur Kordowski <[EMAIL PROTECTED]> wrote:
> > It may be also a mistake in ActionScript. That's what drive me crazy too!
> > I've tried to enable the error output in the flex-config.xml but it
> > don't work. So the best is you check the source. Step by step.
> >
> > Cheers, Artur
> >
>
> --
> ===
> Raymond Camden, Director of Development for Mindseye, Inc (www.mindseye.com)
>
> Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)
>
> Email: [EMAIL PROTECTED]
> Blog : ray.camdenfamily.com
> Yahoo IM : cfjedimaster
>
> "My ally is the Force, and a powerful ally it is." - Yoda
>
>
>
> 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225406
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


  1   2   >