RE: Internal webserver vs. Apache on MX for JRun was Re: CFMXJ2ee advantages over CFMX Standalone

2003-01-12 Thread Dave Watts
> > As far as I can tell, there's no difference between 
> > the web server used by CFMX for JRun and that used 
> > by the "standalone" CFMX Enterprise or Professional.
>
> Are your comments based on any sort of stress testing 
> results or published literature? I agree with what 
> you're saying, but last time we made an assumption 
> about the two products being the same (Re: CFMX 
> Enterprise vs. CFMX for J2EE), MM chimed in and said 
> there were some unexpected differences between the 
> two products. So I suppose I was hoping that Sean 
> or Phil or somebody else at MM could weigh in with 
> the "official" response. However, that being said, I 
> have been proceeding on the premise that what you said 
> is how it is.

No, my comments aren't based on stress testing or published literature. I
wouldn't bother wasting valuable load-testing time with the JRun web server,
since Macromedia recommends not using it in a production environment. Since
they make that recommendation for both JRun and CFMX, I'd expect there to be
little difference between them in that regard.

Also, I can't imagine that the web server itself could be much different. In
both cases, no matter how many application server instances are running, or
no matter how many different, specialized VMs are used between them, there's
only going to be one application listening on the appropriate socket,
routing requests to one or more application servers.

And as for those "unexpected differences", I suspect that for many people's
environments and applications, there wouldn't be any difference at all. I
seem to recall reading, for example, that one of the big advantages of CFMX
for J2EE is its performance on multi-processor boxes. I suspect that other
performance advantages of CFMX for J2EE come from writing more of your
application code in Java and less in CFML.

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

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
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

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




OT: Devex gallery still not working MM pay attention

2003-01-12 Thread Robert Everland
I brought this issue up months ago, the member gallery has become completely
unusable for me on Windows XP, IE 6.1 machines. I have brought this up to
members of Macromedia and they say they will get back to me and they never
do. I have done a couple workarounds that Macromedia has suggested and it
just doesn't work. This is happening on more than one machine and more than
one location, the only coincidence is Win XP IE 6.1. How many other people
are getting this at the top of thier screens when they sign on? 

HTTP/1.1 200 OK
Server: Microsoft-IIS/4.0
Date: Sun, 12 Jan 2003 16:45:21 GMT
Connection: close
Content-type: text/html
Page-Completion-Status: Normal
Page-Completion-Status: Normal
Set-Cookie: MMUSERID=27755031; path=/; domain=.macromedia.com; 
Set-Cookie: ONYXIINDIVIDUALID=; path=/; domain=.macromedia.com; 
Set-Cookie: SESSION=%7Bts+%272003%2D01%2D12+11%3A45%3A19%27%7D; path=/; 
Set-Cookie: UID=2476F8C8%2D8496%2D11D6%2D84508B94F85A; expires=Sun,
27-Sep-2037 00:00:00 GMT; path=/; domain=.macromedia.com; 


PLEASE FIX!! 


Bob Everland
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




RE: Design Pattern Question

2003-01-12 Thread Mike Brunt
Yes this is a good methodology to consider as we all move out of procedural
methodologies to more 'OO' based concepts.  Yet in my opinion there is a
further dimension that Fusebox achieves, or has done for us, that I have not
yet seen expounded in CFMX tutorials etc.

Using Fusebox in conjunction with FLIP we have a complete application design
and development environment from concept-discussion through coding-ongoing
maintenance.  In addition by using Fusebox we have found it easy to bring in
developers who had never coded on CF before but who had a good grasp of
HTML, JavaScript and/or ASP-JSP.  Further by abstracting the actual
Fuseaction values till run-time Fusebox truly affords the capability at
another layer of separation, that of separating design from development;
when combined with the very descriptive capabilities afforded by the use of
Fusedocs.  Finally, the logicality of using Circuits as a mapping/pathing
mechanism addresses to physical layout questions of developing a web
application.

