RE: CFMX Taking all CPU Resources?

2002-07-28 Thread Chris Kief

Joe,

After reading your recent slew of posts, I feel compelled to speak up
(as others already have) for the majority of CFMX users on this list
that are doing just fine with the product. Sure, some things are running
slower (COM for sure) and waiting for page compilations on _development_
boxes is a slight nuisance. But in the overall scheme of things, most of
us are doing just fine with CFMX and we're finding similar results with
our production applications as Macromedia did with their tests (read the
performance brief:
http://www.macromedia.com/software/coldfusion/whitepapers/pdf/cfmx_perfo
rmance_brief.pdf). For what is basically a 1.0 release, it's pretty damn
good.

I believe this is where Sean and others are coming from on this. We're
not having your type of trouble with our code (I should note here that
I'm not paying attention to CPU usage. Rather I'm monitoring response
times and throughput which matter more to the end user's experience).

So this leads us to the question that Sean has been asking all along,
what are YOU doing in YOUR tests? The more information you can provide
about your specific situation the better. Response times and code
samples would be the best place to start. Have you run your app. with
debugging turned on? If so, what pages are bottlenecking the
application? Can we get some code samples from those?

There are many of us that would like to help in this situation, but I
have to agree with Sean, the lack of details on your behalf is making it
rather difficult. If you really want to get to the root of your issues,
give us a something more to go on.

Chris Kief



-Original Message-
From: Sean A Corfield [mailto:[EMAIL PROTECTED]] 
Sent: Sunday, July 28, 2002 10:46 PM
To: CF-Talk
Subject: Re: CFMX Taking all CPU Resources?

On Sunday, July 28, 2002, at 09:06 , Joe Eugene wrote:
>   If you have personally done some convincing TESTS ... we would
>   be happy to know your TEST results.

While I ran CF5 and CFMX (pre-release) on the same Win2K system, my 
experience was that CFMX was faster (once the templates had been
compiled 
on the first pass). CPU usage is higher with CFMX while it is compiling 
(obviously) but I'm not sure that the overall average CPU usage was
higher 
with CFMX. As I said, I don't believe 100% CPU usage is a problem per
se.

>   I am NOT asking you to comment on what "I" SAY/DO/TEST/CODE...
rather 
> YOUR
> TEST results...

But I am very interested in the *code* of your tests - I want to know
what 
the response times are with your code (something you haven't told us).

>   If you have none...why dont you tune yourself out of this
THREAD.

Perhaps if you were less unpleasant about this whole matter people would

be more co-operative with you? I'm trying really hard to help you here
but 
you haven't produced anything concrete for folks to work with. You've
just 
been nasty and pointed fingers all around - while other people are quite

clearly not having the same problems that you believe you are seeing.

Stop raising your voice and show us the code and the response times.

Sean A Corfield -- http://www.corfield.org/blog/

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


__
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Japanese plain text email

2002-07-28 Thread Paul Hastings

> The cfcontent cause the browser to want to download. Taking that out it
> still didn't work, but I'm guessing it might be similar to the solution,
> if there is one. Thanks.

ok, i stripped out all the extra " (for some reason i thought i needed to
escape these) & it seems to work on my cfmx box, ie i can send thai text as
thai & corrupt thai text as shift-js.  this is w/outlook as a mail client.




if this doesn't work, then just mail away without any encoding hinting & see
what happens..if that still fails then i guess you better have a look at
http://www.faqs.org/rfcs/rfc2047.html and see how
 (=?ISO-8859-1?Q?a?=) becomes (a) (the examples are above the bottom of the
page).


__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CFMX Taking all CPU Resources?

2002-07-28 Thread mark brinkworth

Joe,

Have you read the performance brief?

http://www.macromedia.com/software/coldfusion/whitepapers/pdf/cfmx_performance_brief.pdf

Bear in mind that the tests of scalability etc, are typically done using 
what would be a production environment. In development you have the overhead 
of compiling the templates, and certainly during this compilation phase the 
CPU utilisation peaks at up to 100%, but this is hardly reflective of what 
the user would see.

Cheers
Mark




>
>This is really funny over and over.. no facts/proofs of test by
>anybody
>I would really be exited and happy to know that CFMX Scales...
>If i can see some facts/proofs.
>
>Joe
>
>-Original Message-
>From: Sean A Corfield [mailto:[EMAIL PROTECTED]]
>Sent: Sunday, July 28, 2002 11:05 PM
>To: CF-Talk
>Subject: Re: CFMX Taking all CPU Resources?
>
>
>On Sunday, July 28, 2002, at 05:57 , Joe Eugene wrote:
> > I am having a hard time.. conveying the messsage..
>
>Yes, so it seems :)
>
> > We are talking about basic code in ColdFusion.. every answer i get
> > is like.. Custom Tags..(oh for CFMX u need to do this.. or this is
> > how you can Optimize.. for CFMX...CFC .. function blah blah)
>
>That's because you are not being specific about what code you are testing
>that is running slower. Show us your code!
>
> > Nobody has said.. alright.. if you code  this way in CF5.0
> > you can speed it up writing  like THIS(.) in CFMX.
>
>Because the code fragment you posted did not seem to be real code (a
>simple cfloop that created an impossibly long string). No one has
>suggested that such basic constructs need rewriting in CFMX.
>
>Custom tag invocation is definitely faster - several people here have
>testified to that.
>
> > ARE YOU GUYS SAYING THAT CFMX is 10% FASTER THAN CF5.0?
> > If so.. What were the TESTS you did to prove this?
>
>READ THE PERFORMANCE BRIEF! As Todd (I think?) said, people are beginning
>to tune you out because you are not providing any facts. Try to be
>specific. Show us code that you've tested that is slower on CFMX and then
>we can see why that is.
>
> > NOTE: Sean... i read quite a lot from here and there.. its awfully.. 
>hard
> > for me to write down who the author,published date.. etc everytime i 
>read
> > something.
>
>Why is it hard? You read something, you make a note of the article.
>
>C'mon Joe, you're whining a lot but you're not backing it up with details.
>.
>
>"If you're not annoying somebody, you're not really alive."
>-- Margaret Atwood
>
>
>
__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: CFMX Taking all CPU Resources?

2002-07-28 Thread Sean A Corfield

On Sunday, July 28, 2002, at 09:06 , Joe Eugene wrote:
>   If you have personally done some convincing TESTS ... we would
>   be happy to know your TEST results.

While I ran CF5 and CFMX (pre-release) on the same Win2K system, my 
experience was that CFMX was faster (once the templates had been compiled 
on the first pass). CPU usage is higher with CFMX while it is compiling 
(obviously) but I'm not sure that the overall average CPU usage was higher 
with CFMX. As I said, I don't believe 100% CPU usage is a problem per se.

>   I am NOT asking you to comment on what "I" SAY/DO/TEST/CODE... rather 
> YOUR
> TEST results...