There is one last very important point here, there have been many previous
methodologies/frameworks applied to ColdFusion development.  What is
different in Fusebox is it has become the most widely used of all of them
and that is a very considerable factor for those of us using teams of
developers that can change, grow, shrink etc.

I recommend you take a look at Hal Helms work
http://www.halhelms.com/webresources/fuseboxmxpreso/page1.htm as CFMX and
Fusebox are melded to form the next iteration of Fusebox.

Kind Regards - Mike Brunt
Webapper Services LLC
Web Site http://www.webapper.com
Blog http://www.webapper.net

Webapper 

-Original Message-
From: Peter Bagnato [mailto:[EMAIL PROTECTED]]
Sent: Saturday, January 11, 2003 6:38 PM
To: CF-Talk
Subject: RE: Design Pattern Question

I think that this is a very healthy design methodology for CF.

Ben Forta has been harping for ages about the importance of separating the
display, application, and data layers from the CF applications.

The methodology outlined in that page presents this to the CF environment.

It actually follows many of the well known and widely used J2EE
methodologies out there. That was something that always bugged me about
FuseBox and other methodologies presented for CF.

Those are just my thoughts:
Peter Bagnato


-Original Message-
From: Cutter (CF_Talk) [mailto:[EMAIL PROTECTED]]
Sent: Saturday, January 11, 2003 11:59 PM
To: CF-Talk
Subject: Design Pattern Question

Has anyone here taken a detailed look at the CFMX (semi) OOP design
pattern put forth at http://www.benorama.com? Is anyone here using it?
Formed some opinions? Have anything to add (or subtract)? Know who put
this together in the first place?

As one of my former commanders used to ask "Questions? Comments? War
Stories?"

Cutter



~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




Re: OT: Devex gallery still not working MM pay attention

2003-01-12 Thread Christian Cantrell
Robert,

Please send the URL of the service you are trying to access on  
Macromedia's website to me off-list.  Also, how long has this been  
happening, and do you know who at Macromedia you spoke with?

Thanks,
Christian

On Sunday, January 12, 2003, at 11:40 AM, Robert Everland wrote:

> I brought this issue up months ago, the member gallery has become  
> completely
> unusable for me on Windows XP, IE 6.1 machines. I have brought this up  
> to
> members of Macromedia and they say they will get back to me and they  
> never
> do. I have done a couple workarounds that Macromedia has suggested and  
> it
> just doesn't work. This is happening on more than one machine and more  
> than
> one location, the only coincidence is Win XP IE 6.1. How many other  
> people
> are getting this at the top of thier screens when they sign on?
>
> HTTP/1.1 200 OK
> Server: Microsoft-IIS/4.0
> Date: Sun, 12 Jan 2003 16:45:21 GMT
> Connection: close
> Content-type: text/html
> Page-Completion-Status: Normal
> Page-Completion-Status: Normal
> Set-Cookie: MMUSERID=27755031; path=/; domain=.macromedia.com;
> Set-Cookie: ONYXIINDIVIDUALID=; path=/; domain=.macromedia.com;
> Set-Cookie: SESSION=%7Bts+%272003%2D01%2D12+11%3A45%3A19%27%7D; path=/;
> Set-Cookie: UID=2476F8C8%2D8496%2D11D6%2D84508B94F85A; expires=Sun,
> 27-Sep-2037 00:00:00 GMT; path=/; domain=.macromedia.com;
>
>
> PLEASE FIX!!
>
>
> Bob Everland
> 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
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

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




Re: Design Pattern Question

2003-01-12 Thread Sean A Corfield
On Saturday, Jan 11, 2003, at 20:58 US/Pacific, Cutter (CF_Talk) wrote:
> Has anyone here taken a detailed look at the CFMX (semi) OOP design
> pattern put forth at http://www.benorama.com? Is anyone here using it?
> Formed some opinions? Have anything to add (or subtract)? Know who put
> this together in the first place?

It was written by Benoit Hedard. I blogged a review of it over xmas:

http://www.corfield.org/blog/2002_12_01_archive.html#86606119

It has a lot of interesting ideas in it that would help you build 
MVC-style applications.

My team uses OO design patterns extensively as we rebuild 
macromedia.com. I published an article scratching the surface of that:

http://www.macromedia.com/desdev/articles/facades.html

> As one of my former commanders used to ask "Questions? Comments? War
> Stories?"

We've found the application of OO design patterns to CFMX to be very 
helpful in structuring our applications.

Sean A Corfield -- Director, Architecture
Web Technology Group -- Macromedia, Inc.
tel: (415) 252-2287 -- cell: (415) 717-8473
aim/iChat: seancorfield -- http://www.macromedia.com
An Architect's View -- http://www.macromedia.com/go/arch_blog

ColdFusion MX and JRun 4 now available for Mac OS X!
http://www.macromedia.com/go/cfmxosx

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
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

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




Another Locking Question

2003-01-12 Thread Webmaster
Hi,
  If I reference an APPLICATION var using isDefined, do I have to read lock
it.  Is the var really being read?


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
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

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




OT: disabling qForms validation

2003-01-12 Thread Gyrus
A slight problem I'm having with qForms JS API. I have different submit
buttons that do different things on my form, and I want some of them to just
skip the whole qForms validation process.

For instance, some fields have a configurable number of rows, and the
buttons to add or remove rows are submit buttons, so the current state of
the form is reloaded.

I do have an OKish solution - for the submit buttons that don't need
validation, I add this to the onclick event:

objForm._allowSubmitOnError = true; objForm._showAlerts = false;

It just seems a little clumsy - the validation is run anyway, only the
alerts aren't shown and submit is allowed. Any quick way to just say
"objForm.justForgetItForNow"?

Gyrus
[EMAIL PROTECTED]
work: http://www.tengai.co.uk
play: http://norlonto.net
PGP key available

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




Re: Another Locking Question

2003-01-12 Thread Sean A Corfield
On Sunday, Jan 12, 2003, at 12:23 US/Pacific, Webmaster wrote:
>   If I reference an APPLICATION var using isDefined, do I have to read 
> lock
> it.  Is the var really being read?

No, but...

If you are trying to avoid a race condition, you may need to lock. See 
my blog entry:

http://www.corfield.org/blog/2003_01_01_archive.html#87048759

Sean A Corfield -- Director, Architecture
Web Technology Group -- Macromedia, Inc.
tel: (415) 252-2287 -- cell: (415) 717-8473
aim/iChat: seancorfield -- http://www.macromedia.com
An Architect's View -- http://www.macromedia.com/go/arch_blog

ColdFusion MX and JRun 4 now available for Mac OS X!
http://www.macromedia.com/go/cfmxosx

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




Re: Another Locking Question

2003-01-12 Thread Gyrus
- Original Message -
From: "Webmaster" <[EMAIL PROTECTED]>
>   If I reference an APPLICATION var using isDefined, do I have to read
lock
> it.  Is the var really being read?
---

Yep - if you're not on CFMX, even IsDefined("sharedScope.varName") needs a
lock around it. If you need to reference this more than once in a template,
of course, set a temp variable:





Gyrus
[EMAIL PROTECTED]
work: http://www.tengai.co.uk
play: http://norlonto.net
PGP key available

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
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

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




SOT: a good CF and other "scripts" site

2003-01-12 Thread Tilbrook, Peter
http://www.needscripts.com

==
Peter Tilbrook
Internet Applications Developer
Australian Building Codes Board
GPO Box 9839
CANBERRA ACT 2601
AUSTRALIA

  WWW: http://www.abcb.gov.au/
   E-Mail: [EMAIL PROTECTED]
Telephone: (02) 6213 6731
   Mobile: 0439 401 823
Facsimile: (02) 6213 7287 



**
The information contained in this e-mail, and any attachments to it, is
intended for the use of addressee and is confidential.  If you are not 
the intended recipient, you must not use, disclose, read, forward, copy or
retain any of the information.  If you have received this e-mail in 
error, please delete it and notify the sender by return e-mail or telephone.  
The Commonwealth does not warrant that any attachments are free from 
viruses or any other defects.  You assume all liability for any loss, damage, or 
other consequences which may arise from opening or using the attachments.