But I am very interested in the *code* of your tests - I want to know what 
the response times are with your code (something you haven't told us).

>   If you have none...why dont you tune yourself out of this THREAD.

Perhaps if you were less unpleasant about this whole matter people would 
be more co-operative with you? I'm trying really hard to help you here but 
you haven't produced anything concrete for folks to work with. You've just 
been nasty and pointed fingers all around - while other people are quite 
clearly not having the same problems that you believe you are seeing.

Stop raising your voice and show us the code and the response times.

Sean A Corfield -- http://www.corfield.org/blog/

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

__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Possible to detect user clicking on top right "X" to close windows?

2002-07-28 Thread han peng

sigh... unsuccessful.

IE doesnt support onClose(). only Netscape 6+ supports that now.

i tried using onunload to call this function..

function leave()
{

window.open('dsp_logout.cfm','','toolbar=yes,menubar=yes,location=yes,height
=500,width=500');
}

but hav a problem coz... even reloading of the page will still activate the
script.. :(


hmm..so.. anyway i can chk for 'ALT+F4' or mousedown for the top right
corner.?



tried this too.. cant work.. :(

function leave()
{
 if (window.closed)
 {

window.open('dsp_logout.cfm','','toolbar=yes,menubar=yes,location=yes,height
=500,width=500');
 }
}


han


- Original Message -
From: "han peng" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, July 29, 2002 10:43 AM
Subject: Re: Possible to detect user clicking on top right "X" to close
windows?


> THANX..  i shall try that...
>  hope it works.. ;p
>
> - Original Message -
> From: "Jesse Houwing" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Friday, July 26, 2002 5:19 PM
> Subject: Re: Possible to detect user clicking on top right "X" to close
> windows?
>
>
> > han peng wrote:
> > > Hi.. hi... juz wondering...
> > >  is it possible for us to find out user clicking on the "CLose" icon
at
> top right corner?
> > >
> > > thinking of detecting it.. and then do a proper logging out of our
> website b4 closing the window.
> >
> > You could try to set the event onclose in javascript.
> >
> > Jesse
> >
> >
> >
> 
__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Date function

2002-07-28 Thread Matthew Walker

You should have the field type in the database as datetime. That might
fix it. 

If not then it's because LSParseDateTime() works on human dates, so you
could bypass it if it fails LSIsDate() maybe?


> -Original Message-
> From: NZERN National Office [mailto:[EMAIL PROTECTED]]
> Sent: Monday, 29 July 2002 3:51 p.m.
> To: CF-Talk
> Subject: Date function
> 
> 
> The function
> 
> ArticleDate = CreateODBCDate(LSParseDateTime(ArticleDate))
> 
> is working well processing a form field with dates.
> 
> However when I try an CFinsert to move this date from one 
> table to another
> the following error message comes.
> 
> the field type is nvarchar
> 
> the ISP has SQL 7.0 with CFserver 5.0
> 
> thanks in advance for any clues
> 
> Mike Peters
> 
> 
> NZERN National Office
> Mail: PO Box 9000, Christchurch
> (03) 338-5451
> E-mail: [EMAIL PROTECTED]
> http://www.bush.org.nz
> 
> 
> snip--
> --
> ---
> 
> An error occurred while evaluating the expression:
> 
> 
>  ArticleDate = CreateODBCDate(LSParseDateTime(ArticleDate))
> 
> 
> 
> Error near line 42, column 8.
> --
> --
> 
> 
> Parameter 1 of function LSParseDateTime which is now "{d 
> '2002-07-16'}" must
> be interpretable as a valid date/time value in the current locale
> 
> snip--
> --
> -
> 
> 
> 
> 
__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Japanese plain text email

2002-07-28 Thread Matthew Walker

> maybe (not tested):
> 
> 
>  value="text/plain;charset=""SHIFT_JIS""">

The cfcontent cause the browser to want to download. Taking that out it
still didn't work, but I'm guessing it might be similar to the solution,
if there is one. Thanks.
__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CFMX Taking all CPU Resources?

2002-07-28 Thread Joe Eugene

Original Topic of the Thread.

Windows 2000 boxes for same CONTENT..
  Testing done with "MICROSOFT WEB APPLICATION STRESS TOOL"
  JRun.exe is whats taking all the CPU on CFMX box
  Simulated 50 concurrent users on CFMX = average 85% CPU on 750Mhz
DUAL P3 Processor
  Simulated 50 concurrent users on CF5.0 = average 12% CPU on 600Mhz
Single P3 Processor

YES:maybe 3 Custom Tags,WDDX,Queries,Basic CF stuff
NO:CFX,COM,CORBA,Sessions/Client vars etc

Has anybody had the opportunity to do scale tests and have seen the above
Results..
 if so... Do you know what is causing this?
Saw some posts saying 100% CPU utilization is OK!!!.
I am interested in finding out what is causing this.. since the only change
was CF code run on CFMX Vs CF5.0
Thanks
Joe


__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CFMX Taking all CPU Resources?

2002-07-28 Thread Joe Eugene

Sean,
The purpose of this thread is NOT for us to comment on your ATTITUDE...
If you have a problem with the Thread and are NOT interested.. why even
follow it???
Otherwise
If you have personally done some convincing TESTS ... we would
be happy to know your TEST results.
I am NOT asking you to comment on what "I" SAY/DO/TEST/CODE... rather YOUR
TEST
results...
If you have none...why dont you tune yourself out of this THREAD.
Joe


-Original Message-
From: Sean A Corfield [mailto:[EMAIL PROTECTED]]
Sent: Sunday, July 28, 2002 11:29 PM
To: CF-Talk
Subject: Re: CFMX Taking all CPU Resources?


On Sunday, July 28, 2002, at 08:24 , Joe Eugene wrote:
> This is really funny over and over.. no facts/proofs of test by
> anybody

We're still waiting for you to furnish your facts and proof Joe...

> I would really be exited and happy to know that CFMX Scales...
> If i can see some facts/proofs.

Read the performance brief and take your issues up with Damon Cooper.

Sean A Corfield -- http://www.corfield.org/blog/

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


__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Date function

2002-07-28 Thread NZERN National Office

The function

ArticleDate = CreateODBCDate(LSParseDateTime(ArticleDate))

is working well processing a form field with dates.

However when I try an CFinsert to move this date from one table to another
the following error message comes.

the field type is nvarchar

the ISP has SQL 7.0 with CFserver 5.0

thanks in advance for any clues

Mike Peters


NZERN National Office
Mail: PO Box 9000, Christchurch
(03) 338-5451
E-mail: [EMAIL PROTECTED]
http://www.bush.org.nz


snip
---

An error occurred while evaluating the expression:


 ArticleDate = CreateODBCDate(LSParseDateTime(ArticleDate))



Error near line 42, column 8.



Parameter 1 of function LSParseDateTime which is now "{d '2002-07-16'}" must
be interpretable as a valid date/time value in the current locale

snip
-



__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: CFMX Taking all CPU Resources?

2002-07-28 Thread Sean A Corfield

On Sunday, July 28, 2002, at 08:24 , Joe Eugene wrote:
> This is really funny over and over.. no facts/proofs of test by
> anybody

We're still waiting for you to furnish your facts and proof Joe...

> I would really be exited and happy to know that CFMX Scales...
> If i can see some facts/proofs.

Read the performance brief and take your issues up with Damon Cooper.

Sean A Corfield -- http://www.corfield.org/blog/

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

__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CFMX Taking all CPU Resources?

2002-07-28 Thread Joe Eugene

This is really funny over and over.. no facts/proofs of test by
anybody
I would really be exited and happy to know that CFMX Scales...
If i can see some facts/proofs.

Joe

-Original Message-
From: Sean A Corfield [mailto:[EMAIL PROTECTED]]
Sent: Sunday, July 28, 2002 11:05 PM
To: CF-Talk
Subject: Re: CFMX Taking all CPU Resources?


On Sunday, July 28, 2002, at 05:57 , Joe Eugene wrote:
> I am having a hard time.. conveying the messsage..

Yes, so it seems :)

> We are talking about basic code in ColdFusion.. every answer i get
> is like.. Custom Tags..(oh for CFMX u need to do this.. or this is
> how you can Optimize.. for CFMX...CFC .. function blah blah)

That's because you are not being specific about what code you are testing
that is running slower. Show us your code!

> Nobody has said.. alright.. if you code  this way in CF5.0
> you can speed it up writing  like THIS(.) in CFMX.

Because the code fragment you posted did not seem to be real code (a
simple cfloop that created an impossibly long string). No one has
suggested that such basic constructs need rewriting in CFMX.

Custom tag invocation is definitely faster - several people here have
testified to that.

> ARE YOU GUYS SAYING THAT CFMX is 10% FASTER THAN CF5.0?
> If so.. What were the TESTS you did to prove this?

READ THE PERFORMANCE BRIEF! As Todd (I think?) said, people are beginning
to tune you out because you are not providing any facts. Try to be
specific. Show us code that you've tested that is slower on CFMX and then
we can see why that is.

> NOTE: Sean... i read quite a lot from here and there.. its awfully.. hard
> for me to write down who the author,published date.. etc everytime i read
> something.

Why is it hard? You read something, you make a note of the article.

C'mon Joe, you're whining a lot but you're not backing it up with details.
.

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


__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Japanese plain text email

2002-07-28 Thread Paul Hastings

> I'm coping with creating Japanese language pages using
> 
> 

maybe (not tested):







__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: CFMX Taking all CPU Resources?

2002-07-28 Thread Sean A Corfield

On Sunday, July 28, 2002, at 05:57 , Joe Eugene wrote:
> I am having a hard time.. conveying the messsage..

Yes, so it seems :)

> We are talking about basic code in ColdFusion.. every answer i get
> is like.. Custom Tags..(oh for CFMX u need to do this.. or this is
> how you can Optimize.. for CFMX...CFC .. function blah blah)

That's because you are not being specific about what code you are testing 
that is running slower. Show us your code!

> Nobody has said.. alright.. if you code  this way in CF5.0
> you can speed it up writing  like THIS(.) in CFMX.

Because the code fragment you posted did not seem to be real code (a 
simple cfloop that created an impossibly long string). No one has 
suggested that such basic constructs need rewriting in CFMX.

Custom tag invocation is definitely faster - several people here have 
testified to that.

> ARE YOU GUYS SAYING THAT CFMX is 10% FASTER THAN CF5.0?
> If so.. What were the TESTS you did to prove this?

READ THE PERFORMANCE BRIEF! As Todd (I think?) said, people are beginning 
to tune you out because you are not providing any facts. Try to be 
specific. Show us code that you've tested that is slower on CFMX and then 
we can see why that is.

> NOTE: Sean... i read quite a lot from here and there.. its awfully.. hard
> for me to write down who the author,published date.. etc everytime i read
> something.

Why is it hard? You read something, you make a note of the article.

C'mon Joe, you're whining a lot but you're not backing it up with details.
.

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

__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: quotation marks" and their rules...

2002-07-28 Thread Boardworks Interactive

You can escape double quotes in CFML simply by using two quotes next to
each other:



In other languages, such as JavaScript, this can be done using a
backslash:

var myString =  "This is \"my\" string";

You should also remove the ##'s from the variable, status_code.  Also
note that you should only need to use ##'s when you are outputting to
the screen, or when you are evaluating a variable in a string.


#myVar#


Enjoy!


SCOTT VAN VLIET
BRD.WRKS INTERACTIVE
T: 714.469.6805
E: [EMAIL PROTECTED]
 

-Original Message-
From: Ian Lurie [mailto:[EMAIL PROTECTED]] 
Sent: Sunday, July 28, 2002 7:36 PM
To: CF-Talk
Subject: RE: quotation marks" and their rules...

Try single quotes around 'status_code'...

-Original Message-
From: Tony Weeg [mailto:[EMAIL PROTECTED]]
Sent: Sunday, July 28, 2002 7:32 PM
To: CF-Talk
Subject: quotation marks" and their rules...




why doesnt this make sense?
it keeps buggin on me ARGHHH!

cheers

tony

tony weeg
[EMAIL PROTECTED]
www.revolutionwebdesign.com
rEvOlUtIoN wEb DeSiGn
410.334.6331 



__
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: quotation marks" and their rules...

2002-07-28 Thread Dave Watts

> 
> 
> why doesnt this make sense?

How would CF ever exit from that loop? Are you setting status_code equal to
an empty string within the loop?

In any case, try this:

 ...

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Possible to detect user clicking on top right "X" to close windows?

2002-07-28 Thread han peng

THANX..  i shall try that...
 hope it works.. ;p

- Original Message -
From: "Jesse Houwing" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, July 26, 2002 5:19 PM
Subject: Re: Possible to detect user clicking on top right "X" to close
windows?


> han peng wrote:
> > Hi.. hi... juz wondering...
> >  is it possible for us to find out user clicking on the "CLose" icon at
top right corner?
> >
> > thinking of detecting it.. and then do a proper logging out of our
website b4 closing the window.
>
> You could try to set the event onclose in javascript.
>
> Jesse
>
>
> 
__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: quotation marks" and their rules...

2002-07-28 Thread Ian Lurie

Try single quotes around 'status_code'...

-Original Message-
From: Tony Weeg [mailto:[EMAIL PROTECTED]]
Sent: Sunday, July 28, 2002 7:32 PM
To: CF-Talk
Subject: quotation marks" and their rules...




why doesnt this make sense?
it keeps buggin on me ARGHHH!

cheers

.tony

tony weeg
[EMAIL PROTECTED]
www.revolutionwebdesign.com
rEvOlUtIoN wEb DeSiGn
410.334.6331 


__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



quotation marks" and their rules...

2002-07-28 Thread Tony Weeg



why doesnt this make sense?
it keeps buggin on me ARGHHH!

cheers

..tony

tony weeg
[EMAIL PROTECTED]
www.revolutionwebdesign.com
rEvOlUtIoN wEb DeSiGn
410.334.6331 

__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



CFMX + Linux + Apache Segmentation Fault

2002-07-28 Thread Matt Goodman

Hi all,

I have just installed Coldfusion MX Server, but it keeps crashing my
Apache with the following error (in error_log):

[notice] child pid 27386 exit signal Segmentation fault (11)

There are dozens of them, after which comes the following:

[notice] jrApache[init] added/activated proxy 127.0.0.1:51010



I am running:

Slackware Linux w/ 2.4.18 Kernel
Apache 1.3.26 w/ PHP 4.2.2 and mod_perl 1.2.7


Please help, 18 posts on the Macromedia forum, and no response yet from
Macromedia.


Has anyone successfully got Linux + CFMX working? What could these seg
faults be from?

Thanks a ton.

__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: rem statement for cfml?

2002-07-28 Thread Dave Watts

> is there anything about this 
> language that you DONT know :)

Yes, there are many, many things I don't know, even about CFML, which is a
pretty simple language. I do know how to use comments, though.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: rem statement for cfml?

2002-07-28 Thread Tony Weeg

dave, come on dude, YOU ROCK!
is there anything about this 
language that you DONT know :)