**
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




RE: Another Locking Question

2003-01-12 Thread Matt Robertson
While there arguably are circumstances where you don't need to lock, if
you just do it always, everywhere (subject to the smart use of temp vars
as was pointed out already), your code will work properly.  I have yet
to see any instance where locking instituted any noticeable performance
penalty at any level.  

Just Say Yes to CFLock... Always and Forevermore.

:-)


 Matt Robertson   [EMAIL PROTECTED] 
 MSB Designs, Inc.  http://mysecretbase.com


-Original Message-
From: Webmaster [mailto:[EMAIL PROTECTED]] 
Sent: Sunday, January 12, 2003 12:24 PM
To: CF-Talk
Subject: Another Locking Question


Hi,
  If I reference an APPLICATION var using isDefined, do I have to read
lock
it.  Is the var really being read?



~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




SOT: Enterprise-Class ERP for Xserve

2003-01-12 Thread Dick Applebaum
The Sybase evangelist just emailed information about the following:

PowerEasy and Sybase Announce First Packaged Enterprise-Class ERP 
System Powered by Sybase and Apple Infrastructure

http://biz.yahoo.com/bw/030106/60324_1.html

PowerEasy is at:

http://www.powereasy.com/

Sybase is at:

   http://www.sybase.com

Quoting the article:

"With pricing starting at $80,000 per machine, the solution
 will be 20 percent less than comparable solutions on Windows
 platforms and will provide the Mac community with an
 easy-to-use, yet industrial-strength solution with an
 attractive total cost of ownership value."

This might signal some opportunities for CF Developers on the Mac, at 
least it indicates that Enterprise-level solutions are being developed 
for the Mac.

Dick



~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




Re: Another Locking Question

2003-01-12 Thread Sean A Corfield
On Sunday, Jan 12, 2003, at 13:23 US/Pacific, Matt Robertson wrote:
> I have yet
> to see any instance where locking instituted any noticeable performance
> penalty at any level.

If you lock within Application.cfm, you will single-thread your 
application and it will not scale. For low-traffic applications, that 
may be fine.

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

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

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




RE: Detecting Flash for use in CFGraph

2003-01-12 Thread Antony Sideropoulos
fantastic - thanks

>
>Here ya go
>
>http://www.xs4all.nl/~ppk/js/flash.html
>
>
>
>
>Robert Bailey
>[EMAIL PROTECTED]
>"Famous for nothing!"
>http://www.tinetics.com
>
>
>
>
>-Original Message-
>From: Antony Sideropoulos [mailto:[EMAIL PROTECTED]]
>Sent: Saturday, January 11, 2003 8:16 PM
>To: CF-Talk
>Subject: Detecting Flash for use in CFGraph
>
>
>Hi all
>
>Does anyone know of an easy way to detect if the client browser has a
>flash
>plug-in installed?
>
>I am hoping to detect it on the home page, pass a variable back to the
>server and then serve up a jpg or flash graph, depending on the
>variable.
>(I know how to do Steps 2 and 3).
>
>If it helps, i am designing for MSIE 5+
>
>Thanks
>
>
>
>
>
>
>
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




Re: Another Locking Question

2003-01-12 Thread Jochem van Dieten
Sean A Corfield wrote:
> On Sunday, Jan 12, 2003, at 13:23 US/Pacific, Matt Robertson wrote:
> 
>>I have yet
>>to see any instance where locking instituted any noticeable performance
>>penalty at any level.
> 
> 
> If you lock within Application.cfm, you will single-thread your 
> application and it will not scale. For low-traffic applications, that 
> may be fine.

I think that is a bit of an oversimplification. Maybe it is a good idea 
to distinguish between readonly and exclusive locks and between 
different scopes.
But if we are talking performance penalties, single-threaded sessions 
are evil.

Jochem

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
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

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




Re: Another Locking Question

2003-01-12 Thread Antony Sideropoulos
I got a tip previously on cf-talk that advised me to do this in my 
application.cfm:














Is this good or bad?  (My sites typically have between 10 and 200 
connections.)

>
>Sean A Corfield wrote:
> > On Sunday, Jan 12, 2003, at 13:23 US/Pacific, Matt Robertson wrote:
> >
> >>I have yet
> >>to see any instance where locking instituted any noticeable performance
> >>penalty at any level.
> >
> >
> > If you lock within Application.cfm, you will single-thread your
> > application and it will not scale. For low-traffic applications, that
> > may be fine.
>
>I think that is a bit of an oversimplification. Maybe it is a good idea
>to distinguish between readonly and exclusive locks and between
>different scopes.
>But if we are talking performance penalties, single-threaded sessions
>are evil.
>
>Jochem
>



~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
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

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




Re: Another Locking Question

2003-01-12 Thread Sean A Corfield
On Sunday, Jan 12, 2003, at 14:20 US/Pacific, Jochem van Dieten wrote:
> Sean A Corfield wrote:
>> If you lock within Application.cfm, you will single-thread your
>> application and it will not scale. For low-traffic applications, that
>> may be fine.
> I think that is a bit of an oversimplification. Maybe it is a good idea
> to distinguish between readonly and exclusive locks and between
> different scopes.

True. My bad. I was in a hurry. cflock type="exclusive" on every 
request will single-thread your application. cflock type="readonly" 
will not. However, to avoid race conditions, you may still need to use 
exclusive locks - you just have to be careful about it (Marcello's 
great tip on this is in my blog entry).

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




RE: URL Scope

2003-01-12 Thread Michael Corbridge
(from Java Network Programming)
"Because of limitations in the lengths of environment variables on some platforms, the 
GET method is unreliable for sending more than 200 characters of text."

As well, from 
http://www.macromedia.com/support/generator/ts/documents/passing_character_limit.htm:

"Certain servers and browsers can not pass more than 255 characters through the URL. 
The W3C proposed HTTP 1.1 standards that state there is no URL character limit, 
however, 255 bytes/characters is the standard limit across older browsers and HTTP 
servers. Quoting from the HTTP 1.1 standards document:

The HTTP protocol does not place any a priori limit on the length of
a URI. Servers MUST be able to handle the URI of any resource they
serve, and SHOULD be able to handle URIs of unbounded length if they
provide GET-based forms that could generate such URIs. A server
SHOULD return 414 (Request-URI Too Long) status if a URI is longer
than the server can handle (see section 10.4.15).

Note: Servers should be cautious about depending on URI lengths
above 255 bytes, because some older client or proxy implementations
may not properly support these lengths."

hth

michael corbridge
macromedia 