thanks again.

from the brain of the master of cf to
my lowly eyes!

tony
[EMAIL PROTECTED]
MU-forever true dharma continue

-Original Message-
From: Tony Weeg [mailto:[EMAIL PROTECTED]] 
Sent: Sunday, July 28, 2002 9:17 PM
To: CF-Talk
Subject: rem statement for cfml?


is there something similar to the "rem"
statement in basic, in CFML?  i know
that i could use 
to do the same thing, but, i was just wondering.

cheers :)

.tony

tony weeg
[EMAIL PROTECTED]
www.revolutionwebdesign.com
rEvOlUtIoN wEb DeSiGn
410.334.6331


__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Japanese plain text email

2002-07-28 Thread Matthew Walker

I'm coping with creating Japanese language pages using



But now I need to send plain text Japanese emails. Anybody know how to
do this? 

Thanks.
__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: rem statement for cfml?

2002-07-28 Thread Dave Watts

> is there something similar to the "rem"
> statement in basic, in CFML?  i know
> that i could use 
> to do the same thing, but, i was just wondering.

Nope, that's it. In CFML, you've got CFML comments:



and in CFSCRIPT, you can use C and C++ style comments:

// single-line comment
/* multi-line comment */

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



rem statement for cfml?

2002-07-28 Thread Tony Weeg

is there something similar to the "rem"
statement in basic, in CFML?  i know
that i could use 
to do the same thing, but, i was just wondering.

cheers :)

..tony

tony weeg
[EMAIL PROTECTED]
www.revolutionwebdesign.com
rEvOlUtIoN wEb DeSiGn
410.334.6331

__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CFCONTENT Prompted Twice

2002-07-28 Thread Stacy Young

You're absolutely right Dave, thanks.


-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]] 
Sent: Sunday, July 28, 2002 8:48 PM
To: CF-Talk
Subject: RE: CFCONTENT Prompted Twice

> Anyone know how to stop the double prompt with IE for a 
> document download?
> I've got:
> 
>deletefile="yes">
> 
> #result#
> 
> On IE it prompts for download or Open etc...but does it 
> twice...Any ideas?

I'm surprised this works at all - you're using CFCONTENT both to fetch a
file from the filesystem and to return generated output. That is, if you're
going to CFOUTPUT something after the CFCONTENT tag, you shouldn't specify
the FILE and DELETEFILE attributes for CFCONTENT.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CFMX Taking all CPU Resources?

2002-07-28 Thread Joe Eugene

I am having a hard time.. conveying the messsage..

We are talking about basic code in ColdFusion.. every answer i get
is like.. Custom Tags..(oh for CFMX u need to do this.. or this is
how you can Optimize.. for CFMX...CFC .. function blah blah)

Nobody has said.. alright.. if you code  this way in CF5.0
you can speed it up writing  like THIS(.) in CFMX.
So basically are we all on the path BASICS of CF (CFQUERY,CFLOOP)
doesnt need optimization.. so if thats the theory...

ARE YOU GUYS SAYING THAT CFMX is 10% FASTER THAN CF5.0?
If so.. What were the TESTS you did to prove this?

Joe

NOTE: Sean... i read quite a lot from here and there.. its awfully.. hard
for
me to write down who the author,published date.. etc everytime i read
something.


-Original Message-
From: Sean A Corfield [mailto:[EMAIL PROTECTED]]
Sent: Saturday, July 27, 2002 11:39 PM
To: CF-Talk
Subject: Re: CFMX Taking all CPU Resources?


On Saturday, July 27, 2002, at 01:58 , Joe Eugene wrote:
> eg i saw a statment like 
> MM docs.. dont imply "/" anywhere.. so where "/" come from?
> it doesnt break the code.. so is this optimized CMFX?

Where did you see that statement? You need to start being a bit more
specific about things and then you'll get more helpful answers.

Maybe you saw code like that in the Coding Guidelines I published? Yes, we
are trying to require XHTML-compliant generated pages so it's more
consistent to have XHTML-compliant CFML source code. There's no magic here.
  Nothing to do with CFMX. In fact, requiring the closing / in tag
invocations means that our developers have to be more defensive when they
write custom tags because of the start/end executionMode thing (see my
recent blog entry for more details).

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


__
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CFCONTENT Prompted Twice

2002-07-28 Thread Dave Watts

> Anyone know how to stop the double prompt with IE for a 
> document download?
> I've got:
> 
>deletefile="yes">
> 
> #result#
> 
> On IE it prompts for download or Open etc...but does it 
> twice...Any ideas?

I'm surprised this works at all - you're using CFCONTENT both to fetch a
file from the filesystem and to return generated output. That is, if you're
going to CFOUTPUT something after the CFCONTENT tag, you shouldn't specify
the FILE and DELETEFILE attributes for CFCONTENT.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CFCONTENT Prompted Twice

2002-07-28 Thread Stacy Young

That didn't work...but no worries...I checked a previous site and it's now
double prompting...so must be IE6 itself...



-Original Message-
From: Jochem van Dieten [mailto:[EMAIL PROTECTED]] 
Sent: Sunday, July 28, 2002 8:12 PM
To: CF-Talk
Subject: Re: CFCONTENT Prompted Twice

Stacy Young wrote:
> Anyone know how to stop the double prompt with IE for a document download?
> I've got:
> 
> 
> #result#

How about:



Jochem


__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: CFCONTENT Prompted Twice

2002-07-28 Thread Jochem van Dieten

Stacy Young wrote:
> Anyone know how to stop the double prompt with IE for a document download?
> I've got:
> 
> 
> #result#

How about:



Jochem

__
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re[2]: CFMX Professional does not have web accessable log files

2002-07-28 Thread Critz

oi Stacy!!


apparently it wasn't supposed to be in 5.0 Pro either...they "fixed
the bug".


-
Critz
 Macromedia Certified Advanced ColdFusion Developer
  


Sunday, July 28, 2002, 7:54:10 PM, you wrote:

SY> Strange call...not like that feature is the make-or-break between pro and
SY> enterprise...just an inconvenience...*shrugs*


SY> -Original Message-
SY> From: Todd [mailto:[EMAIL PROTECTED]] 
SY> Sent: Sunday, July 28, 2002 7:04 PM
SY> To: CF-Talk
SY> Subject: RE: CFMX Professional does not have web accessable log files

SY> They dropped it in Pro because apparently it was never supposed to be there.

SY> ~Todd

SY> At 07:05 PM 7/28/2002 -0400, you wrote:
>>Only takes a few moments to build an interface for doing that though. Would
>>be interesting to know why they dropped that in Pro.
>>
>>Ken
>>
>>-Original Message-
>>From: Todd [mailto:[EMAIL PROTECTED]]
>>Sent: Sunday, July 28, 2002 6:35 PM
>>To: CF-Talk
>>Subject: RE: CFMX Professional does not have web accessable log files
>>
>>Yes.  You have to open them up via .log files in the directory. :(
>>
>>~Todd
>>
>>At 05:51 PM 7/28/2002 -0400, you wrote:
>> >Do you mean the log files don't exist or that there just isn't an
SY> existing
>> >interface for viewing/downloading them?
>> >
>> >Ken
>> >
>> >
>> >-Original Message-
>> >From: brook [mailto:[EMAIL PROTECTED]]
>> >Sent: Sunday, July 28, 2002 4:34 PM
>> >To: CF-Talk
>> >Subject: CFMX Professional does not have web accessable log files
>> >
>> >
>> >While it is not the end of the world, its worth noting that a feature
SY> used
>> >by just about everybody who was running CF PRO (3-5) has dissapeared in
>> >CFMX.
>> >I'm talking about the ability to view and download log files via the
>> >administrator. It is simply no longer available in CFMX PRO.

SY> Todd Rafferty ([EMAIL PROTECTED])
SY> http://www.web-rat.com/
SY> Team Macromedia Volunteer for ColdFusion
SY> http://www.macromedia.com/support/forums/team_macromedia/
SY> Moderator @ FlashCFM.com - http://www.flashCFM.com/
SY> Back-end Moderator @ Ultrashock.com - http://www.ultrashock.com/


SY> 
__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



CFCONTENT Prompted Twice

2002-07-28 Thread Stacy Young

Anyone know how to stop the double prompt with IE for a document download?
I've got:

 



#result#

 

On IE it prompts for download or Open etc...but does it twice...Any ideas?

Running MX

 



AVIS IMPORTANT: 
---
Les informations contenues dans le present document et ses pieces jointes sont 
strictement confidentielles et reservees a l'usage de la (des) personne(s) a qui il 
est adresse. Si vous n'etes pas le destinataire, soyez avise que toute divulgation, 
distribution, copie, ou autre utilisation de ces informations est strictement 
prohibee.  Si vous avez recu ce document par erreur, veuillez s'il vous plait 
communiquer immediatement avec l'expediteur et detruire ce document sans en faire de 
copie sous quelque forme.

WARNING:  
---
The information contained in this document and attachments is confidential and 
intended only for the person(s) named above.  If you are not the intended recipient 
you are hereby notified that any disclosure, copying, distribution, or any other use 
of the information is strictly prohibited.  If you have received this document by 
mistake, please notify the sender immediately and destroy this document and 
attachments without making any copy of any kind.


__
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



MX on Tomcat?

2002-07-28 Thread Chad Gray

Anyone think MX will ever be able to run on Tomcat?
 
I love CF, and like JSP.
 
It was very deceiving to put out the free demo of MX to the public that
runs both JSP, and CF.
 
I was under the impression that MX Pro would be able to run JSP pages.
I am not shelling out enterprise bucks to get that feature when Tomcat
is free.
 
 

__
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CFMX Professional does not have web accessable log files

2002-07-28 Thread Stacy Young

Strange call...not like that feature is the make-or-break between pro and
enterprise...just an inconvenience...*shrugs*


-Original Message-
From: Todd [mailto:[EMAIL PROTECTED]] 
Sent: Sunday, July 28, 2002 7:04 PM
To: CF-Talk
Subject: RE: CFMX Professional does not have web accessable log files

They dropped it in Pro because apparently it was never supposed to be there.

~Todd

At 07:05 PM 7/28/2002 -0400, you wrote:
>Only takes a few moments to build an interface for doing that though. Would
>be interesting to know why they dropped that in Pro.
>
>Ken
>
>-Original Message-
>From: Todd [mailto:[EMAIL PROTECTED]]
>Sent: Sunday, July 28, 2002 6:35 PM
>To: CF-Talk
>Subject: RE: CFMX Professional does not have web accessable log files
>
>Yes.  You have to open them up via .log files in the directory. :(
>
>~Todd
>
>At 05:51 PM 7/28/2002 -0400, you wrote:
> >Do you mean the log files don't exist or that there just isn't an
existing
> >interface for viewing/downloading them?
> >
> >Ken
> >
> >
> >-Original Message-
> >From: brook [mailto:[EMAIL PROTECTED]]
> >Sent: Sunday, July 28, 2002 4:34 PM
> >To: CF-Talk
> >Subject: CFMX Professional does not have web accessable log files
> >
> >
> >While it is not the end of the world, its worth noting that a feature
used
> >by just about everybody who was running CF PRO (3-5) has dissapeared in
> >CFMX.
> >I'm talking about the ability to view and download log files via the
> >administrator. It is simply no longer available in CFMX PRO.

Todd Rafferty ([EMAIL PROTECTED])
http://www.web-rat.com/
Team Macromedia Volunteer for ColdFusion
http://www.macromedia.com/support/forums/team_macromedia/
Moderator @ FlashCFM.com - http://www.flashCFM.com/
Back-end Moderator @ Ultrashock.com - http://www.ultrashock.com/


__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CFMX Professional does not have web accessable log files

2002-07-28 Thread Todd

They dropped it in Pro because apparently it was never supposed to be there.

~Todd

At 07:05 PM 7/28/2002 -0400, you wrote:
>Only takes a few moments to build an interface for doing that though. Would
>be interesting to know why they dropped that in Pro.
>
>Ken
>
>-Original Message-
>From: Todd [mailto:[EMAIL PROTECTED]]
>Sent: Sunday, July 28, 2002 6:35 PM
>To: CF-Talk
>Subject: RE: CFMX Professional does not have web accessable log files
>
>Yes.  You have to open them up via .log files in the directory. :(
>
>~Todd
>
>At 05:51 PM 7/28/2002 -0400, you wrote:
> >Do you mean the log files don't exist or that there just isn't an existing
> >interface for viewing/downloading them?
> >
> >Ken
> >
> >
> >-Original Message-
> >From: brook [mailto:[EMAIL PROTECTED]]
> >Sent: Sunday, July 28, 2002 4:34 PM
> >To: CF-Talk
> >Subject: CFMX Professional does not have web accessable log files
> >
> >
> >While it is not the end of the world, its worth noting that a feature used
> >by just about everybody who was running CF PRO (3-5) has dissapeared in
> >CFMX.
> >I'm talking about the ability to view and download log files via the
> >administrator. It is simply no longer available in CFMX PRO.

Todd Rafferty ([EMAIL PROTECTED])
http://www.web-rat.com/
Team Macromedia Volunteer for ColdFusion
http://www.macromedia.com/support/forums/team_macromedia/
Moderator @ FlashCFM.com - http://www.flashCFM.com/
Back-end Moderator @ Ultrashock.com - http://www.ultrashock.com/

__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CFMX Professional does not have web accessable log files

2002-07-28 Thread Ken Wilson

Only takes a few moments to build an interface for doing that though. Would
be interesting to know why they dropped that in Pro.

Ken




-Original Message-
From: Todd [mailto:[EMAIL PROTECTED]]
Sent: Sunday, July 28, 2002 6:35 PM
To: CF-Talk
Subject: RE: CFMX Professional does not have web accessable log files


Yes.  You have to open them up via .log files in the directory. :(

~Todd

At 05:51 PM 7/28/2002 -0400, you wrote:
>Do you mean the log files don't exist or that there just isn't an existing
>interface for viewing/downloading them?
>
>Ken
>
>
>-Original Message-
>From: brook [mailto:[EMAIL PROTECTED]]
>Sent: Sunday, July 28, 2002 4:34 PM
>To: CF-Talk
>Subject: CFMX Professional does not have web accessable log files
>
>
>While it is not the end of the world, its worth noting that a feature used
>by just about everybody who was running CF PRO (3-5) has dissapeared in
>CFMX.
>I'm talking about the ability to view and download log files via the
>administrator. It is simply no longer available in CFMX PRO.
>
>
>
>
>
>

__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CFMX Professional does not have web accessable log files

2002-07-28 Thread Todd

Yes.  You have to open them up via .log files in the directory. :(

~Todd

At 05:51 PM 7/28/2002 -0400, you wrote:
>Do you mean the log files don't exist or that there just isn't an existing
>interface for viewing/downloading them?
>
>Ken
>
>
>-Original Message-
>From: brook [mailto:[EMAIL PROTECTED]]
>Sent: Sunday, July 28, 2002 4:34 PM
>To: CF-Talk
>Subject: CFMX Professional does not have web accessable log files
>
>
>While it is not the end of the world, its worth noting that a feature used
>by just about everybody who was running CF PRO (3-5) has dissapeared in
>CFMX.
>I'm talking about the ability to view and download log files via the
>administrator. It is simply no longer available in CFMX PRO.
>
>
>
>
>
>
__
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CGI.HTTP_REFERER

2002-07-28 Thread Dave Watts

> A firewall would have to _strip_ the referer header from 
> the HTTP request... a lot of work, and I can't imagine what 
> additional security would be gained from doing this.

Imagine that you've got a relatively unsavory site with a bunch of links to
less unsavory sites. You might not want to have the "good" site log the fact
that you came from the "bad" site. A minor issue, but there are those
concerned enough about their privacy to care about this. In any case, it's
not a lot of work for a firewall to strip that one header.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: cfmx service fails on startup

2002-07-28 Thread Dave Watts

> Is anyone still having an issue with the cfmx service failing 
> on startup with a service-specific 2 error?

Are you able to start the service manually? I'm encountering something
similar in our classroom machines (which have a ton of stuff installed) -
after bootup, the CF MX service fails to start, but can then be started
manually. I suspect it might have something to do with all the other stuff
installed, such as the .NET Framework, SQL Server, and so on.

I had a similar problem with our classroom machines, in which the CF MX ODBC
services wouldn't start at all. The fix was simply to uninstall and
reinstall CF MX - it had been installed before some other things, but
installing it as the last piece of software seemed to make the difference.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Convertnig MS Access database to SQL server

2002-07-28 Thread Ewok

Hi,
Thanks for the replies. I was converting using the SQL  Servers Import and
Export.
I found this 

http://www.web-hosting.com/support/nt/access-to-sql.html

And did it through access's upsizing wizard and it come out fine

Thanks again

- Original Message -
From: "Matthew Friedman" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Sunday, July 28, 2002 5:11 PM
Subject: RE: Convertnig MS Access database to SQL server


> When you use the upsizing wizard you can define each field.
>
> So make sure that you are telling the SQL that you want the Access PK to
be
> PK.
>
> matt
>
> -Original Message-
> From: Ewok [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, July 28, 2002 4:48 PM
> To: CF-Talk
> Subject: Convertnig MS Access database to SQL server
>
>
> Hi me again :)
>
>
>
> I just converted an access database to SQL server for the first time. I
had
> all the primary keys set to autonumber's (no duplicates) in access but
when
> I converted to SQL server it simply made them Int's.
>
>
>
> I had to go through and set each table's primary key to identity. Is there
> something I'm missing that will do this for me when I convert so I don't
> have to manually set them every time or should I write some code to get
the
> max id of the primary key and increment it before I insert the new row?
>
>
>
> 
__
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: WINNT Mapped Drive Permissions

2002-07-28 Thread Dave Watts

> > My Files needed to check are on a mapped
> > drive but it seems CFMX can not see them.
>
> Make sure the directories where the files reside have SYSTEM 
> privileges. That should solve your problem

The SYSTEM account doesn't typically have any network access rights at all,
so if the files are on a mapped drive, I don't think this will fix the
problem.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CFMX Professional does not have web accessable log files

2002-07-28 Thread Ken Wilson

Do you mean the log files don't exist or that there just isn't an existing
interface for viewing/downloading them?

Ken


-Original Message-
From: brook [mailto:[EMAIL PROTECTED]]
Sent: Sunday, July 28, 2002 4:34 PM
To: CF-Talk
Subject: CFMX Professional does not have web accessable log files


While it is not the end of the world, its worth noting that a feature used
by just about everybody who was running CF PRO (3-5) has dissapeared in
CFMX.
I'm talking about the ability to view and download log files via the
administrator. It is simply no longer available in CFMX PRO.





__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: WINNT Mapped Drive Permissions

2002-07-28 Thread samcfug

Make sure the directories where the files reside have SYSTEM privileges.
That should solve your problem

=
Douglas White
group Manager
http://www.samcfug.org
=

>
> Date: Sun, 28 Jul 2002 14:42:09 +0200
> From: Jochem van Dieten <[EMAIL PROTECTED]>
> Subject: Re: FileExists WINNT Mapped Drive Permissions
> Message-ID: <[EMAIL PROTECTED]>
>
> David Fafard wrote:
> >
> > Having a problem getting FileExists to work
> > on an Win NT 2K Server.
> >
> > My Files needed to check are on a mapped
> > drive but it seems CFMX can not see them.
> > ( I would use UNC path but I believe that is not allowed )
>
> It doesn't help since it is a permmissions issue.
>
>
> > I'm thinking it's a permissions thing with CFMX service
> > running as LOCAL.
>


FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Convertnig MS Access database to SQL server

2002-07-28 Thread Matthew Friedman

When you use the upsizing wizard you can define each field.

So make sure that you are telling the SQL that you want the Access PK to be
PK.

matt

-Original Message-
From: Ewok [mailto:[EMAIL PROTECTED]]
Sent: Sunday, July 28, 2002 4:48 PM
To: CF-Talk
Subject: Convertnig MS Access database to SQL server


Hi me again :)



I just converted an access database to SQL server for the first time. I had
all the primary keys set to autonumber's (no duplicates) in access but when
I converted to SQL server it simply made them Int's.



I had to go through and set each table's primary key to identity. Is there
something I'm missing that will do this for me when I convert so I don't
have to manually set them every time or should I write some code to get the
max id of the primary key and increment it before I insert the new row?



__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Convertnig MS Access database to SQL server

2002-07-28 Thread Mike Brunt

If you have SQL Enterprise Manager MMC, (client tools with SQL Server), go
in I modify the Auto Number fields to "Identity", make sure you set the
start point above the highest current UID in each tables current Auto Number
field.

Hth and makes sense.

Mike Brunt - CTO
Webapper Services LLC
http://www.webapper.com
Downey CA Office
562.243.6255

"Making the NET Work"

-Original Message-
From: Ewok [mailto:[EMAIL PROTECTED]]
Sent: Sunday, July 28, 2002 1:48 PM
To: CF-Talk
Subject: Convertnig MS Access database to SQL server


Hi me again :)



I just converted an access database to SQL server for the first time. I had
all the primary keys set to autonumber's (no duplicates) in access but when
I converted to SQL server it simply made them Int's.



I had to go through and set each table's primary key to identity. Is there
something I'm missing that will do this for me when I convert so I don't
have to manually set them every time or should I write some code to get the
max id of the primary key and increment it before I insert the new row?



__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Convertnig MS Access database to SQL server

2002-07-28 Thread Ewok

Hi me again :)



I just converted an access database to SQL server for the first time. I had
all the primary keys set to autonumber's (no duplicates) in access but when
I converted to SQL server it simply made them Int's.



I had to go through and set each table's primary key to identity. Is there
something I'm missing that will do this for me when I convert so I don't
have to manually set them every time or should I write some code to get the
max id of the primary key and increment it before I insert the new row?


__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: FileExists WINNT Mapped Drive Permissions

2002-07-28 Thread David Fafard

> Can we see your code?

Sure, watch the wrap.






 


 

http://my.domain.com/Cad_pdf/"; & #theFormCadNumber# &
".pdf" >







- Original Message -
From: "brook" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Sunday, July 28, 2002 4:29 PM
Subject: Re: FileExists WINNT Mapped Drive Permissions


> We use UNC paths. This is a better idea, because I beleive (correct me if
I
> am wring) a mapped drive is not automatically mounted at startup. So if
> your machines reboots, you wil not have access to the mapped drive until
> you log in.
>
> UNC paths are alllow with CF and work fine.
>
> Can we see your code?
>
> Brook
>
> At 02:42 PM 7/28/02 +0200, you wrote:
> >David Fafard wrote:
> > >
> > > Having a problem getting FileExists to work
> > > on an Win NT 2K Server.
> > >
> > > My Files needed to check are on a mapped
> > > drive but it seems CFMX can not see them.
> > > ( I would use UNC path but I believe that is not allowed )
> >
> >It doesn't help since it is a permmissions issue.
> >
> >
> > > I'm thinking it's a permissions thing with CFMX service
> > > running as LOCAL.
> >
> >Correct.
> >
> >
> > > Is there any way to test for a files existance without
> > > changing the service to something other than LOCAL?
> >
> >You could use cfimpersonate if you are not on MX yet. Else, change the
> >service.
> >
> >Jochem
> >
> >
> 
__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



CFMX Professional does not have web accessable log files

2002-07-28 Thread brook

While it is not the end of the world, its worth noting that a feature used 
by just about everybody who was running CF PRO (3-5) has dissapeared in CFMX.
I'm talking about the ability to view and download log files via the 
administrator. It is simply no longer available in CFMX PRO.




__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: FileExists WINNT Mapped Drive Permissions

2002-07-28 Thread brook

We use UNC paths. This is a better idea, because I beleive (correct me if I 
am wring) a mapped drive is not automatically mounted at startup. So if 
your machines reboots, you wil not have access to the mapped drive until 
you log in.

UNC paths are alllow with CF and work fine.

Can we see your code?

Brook

At 02:42 PM 7/28/02 +0200, you wrote:
>David Fafard wrote:
> >
> > Having a problem getting FileExists to work
> > on an Win NT 2K Server.
> >
> > My Files needed to check are on a mapped
> > drive but it seems CFMX can not see them.
> > ( I would use UNC path but I believe that is not allowed )
>
>It doesn't help since it is a permmissions issue.
>
>
> > I'm thinking it's a permissions thing with CFMX service
> > running as LOCAL.
>
>Correct.
>
>
> > Is there any way to test for a files existance without
> > changing the service to something other than LOCAL?
>
>You could use cfimpersonate if you are not on MX yet. Else, change the
>service.
>
>Jochem
>
>
__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: (OT) RegEx in Actionscript

2002-07-28 Thread Michael Dinowitz

Thanks. A search found that link as well as this one:
http://www.waxpraxis.org/archives/61.html
I've got a RegEx list going up that'll cover CF, JS, ActionScript and maybe even Java. 
By the look of it, the AS part of the list will be that module until MM puts in a real 
RegEx parser. 


> Hello,
> 
> Not natively, but I found this same post on a Figleaf flash mailing list a 
> little while back:
> http://chattyfig.figleaf.com/ezmlm/ezmlm-cgi/1/38646
> 
> And on that post there is a link to this page which has an .AS you can 
> include in your movies which allows regular expressions to be run.
> 
> http://www.jurjans.lv/flash/RegExp.html
> 
> I haven't personally tested this but it looks promising.
> 
> -Kevin
> 
> 
> >From: [EMAIL PROTECTED] (Michael Dinowitz)
> >Reply-To: [EMAIL PROTECTED]
> >To: CF-Talk <[EMAIL PROTECTED]>
> >Subject: (OT) RegEx in Actionscript
> >Date: Sun, 28 Jul 2002 13:05:11 -0400
> >
> >Does Actionscript have Regular Expressions?
> >
> >Michael Dinowitz
> >Master of the House of Fusion
> >http://www.houseoffusion.com
> >
> >
> 
__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: (OT) RegEx in Actionscript

2002-07-28 Thread Kevin O' Leary

Hello,

Not natively, but I found this same post on a Figleaf flash mailing list a 
little while back:
http://chattyfig.figleaf.com/ezmlm/ezmlm-cgi/1/38646

And on that post there is a link to this page which has an .AS you can 
include in your movies which allows regular expressions to be run.

http://www.jurjans.lv/flash/RegExp.html

I haven't personally tested this but it looks promising.

-Kevin


>From: [EMAIL PROTECTED] (Michael Dinowitz)
>Reply-To: [EMAIL PROTECTED]
>To: CF-Talk <[EMAIL PROTECTED]>
>Subject: (OT) RegEx in Actionscript
>Date: Sun, 28 Jul 2002 13:05:11 -0400
>
>Does Actionscript have Regular Expressions?
>
>Michael Dinowitz
>Master of the House of Fusion
>http://www.houseoffusion.com
>
>
__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: (OT) RegEx in Actionscript

2002-07-28 Thread Matt Liotta

No, but a few people have put together RegEx libraries.

Matt Liotta
President & CEO
Montara Software, Inc.
http://www.montarasoftware.com/
V: 415-577-8070
F: 415-341-8906
P: [EMAIL PROTECTED]

> -Original Message-
> From: Michael Dinowitz [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, July 28, 2002 10:05 AM
> To: CF-Talk
> Subject: (OT) RegEx in Actionscript
> 
> Does Actionscript have Regular Expressions?
> 
> Michael Dinowitz
> Master of the House of Fusion
> http://www.houseoffusion.com
> 
> 
__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



(OT) RegEx in Actionscript

2002-07-28 Thread Michael Dinowitz

Does Actionscript have Regular Expressions? 

Michael Dinowitz
Master of the House of Fusion
http://www.houseoffusion.com

__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: MX Crashing _MAYBE_ solved WAS: CFMX Taking all CPU Resources?

2002-07-28 Thread Mike Brunt

Chad, locking CFX tags in my opinion is a must, because I have seen havoc
caused by CFX tags spawning memory corruption issues, many many times; I am
sorry it did not help you.  Obviously you have a well written tag there. I
always err on the side of caution.

Mike Brunt - CTO
Webapper Services LLC
http://www.webapper.com
Downey CA Office
562.243.6255

"Making the NET Work"

-Original Message-
From: Chad Gray [mailto:[EMAIL PROTECTED]]
Sent: Sunday, July 28, 2002 6:57 AM
To: CF-Talk
Subject: RE: MX Crashing _MAYBE_ solved WAS: CFMX Taking all CPU
Resources?


Locking the CFX did not help.  The CFX is extremely stable.  I have run
it on 4.5.1 and 5.0 for a long time with massive amounts of hits.  Never
had any problems.

Why is MX crashing because it is using a CFX tag anyways?  The CF API
has not changed so the only difference is the complete re-write of
CFMX.







-Original Message-
From: Mike Brunt [mailto:[EMAIL PROTECTED]]
Sent: Saturday, July 27, 2002 1:13 PM
To: CF-Talk
Subject: RE: MX Crashing _MAYBYE_ solved WAS: CFMX Taking all CPU
Resources?

Try locking that cfx call also.  That way you should get stability and
still
be able to use it (the cfx thingy).

Mike Brunt - CTO
Webapper Services LLC
http://www.webapper.com
Downey CA Office
562.243.6255

"Making the NET Work"

-Original Message-
From: Chad Gray [mailto:[EMAIL PROTECTED]]
Sent: Saturday, July 27, 2002 10:39 AM
To: CF-Talk
Subject: MX Crashing _MAYBYE_ solved WAS: CFMX Taking all CPU Resources?


I may have to eat my own words.  I think I found the problem with my
crashes.

You guys got me thinking about some of the code I had been writing for
the current applications we are working on.

They all had one thing in common and that is a CFX application we have
been using.

I commented out this CFX application and I can't get the server to crash
_yet_.  Im going to start pounding the serve with XENU and see what I
can get.

Anyone else have a load testing utility I can try?




-Original Message-
From: Stacy Young [mailto:[EMAIL PROTECTED]]
Sent: Saturday, July 27, 2002 11:22 AM
To: CF-Talk
Subject: RE: CFMX Taking all CPU Resources?

I don't think it's "essential" to optimize for mx but there are
opportunities to do so that's for sure.

If it's a bug and the system can't scale under a certain condition then
I'd
agree to raise hellon the other hand if it's a specific operation(s)
or
environment issue that causes the anomaly then maybe it can be fixed via
an
optimization.

Now you certainly won't hear this from MM Sales but truth be told that
if
you want to move your production system to a 1.0 release then you *must*
account for the possibility of environment issues no matter how remote.

I wish it were so but it's not always black and white...we each operate
in a
unique environment

If it helps any I'm interested in helping you track down the cause...

Cheers,

Stace

-Original Message-
From: Chad Gray [mailto:[EMAIL PROTECTED]]
Sent: Saturday, July 27, 2002 12:03 PM
To: CF-Talk
Subject: RE: CFMX Taking all CPU Resources?

Todd, great post, but how do we learn to optimize for MX?  Trial and
error?  You can write crappy slow code in any language, but a few hits
as to how to optimize for MX sure would be nice.

I guess we need to find out from Joe what kind of code he has written
for that test he posted.  How complicated is it?  Is it Fusebox?  What
kind of database?  Are there certain pages that seem to be taking
extremely long amounts of time to process?


My personal problem with MX is stability under load.  10+ service
crashes per day on two development servers, but that is another story
and one that a fellow from MM started helping me try to figure out, but
I have not heard from him in a week.


-Original Message-
From: Todd [mailto:[EMAIL PROTECTED]]
Sent: Saturday, July 27, 2002 10:42 AM
To: CF-Talk
Subject: RE: CFMX Taking all CPU Resources?

"The content/app was written for CF4.5..."

Again, it might be time to start thinking about streamlining for MX.
I'm
*glad* you tested your application, at least I hope these specs below
are
not coming from your production server.  However, this shouldn't be your

source of frustration.  This should be groundwork for you to build a
case
and present to your boss, "Hey Boss, we've got some work to do, check
this
out..."

MX is new (should be considered 1.0 for all intent and purposes of a
total
rewrite of an existing application).  MX is the future (sorry to say it,

but ... I think the rest of the world is moving forward with or without
you).  A proper sweep through the "Content/app written for CF4.5" should
be
done to identify the bottle necks, move some of the logic to .cfc's,
etc.  Have you written one application geared towards CFMX yet?  Have
you
seen the speed?  I think that once you've written _1_ application (heck,

develop more than one, we encourage it!) geared towards CFMX, you'll see

what the rest of us are seeing and I think

RE: MX Crashing _MAYBE_ solved WAS: CFMX Taking all CPU Resources?

2002-07-28 Thread Todd

If the CFX is com, you should head over and read:
http://cfguru.daemon.com.au/archives/58.html#58


At 09:56 AM 7/28/2002 -0400, you wrote:
>Locking the CFX did not help.  The CFX is extremely stable.  I have run
>it on 4.5.1 and 5.0 for a long time with massive amounts of hits.  Never
>had any problems.
>
>Why is MX crashing because it is using a CFX tag anyways?  The CF API
>has not changed so the only difference is the complete re-write of
>CFMX.
>
>
>
>
>
>
>
>-Original Message-
>From: Mike Brunt [mailto:[EMAIL PROTECTED]]
>Sent: Saturday, July 27, 2002 1:13 PM
>To: CF-Talk
>Subject: RE: MX Crashing _MAYBYE_ solved WAS: CFMX Taking all CPU
>Resources?
>
>Try locking that cfx call also.  That way you should get stability and
>still
>be able to use it (the cfx thingy).
>
>Mike Brunt - CTO
>Webapper Services LLC
>http://www.webapper.com
>Downey CA Office
>562.243.6255
>
>"Making the NET Work"
>
>-Original Message-
>From: Chad Gray [mailto:[EMAIL PROTECTED]]
>Sent: Saturday, July 27, 2002 10:39 AM
>To: CF-Talk
>Subject: MX Crashing _MAYBYE_ solved WAS: CFMX Taking all CPU Resources?
>
>
>I may have to eat my own words.  I think I found the problem with my
>crashes.
>
>You guys got me thinking about some of the code I had been writing for
>the current applications we are working on.
>
>They all had one thing in common and that is a CFX application we have
>been using.
>
>I commented out this CFX application and I can't get the server to crash
>_yet_.  Im going to start pounding the serve with XENU and see what I
>can get.
>
>Anyone else have a load testing utility I can try?
>
>
>
>
>-Original Message-
>From: Stacy Young [mailto:[EMAIL PROTECTED]]
>Sent: Saturday, July 27, 2002 11:22 AM
>To: CF-Talk
>Subject: RE: CFMX Taking all CPU Resources?
>
>I don't think it's "essential" to optimize for mx but there are
>opportunities to do so that's for sure.
>
>If it's a bug and the system can't scale under a certain condition then
>I'd
>agree to raise hellon the other hand if it's a specific operation(s)
>or
>environment issue that causes the anomaly then maybe it can be fixed via
>an
>optimization.
>
>Now you certainly won't hear this from MM Sales but truth be told that
>if
>you want to move your production system to a 1.0 release then you *must*
>account for the possibility of environment issues no matter how remote.
>
>I wish it were so but it's not always black and white...we each operate
>in a
>unique environment
>
>If it helps any I'm interested in helping you track down the cause...
>
>Cheers,
>
>Stace
>
>-Original Message-
>From: Chad Gray [mailto:[EMAIL PROTECTED]]
>Sent: Saturday, July 27, 2002 12:03 PM
>To: CF-Talk
>Subject: RE: CFMX Taking all CPU Resources?
>
>Todd, great post, but how do we learn to optimize for MX?  Trial and
>error?  You can write crappy slow code in any language, but a few hits
>as to how to optimize for MX sure would be nice.
>
>I guess we need to find out from Joe what kind of code he has written
>for that test he posted.  How complicated is it?  Is it Fusebox?  What
>kind of database?  Are there certain pages that seem to be taking
>extremely long amounts of time to process?
>
>
>My personal problem with MX is stability under load.  10+ service
>crashes per day on two development servers, but that is another story
>and one that a fellow from MM started helping me try to figure out, but
>I have not heard from him in a week.
>
>
>-Original Message-
>From: Todd [mailto:[EMAIL PROTECTED]]
>Sent: Saturday, July 27, 2002 10:42 AM
>To: CF-Talk
>Subject: RE: CFMX Taking all CPU Resources?
>
>"The content/app was written for CF4.5..."
>
>Again, it might be time to start thinking about streamlining for MX.
>I'm
>*glad* you tested your application, at least I hope these specs below
>are
>not coming from your production server.  However, this shouldn't be your
>
>source of frustration.  This should be groundwork for you to build a
>case
>and present to your boss, "Hey Boss, we've got some work to do, check
>this
>out..."
>
>MX is new (should be considered 1.0 for all intent and purposes of a
>total
>rewrite of an existing application).  MX is the future (sorry to say it,
>
>but ... I think the rest of the world is moving forward with or without
>you).  A proper sweep through the "Content/app written for CF4.5" should
>be
>done to identify the bottle necks, move some of the logic to .cfc's,
>etc.  Have you written one application geared towards CFMX yet?  Have
>you
>seen the speed?  I think that once you've written _1_ application (heck,
>
>develop more than one, we encourage it!) geared towards CFMX, you'll see
>
>what the rest of us are seeing and I think you'll be pleased with the
>results (as the rest of us are).
>
>Please don't take this email personally.  This isn't hammering YOU
>(except,
>you need to calm down some and get back to reality instead of swearing
>and
>pointing fingers about it all).  I think the biggest proble

RE: MX Crashing _MAYBE_ solved WAS: CFMX Taking all CPU Resources?

2002-07-28 Thread Chad Gray

Locking the CFX did not help.  The CFX is extremely stable.  I have run
it on 4.5.1 and 5.0 for a long time with massive amounts of hits.  Never
had any problems.

Why is MX crashing because it is using a CFX tag anyways?  The CF API
has not changed so the only difference is the complete re-write of
CFMX.







-Original Message-
From: Mike Brunt [mailto:[EMAIL PROTECTED]] 
Sent: Saturday, July 27, 2002 1:13 PM
To: CF-Talk
Subject: RE: MX Crashing _MAYBYE_ solved WAS: CFMX Taking all CPU
Resources?

Try locking that cfx call also.  That way you should get stability and
still
be able to use it (the cfx thingy).

Mike Brunt - CTO
Webapper Services LLC
http://www.webapper.com
Downey CA Office
562.243.6255

"Making the NET Work"

-Original Message-
From: Chad Gray [mailto:[EMAIL PROTECTED]]
Sent: Saturday, July 27, 2002 10:39 AM
To: CF-Talk
Subject: MX Crashing _MAYBYE_ solved WAS: CFMX Taking all CPU Resources?


I may have to eat my own words.  I think I found the problem with my
crashes.

You guys got me thinking about some of the code I had been writing for
the current applications we are working on.

They all had one thing in common and that is a CFX application we have
been using.

I commented out this CFX application and I can't get the server to crash
_yet_.  Im going to start pounding the serve with XENU and see what I
can get.

Anyone else have a load testing utility I can try?




-Original Message-
From: Stacy Young [mailto:[EMAIL PROTECTED]]
Sent: Saturday, July 27, 2002 11:22 AM
To: CF-Talk
Subject: RE: CFMX Taking all CPU Resources?

I don't think it's "essential" to optimize for mx but there are
opportunities to do so that's for sure.

If it's a bug and the system can't scale under a certain condition then
I'd
agree to raise hellon the other hand if it's a specific operation(s)
or
environment issue that causes the anomaly then maybe it can be fixed via
an
optimization.

Now you certainly won't hear this from MM Sales but truth be told that
if
you want to move your production system to a 1.0 release then you *must*
account for the possibility of environment issues no matter how remote.

I wish it were so but it's not always black and white...we each operate
in a
unique environment

If it helps any I'm interested in helping you track down the cause...

Cheers,

Stace

-Original Message-
From: Chad Gray [mailto:[EMAIL PROTECTED]]
Sent: Saturday, July 27, 2002 12:03 PM
To: CF-Talk
Subject: RE: CFMX Taking all CPU Resources?

Todd, great post, but how do we learn to optimize for MX?  Trial and
error?  You can write crappy slow code in any language, but a few hits
as to how to optimize for MX sure would be nice.

I guess we need to find out from Joe what kind of code he has written
for that test he posted.  How complicated is it?  Is it Fusebox?  What
kind of database?  Are there certain pages that seem to be taking
extremely long amounts of time to process?


My personal problem with MX is stability under load.  10+ service
crashes per day on two development servers, but that is another story
and one that a fellow from MM started helping me try to figure out, but
I have not heard from him in a week.


-Original Message-
From: Todd [mailto:[EMAIL PROTECTED]]
Sent: Saturday, July 27, 2002 10:42 AM
To: CF-Talk
Subject: RE: CFMX Taking all CPU Resources?

"The content/app was written for CF4.5..."

Again, it might be time to start thinking about streamlining for MX.
I'm
*glad* you tested your application, at least I hope these specs below
are
not coming from your production server.  However, this shouldn't be your

source of frustration.  This should be groundwork for you to build a
case
and present to your boss, "Hey Boss, we've got some work to do, check
this
out..."

MX is new (should be considered 1.0 for all intent and purposes of a
total
rewrite of an existing application).  MX is the future (sorry to say it,

but ... I think the rest of the world is moving forward with or without
you).  A proper sweep through the "Content/app written for CF4.5" should
be
done to identify the bottle necks, move some of the logic to .cfc's,
etc.  Have you written one application geared towards CFMX yet?  Have
you
seen the speed?  I think that once you've written _1_ application (heck,

develop more than one, we encourage it!) geared towards CFMX, you'll see