> -Original Message-
> From: Yves Arsenault [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, January 11, 2003 7:03 PM
> To: CF-Talk
> Subject: URL Scope
> 
> 
> Hello,
>  
> I was just wondering (because I have never come across any such
> information) if there is a limit to the number of URL 
> variables one can
> pass to another CF template.
>  
> TIA,
>  
> Yves Arsenault
> Carrefour Infotech
> 5, Acadian Dr.
> Charlottetown, PEI
> C1C 1M2
> [EMAIL PROTECTED]
> (902)368-1895 ext.242
>  
> 
> 
> 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




cf5 & linux

2003-01-12 Thread steve
We have just recently installed cf5 on a linux platform. We are getting errors using 
CFFILE & CFDIRECTORY, even thought thay are activated in the administrator.

I think it might be some sort of ownership problem, can anyone point me in the right 
direction

thanks
Steve Soars


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




RE: Another Locking Question

2003-01-12 Thread Matt Robertson
I didn't mean to imply that there wasn't a dumb way to use cflock :D,
just that its *proper* use is going to give good results and the reverse
can *generally* be counted on to do the opposite.  My point was that if
you are going to use shared scope vars, lock 'em always.


 Matt Robertson   [EMAIL PROTECTED] 
 MSB Designs, Inc.  http://mysecretbase.com


-Original Message-
From: Sean A Corfield [mailto:[EMAIL PROTECTED]] 
Sent: Sunday, January 12, 2003 2:00 PM
To: CF-Talk
Subject: Re: Another Locking Question


On Sunday, Jan 12, 2003, at 13:23 US/Pacific, Matt Robertson wrote:
> I have yet
> to see any instance where locking instituted any noticeable
performance
> penalty at any level.

If you lock within Application.cfm, you will single-thread your 
application and it will not scale. For low-traffic applications, that 
may be fine.

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

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


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




Re: cf5 & linux

2003-01-12 Thread steve
oops sorry wrong list

- Original Message -
From: <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, January 13, 2003 3:20 PM
Subject: cf5 & linux


> We have just recently installed cf5 on a linux platform. We are getting
errors using CFFILE & CFDIRECTORY, even thought thay are activated in the
administrator.
>
> I think it might be some sort of ownership problem, can anyone point me in
the right direction
>
> thanks
> Steve Soars
>
>
> 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
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

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




Cannot convert to number.

2003-01-12 Thread Jillian Carroll
I am having a really weird problem... I do some calculations in CF, they
work on my development machine (Windows XP Home/Apache) but when I
upload them to my host (Windows 2000/IIS) they don't work.  I get this
error... anybody able to help me on this one?

*** *** ***

Error Diagnostic Information

An error occurred while evaluating the expression: 
EndRow = StartRow + OnEachPage - 1

Error near line 39, column 8. 

Cannot convert to number. 
Please, check the ColdFusion manual for the allowed conversions between
data types 
The error occurred while processing an element with a general identifier
of (CFSET), occupying document position (39:2) to (39:43).
Date/Time: 01/12/03 23:33:29
Browser: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
Remote Address: 207.195.97.118

*** *** ***

My code is below:




SELECT jubileeid, globalnumber, nanumber, rotundanumber, binlocation,
name
FROM tools
ORDER BY name ASC






 
 
 
 
 
 
 
 
 
 
 
 
  
  
 
 
 
  
  
   
  
   
  
  
 
 
 
 
  
 
 
  
 
  
 
 
 
 
 




~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
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

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




Re: Cannot convert to number.

2003-01-12 Thread Srimanta
Yes,
I have had similar errors. Its usually when your query does not return a
numerical data  where a number is expected.
Check your database--specially the rows in numerical  columns. Replacing
null/empty numerical cells with 0 (zero) might solve your problem
HTH

Srimanta


htttp://www.digitalshop.co.nz

- Original Message -
From: Jillian Carroll <[EMAIL PROTECTED]>
To: CF-Talk <[EMAIL PROTECTED]>
Sent: Sunday, January 12, 2003 10:15 PM
Subject: Cannot convert to number.


> I am having a really weird problem... I do some calculations in CF, they
> work on my development machine (Windows XP Home/Apache) but when I
> upload them to my host (Windows 2000/IIS) they don't work.  I get this
> error... anybody able to help me on this one?
>
> *** *** ***
>
> Error Diagnostic Information
>
> An error occurred while evaluating the expression:
> EndRow = StartRow + OnEachPage - 1
>
> Error near line 39, column 8.
>
> Cannot convert to number.
> Please, check the ColdFusion manual for the allowed conversions between
> data types
> The error occurred while processing an element with a general identifier
> of (CFSET), occupying document position (39:2) to (39:43).
> Date/Time: 01/12/03 23:33:29
> Browser: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
> Remote Address: 207.195.97.118
>
> *** *** ***
>
> My code is below:
>
> 
>
>  password="cds337">
> SELECT jubileeid, globalnumber, nanumber, rotundanumber, binlocation,
> name
> FROM tools
> ORDER BY name ASC
> 
>
> 
>
> 
>
>  
>  
>
>  
>  
>  
>
>  
>  
>
>  
>  
>   
>   
>
>  
>  
>   
>   
>
>   
>
>   
>   
>  
>
>  
>  
>   
>
>  
>   
>  
>   
>  
>
>  
>  
>  
>
> 
>
>
> 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4