what the rest of us are seeing and I think you'll be pleased with the
results (as the rest of us are).

Please don't take this email personally.  This isn't hammering YOU
(except,
you need to calm down some and get back to reality instead of swearing
and
pointing fingers about it all).  I think the biggest problem I've seen
so
far is the "branding" of ColdFusion 5.  They went from CF4.5.2 to CF5

and didn't realize that they can safely bring their 4.5 apps into CF5
and
get such a huge speed burst without rewriting any of their crappy
coding.

CFMX is a different animal, as their has been several discussions 

Re: FileExists WINNT Mapped Drive Permissions

2002-07-28 Thread Jochem van Dieten

David Fafard wrote:
> 
> Having a problem getting FileExists to work
> on an Win NT 2K Server. 
> 
> My Files needed to check are on a mapped
> drive but it seems CFMX can not see them.
> ( I would use UNC path but I believe that is not allowed )

It doesn't help since it is a permmissions issue.


> I'm thinking it's a permissions thing with CFMX service
> running as LOCAL.

Correct.


> Is there any way to test for a files existance without
> changing the service to something other than LOCAL?

You could use cfimpersonate if you are not on MX yet. Else, change the 
service.

Jochem

__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



FileExists WINNT Mapped Drive Permissions

2002-07-28 Thread David Fafard

Hi,

Having a problem getting FileExists to work
on an Win NT 2K Server. 

My Files needed to check are on a mapped
drive but it seems CFMX can not see them.
( I would use UNC path but I believe that is not allowed )

I'm thinking it's a permissions thing with CFMX service
running as LOCAL.

Is there any way to test for a files existance without
changing the service to something other than LOCAL?

BTW, I am testing for the existance of PDF files 500k
and under

Thanks,
Dave Fafard


__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Error message in logs

2002-07-28 Thread Ben Densmore

Hey everyone,
 Can someone give me some more insight into this error message? It looks
to me like the connection is being dropped but can't find anything on
MM's site about this specific message. I am seeing this in my log files
on a daily basis about 40-50 occurances of this error. Here is the error
message.
 
"ODBC Error Code = 01000 (General warning) [Microsoft][ODBC SQL
Server Driver][TCP/IP Sockets]ConnectionRead (recv()).
 
Thanks,
Ben


__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Was: CGI.HTTP_REFERER

2002-07-28 Thread mark brinkworth

It depends on exactly what you use HTTP_REFERER for. However, when doing 
security audits on sites the most common use I see is to check that a form 
is submitted from a correct page. It is much better to do proper form 
validation.

Of course, there are other reasons, but I would just go along with what Mike 
said:

> > >IN short, if you're planning an application that's going to need
> > >http_referer, my advice is to re-think it!


Cheers,
Mark



>Mark,
>
>Curious, what other method do you use?
>
>Paul Giesenhagen
>QuillDesign
>
>
> > I have always regarded the use of HTTP_Referer as a security measure to 
>be
> > rather poor, as it can easily be spoofed. So my sites don't rely on it,
> > although occassionally they may use it to refine error messages.
> >
> > Cheers
> >
> >
> >
> > >The correct spelling is the American spelling  - i.e. cgi.http_referer
> > >even
> > >though my outlook insists on arguing with me and changing it to 
>referrer.
> > >
> > >But as you have discovered, not all browsers send the parameter, 
>because
> > >the
> > >anti-spamming measures adopted by a lot of people block it.  This 
>hasn't
> > >been much of a worry until recently.  But a site I'm working on has a
> > >rapidly increasing number of users with this problem, and I'm having to
> > >re-write a whole application which relied on http_referer to verify the
> > >user
> > >had access. Computers are increasingly being delivered to users 
>with
> > >personal firewalls installed and that gives rise to the problem.
> > >
> > >IN short, if you're planning an application that's going to need
> > >http_referer, my advice is to re-think it!
> > >
> > >Cheers,
> > >Mike Kear
> > >Windsor, NSW, Australia
> > >AFP WebWorks
> > >
> > >
> > >-Original Message-
> > >From: mark brinkworth [mailto:[EMAIL PROTECTED]]
> > >Sent: Sunday, 28 July 2002 1:09 PM
> > >To: CF-Talk
> > >Subject: Re: CGI.HTTP_REFERER
> > >
> > >Some firewalls (such as Norton's - I know this from personal 
>experience),
> > >block or change the http_referer that is sent from the browser to the
> > >server. In the case or Norton, it gets changed to http_weferer, and
> > >consists
> > >of a rather random looking alphabet soup.
> > >
> > >Cheers,
> > >Mark
> > >
> > >
> > >
> > >
> > > >Okay.  I'm stumped.  I had this whole lovely plan for something I'm
> > >working
> > > >on.  It involved looking at the value of CGI.HTTP_REFERER.  But that
> > >value
> > > >isn't coming up on my radar.  It doesn't matter what browser I use.
>It's
> > > >just not there.  I've tried different spellings (REFERRER, REFERER),
> > >looped
> > > >through every variable available, put a reference without a variable
> > >scope
> > > >prefix, everything.  It just doesn't show up.
> > > >
> > > >I understand that the CGI variables returned are based on the server
> > > >configuration.  So I guess my entire pile of questions is:
> > > >
> > > >A) Am I doing something simple and obviously stupid?
> > > >
> > > >B) What would I have to do to my server to get it to return this
> > >variable:
> > > >is it on the CFAS side, or on the HTTP-server-software side?
> > > >
> > > >Thanks for any help anyone can give.  I need this blasted variable!!
> > > >
> > > >Matthieu
> > > >
> > > >
> > > >
> > >
> > >
> >
>
__
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: CFMX on Mac OSX (was: CF-Talk-list V1 #158

2002-07-28 Thread Dick Applebaum

On Saturday, July 27, 2002, at 10:07 PM, Sean A Corfield wrote:

> On Saturday, July 27, 2002, at 09:39 , Peter Stringer wrote:
>> New to the List.  Wanted to know if anyone has successfully ported
>> ColdFusion MX to Mac OS X, and knows how to get it done.  I've read the
>> O'Reilly articles about it, but the third and final article that has 
>> the
>> meat of how to do it is yet to be published.
>

the article is at the publisher, being edited -- biggest problem is:  it 
is 3 times larger than the word-count maximum for an article.

The basic procedure is as Sean outlines:

> Yeah, I run CFMX on Mac OSX. It's unsupported and certain things don't
> (and will not) work on it, e.g., Verity. The article will say:
> 1 install Virtual PC on your Mac
> 2 install Linux on that Virtual PC
> 3 download and install the Linux trial of CFMX
> 4 create a tarball (.tar.gz) of the installed system
> 5 put in on your native Mac filesystem
> 6 unpack it with tar xvfz

Here you have to use gnutar  instead of tar -- otherwise expanded 
pathnames
  will truncate to 100 characters

You must also put any 3rd-party jdbc drivers where the Mac's Java can 
find them --

/System/Library/Java/Extensions

> 7 hack the coldfusion startup script
> 8 voila!
>
> I started with the tarball at step 5 (thanx to a couple of folks who had
> already done the Linux install) and have a script created by a Mac-head
> (so I skipped step 7). It's ugly but it works, mostly.

The install is ugly -- and it does work -- actually works quite well!.

When you think of it, all the effort (ugliness) is involved in the 
VPC/Linux part of the install -- the CFMX code (except Verity and a few 
other intel C++ programs) is all Java -- it runs untouched.  This is a 
testimonial to Java and the MM decision to base CFMX on Java -- MM has 
one set of code to maintain for all platforms.

  I hope for the next release of CFMX that MM will enable the installer 
script to allow the package to install, regardless of the underlying 
OS -- then you could just do step 7.   Right now, the CFMX Linux install 
checks the platform and  aborts if the underlying platform is not a 
supported platform.  Interestingly the install package for JRun 4 does 
not have a similar restriction.

I can understand why MM  would place this limit in the installer -- 
severalf reasons.  One is that they need to install the complete Jave 
Virtual Machine / Java Runtime Environment (JVM/JRE), then JRun, then 
CFMX.  The JVM/JRE is installed to assure that the requisite Java system 
is in place -- not necessarily true on all supported Linux/Unix (or 
windows) systems.

Ironically, If MM ever does provide a Mac OS X version, the install will 
likely be easier and faster than any other platform, because Mac OS X 
arleady includes the necessary JVM/JRE.


Anyway,  relief is just moments (days) away!

Dick

>
> p.s. could people who respond to digests actually take the time to TRIM
> THE RESPONSE DOWN A LITTLE! Thank you!
>
> Sean A Corfield -- http://www.corfield.org/blog/
>
> "If you're not annoying somebody, you're not really alive."
> -- Margaret Atwood
>
> 
__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: CFMX on Mac OSX (was: CF-Talk-list V1 #158

2002-07-28 Thread Dick Applebaum

On Saturday, July 27, 2002, at 10:07 PM, Sean A Corfield wrote:

> On Saturday, July 27, 2002, at 09:39 , Peter Stringer wrote:
>> New to the List.  Wanted to know if anyone has successfully ported
>> ColdFusion MX to Mac OS X, and knows how to get it done.  I've read the
>> O'Reilly articles about it, but the third and final article that has 
>> the
>> meat of how to do it is yet to be published.
>
> Yeah, I run CFMX on Mac OSX. It's unsupported and certain things don't
> (and will not) work on it, e.g., Verity. The article will say:
> 1 install Virtual PC on your Mac
> 2 install Linux on that Virtual PC
> 3 download and install the Linux trial of CFMX
> 4 create a tarball (.tar.gz) of the installed system
> 5 put in on your native Mac filesystem
> 6 unpack it with tar xvfz
> 7 hack the coldfusion startup script
> 8 voila!
>
> I started with the tarball at step 5 (thanx to a couple of folks who had
> already done the Linux install) and have a script created by a Mac-head
> (so I skipped step 7). It's ugly but it works, mostly.
>
> p.s. could people who respond to digests actually take the time to TRIM
> THE RESPONSE DOWN A LITTLE! Thank you!
>
> Sean A Corfield -- http://www.corfield.org/blog/
>
> "If you're not annoying somebody, you're not really alive."
> -- Margaret Atwood
>
> 
__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Muzik iste

2002-07-28 Thread Michael Dinowitz

Another small test.

> Michael Dinowitz
> Master of the House of Fusion
> http://www.houseoffusion.com
> 
> 
__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Muzik iste

2002-07-28 Thread Michael Dinowitz

Sorry about that. I've just put in a few extra anti-spam protocols and the subject of 
this message was one of them. It got through because it was from me. :)


> Michael Dinowitz
> Master of the House of Fusion
> http://www.houseoffusion.com
> 
> 
__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Muzik iste

2002-07-28 Thread Michael Dinowitz

Michael Dinowitz
Master of the House of Fusion
http://www.houseoffusion.com

__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists