Re: BlueDragon Fee Server - LocalHost Only?

2008-02-29 Thread Matthew Reinbold
But since I brought Coral Web Builder up does anyone know anything more about 
that product? It seemed like the biggest benefit they tried to sell themselves 
on was that you paid for the server once and then you could deploy it on as 
many machines as possible (the idea being to run CF apps locally on users 
machines, as opposed to using the browser window like a terminal reporting back 
to a central server). However, the last update seemed to be in 2005 and support 
for simple stuff, like cfcs seems to be missing. 

Any ideas on if its still around? 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300236
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: BlueDragon Fee Server - LocalHost Only?

2008-02-29 Thread Matthew Reinbold
 I can pull pages from the laptop itself 
> (localhost or 127.0.0.1) but if I try to use http://192.168.0.
> 5:8082/ from another machine on the local area 
> network the page times out. 

Ok - its late Friday evening and I've got my dunce cap on. Once I added '8082' 
to allowed ports under the Windows firewall things were ok. I hadn't even 
thought about that because I hadn't done anything to get Smith open to the 
outside world (and scrolling through the list of allowed exceptions Smith isn't 
on their either... hmmm... if its 'borrowing' something that was previously 
allowed that could cause conflicts down the road).

Anywho, it was Windows firewall that was preventing me from demoing. Thanks for 
the replies.


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300235
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: BlueDragon Fee Server - LocalHost Only?

2008-02-29 Thread Matthew Reinbold
>> Is the free version of the BlueDragon server local ip only?
>
>No. BlueDragon 7 Server is free for multiuser applications. 

Really? I've having a dickens of a time connecting to it from another computer. 
I've got Smith set up on port 8081. My laptop is assigned a local subnet 
address of 192.168.0.5 and I can pull up pages in the Smith web root from other 
machines on the local subnet but going to http://192.168.0.5:8081/. I installed BlueDragon Server 7 on port 8082. I can pull pages from the 
laptop itself (localhost or 127.0.0.1) but if I try to use 
http://192.168.0.5:8082/ from another machine on the local 
area network the page times out. Running "netstat -an" from a windows command 
line shows that while the port is in use locally there isn't an entry for the 
inbound computer.

Could it have something to do with the default security under the bluedragon 
admin? It's defaulted to allow ips: '*.*.*.*' - maybe because there isn't an 
allowed ':*' at the end it ignores all traffic to a certain port? I tried 
updating it with a : and a port number but upon submit it just reverts back to 
'*.*.*.*'. Pinging that port from a computer on the subnet also doesn't work. 
Is there any other way to sniff around and see if anyone is listening where 
they should be? 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300234
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: BlueDragon Fee Server - LocalHost Only?

2008-02-29 Thread Dave Francis
Certainly multi-user, but I believe it is free only for non-commercial
applications. But don't take my word for it, ask on the newatalanta forum.

-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]
Sent: Friday, February 29, 2008 10:33 PM
To: CF-Talk
Subject: RE: BlueDragon Fee Server - LocalHost Only?


> Is the free version of the BlueDragon server local ip only?

No. BlueDragon 7 Server is free for multiuser applications. Any of the other
versions of BlueDragon 7 (BlueDragon 7.0 Server JX, BlueDragon 7.0 for J2EE
Application Servers, BlueDragon for the Microsoft .NET Framework) are not
free, but each of those versions are available in a limited-use mode for
development and testing.

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

Fig Leaf Training: Adobe/Google/Paperthin Certified Partners
http://training.figleaf.com/

WebManiacs 2008: the ultimate conference for CF/Flex/AIR developers!
http://www.webmaniacsconference.com/



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300233
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: BlueDragon Fee Server - LocalHost Only?

2008-02-29 Thread Dave Watts
> Is the free version of the BlueDragon server local ip only?

No. BlueDragon 7 Server is free for multiuser applications. Any of the other
versions of BlueDragon 7 (BlueDragon 7.0 Server JX, BlueDragon 7.0 for J2EE
Application Servers, BlueDragon for the Microsoft .NET Framework) are not
free, but each of those versions are available in a limited-use mode for
development and testing.

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

Fig Leaf Training: Adobe/Google/Paperthin Certified Partners
http://training.figleaf.com/

WebManiacs 2008: the ultimate conference for CF/Flex/AIR developers!
http://www.webmaniacsconference.com/

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300232
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


BlueDragon Fee Server - LocalHost Only?

2008-02-29 Thread Matthew Reinbold
So I'm currently checking out the wild, wholly world of CFML - things like the 
Smith Project, Railo, Coral Web Builder (is that even an active project 
anymore? looks like last update was 2005?), and BlueDragon. 

I set some stuff up on BlueDragon's free version and was hoping to show some 
other folks the files from my machine - but is the free version localhost ip 
only? I'm trying to find a definitive answer but the information seems either 
old or contradictory. 

Is the free version of the BlueDragon server local ip only? 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300231
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Upgrade from Win2K to Windows 2008

2008-02-29 Thread Rick Sanders
Hey Rey,

Been running 2008 and CF8. So far so good. Haven't tried it under a heavy
load yet though.

It takes longer for 2008 to boot up, and takes alot more resources, but it
seems stable so far. I'll probably run this as a test server for quite
awhile before I move it into production though. Many more tests need to be
run.

Rick Sanders

-Original Message-
From: Rey Bango [mailto:[EMAIL PROTECTED] 
Sent: February-29-08 9:09 PM
To: CF-Talk
Subject: Upgrade from Win2K to Windows 2008 

Its a little early in the release of Windows Server 2008 but since I 
want to upgrade from Window 2000, I wanted to see if anyone:

1) Has installed it
2) Has had any issues running CF on it

Any feedback would be awesome.

Thanks,

Rey



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300230
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Upgrade from Win2K to Windows 2008

2008-02-29 Thread Rey Bango
Its a little early in the release of Windows Server 2008 but since I 
want to upgrade from Window 2000, I wanted to see if anyone:

1) Has installed it
2) Has had any issues running CF on it

Any feedback would be awesome.

Thanks,

Rey

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300229
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: An effort to make cold fusion 8 standard edition more efficie nt

2008-02-29 Thread James Holmes
Have you seriously looked at what Ext offers?

On Sat, Mar 1, 2008 at 3:34 AM, Claude Schneegans
<[EMAIL PROTECTED]> wrote:
>  >>3. Use something else that's not integrated.
>
>   4. develop your own ;-)


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

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300228
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: JRun Clustering problem - Instance keeps &quot;shutting down&quot;

2008-02-29 Thread Jochem van Dieten
James Buckingham wrote:
> The log file was from the failing instance. It was residing in the 
> C:\JRuns\Logs\ folder.

Is there anything from the "Clusterable service" in your *-event.log on 
the failing or other instances? At the very least you should see some of 
it when the instance starts or stops.


> C:\JRun4\lib\wsconfig\1\LogFiles\jrun_iis6_wildcard080227.log - 
> 
> 2008-02-27 10:50:43 jrISAPI[2192:6480]  Sticky session breakage, a host for 
> serving session 503042d9e2ad1a7e34287c18369f231a287aTR; 
> __utma=228107678.392619640.1204109239.1204109239.1204109239.1; 
> __utmb=228107678; __utmc=228107678; 
> __utmz=228107678.1204109239.1.1.utmccn=(referral)|utmcsr=us.f352.mail.yahoo.com|utmcct=/ym/ShowLetter|utmcmd=referral
>  not available.  Failing over to another server, but above session is broken.
> 2008-02-27 10:50:45 jrISAPI[4052:6480]  Sticky session breakage, a host for 
> serving session 50302bd60c2496e669ee2155771f16362587TR not available.  
> Failing over to another server, but above session is broken.
> 2008-02-27 10:50:52 jrISAPI[9760:6480]  Sticky session breakage, a host for 
> serving session 5030b494a4dd95871bb572701d10113ba365TR; 
> __utma=228107678.629465025.1204106629.1204106629.1204106629.1; 
> __utmb=228107678; __utmc=228107678; 
> __utmz=228107678.1204106629.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none) 
> not available.  Failing over to another server, but above session is broken.

The common thing between those loglines is that the sessionid starts 
with 5030, which is the ID of the failing instance. Do you have any 
failing sessions with a different ID?

Jochem

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300227
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: TIGER/Line

2008-02-29 Thread Ian Skinner
Graham Pearson wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>  
> Has anyone worked with the TIGER/Line Data in Coldfusion.
No I have not but I would love to ease drop on the conversation.  You 
may get slightly broader help if you just bring up what the actual PHP 
code does that you can't do in ColdFusion.  Somebody who has no idea 
about TIGER data may still be able to help you translate the PHP.



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300226
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


TIGER/Line

2008-02-29 Thread Graham Pearson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
 
Has anyone worked with the TIGER/Line Data in Coldfusion. I am trying to 
convert a PHP script over to Coldfusion to utilize this data and running 
into some problems and would like to chat about it. I would like to 
create my own Web Service utilizing this instead of Screen Scaping the 
information from the USPS and geocoder.us websites.



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.8 (MingW32)
Comment: GnuPT 2.6.2.1 by EQUIPMENTE.DE
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
iD8DBQFHyGOm3GqPAgBSy90RAlcNAJ9GiFzpx6Tb0r510xeL7vBFB9eLQwCfYUOH
0qtggUV3jFL7dt8luOgbwhs=
=Z3ho
-END PGP SIGNATURE-


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300225
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Failing gracefully when using xmlParse()...

2008-02-29 Thread Che Vilnonis
Yup. I hear ya. I just thought I might be able to write a few less lines of
code. :)
No biggie...

-Original Message-
From: Brad Wood [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 29, 2008 2:17 PM
To: CF-Talk
Subject: RE: Failing gracefully when using xmlParse()...

Xmlparse assumes that any preliminary checks and validations have been
performed and that the string being passed in is well-formed XML.

I can see what you are saying, but xmlparse could receive its input from
absolutely anywhere so it wouldn't really work very well for xmlparse to try
and catch those errors.  The onus is on the programmer to ensure they have
well-formed XML before they knock on xmlparse's door.

~Brad


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300224
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Failing gracefully when using xmlParse()...

2008-02-29 Thread Brad Wood
Xmlparse assumes that any preliminary checks and validations have been
performed and that the string being passed in is well-formed XML.

I can see what you are saying, but xmlparse could receive its input from
absolutely anywhere so it wouldn't really work very well for xmlparse to
try and catch those errors.  The onus is on the programmer to ensure
they have well-formed XML before they knock on xmlparse's door.

~Brad

-Original Message-
From: Che Vilnonis [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 29, 2008 1:15 PM
To: CF-Talk
Subject: RE: Failing gracefully when using xmlParse()...

Knew that. Thought xmlparse had something similar "baked" into it. 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300223
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Failing gracefully when using xmlParse()...

2008-02-29 Thread Ian Skinner
Che Vilnonis wrote:
> I'd rather not use a cftry/cfcatch block.
>
> Thanks, Che
>   
Why not?  It's the first thing that popped into my mind and seems 
eminently appropriate.  If you want to do something differently then the 
generally accepted way to do something, then it would help to know the 
reason you desire to buck the general consensus?

I've not played with  can it work off of a  
result, allowing you to use the 200 status?

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300222
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: HOLY messed up Leap year problem! CFFTP HELP!

2008-02-29 Thread J W
Yup.. I bet this is the issue. Weird. I guess I will be changing time stamps
on those files with TOUCH on the Unix server until tomorrow, and hopefully
it will go back to normal tomorrow.

Jeff

On Fri, Feb 29, 2008 at 12:03 PM, Gerald Guido <[EMAIL PROTECTED]>
wrote:

> >Slaps head<
>
> You are partially right. It is an issue with the ftp client CF uses:
> apache
> commons ftp 1.4.x
>
> http://issues.apache.org/jira/browse/NET-188
>
> http://blogs.lodgon.com/johan/Leap_year_issues_in_apache_commonsnet
>
> I found these here:
>
> http://www.google.com/search?num=100&hl=en&rlz=1B3GGGL_enUS209US209&q=apache+commons+ftp+leap+year&btnG=Search
>
> On Fri, Feb 29, 2008 at 11:47 AM, J W <[EMAIL PROTECTED]> wrote:
>
> > I don't see how it could be the ftp server since I can log in to that
> > server
> > with FireFTP and see those files without issue.
> >
> > On Fri, Feb 29, 2008 at 11:27 AM, Gerald Guido <[EMAIL PROTECTED]>
> > wrote:
> >
> > > Sounds like its the ftp server. I would google the ftp server &
> version
> > > and
> > > see if there are any work arounds.
> > >
> > > On a hunch I would see if passive = "true" or vice versa does
> anything.
> > >
> > >
> > >
> > > On Fri, Feb 29, 2008 at 11:19 AM, J W <[EMAIL PROTECTED]> wrote:
> > >
> > > > A follow up... I setup a test ftp site on a WINDOWS 2003 box and
> cfftp
> > > CAN
> > > > SEE the file fine.
> > > >
> > > > Solaris UNIX 5.8/8.0 intel version is the server I am connecting
> too,
> > I
> > > > CANNOT SEE files created on the 29th using cfftp.
> > > >
> > > > WEIRD.
> > > >
> > > >
> > > > On Fri, Feb 29, 2008 at 10:51 AM, J W <[EMAIL PROTECTED]>
> wrote:
> > > >
> > > > > I FTP to a unix server to grab 4 files multiple times a day. I
> have
> > a
> > > > > Coldfusion 8 windows 2003 server.
> > > > >
> > > > > Today's Feb 29th 2008 files DON'T show up! If I use FIREFTP I can
> > see
> > > > them
> > > > > in the directory, but connect with CFFTP I cannot see ANY file
> > created
> > > > with
> > > > > a Date of Feb 29, 2008???
> > > > >
> > > > > Anyone with ANY ideas?? Did I just find a CF8 bug?
> > > > >
> > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
> 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300221
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: How much memory should be allocated to the JVM?

2008-02-29 Thread Dave Watts
> Whoa Do you know which patch? Was it one of the 
> auto-update ones? We should write that down. That would be 
> one of those things that would take forever to figure out. 

It was an auto-update patch, and I discovered the problem in a client's
production environment (!) of about six clustered servers. I can't explain
why the hell they'd enable automatic updates in production.

http://support.microsoft.com/kb/924054

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

Fig Leaf Training: Adobe/Google/Paperthin Certified Partners
http://training.figleaf.com/

WebManiacs 2008: the ultimate conference for CF/Flex/AIR developers!
http://www.webmaniacsconference.com/

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300220
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Failing gracefully when using xmlParse()...

2008-02-29 Thread Che Vilnonis
Knew that. Thought xmlparse had something similar "baked" into it. 

-Original Message-
From: Ben Doom [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 29, 2008 2:09 PM
To: CF-Talk
Subject: Re: Failing gracefully when using xmlParse()...

You could use cfhttp to load the xml data into a variable, then parse the
contents on a successful retrieval.

--Ben Doom

Che Vilnonis wrote:
> How can I fail gracefully when using xmlParse and the feed is not 
> available/online?
> 
>  xmlParse("http://www.somedomainwithrssfeed.com/keyword.xml";)>
> 
> When using cfhttp, you could always use  cfhttp.statusCode)> to test for success. How is it done with xmlParse? 
> I'd rather not use a cftry/cfcatch block.
> 
> Thanks, Che
> 
> 
> 
> 
> 



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300219
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Failing gracefully when using xmlParse()...

2008-02-29 Thread Che Vilnonis
OK. Just thought there might be some flag in the xmlparse function that
might say there was a connection problem. 

-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 29, 2008 2:15 PM
To: CF-Talk
Subject: RE: Failing gracefully when using xmlParse()...

> How can I fail gracefully when using xmlParse and the feed is not 
> available/online?
> 
>  xmlParse("http://www.somedomainwithrssfeed.com/keyword.xml";)>

Use try/catch.

> When using cfhttp, you could always use  cfhttp.statusCode)> to test for success.
> How is it done with xmlParse? I'd rather not use a cftry/cfcatch 
> block.

Why? This is exactly what try/catch is for!

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

Fig Leaf Training: Adobe/Google/Paperthin Certified Partners
http://training.figleaf.com/

WebManiacs 2008: the ultimate conference for CF/Flex/AIR developers!
http://www.webmaniacsconference.com/



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300218
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Failing gracefully when using xmlParse()...

2008-02-29 Thread Dave Watts
> How can I fail gracefully when using xmlParse and the feed is 
> not available/online?
> 
>  xmlParse("http://www.somedomainwithrssfeed.com/keyword.xml";)>

Use try/catch.

> When using cfhttp, you could always use  findNoCase("200", cfhttp.statusCode)> to test for success. 
> How is it done with xmlParse? I'd rather not use a 
> cftry/cfcatch block.

Why? This is exactly what try/catch is for!

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

Fig Leaf Training: Adobe/Google/Paperthin Certified Partners
http://training.figleaf.com/

WebManiacs 2008: the ultimate conference for CF/Flex/AIR developers!
http://www.webmaniacsconference.com/

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300217
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Failing gracefully when using xmlParse()...

2008-02-29 Thread Ben Doom
You could use cfhttp to load the xml data into a variable, then parse 
the contents on a successful retrieval.

--Ben Doom

Che Vilnonis wrote:
> How can I fail gracefully when using xmlParse and the feed is not
> available/online?
> 
>  xmlParse("http://www.somedomainwithrssfeed.com/keyword.xml";)>
> 
> When using cfhttp, you could always use  cfhttp.statusCode)> to test for success. How is it done with xmlParse? I'd
> rather not use a cftry/cfcatch block.
> 
> Thanks, Che
> 
> 
> 
> 
> 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300216
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: How much memory should be allocated to the JVM?

2008-02-29 Thread Mark Kruger
Dave,

Whoa Do you know which patch? Was it one of the auto-update ones? We
should write that down. That would be one of those things that would take
forever to figure out. 

-mark 

-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 29, 2008 1:05 PM
To: CF-Talk
Subject: RE: How much memory should be allocated to the JVM?

> The number you specify must be available as a continuous memory block. 
> If your system loads lots of programs before CF or loads programs into 
> non-optimal places there may be less memory available.

I ran into an interesting case of this a while back, when a Windows Server
2003 patch prevented programs from allocating more than 512MB of contiguous
memory after startup. So, CF would start up successfully if it was
configured to start on system startup, but you couldn't stop and restart it
without restarting the OS!

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

Fig Leaf Training: Adobe/Google/Paperthin Certified Partners
http://training.figleaf.com/

WebManiacs 2008: the ultimate conference for CF/Flex/AIR developers!
http://www.webmaniacsconference.com/



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300215
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Failing gracefully when using xmlParse()...

2008-02-29 Thread Che Vilnonis
How can I fail gracefully when using xmlParse and the feed is not
available/online?

http://www.somedomainwithrssfeed.com/keyword.xml";)>

When using cfhttp, you could always use  to test for success. How is it done with xmlParse? I'd
rather not use a cftry/cfcatch block.

Thanks, Che




~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300214
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: How much memory should be allocated to the JVM?

2008-02-29 Thread Dave Watts
> The number you specify must be available as a continuous 
> memory block. If your system loads lots of programs before CF 
> or loads programs into non-optimal places there may be less 
> memory available.

I ran into an interesting case of this a while back, when a Windows Server
2003 patch prevented programs from allocating more than 512MB of contiguous
memory after startup. So, CF would start up successfully if it was
configured to start on system startup, but you couldn't stop and restart it
without restarting the OS!

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

Fig Leaf Training: Adobe/Google/Paperthin Certified Partners
http://training.figleaf.com/

WebManiacs 2008: the ultimate conference for CF/Flex/AIR developers!
http://www.webmaniacsconference.com/

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300213
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: How much memory should be allocated to the JVM?

2008-02-29 Thread Mark Kruger
Russ,

Not so fast... If you are using 7 gigs already then the issue is not how
much memory you have free total.. The issue is are there enough blocks of
contiguous memory available to equal the heap size you are targeting. On a
server running JUST an operating system (say Win2000 or 03) and 2 gigs of
ram I can achieve 1280 mgs... But it sounds to me like you have other
processes using 7 gigs... That is a lot already going on... And you cannot
control "where" the memory is allocated. Just like a hard drive that has
space on it but is extremely fragmented - your JVM may not be able to stack
enough blocks end to end (with exacting offset memory registers) to get to
1280.

Try killing all services and processes so that only the OS is running (say
150 to 250 megs used), then see if CF will start with 1280. 

-Mark
 

-Original Message-
From: Russ [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 29, 2008 12:29 PM
To: CF-Talk
Subject: RE: How much memory should be allocated to the JVM?

I have 12GB of ram and 5GB+ is free.  I kinda doubt that I don't have
continuous 1280MB available. 

Russ

> -Original Message-
> From: Jochem van Dieten [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 29, 2008 12:58 PM
> To: CF-Talk
> Subject: Re: How much memory should be allocated to the JVM?
> 
> Russ wrote:
> > In the meantime, I'm having trouble setting the setting -Xmx 1280.  
> > CF7 doesn't like that.  It works well with 1024.  Is there a smaller 
> > limit
> for
> > 1.4 JVM?
> 
> The number you specify must be available as a continuous memory block.
> If your system loads lots of programs before CF or loads programs into 
> non-optimal places there may be less memory available.
> 
> Jochem
> 
> 



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300212
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: An effort to make cold fusion 8 standard edition more efficie nt

2008-02-29 Thread Claude Schneegans
 >>3. Use something else that's not integrated.

 4. develop your own ;-)

-- 
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300211
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: How much memory should be allocated to the JVM?

2008-02-29 Thread Russ
I have 12GB of ram and 5GB+ is free.  I kinda doubt that I don't have
continuous 1280MB available. 

Russ

> -Original Message-
> From: Jochem van Dieten [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 29, 2008 12:58 PM
> To: CF-Talk
> Subject: Re: How much memory should be allocated to the JVM?
> 
> Russ wrote:
> > In the meantime, I'm having trouble setting the setting -Xmx 1280.  CF7
> > doesn't like that.  It works well with 1024.  Is there a smaller limit
> for
> > 1.4 JVM?
> 
> The number you specify must be available as a continuous memory block.
> If your system loads lots of programs before CF or loads programs into
> non-optimal places there may be less memory available.
> 
> Jochem
> 
> 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300210
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: An effort to make cold fusion 8 standard edition more efficie nt

2008-02-29 Thread Gerald Guido
> My opinion still is, if feasible, the best option is, not to
> have/load unnecessary heavy-duty javascripts in the first
> place

I am sure that the CF development team wrestled with these issues and did
the best that they could with the time frame and what they had to work with.
IMO they did an *amazing* job with the AJAX integration

AJAX is really is in it's infancy as a technology. Non trivial cross browser
JS is *very* difficult to master. And the state of the art (read: browsers)
has improved dramatically over the years. Cross browser JS/CSS/HTML used to
be a nightmare. Try this: Go into a room of seasoned web developers and say
CSS and Netscape in the same sentence.

This article by the famed author Bruce Eckel may offer a bit of perspective
on this matter:

http://www.artima.com/weblogs/viewpost.jsp?thread=193593


>> Third, this kind of thing happens ALL THE TIME. Generally, the first time
>> something's integrated with CF (or almost anything else), the integration
is
>> less than optimal.

This is the norm. Many people generally wait until service pack one before
upgrading *ANYTHING* in a production environment.

Gerald


-- 
"I get up every morning determined to both change the world and have one
hell of a good time. Sometimes this makes planning my day difficult."
 - E. B. White


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300209
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: An effort to make cold fusion 8 standard edition more efficie nt

2008-02-29 Thread Cutter (CFRelated)
Don,

I'm going to try to be nice here. I'm quitting smoking right now, so if 
I seem snappy try not to take it personally.

Adobe has given us tools, within CF, to do things that most backend, 
server-side developers never (or rarely) get into. It made them dead 
simple, used the best and most professional third party libraries 
available (in my opinion), and set it up so anyone could do it. If your 
application is too slow for you, or your client, and your not willing to 
put in the extra work to make it better, by rolling your own solution, 
then that isn't the fault of Adobe. I apologize for being blunt, but 
most ColdFusion developers, past the beginner level, rarely if ever use 
cfform, and haven't for years. It was made for really rapid prototyping, 
small projects with no budget or time, and developers who can't (or 
wouldn't) write their own custom form validation, and has never been 
ideal. (Again, my opinion) Now, with these new CF8 Ajax components, 
developers are using cfform again, to get the fancy grids and 
auto-suggest. More advanced applications require 'beyond the basics' 
functionality of these controls, and developers have to learn the 
underlying libraries to build those applications.

Ext isn't that hard, and you probably could have rewritten the majority 
of your application in the time that this thread has been going on. You 
would have already optimized the code for better browser performance. 
Also keep in mind that the average user will not have caching disabled 
on their browser (like developers do), and the perceived performance of 
these components will be much higher to them, after the initial page 
load, because all of the assets will be resident in their browser cache.

Steve "Cutter" Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer
_
http://blog.cutterscrossing.com

Don L wrote:
> Dave, Rick, Russ, John and Gerald,
> 
> Thank you all for your thoughts.  To Gerald, you were probably referring to 
> IIS6.
> 
> My opinion still is, if feasible, the best option is, not to have/load 
> unnecessary heavy-duty javascripts in the first place, and to make 
> "things/features" more configurable by design.  In the case of cf8's 
> integration with FukEditor, as some else has alluded on a separate thread 
> before, it seemed to have been added in a rush, a reputable company should 
> not do something like that to its flagship product... No, this is not Alice 
> in Wonderland, it's called business ethics.
> 
> Don
> 
>> Actually configuring compression is easy in IIS. It has a GUI for this as
>> well. It took me about 5 min to figure it out and implement. What is
>> difficult is per domain/web site compression. IIS does it for all domains
>> hosted on the box. If you want more granular control you will need HttpZip's
>> Port80. I am going off of a 4 year old memory so maybe things are different,
>> probably not though.
>>
>> IIS's compression is rather impressive. I had a pricing matrix for pricing
>> out screen print t shirts on the fly. The page (mostly javascript) was
>> ~500K. ISS took it down to something like 30-40k.
>>
>>
>> On Fri, Feb 29, 2008 at 1:11 AM, John Mason <[EMAIL PROTECTED]> wrote:
>>
> 
> 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300208
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: How much memory should be allocated to the JVM?

2008-02-29 Thread Jochem van Dieten
Russ wrote:
> In the meantime, I'm having trouble setting the setting -Xmx 1280.  CF7
> doesn't like that.  It works well with 1024.  Is there a smaller limit for
> 1.4 JVM?

The number you specify must be available as a continuous memory block. 
If your system loads lots of programs before CF or loads programs into 
non-optimal places there may be less memory available.

Jochem

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300207
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: OT - URL Rewriting, an unknown number of items

2008-02-29 Thread Adrian Lynch
Thanks Ben! I did think this at the beginning, not sure why I gave up on the
idea :OD

Adrian

-Original Message-
From: Ben Doom
Sent: 29 February 2008 17:39
To: CF-Talk
Subject: Re: OT - URL Rewriting, an unknown number of items


Instead of trying to rewrite the list this way, wouldn't it make more
sense to do something like:

^something/(.+) /somefile.cfm?items=$1

Then you could traverse the item list in CF using / as a delimiter, and
not have to have multiple rules for the URLS.

Of course, that all assumes that the item list is the last bit of the
URL, which may or may not be true.

--Ben Doom

Russ wrote:
> The simplest way would be to write a rule for each item up to a max that
you
> think you'd hit
>
> RewriteRule ^something/([^/])+/*$ /somefile.cfm?items=$1
> RewriteRule ^something/([^/])+/([^/])+/*$ /somefile.cfm?items=$1,$2
> RewriteRule ^something/([^/])+/([^/])+/([^/])+*$
> /somefile.cfm?items=$1,$2,$3
>
> And so on.
>
>
>
>> -Original Message-
>> From: Adrian Lynch [mailto:[EMAIL PROTECTED]
>> Sent: Friday, February 29, 2008 12:03 PM
>> To: CF-Talk
>> Subject: RE: OT - URL Rewriting, an unknown number of items
>>
>> Sorry, I didn't say what I wanted out the other end...
>>
>> something/item1/item2/item3
>>
>> would become somefile.cfm?items=item1,item2,item3
>>
>> The something/somefile parts aren't important, it's the items that I
need.
>>
>> Cheers.
>>
>> -Original Message-
>> From: Jordan Michaels
>> Sent: 29 February 2008 16:59
>> To: CF-Talk
>> Subject: Re: OT - URL Rewriting, an unknown number of items
>>
>>
>> Just to clarify, are you wanting to deal with a list of variables, like
>> so:
>>
>> fruits = orange, apple, pear, etc
>>
>> Or are you looking for item1, item2, item3 to contain values to
>> different variables?
>>
>> Warm regards,
>> Jordan Michaels
>> Vivio Technologies
>> http://www.viviotech.net/
>> BlueDragon Alliance Member
>> [EMAIL PROTECTED]
>>
>>
>> Adrian Lynch wrote:
>>> Sorry again for the OT.
>>>
>>> I have a URL in the form:
>>>
>>> /with/item1/item2/item3/
>>>
>>> Where there can be any number of items.
>>>
>>> Is there a RegEx to deal with this?
>>>
>>> I could cap the number of items to something acceptable, but either way
>>> would be find.
>>>
>>> Thanks.
>>>
>>> Adrian Lynch
>>>
>>>
>>>
>>
>>
>>
>
>



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300206
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: An effort to make cold fusion 8 standard edition more efficie nt

2008-02-29 Thread Don L
Thank you for your time, inputs, Dave, and some of your points seem 
reasonable..., I'm very lousy in spelling among many other shortcomings :)

Don
>
>First, perhaps you shouldn't call it "FukEditor". The actual name is
>problematic enough.
>
>Second, I love CF a lot, but it's not Adobe's flagship product.
>
>Third, this kind of thing happens ALL THE TIME. Generally, the first time
>something's integrated with CF (or almost anything else), the integration is
>less than optimal. For example, CFFORM generated crappy code for many years
>(for example, it couldn't be made XHTML compliant). If you don't like the
>way it's integrated, you have several options:
>
>1. Submit a change request to Adobe. Eventually they'll probably fix it.
>2. Use it despite its drawbacks, in the hope that future versions of CF will
>make it work better; your code will automatically inherit those
>improvements.
>3. Use something else that's not integrated.
>
>Note that these aren't entirely mutually exclusive, either.
>
>This isn't Alice in Wonderland, whatever that means, but it has nothing to
>do with business ethics either.
>
>Dave Watts, CTO, Fig Leaf Software
>http://www.figleaf.com/
>
>Fig Leaf Training: Adobe/Google/Paperthin Certified Partners
>http://training.figleaf.com/
>
>WebManiacs 2008: the ultimate conference for CF/Flex/AIR developers!
>http://www.webmaniacsconference.com/ 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300205
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: OT - URL Rewriting, an unknown number of items

2008-02-29 Thread Adrian Lynch
The problem with that is, I have 40+ rules in place already and the items
can be at the end of all of them.

Could I do something like this?

^something/?(item1)?/?(item2)/?(item3)/?(item4)/?(item5)/?(item6)/?

Rewrite to:

somefile.cfm?items=$1,$2,$3,$4,$5,$6

Which could turn into any one of:

somefile.cfm?items=item1,item2
somefile.cfm?items=item1,,,item4,,item6
somefile.cfm?items=,

Then do another rewrite to remove any multiple commas.

Can I rewrite the same URL more than once?

So take the result of one rewrite and pass it to another?

I'm looking though the docs at the moment.

Adrian

-Original Message-
From: Russ [mailto:[EMAIL PROTECTED]
Sent: 29 February 2008 17:17
To: CF-Talk
Subject: RE: OT - URL Rewriting, an unknown number of items


The simplest way would be to write a rule for each item up to a max that you
think you'd hit

RewriteRule ^something/([^/])+/*$   /somefile.cfm?items=$1
RewriteRule ^something/([^/])+/([^/])+/*$   /somefile.cfm?items=$1,$2
RewriteRule ^something/([^/])+/([^/])+/([^/])+*$
/somefile.cfm?items=$1,$2,$3

And so on.



> -Original Message-
> From: Adrian Lynch [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 29, 2008 12:03 PM
> To: CF-Talk
> Subject: RE: OT - URL Rewriting, an unknown number of items
>
> Sorry, I didn't say what I wanted out the other end...
>
> something/item1/item2/item3
>
> would become somefile.cfm?items=item1,item2,item3
>
> The something/somefile parts aren't important, it's the items that I need.
>
> Cheers.
>
> -Original Message-
> From: Jordan Michaels
> Sent: 29 February 2008 16:59
> To: CF-Talk
> Subject: Re: OT - URL Rewriting, an unknown number of items
>
>
> Just to clarify, are you wanting to deal with a list of variables, like
> so:
>
> fruits = orange, apple, pear, etc
>
> Or are you looking for item1, item2, item3 to contain values to
> different variables?
>
> Warm regards,
> Jordan Michaels
> Vivio Technologies
> http://www.viviotech.net/
> BlueDragon Alliance Member
> [EMAIL PROTECTED]
>
>
> Adrian Lynch wrote:
> > Sorry again for the OT.
> >
> > I have a URL in the form:
> >
> > /with/item1/item2/item3/
> >
> > Where there can be any number of items.
> >
> > Is there a RegEx to deal with this?
> >
> > I could cap the number of items to something acceptable, but either way
> > would be find.
> >
> > Thanks.
> >
> > Adrian Lynch


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300204
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: OT - URL Rewriting, an unknown number of items

2008-02-29 Thread Ben Doom
Instead of trying to rewrite the list this way, wouldn't it make more 
sense to do something like:

^something/(.+) /somefile.cfm?items=$1

Then you could traverse the item list in CF using / as a delimiter, and 
not have to have multiple rules for the URLS.

Of course, that all assumes that the item list is the last bit of the 
URL, which may or may not be true.

--Ben Doom

Russ wrote:
> The simplest way would be to write a rule for each item up to a max that you
> think you'd hit
> 
> RewriteRule ^something/([^/])+/*$ /somefile.cfm?items=$1
> RewriteRule ^something/([^/])+/([^/])+/*$ /somefile.cfm?items=$1,$2
> RewriteRule ^something/([^/])+/([^/])+/([^/])+*$
> /somefile.cfm?items=$1,$2,$3
> 
> And so on.  
> 
> 
> 
>> -Original Message-
>> From: Adrian Lynch [mailto:[EMAIL PROTECTED]
>> Sent: Friday, February 29, 2008 12:03 PM
>> To: CF-Talk
>> Subject: RE: OT - URL Rewriting, an unknown number of items
>>
>> Sorry, I didn't say what I wanted out the other end...
>>
>> something/item1/item2/item3
>>
>> would become somefile.cfm?items=item1,item2,item3
>>
>> The something/somefile parts aren't important, it's the items that I need.
>>
>> Cheers.
>>
>> -Original Message-
>> From: Jordan Michaels
>> Sent: 29 February 2008 16:59
>> To: CF-Talk
>> Subject: Re: OT - URL Rewriting, an unknown number of items
>>
>>
>> Just to clarify, are you wanting to deal with a list of variables, like
>> so:
>>
>> fruits = orange, apple, pear, etc
>>
>> Or are you looking for item1, item2, item3 to contain values to
>> different variables?
>>
>> Warm regards,
>> Jordan Michaels
>> Vivio Technologies
>> http://www.viviotech.net/
>> BlueDragon Alliance Member
>> [EMAIL PROTECTED]
>>
>>
>> Adrian Lynch wrote:
>>> Sorry again for the OT.
>>>
>>> I have a URL in the form:
>>>
>>> /with/item1/item2/item3/
>>>
>>> Where there can be any number of items.
>>>
>>> Is there a RegEx to deal with this?
>>>
>>> I could cap the number of items to something acceptable, but either way
>>> would be find.
>>>
>>> Thanks.
>>>
>>> Adrian Lynch
>>>
>>>
>>>
>>
>>
>>
> 
> 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300203
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: OT - URL Rewriting, an unknown number of items

2008-02-29 Thread Ben Doom
I'm assuming here that you want to deal with them in CF, once you've 
gotten to your processing page.

I'd probably use either a replace or a regex to remove the /with/ and 
whatever other "known" elements need to be removed from the URL string. 
  Then, I'd just loop over it as a list with / as a delimiter.

HTH.

--Ben Doom

Adrian Lynch wrote:
> Sorry again for the OT.
> 
> I have a URL in the form:
> 
> /with/item1/item2/item3/
> 
> Where there can be any number of items.
> 
> Is there a RegEx to deal with this?
> 
> I could cap the number of items to something acceptable, but either way
> would be find.
> 
> Thanks.
> 
> Adrian Lynch
> 
> 
> 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300202
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: OT - URL Rewriting, an unknown number of items

2008-02-29 Thread Russ
The simplest way would be to write a rule for each item up to a max that you
think you'd hit

RewriteRule ^something/([^/])+/*$   /somefile.cfm?items=$1
RewriteRule ^something/([^/])+/([^/])+/*$   /somefile.cfm?items=$1,$2
RewriteRule ^something/([^/])+/([^/])+/([^/])+*$
/somefile.cfm?items=$1,$2,$3

And so on.  



> -Original Message-
> From: Adrian Lynch [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 29, 2008 12:03 PM
> To: CF-Talk
> Subject: RE: OT - URL Rewriting, an unknown number of items
> 
> Sorry, I didn't say what I wanted out the other end...
> 
> something/item1/item2/item3
> 
> would become somefile.cfm?items=item1,item2,item3
> 
> The something/somefile parts aren't important, it's the items that I need.
> 
> Cheers.
> 
> -Original Message-
> From: Jordan Michaels
> Sent: 29 February 2008 16:59
> To: CF-Talk
> Subject: Re: OT - URL Rewriting, an unknown number of items
> 
> 
> Just to clarify, are you wanting to deal with a list of variables, like
> so:
> 
> fruits = orange, apple, pear, etc
> 
> Or are you looking for item1, item2, item3 to contain values to
> different variables?
> 
> Warm regards,
> Jordan Michaels
> Vivio Technologies
> http://www.viviotech.net/
> BlueDragon Alliance Member
> [EMAIL PROTECTED]
> 
> 
> Adrian Lynch wrote:
> > Sorry again for the OT.
> >
> > I have a URL in the form:
> >
> > /with/item1/item2/item3/
> >
> > Where there can be any number of items.
> >
> > Is there a RegEx to deal with this?
> >
> > I could cap the number of items to something acceptable, but either way
> > would be find.
> >
> > Thanks.
> >
> > Adrian Lynch
> >
> >
> >
> 
> 
> 
> 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300201
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: How much memory should be allocated to the JVM?

2008-02-29 Thread Mark Kruger
Ian,

Yes... I think it is actually a theoretical limit... Right? Like 17,000 gigs
or something? Does anyone know a number?

-Mark
 

-Original Message-
From: Ian Skinner [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 29, 2008 8:50 AM
To: CF-Talk
Subject: Re: How much memory should be allocated to the JVM?

Mark Kruger wrote:
> ... there is a limit to how large the heap can be (on 32bit anyway).
>
> -mark
Well there is a limit on a 64 bit system to.  It is just a much bigger
limit.



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300200
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: How much memory should be allocated to the JVM?

2008-02-29 Thread Mark Kruger
Russ,

I have multiple CF 7 servers using 1280 - but remember that your other
memory switches come into play as well (permsize, maxpermsize, newsize etc).
The aggregate heap  can't go over a certain amount of contiguous memory. 

-Mark

-Original Message-
From: Russ [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 29, 2008 8:48 AM
To: CF-Talk
Subject: RE: How much memory should be allocated to the JVM?

There is a limit, but hopefully Adobe will come up with 64bit support soon.


In the meantime, I'm having trouble setting the setting -Xmx 1280.  CF7
doesn't like that.  It works well with 1024.  Is there a smaller limit for
1.4 JVM?

Russ

> -Original Message-
> From: Mark Kruger [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 29, 2008 9:39 AM
> To: CF-Talk
> Subject: RE: How much memory should be allocated to the JVM?
> 
> It is quite surprising how many CF Servers go into production having 
> just the default JVM settings (0 to 512 heap).
> 
> I think that Adobe should have some choices during install... Maybe 
> profiles based on load and resources or whatever.  I don't think that 
> many people understand that throwing CF on a server with lots of RAM 
> won't help you unless you adjust the heap - and that there is a limit 
> to how large the heap can be (on 32bit anyway).
> 
> -mark
> 
> -Original Message-
> From: Jochem van Dieten [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 29, 2008 8:35 AM
> To: CF-Talk
> Subject: Re: How much memory should be allocated to the JVM?
> 
> Piet Bruins wrote:
> > Memory allocated to the JVM.  On our server we've seen errors 
> > related to
> Java heap space on a number of occasions:
> > "Error","jrpp-63","02/26/08","04:00:15","FTLAdminApp","Java heap 
> > space "Error","jrpp-663","02/21/08","20:38:01","FTLAdminApp","Java 
> > heap space 
> > "Error","jrpp-323","02/20/08","16:02:29","FTLAdminApp","Java
> > heap space
> >
> > We suspect we just need to increase the limits currently in place, 
> > but
> would prefer not to do so blindly.
> 
> Proper settings for your JVM are determined during load testing. If we 
> get called in when an app has been pushed into production without load 
> testing and there is an immediate problem we typically set it to 
> -Xmx1280m - Xms768m hoping it will make the server stable enough to do 
> proper load testing.
> 
> Jochem
> 
> 
> 
> 
> 



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300199
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: OT - URL Rewriting, an unknown number of items

2008-02-29 Thread Adrian Lynch
Sorry, I didn't say what I wanted out the other end...

something/item1/item2/item3

would become somefile.cfm?items=item1,item2,item3

The something/somefile parts aren't important, it's the items that I need.

Cheers.

-Original Message-
From: Jordan Michaels
Sent: 29 February 2008 16:59
To: CF-Talk
Subject: Re: OT - URL Rewriting, an unknown number of items


Just to clarify, are you wanting to deal with a list of variables, like so:

fruits = orange, apple, pear, etc

Or are you looking for item1, item2, item3 to contain values to
different variables?

Warm regards,
Jordan Michaels
Vivio Technologies
http://www.viviotech.net/
BlueDragon Alliance Member
[EMAIL PROTECTED]


Adrian Lynch wrote:
> Sorry again for the OT.
>
> I have a URL in the form:
>
> /with/item1/item2/item3/
>
> Where there can be any number of items.
>
> Is there a RegEx to deal with this?
>
> I could cap the number of items to something acceptable, but either way
> would be find.
>
> Thanks.
>
> Adrian Lynch
>
>
>



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300198
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: An effort to make cold fusion 8 standard edition more efficie nt

2008-02-29 Thread Dave Watts
> My opinion still is, if feasible, the best option is, not to 
> have/load unnecessary heavy-duty javascripts in the first 
> place, and to make "things/features" more configurable by 
> design.  In the case of cf8's integration with FukEditor, as 
> some else has alluded on a separate thread before, it seemed 
> to have been added in a rush, a reputable company should not 
> do something like that to its flagship product... No, this is 
> not Alice in Wonderland, it's called business ethics.

First, perhaps you shouldn't call it "FukEditor". The actual name is
problematic enough.

Second, I love CF a lot, but it's not Adobe's flagship product.

Third, this kind of thing happens ALL THE TIME. Generally, the first time
something's integrated with CF (or almost anything else), the integration is
less than optimal. For example, CFFORM generated crappy code for many years
(for example, it couldn't be made XHTML compliant). If you don't like the
way it's integrated, you have several options:

1. Submit a change request to Adobe. Eventually they'll probably fix it.
2. Use it despite its drawbacks, in the hope that future versions of CF will
make it work better; your code will automatically inherit those
improvements.
3. Use something else that's not integrated.

Note that these aren't entirely mutually exclusive, either.

This isn't Alice in Wonderland, whatever that means, but it has nothing to
do with business ethics either.

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

Fig Leaf Training: Adobe/Google/Paperthin Certified Partners
http://training.figleaf.com/

WebManiacs 2008: the ultimate conference for CF/Flex/AIR developers!
http://www.webmaniacsconference.com/

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300197
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: HOLY messed up Leap year problem! CFFTP HELP!

2008-02-29 Thread Gerald Guido
>Slaps head<

You are partially right. It is an issue with the ftp client CF uses: apache
commons ftp 1.4.x

http://issues.apache.org/jira/browse/NET-188

http://blogs.lodgon.com/johan/Leap_year_issues_in_apache_commonsnet

I found these here:
http://www.google.com/search?num=100&hl=en&rlz=1B3GGGL_enUS209US209&q=apache+commons+ftp+leap+year&btnG=Search

On Fri, Feb 29, 2008 at 11:47 AM, J W <[EMAIL PROTECTED]> wrote:

> I don't see how it could be the ftp server since I can log in to that
> server
> with FireFTP and see those files without issue.
>
> On Fri, Feb 29, 2008 at 11:27 AM, Gerald Guido <[EMAIL PROTECTED]>
> wrote:
>
> > Sounds like its the ftp server. I would google the ftp server & version
> > and
> > see if there are any work arounds.
> >
> > On a hunch I would see if passive = "true" or vice versa does anything.
> >
> >
> >
> > On Fri, Feb 29, 2008 at 11:19 AM, J W <[EMAIL PROTECTED]> wrote:
> >
> > > A follow up... I setup a test ftp site on a WINDOWS 2003 box and cfftp
> > CAN
> > > SEE the file fine.
> > >
> > > Solaris UNIX 5.8/8.0 intel version is the server I am connecting too,
> I
> > > CANNOT SEE files created on the 29th using cfftp.
> > >
> > > WEIRD.
> > >
> > >
> > > On Fri, Feb 29, 2008 at 10:51 AM, J W <[EMAIL PROTECTED]> wrote:
> > >
> > > > I FTP to a unix server to grab 4 files multiple times a day. I have
> a
> > > > Coldfusion 8 windows 2003 server.
> > > >
> > > > Today's Feb 29th 2008 files DON'T show up! If I use FIREFTP I can
> see
> > > them
> > > > in the directory, but connect with CFFTP I cannot see ANY file
> created
> > > with
> > > > a Date of Feb 29, 2008???
> > > >
> > > > Anyone with ANY ideas?? Did I just find a CF8 bug?
> > > >
> > >
> > >
> > >
> >
> >
>
> 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300196
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: OT - URL Rewriting, an unknown number of items

2008-02-29 Thread Russ
What do you want the vars to be rewritten into?

Russ

> -Original Message-
> From: Adrian Lynch [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 29, 2008 11:52 AM
> To: CF-Talk
> Subject: OT - URL Rewriting, an unknown number of items
> 
> Sorry again for the OT.
> 
> I have a URL in the form:
> 
> /with/item1/item2/item3/
> 
> Where there can be any number of items.
> 
> Is there a RegEx to deal with this?
> 
> I could cap the number of items to something acceptable, but either way
> would be find.
> 
> Thanks.
> 
> Adrian Lynch
> 
> 
> 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300195
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: HOLY messed up Leap year problem! CFFTP HELP!

2008-02-29 Thread Neil Middleton
Related?:

http://www.flatpackedworld.co.uk/blog/index.cfm/2008/2/28/Coldfusion-possible-Leap-Year-bug

Neil

On Fri, Feb 29, 2008 at 4:47 PM, J W <[EMAIL PROTECTED]> wrote:

> I don't see how it could be the ftp server since I can log in to that
> server
> with FireFTP and see those files without issue.
>
> On Fri, Feb 29, 2008 at 11:27 AM, Gerald Guido <[EMAIL PROTECTED]>
> wrote:
>
> > Sounds like its the ftp server. I would google the ftp server & version
> > and
> > see if there are any work arounds.
> >
> > On a hunch I would see if passive = "true" or vice versa does anything.
> >
> >
> >
> > On Fri, Feb 29, 2008 at 11:19 AM, J W <[EMAIL PROTECTED]> wrote:
> >
> > > A follow up... I setup a test ftp site on a WINDOWS 2003 box and cfftp
> > CAN
> > > SEE the file fine.
> > >
> > > Solaris UNIX 5.8/8.0 intel version is the server I am connecting too,
> I
> > > CANNOT SEE files created on the 29th using cfftp.
> > >
> > > WEIRD.
> > >
> > >
> > > On Fri, Feb 29, 2008 at 10:51 AM, J W <[EMAIL PROTECTED]> wrote:
> > >
> > > > I FTP to a unix server to grab 4 files multiple times a day. I have
> a
> > > > Coldfusion 8 windows 2003 server.
> > > >
> > > > Today's Feb 29th 2008 files DON'T show up! If I use FIREFTP I can
> see
> > > them
> > > > in the directory, but connect with CFFTP I cannot see ANY file
> created
> > > with
> > > > a Date of Feb 29, 2008???
> > > >
> > > > Anyone with ANY ideas?? Did I just find a CF8 bug?
> > > >
> > >
> > >
> > >
> >
> >
>
> 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300194
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: How much memory should be allocated to the JVM?

2008-02-29 Thread Dave Watts
> In the meantime, I'm having trouble setting the setting -Xmx 
> 1280.  CF7 doesn't like that.  It works well with 1024.  Is 
> there a smaller limit for 1.4 JVM?

I was never able to reliably get 1.4 to use more than 1024MB on Windows
Server 2003, myself.

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

Fig Leaf Training: Adobe/Google/Paperthin Certified Partners
http://training.figleaf.com/

WebManiacs 2008: the ultimate conference for CF/Flex/AIR developers!
http://www.webmaniacsconference.com/

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300193
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: OT - URL Rewriting, an unknown number of items

2008-02-29 Thread Barney Boisvert
There's not a way to do an arbitrary number that I know of, other than
using recursive redirection.  At a certain point, however, I'd just
start using the query string; that's what it's for.  The path is for
specific requests, but if you're adding additional information to the
request (not determining which page to view), the query string is the
right place in most cases.

cheers,
barneyb

On Fri, Feb 29, 2008 at 8:52 AM, Adrian Lynch <[EMAIL PROTECTED]> wrote:
> Sorry again for the OT.
>
>  I have a URL in the form:
>
>  /with/item1/item2/item3/
>
>  Where there can be any number of items.
>
>  Is there a RegEx to deal with this?
>
>  I could cap the number of items to something acceptable, but either way
>  would be find.
>
>  Thanks.
>
>  Adrian Lynch
>
>
>  

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300192
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: OT - URL Rewriting, an unknown number of items

2008-02-29 Thread Jordan Michaels
Just to clarify, are you wanting to deal with a list of variables, like so:

fruits = orange, apple, pear, etc

Or are you looking for item1, item2, item3 to contain values to
different variables?

Warm regards,
Jordan Michaels
Vivio Technologies
http://www.viviotech.net/
BlueDragon Alliance Member
[EMAIL PROTECTED]


Adrian Lynch wrote:
> Sorry again for the OT.
> 
> I have a URL in the form:
> 
> /with/item1/item2/item3/
> 
> Where there can be any number of items.
> 
> Is there a RegEx to deal with this?
> 
> I could cap the number of items to something acceptable, but either way
> would be find.
> 
> Thanks.
> 
> Adrian Lynch
> 
> 
> 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300191
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Help with Rewrite Rule! (circuit.fuseaction)

2008-02-29 Thread Adrian Lynch
Would using the end of string character ($) help with limiting things?

Adrian

-Original Message-
From: cf coder
Sent: 29 February 2008 14:38
To: CF-Talk
Subject: Re: Help with Rewrite Rule! (circuit.fuseaction)


I already tried that. This is the order:

RewriteRule /offers/books/([a-zA-Z0-9.-]+)(.*) /index.cfm?go=offers\.$1 [PT]
RewriteRule /offers(/books/.*)
/index.cfm?go=offers.details&bookid=${mapfile:$1}

I can browse this page (it's working):
http://mysite/offers/books/all

but when I try to browse this page:
http://mysite/offers/books/Harry-Potter

I get an error which states:

This is the template
"../fuseboxShared/ErrorTemplates/fusebox.undefinedFuseaction.cfm"
An Error of type "fusebox.undefinedFuseaction" has occurred
undefined Fuseaction
You specified a Fuseaction of Harry-Potter which is not defined in Circuit
books.

The first rule is getting executed and this is what's causing the error.

Any ideas?

>Put the RewriteRule for books.all first.
>
>Russ


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300190
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


OT - URL Rewriting, an unknown number of items

2008-02-29 Thread Adrian Lynch
Sorry again for the OT.

I have a URL in the form:

/with/item1/item2/item3/

Where there can be any number of items.

Is there a RegEx to deal with this?

I could cap the number of items to something acceptable, but either way
would be find.

Thanks.

Adrian Lynch


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300189
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CFLDAP problem

2008-02-29 Thread Carl Von Stetten
David,

Whenever I've had problems figuring out our LDAP setup, I use Softerra's free 
LDAP Browser (http://www.ldapbrowser.com/download.htm).  You can browse entire 
LDAP directories using this tool, allowing you to see all groups and attributes.

Carl

>I'm having a difficult time with a client's LDAP server. I'm using the
>routine 2-query CFLDAP auth scheme that first confirms the username on
>the nameserver using admin creds, then matches the username and password
>using the user's creds. The code works fine on multiple other instances.
>But I can't query one client's LDAP server beyond matching the username
>via the filter. When I add the password, even without any other
>attributes as filter="(unicode_Pwd=#FORM.userlogin#)", the query won't
>execute. I can't query at all via basic security / port 636, and using
>the unsecured default port acts as above.
>
>I am also unable to match on attributes their admin swears are correct. I
>can pull some (e.g. cn, firstName, givenName) but not others (e.g.
>samaccountName). And I'm at the limits of my CFLDAP experience and
>knowledge.   The client seems not to have anyone with expert knowledge of
>their LDAP server.  Any ideas would be greatly appreciated.
>
>Thanks!
>
>David
>
>-- 
>Want an e-mail address like mine?
>Get a free e-mail account today at www.mail.com! 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300188
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


cfstat checkbox resetting

2008-02-29 Thread Vance Whitehouse
Hello,

I've been upgrading our web servers from CF 7 to 8 and I'm not able to enable 
cfstat on them when they are running CF 8.  Every time I check the "Enable 
CFSTAT" checkbox in the CF administrator, hit submit, and restart CF then log 
back in and check the administrator the box is unchecked.  The box is even 
unchecked if I simply refresh the page after submitting it.  I have also 
verified that the "Watch configuration files for changes" checkbox is not 
checked.  Two of the servers are running Windows 2003 and two are running Red 
Hat ES 5.

Any ideas?

Thanks,
Vance 


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300187
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: HOLY messed up Leap year problem! CFFTP HELP!

2008-02-29 Thread J W
I don't see how it could be the ftp server since I can log in to that server
with FireFTP and see those files without issue.

On Fri, Feb 29, 2008 at 11:27 AM, Gerald Guido <[EMAIL PROTECTED]>
wrote:

> Sounds like its the ftp server. I would google the ftp server & version
> and
> see if there are any work arounds.
>
> On a hunch I would see if passive = "true" or vice versa does anything.
>
>
>
> On Fri, Feb 29, 2008 at 11:19 AM, J W <[EMAIL PROTECTED]> wrote:
>
> > A follow up... I setup a test ftp site on a WINDOWS 2003 box and cfftp
> CAN
> > SEE the file fine.
> >
> > Solaris UNIX 5.8/8.0 intel version is the server I am connecting too, I
> > CANNOT SEE files created on the 29th using cfftp.
> >
> > WEIRD.
> >
> >
> > On Fri, Feb 29, 2008 at 10:51 AM, J W <[EMAIL PROTECTED]> wrote:
> >
> > > I FTP to a unix server to grab 4 files multiple times a day. I have a
> > > Coldfusion 8 windows 2003 server.
> > >
> > > Today's Feb 29th 2008 files DON'T show up! If I use FIREFTP I can see
> > them
> > > in the directory, but connect with CFFTP I cannot see ANY file created
> > with
> > > a Date of Feb 29, 2008???
> > >
> > > Anyone with ANY ideas?? Did I just find a CF8 bug?
> > >
> >
> >
> >
>
> 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300186
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: An effort to make cold fusion 8 standard edition more efficie nt

2008-02-29 Thread Russ
Also one note about js compression... We had a guy call us who was having
issues with our sites.  I resolved them by not using js compression.  I
believe he was using ie5. 

Russ

> -Original Message-
> From: Don L [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 29, 2008 10:06 AM
> To: CF-Talk
> Subject: Re: An effort to make cold fusion 8 standard edition more efficie
> nt
> 
> Dave, Rick, Russ, John and Gerald,
> 
> Thank you all for your thoughts.  To Gerald, you were probably referring
> to IIS6.
> 
> My opinion still is, if feasible, the best option is, not to have/load
> unnecessary heavy-duty javascripts in the first place, and to make
> "things/features" more configurable by design.  In the case of cf8's
> integration with FukEditor, as some else has alluded on a separate thread
> before, it seemed to have been added in a rush, a reputable company should
> not do something like that to its flagship product... No, this is not
> Alice in Wonderland, it's called business ethics.
> 
> Don
> 
> >Actually configuring compression is easy in IIS. It has a GUI for this as
> >well. It took me about 5 min to figure it out and implement. What is
> >difficult is per domain/web site compression. IIS does it for all domains
> >hosted on the box. If you want more granular control you will need
> HttpZip's
> >Port80. I am going off of a 4 year old memory so maybe things are
> different,
> >probably not though.
> >
> >IIS's compression is rather impressive. I had a pricing matrix for
> pricing
> >out screen print t shirts on the fly. The page (mostly javascript) was
> >~500K. ISS took it down to something like 30-40k.
> >
> >
> >On Fri, Feb 29, 2008 at 1:11 AM, John Mason <[EMAIL PROTECTED]> wrote:
> >
> >>
> 
> 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300185
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: HOLY messed up Leap year problem! CFFTP HELP!

2008-02-29 Thread Gerald Guido
Sounds like its the ftp server. I would google the ftp server & version and
see if there are any work arounds.

On a hunch I would see if passive = "true" or vice versa does anything.



On Fri, Feb 29, 2008 at 11:19 AM, J W <[EMAIL PROTECTED]> wrote:

> A follow up... I setup a test ftp site on a WINDOWS 2003 box and cfftp CAN
> SEE the file fine.
>
> Solaris UNIX 5.8/8.0 intel version is the server I am connecting too, I
> CANNOT SEE files created on the 29th using cfftp.
>
> WEIRD.
>
>
> On Fri, Feb 29, 2008 at 10:51 AM, J W <[EMAIL PROTECTED]> wrote:
>
> > I FTP to a unix server to grab 4 files multiple times a day. I have a
> > Coldfusion 8 windows 2003 server.
> >
> > Today's Feb 29th 2008 files DON'T show up! If I use FIREFTP I can see
> them
> > in the directory, but connect with CFFTP I cannot see ANY file created
> with
> > a Date of Feb 29, 2008???
> >
> > Anyone with ANY ideas?? Did I just find a CF8 bug?
> >
>
>
> 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300184
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: HOLY messed up Leap year problem! CFFTP HELP!

2008-02-29 Thread J W
A follow up... I setup a test ftp site on a WINDOWS 2003 box and cfftp CAN
SEE the file fine.

Solaris UNIX 5.8/8.0 intel version is the server I am connecting too, I
CANNOT SEE files created on the 29th using cfftp.

WEIRD.


On Fri, Feb 29, 2008 at 10:51 AM, J W <[EMAIL PROTECTED]> wrote:

> I FTP to a unix server to grab 4 files multiple times a day. I have a
> Coldfusion 8 windows 2003 server.
>
> Today's Feb 29th 2008 files DON'T show up! If I use FIREFTP I can see them
> in the directory, but connect with CFFTP I cannot see ANY file created with
> a Date of Feb 29, 2008???
>
> Anyone with ANY ideas?? Did I just find a CF8 bug?
>


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300183
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


HOLY messed up Leap year problem! CFFTP HELP!

2008-02-29 Thread J W
I FTP to a unix server to grab 4 files multiple times a day. I have a
Coldfusion 8 windows 2003 server.

Today's Feb 29th 2008 files DON'T show up! If I use FIREFTP I can see them
in the directory, but connect with CFFTP I cannot see ANY file created with
a Date of Feb 29, 2008???

Anyone with ANY ideas?? Did I just find a CF8 bug?


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300182
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Help with Rewrite Rule! (circuit.fuseaction)

2008-02-29 Thread cf coder
Hi Adrian,

I added the L flag but that didn't make any difference as I'm still getting the 
error.

>Also, use the L flag to stop processing rules.
>
>Adrian
>
>Put the RewriteRule for books.all first. 
>
>Russ
>
>> cfcoder 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300181
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: cffile and security (repost)

2008-02-29 Thread Gerald Guido
>> My question is, why do I have to go to a temp file first

You don't. It is just a good idea to upload and manipulate your files away
from it's final destination.

>>and does the code I'm using below result in the upload being secure

It all depend on the security of the files final destination. If the
destination dir is secure, the file is secure (In theory).

>> Also, how do I deal with naming conflicts.

You have to check and see if a file of the same name exists i.e.
fileexists(). If it does you will need to rename the uploaded file or it
will over write the original.



On Fri, Feb 29, 2008 at 9:43 AM, Mark Fuqua <[EMAIL PROTECTED]> wrote:

> Good Morning,
>
> I have been working with cffile for the first time and in the process,
> read
> several places that you should upload files to a temp location outside
> your
> webroot for security reasons.  My original problem was with trying to
> eliminate spaces from file names...so now this is the process I'm
> using...upload to a temp file, remove spaces and replace with _ then move
> the file to final location(code below)
>
> My question is, why do I have to go to a temp file first and does the code
> I'm using below result in the upload being secure in it's final
> version/location?
>
> Also, how do I deal with naming conflicts...does move allow for the same
> options as upload...rename, overwrite ect.?  It doesn't seem to allow for
> a
> result struc. [I actually figured this one out...running fileExists before
> move.]
>
> Thanks for the help, just trying to make sure i'm not doing something
> really
> stupid.
>
> Mark
>
>
>
>
> 
> 
> select jobfoldername
> from jobs
> where jobId = #session.jobId#
> 
>
>
>
>
>
>fileField = "FileToUpload"
>destination = "c:/temp"
>accept = "image/pjpeg, image/jpg, application/pdf"
>nameConflict = "MakeUnique"
> result="result">
>
>
>
>
>
>
>
> Result.ServerFileName, "\s+","_",
> "all")>
>
>
> source="c:\temp\#Result.serverFileName#.pdf"
> destination="C:\temp\#NoSpaceServerFileName#.pdf">
>
> source="C:\temp\#NoSpaceServerFileName#.pdf"
>
> destination="C:\cfusionmx7\wwwroot\pyramidhomeworks\JobAdmin\JobFiles\#jobFo
> lder.jobFolderName#\#NoSpaceServerFileName#.pdf" result="moveresult">
>
>
>
>
>
>
>
>
>
> 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300180
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: SOT - SQL Union Problem

2008-02-29 Thread Sonny Savage
Hmm... the "extra" 10 people is interesting.  Doing a match on first name
and last name is really not a good idea for data integrity.  A good example
is in my family.  I am a "Junior" and my son is the "3rd".  Simply matching
on first and last name would return one result for my father, my son, and
I.  It's possible that a similar case caused your lower count in the
original query.  The query I sent you still has the possibility for this
condition.
Best practice would dictate that there really should be only one "person"
table.  All the logic to preserve uniqueness could be directed at a single
table that way.

On Thu, Feb 28, 2008 at 6:21 PM, Mark Henderson <[EMAIL PROTECTED]> wrote:

> Sonny,
>
> Sorry for the delay, as your original message got eaten by NoSpamToday
> on our Exchange server (go figure) and my time zone tends to have me in
> bed when the *rest of the world* is hard at work.
>
> Awesome, thanks (yes I think it worked)!
>
> I do have one question however - when I do the original union on just
> first and last names I get a record count of 1192, but when using your
> union and left outer join I have 1202. Just an interesting side note but
> it does appear to be doing what I want, so I wont delve into the
> intricacies too much.
>
> Once again, the assistance is much appreciated.
>
> Mark
>
>
> 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300179
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: An effort to make cold fusion 8 standard edition more efficie nt

2008-02-29 Thread Don L
Dave, Rick, Russ, John and Gerald,

Thank you all for your thoughts.  To Gerald, you were probably referring to 
IIS6.

My opinion still is, if feasible, the best option is, not to have/load 
unnecessary heavy-duty javascripts in the first place, and to make 
"things/features" more configurable by design.  In the case of cf8's 
integration with FukEditor, as some else has alluded on a separate thread 
before, it seemed to have been added in a rush, a reputable company should not 
do something like that to its flagship product... No, this is not Alice in 
Wonderland, it's called business ethics.

Don

>Actually configuring compression is easy in IIS. It has a GUI for this as
>well. It took me about 5 min to figure it out and implement. What is
>difficult is per domain/web site compression. IIS does it for all domains
>hosted on the box. If you want more granular control you will need HttpZip's
>Port80. I am going off of a 4 year old memory so maybe things are different,
>probably not though.
>
>IIS's compression is rather impressive. I had a pricing matrix for pricing
>out screen print t shirts on the fly. The page (mostly javascript) was
>~500K. ISS took it down to something like 30-40k.
>
>
>On Fri, Feb 29, 2008 at 1:11 AM, John Mason <[EMAIL PROTECTED]> wrote:
>
>> 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300178
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Prevent users from voting twice.

2008-02-29 Thread Bobby Hartsfield
 and from there it gets messy and involves sharp objects.

..:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com



-Original Message-
From: Ben Doom [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 29, 2008 9:39 AM
To: CF-Talk
Subject: Re: Prevent users from voting twice.

What's to stop someone from stealing/hacking/gaining from friends 
physical devices?  I think we're down to fingerprints, DNA scans, and 
retinal imaging.

But your point is taken.  :-)

--Ben Doom

Tom Chiverton wrote:
> On Thursday 28 Feb 2008, Ben Doom wrote:
>> You can never completely eliminate the possibility of someone voting
>> early and voting often
> 
> Not without physical devices, no.
> 




~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300177
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: No focus on page, when page loads

2008-02-29 Thread Dave Watts
> Hi, i'm using an xslt file that loads my 
> page - which does not use a body. 
>
> The problem i have is that everytime i 
> open the page the focus is on the submit 
> button. I don't really want that - where I
> just want no focus when the page opens 
> up. I geuss a javascript is needed but i 
> also dont have a body tag! 

You should rewrite your XSLT so that it generates valid HTML.

As for the focus, I don't think you can really have "no focus". You'll have to 
put it somewhere else. You can do this using the focus method on the "somewhere 
else" object:

document.forms[0].somefield.focus();

Or, I suppose you could call the submit button's blur method, which would move 
the focus to the next object in the tab order.

In either case, you could just put a JavaScript block at the bottom of the 
page, although using the BODY tag's onload event would be preferable. Again, 
there's no reason why you can't generate valid HTML from your XSLT.

Dave Watts, CTO, Fig Leaf Software

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300176
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: How much memory should be allocated to the JVM?

2008-02-29 Thread Ian Skinner
Mark Kruger wrote:
> ... there is a limit to how large the heap can be (on 32bit anyway).
>
> -mark 
Well there is a limit on a 64 bit system to.  It is just a much bigger 
limit.

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300175
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: How much memory should be allocated to the JVM?

2008-02-29 Thread Russ
There is a limit, but hopefully Adobe will come up with 64bit support soon.


In the meantime, I'm having trouble setting the setting -Xmx 1280.  CF7
doesn't like that.  It works well with 1024.  Is there a smaller limit for
1.4 JVM?

Russ

> -Original Message-
> From: Mark Kruger [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 29, 2008 9:39 AM
> To: CF-Talk
> Subject: RE: How much memory should be allocated to the JVM?
> 
> It is quite surprising how many CF Servers go into production having just
> the default JVM settings (0 to 512 heap).
> 
> I think that Adobe should have some choices during install... Maybe
> profiles
> based on load and resources or whatever.  I don't think that many people
> understand that throwing CF on a server with lots of RAM won't help you
> unless you adjust the heap - and that there is a limit to how large the
> heap
> can be (on 32bit anyway).
> 
> -mark
> 
> -Original Message-
> From: Jochem van Dieten [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 29, 2008 8:35 AM
> To: CF-Talk
> Subject: Re: How much memory should be allocated to the JVM?
> 
> Piet Bruins wrote:
> > Memory allocated to the JVM.  On our server we've seen errors related to
> Java heap space on a number of occasions:
> > "Error","jrpp-63","02/26/08","04:00:15","FTLAdminApp","Java heap space
> > "Error","jrpp-663","02/21/08","20:38:01","FTLAdminApp","Java heap
> > space "Error","jrpp-323","02/20/08","16:02:29","FTLAdminApp","Java
> > heap space
> >
> > We suspect we just need to increase the limits currently in place, but
> would prefer not to do so blindly.
> 
> Proper settings for your JVM are determined during load testing. If we get
> called in when an app has been pushed into production without load testing
> and there is an immediate problem we typically set it to -Xmx1280m -
> Xms768m
> hoping it will make the server stable enough to do proper load testing.
> 
> Jochem
> 
> 
> 
> 
> 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300174
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Help with Rewrite Rule! (circuit.fuseaction)

2008-02-29 Thread cf coder
I already tried that. This is the order:

RewriteRule /offers/books/([a-zA-Z0-9.-]+)(.*) /index.cfm?go=offers\.$1 [PT]
RewriteRule /offers(/books/.*) /index.cfm?go=offers.details&bookid=${mapfile:$1}

I can browse this page (it's working):
http://mysite/offers/books/all

but when I try to browse this page:
http://mysite/offers/books/Harry-Potter

I get an error which states:

This is the template 
"../fuseboxShared/ErrorTemplates/fusebox.undefinedFuseaction.cfm"
An Error of type "fusebox.undefinedFuseaction" has occurred
undefined Fuseaction
You specified a Fuseaction of Harry-Potter which is not defined in Circuit 
books. 

The first rule is getting executed and this is what's causing the error. 

Any ideas?

>Put the RewriteRule for books.all first. 
>
>Russ
>
>> 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300173
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: CFLDAP problem

2008-02-29 Thread Dawson, Michael
What LDAP server are you using, Active Directory or something else?

You shouldn't need to query the password attribute.

If you are using Active Directory, you only need one CFLDAP tag.  Just
pass in the username as "domain\user" or "[EMAIL PROTECTED]".  AD will let
any domain user query the directory and you don't need to use the
distinguishedName for the username.

Novell, however, requires the username to be similar to
"cn=mdawson,o=company".  Those types of directories require two CFLDAP
queries, of course, where the first query retrieves the
distinguishedName and the second query attempts to authenticate the
user.

You should be able to match on most any attributes.  Make sure you start
with a very simple filter.  "sAMAccountName=mdawson" or
"givenName=Michael".

However, if you are unsure what the values are, just query them, using
CFLDAP and output them.  Set your CFLDAP ATTRIBUTES =
"givenName,sn,cn,name,dn".

I would avoid using an asterisk to select all attributes.  It doesn't
work well with multi-value attributes such as "memberOf".

Post your code, if you can, and we will take a look.

m!ke

-Original Message-
From: david reiter [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 28, 2008 8:08 PM
To: CF-Talk
Subject: CFLDAP problem

I'm having a difficult time with a client's LDAP server. I'm using the
routine 2-query CFLDAP auth scheme that first confirms the username on
the nameserver using admin creds, then matches the username and password
using the user's creds. The code works fine on multiple other instances.
But I can't query one client's LDAP server beyond matching the username
via the filter. When I add the password, even without any other
attributes as filter="(unicode_Pwd=#FORM.userlogin#)", the query won't
execute. I can't query at all via basic security / port 636, and using
the unsecured default port acts as above.

I am also unable to match on attributes their admin swears are correct.
I can pull some (e.g. cn, firstName, givenName) but not others (e.g.
samaccountName). And I'm at the limits of my CFLDAP experience and
knowledge.   The client seems not to have anyone with expert knowledge
of
their LDAP server.  Any ideas would be greatly appreciated.

Thanks!

David

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300172
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


cffile and security (repost)

2008-02-29 Thread Mark Fuqua
Good Morning,

I have been working with cffile for the first time and in the process, read
several places that you should upload files to a temp location outside your
webroot for security reasons.  My original problem was with trying to
eliminate spaces from file names...so now this is the process I'm
using...upload to a temp file, remove spaces and replace with _ then move
the file to final location(code below)

My question is, why do I have to go to a temp file first and does the code
I'm using below result in the upload being secure in it's final
version/location?

Also, how do I deal with naming conflicts...does move allow for the same
options as upload...rename, overwrite ect.?  It doesn't seem to allow for a
result struc. [I actually figured this one out...running fileExists before
move.]

Thanks for the help, just trying to make sure i'm not doing something really
stupid.

Mark






select jobfoldername
from jobs
where jobId = #session.jobId#





























~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300171
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: How much memory should be allocated to the JVM?

2008-02-29 Thread Aaron Rouse
I think that happens because quite often the person installing CF, knows
nothing about CF.  At least that is the case with our data centers.

On Fri, Feb 29, 2008 at 8:38 AM, Mark Kruger <[EMAIL PROTECTED]> wrote:

> It is quite surprising how many CF Servers go into production having just
> the default JVM settings (0 to 512 heap).
>
> I think that Adobe should have some choices during install... Maybe
> profiles
> based on load and resources or whatever.  I don't think that many people
> understand that throwing CF on a server with lots of RAM won't help you
> unless you adjust the heap - and that there is a limit to how large the
> heap
> can be (on 32bit anyway).
>
> -mark
>
> -Original Message-
> From: Jochem van Dieten [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 29, 2008 8:35 AM
> To: CF-Talk
> Subject: Re: How much memory should be allocated to the JVM?
>
> Piet Bruins wrote:
> > Memory allocated to the JVM.  On our server we've seen errors related to
> Java heap space on a number of occasions:
> > "Error","jrpp-63","02/26/08","04:00:15","FTLAdminApp","Java heap space
> > "Error","jrpp-663","02/21/08","20:38:01","FTLAdminApp","Java heap
> > space "Error","jrpp-323","02/20/08","16:02:29","FTLAdminApp","Java
> > heap space
> >
> > We suspect we just need to increase the limits currently in place, but
> would prefer not to do so blindly.
>
> Proper settings for your JVM are determined during load testing. If we get
> called in when an app has been pushed into production without load testing
> and there is an immediate problem we typically set it to -Xmx1280m
> -Xms768m
> hoping it will make the server stable enough to do proper load testing.
>
> Jochem
>
>
>
>
> 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300170
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Prevent users from voting twice.

2008-02-29 Thread Ben Doom
What's to stop someone from stealing/hacking/gaining from friends 
physical devices?  I think we're down to fingerprints, DNA scans, and 
retinal imaging.

But your point is taken.  :-)

--Ben Doom

Tom Chiverton wrote:
> On Thursday 28 Feb 2008, Ben Doom wrote:
>> You can never completely eliminate the possibility of someone voting
>> early and voting often
> 
> Not without physical devices, no.
> 


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300169
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Help with Rewrite Rule! (circuit.fuseaction)

2008-02-29 Thread Adrian Lynch
Also, use the L flag to stop processing rules.

Adrian

-Original Message-
From: Russ
Sent: 29 February 2008 14:27
To: CF-Talk
Subject: RE: Help with Rewrite Rule! (circuit.fuseaction)


Put the RewriteRule for books.all first. 

Russ

> -Original Message-
> From: cf coder
> Sent: Friday, February 29, 2008 9:07 AM
> To: CF-Talk
> Subject: Re: Help with Rewrite Rule! (circuit.fuseaction)
> 
> Thank you Kay for suggesting this. It has done the trick. I'm really glad
> I don't have to change every single link on the site.
> 
> I have another nagging problem and would appreciate anybody's help. I'll
> try to explain as best as I can.
> 
> I want to a RewriteRule that can do the following:
> 
> I have a rule that translates:
> 
> http://mysite/index.cfm?offers.books&bookid=1
> 
> to:
> 
> http://mysite/offers/books/Harry-Potter
> 
> And the rule that does this is:
> RewriteRule /offers(/books/.*)
> /index.cfm?go=offers.details&bookid=${mapfile:$1}
> 
> The mapfile.txt file contains the "book keyword" and "bookid", ex:
> /books/Harry-Potter  1
> 
> and a rule that translates:
> 
> http://mysite/index.cfm?go=books.all
> 
> to:
> 
> http://mysite/offers/books/all
> 
> And the rule that does this is:
> RewriteRule /offers/books/([a-zA-Z0-9.-]+)(.*) /index.cfm?go=offers\.$1
> [PT]
> 
> Here's the problem: When I try to browse this page:
> "http://mysite/offers/books/all"; the browser gets confused because the
> regular expression pattern for both the rules have the same pattern i.e
> "/offers/books/". I hope this is making sense. I want to change my rule
> which works in both the cases.
> 
> Thanks in advance.
> 
> Regards,
> cfcoder

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300168
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: How much memory should be allocated to the JVM?

2008-02-29 Thread Mark Kruger
It is quite surprising how many CF Servers go into production having just
the default JVM settings (0 to 512 heap). 

I think that Adobe should have some choices during install... Maybe profiles
based on load and resources or whatever.  I don't think that many people
understand that throwing CF on a server with lots of RAM won't help you
unless you adjust the heap - and that there is a limit to how large the heap
can be (on 32bit anyway).

-mark 

-Original Message-
From: Jochem van Dieten [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 29, 2008 8:35 AM
To: CF-Talk
Subject: Re: How much memory should be allocated to the JVM?

Piet Bruins wrote:
> Memory allocated to the JVM.  On our server we've seen errors related to
Java heap space on a number of occasions:
> "Error","jrpp-63","02/26/08","04:00:15","FTLAdminApp","Java heap space 
> "Error","jrpp-663","02/21/08","20:38:01","FTLAdminApp","Java heap 
> space "Error","jrpp-323","02/20/08","16:02:29","FTLAdminApp","Java 
> heap space
> 
> We suspect we just need to increase the limits currently in place, but
would prefer not to do so blindly.

Proper settings for your JVM are determined during load testing. If we get
called in when an app has been pushed into production without load testing
and there is an immediate problem we typically set it to -Xmx1280m -Xms768m
hoping it will make the server stable enough to do proper load testing.

Jochem




~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300167
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: How much memory should be allocated to the JVM?

2008-02-29 Thread Jochem van Dieten
Piet Bruins wrote:
> Memory allocated to the JVM.  On our server we've seen errors related to Java 
> heap space on a number of occasions:
> "Error","jrpp-63","02/26/08","04:00:15","FTLAdminApp","Java heap space 
> "Error","jrpp-663","02/21/08","20:38:01","FTLAdminApp","Java heap space 
> "Error","jrpp-323","02/20/08","16:02:29","FTLAdminApp","Java heap space 
> 
> We suspect we just need to increase the limits currently in place, but would 
> prefer not to do so blindly.

Proper settings for your JVM are determined during load testing. If we 
get called in when an app has been pushed into production without load 
testing and there is an immediate problem we typically set it to 
-Xmx1280m -Xms768m hoping it will make the server stable enough to do 
proper load testing.

Jochem


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300166
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Help with Rewrite Rule! (circuit.fuseaction)

2008-02-29 Thread Russ
Put the RewriteRule for books.all first. 

Russ

> -Original Message-
> From: cf coder [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 29, 2008 9:07 AM
> To: CF-Talk
> Subject: Re: Help with Rewrite Rule! (circuit.fuseaction)
> 
> Thank you Kay for suggesting this. It has done the trick. I'm really glad
> I don't have to change every single link on the site.
> 
> I have another nagging problem and would appreciate anybody's help. I'll
> try to explain as best as I can.
> 
> I want to a RewriteRule that can do the following:
> 
> I have a rule that translates:
> 
> http://mysite/index.cfm?offers.books&bookid=1
> 
> to:
> 
> http://mysite/offers/books/Harry-Potter
> 
> And the rule that does this is:
> RewriteRule /offers(/books/.*)
> /index.cfm?go=offers.details&bookid=${mapfile:$1}
> 
> The mapfile.txt file contains the "book keyword" and "bookid", ex:
> /books/Harry-Potter  1
> 
> and a rule that translates:
> 
> http://mysite/index.cfm?go=books.all
> 
> to:
> 
> http://mysite/offers/books/all
> 
> And the rule that does this is:
> RewriteRule /offers/books/([a-zA-Z0-9.-]+)(.*) /index.cfm?go=offers\.$1
> [PT]
> 
> Here's the problem: When I try to browse this page:
> "http://mysite/offers/books/all"; the browser gets confused because the
> regular expression pattern for both the rules have the same pattern i.e
> "/offers/books/". I hope this is making sense. I want to change my rule
> which works in both the cases.
> 
> Thanks in advance.
> 
> Regards,
> cfcoder
> 
> > On Fri, Feb 29, 2008 at 1:46 AM, cf coder <[EMAIL PROTECTED]
> > com> wrote:
> > >  however none of the images on this page get displayed. I looked at
> > an image property and the src which had the following src:
> > http://mysite/offers/books/images/bookimage/somebook.gif
> > >  I want it to be
> > >  http://mysite/images/bookimage/somebook.gif
> >
> > Try http://mysite/"; /> (in the head of your document).
> > That will cause all css, js, image and links on the page to use
> > http://mysite/ as the base of relative requests.
> >
> > --
> > Kay Smoljak
> > business: www.cleverstarfish.com
> > standards: kay.zombiecoder.com
> > coldfusion: kay.smoljak.com
> > personal: goatlady.wordpress.
> com
> 
> 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300165
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: How much memory should be allocated to the JVM?

2008-02-29 Thread Mark Kruger
Pete,

I have a number of blog posts on JVM memory and links to other CF related
"tuning" of the JVM.

My latest post on it is a good start... 

http://www.coldfusionmuse.com/index.cfm/2008/2/12/leaky.heap.jvm

-Mark

Mark A. Kruger, CFG, MCSE
(402) 408-3733 ext 105
www.cfwebtools.com
www.coldfusionmuse.com
www.necfug.com
 

-Original Message-
From: Piet Bruins [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 29, 2008 6:14 AM
To: CF-Talk
Subject: How much memory should be allocated to the JVM?

Memory allocated to the JVM.  On our server we've seen errors related to
Java heap space on a number of occasions:
"Error","jrpp-63","02/26/08","04:00:15","FTLAdminApp","Java heap space
"Error","jrpp-663","02/21/08","20:38:01","FTLAdminApp","Java heap space
"Error","jrpp-323","02/20/08","16:02:29","FTLAdminApp","Java heap space 

We suspect we just need to increase the limits currently in place, but would
prefer not to do so blindly.

Please advice. 



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300164
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Help with Rewrite Rule! (circuit.fuseaction)

2008-02-29 Thread cf coder
Thank you Kay for suggesting this. It has done the trick. I'm really glad I 
don't have to change every single link on the site.

I have another nagging problem and would appreciate anybody's help. I'll try to 
explain as best as I can.

I want to a RewriteRule that can do the following:

I have a rule that translates: 

http://mysite/index.cfm?offers.books&bookid=1 

to:

http://mysite/offers/books/Harry-Potter

And the rule that does this is: 
RewriteRule /offers(/books/.*) /index.cfm?go=offers.details&bookid=${mapfile:$1}

The mapfile.txt file contains the "book keyword" and "bookid", ex:
/books/Harry-Potter  1

and a rule that translates:

http://mysite/index.cfm?go=books.all

to:

http://mysite/offers/books/all

And the rule that does this is: 
RewriteRule /offers/books/([a-zA-Z0-9.-]+)(.*) /index.cfm?go=offers\.$1 [PT]

Here's the problem: When I try to browse this page: 
"http://mysite/offers/books/all"; the browser gets confused because the regular 
expression pattern for both the rules have the same pattern i.e 
"/offers/books/". I hope this is making sense. I want to change my rule which 
works in both the cases.

Thanks in advance.

Regards,
cfcoder

> On Fri, Feb 29, 2008 at 1:46 AM, cf coder <[EMAIL PROTECTED]
> com> wrote:
> >  however none of the images on this page get displayed. I looked at 
> an image property and the src which had the following src: 
> http://mysite/offers/books/images/bookimage/somebook.gif
> >  I want it to be
> >  http://mysite/images/bookimage/somebook.gif
> 
> Try http://mysite/"; /> (in the head of your document).
> That will cause all css, js, image and links on the page to use
> http://mysite/ as the base of relative requests.
> 
> -- 
> Kay Smoljak
> business: www.cleverstarfish.com
> standards: kay.zombiecoder.com
> coldfusion: kay.smoljak.com
> personal: goatlady.wordpress.
com 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300163
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: comparing data in a loop

2008-02-29 Thread Richard White
>Mass imports, world of pain!

lol tell me about it!!! 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300162
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: comparing data in a loop

2008-02-29 Thread Dominic Watson
Mass imports, world of pain!

On 29/02/2008, Richard White <[EMAIL PROTECTED]> wrote:
>
> hi dominic, ok thanks for your help. unfortunately it is not a query built
> from mysql that i could run the distinct on. it is a query that is built
> from the contents of a ms excel spreadsheet.
>
> its ok ill look for another solution, your right, its a real shame QoQ
> doesn't work as it should as i was starting to see loads of uses for it!!!
>
>
> thanks again for your help
>
>
> richard
>
> 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300161
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: An effort to make cold fusion 8 standard edition more efficie nt

2008-02-29 Thread Gerald Guido
Actually configuring compression is easy in IIS. It has a GUI for this as
well. It took me about 5 min to figure it out and implement. What is
difficult is per domain/web site compression. IIS does it for all domains
hosted on the box. If you want more granular control you will need HttpZip's
Port80. I am going off of a 4 year old memory so maybe things are different,
probably not though.

IIS's compression is rather impressive. I had a pricing matrix for pricing
out screen print t shirts on the fly. The page (mostly javascript) was
~500K. ISS took it down to something like 30-40k.


On Fri, Feb 29, 2008 at 1:11 AM, John Mason <[EMAIL PROTECTED]> wrote:

> >IIS supports compression, but it's a PITA to configure.  Of course MS
> >doesn't provide any sort of GUI for this and you have to edit their xml
> file...
>
> Actually you don't, if you want to use IIS compression, there is a plugin
> called  HttpZip by Port80. It's a GUI plugin to manage the IIS settings
> for
> this.
>
> http://www.port80software.com/products/httpzip/
>
> They also have several other tools for IIS configurations.
>
> John Mason
> [EMAIL PROTECTED]
> 770.337.8363
>
> www.FusionLink.com - ColdFusion and Flex hosting
> Now offering ColdFusion 8 Enterprise hosting
> FREE Subversion hosting
>
>
> -Original Message-
> From: Russ [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 29, 2008 12:26 AM
> To: CF-Talk
> Subject: RE: An effort to make cold fusion 8 standard edition more efficie
> nt
>
> IIS supports compression, but it's a PITA to configure.  Of course MS
> doesn't provide any sort of GUI for this and you have to edit their xml
> file...
>
> Apache also supports compression and is much easier to configure.
>
> FusionReactor supports compression as well for CF content.
>
> Russ
>
> > -Original Message-
> > From: Don L [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, February 28, 2008 9:11 PM
> > To: CF-Talk
> > Subject: Re: An effort to make cold fusion 8 standard edition more
> > efficie nt
> >
> > Thanks for the idea, Dave, unfortunately my version of the web server
> > does not seem to support compression, oddly it has a dll for
> compression...
> > I'll probably need to do more research...
> >
> > Don
> > >
> > >Yes, if your web server is configured to gzip static files, these
> > >files
> > will
> > >be gzipped. All CF does is write the SCRIPT tags that reference the
> > >.js files.
> > >
> > >Dave Watts, CTO, Fig Leaf Software
> > >http://www.figleaf.com/
> > >
> > >Fig Leaf Training: Adobe/Google/Paperthin Certified Partners
> > >http://training.figleaf.com/
> > >
> > >WebManiacs 2008: the ultimate conference for CF/Flex/AIR developers!
> > >http://www.webmaniacsconference.com/
> >
> >
>
>
>
> 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300160
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: comparing data in a loop

2008-02-29 Thread Richard White
hi dominic, ok thanks for your help. unfortunately it is not a query built from 
mysql that i could run the distinct on. it is a query that is built from the 
contents of a ms excel spreadsheet. 

its ok ill look for another solution, your right, its a real shame QoQ doesn't 
work as it should as i was starting to see loads of uses for it!!!

thanks again for your help

richard 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300159
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: comparing data in a loop

2008-02-29 Thread Dominic Watson
I'm afraid I don't know the answer to the type issue. QoQ is problematic and
in the past I have had to look to other solutions where, if it were working,
QoQ would have been preferrable.

There may be a solution to do with explicitly typing the columns that
someone here can offer though.

How is the data in the query got at? If it is from a single dynamic query
that you have access to then the ideal solution would be to have the SELECT
DISTINCT in the original query so no need for the additional query.

Dominic


On 29/02/2008, Richard White <[EMAIL PROTECTED]> wrote:
>
> >Another thing, building a query string isn't required with ColdFusion in
> the
> >way you are doing it, have you come from another language?
>
>
> hi dominic, thanks for the response. i have come from VB but dont think
> this explains the poor coding i still class myself as a newbie to coding
> even though i have built a couple of full applications. i am trying hard to
> pick as many good standards as possible as i go along so thanks very much
> for this. this does help me to understand coldfusion further, and your right
> - to make it more readable
>
> ill give it a go and see what happens, but sorry i didn't quite get what
> you were saying on the QoQ, if its producing the error as it is typeless is
> there a way i can get around this. i can obviously do it through a loop now
> i have got it this far but, as you said, for readability i would like to do
> it this way as it cuts down on alot of confusion
>
> thanks
>
> richard
>
>
> 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300158
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: comparing data in a loop

2008-02-29 Thread Richard White
>Another thing, building a query string isn't required with ColdFusion in the
>way you are doing it, have you come from another language?

hi dominic, thanks for the response. i have come from VB but dont think this 
explains the poor coding i still class myself as a newbie to coding even 
though i have built a couple of full applications. i am trying hard to pick as 
many good standards as possible as i go along so thanks very much for this. 
this does help me to understand coldfusion further, and your right - to make it 
more readable

ill give it a go and see what happens, but sorry i didn't quite get what you 
were saying on the QoQ, if its producing the error as it is typeless is there a 
way i can get around this. i can obviously do it through a loop now i have got 
it this far but, as you said, for readability i would like to do it this way as 
it cuts down on alot of confusion

thanks

richard 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300157
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: comparing data in a loop

2008-02-29 Thread Dominic Watson
QoQ (Query of queries) struggles with data types as ColdFusion is 'typeless'
while the QoQ engine needs to know types. It tries to figure out the types
of columns and often gets it wrong :(

Another thing, building a query string isn't required with ColdFusion in the
way you are doing it, have you come from another language?

Instead of:



 #sqlQuery#


You can (and probably should for readability) do:


 select distinct #uniqueColumnString# from massImport 

Cfquery is in essence a cfoutput block that turns the output into a query
string before sending it to the server (doing other magic too I'm sure).

HTH

Dominic

On 29/02/2008, Richard White <[EMAIL PROTECTED]> wrote:
>
> i have seen the documentation on the query on a query and it says that
> distinct can be used and i have it exactly as in the example so i really
> dont know why that error is showing!
>
> anyone seen this error before?
>
> thanks
>
>
>
> 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300156
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


How much memory should be allocated to the JVM?

2008-02-29 Thread Piet Bruins
Memory allocated to the JVM.  On our server we've seen errors related to Java 
heap space on a number of occasions:
"Error","jrpp-63","02/26/08","04:00:15","FTLAdminApp","Java heap space 
"Error","jrpp-663","02/21/08","20:38:01","FTLAdminApp","Java heap space 
"Error","jrpp-323","02/20/08","16:02:29","FTLAdminApp","Java heap space 

We suspect we just need to increase the limits currently in place, but would 
prefer not to do so blindly.

Please advice. 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300155
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: schedule tasks gone missing?

2008-02-29 Thread Jose Diaz
no worries. ;)

Jose

On Fri, Feb 29, 2008 at 10:08 AM, Nick Tong <[EMAIL PROTECTED]> wrote:

> hey Jose, thats the fella, thanks!  It's a little annoying that i can't
> get
> them to show up in the CF admin but this will do - thanks again.
>
> On 29/02/2008, Jose Diaz <[EMAIL PROTECTED]> wrote:
> >
> > Hi Nick
> >
> > I have had similar things happen in the past and found that its a
> > corrupted
> > neo.xml file. As CF is constantly updating these files it may have been
> a
> > issue with the box that caused a corruption. Have a look at the
> particular
> > neo file and just try opening it in a browser.
> >
> > If you dont back it up in a car file or a batch job of some sort it may
> be
> > lost for good.
> >
> > The file is in the following dir: Coldfusion8\lib\neo-cron.xml
> >
> > HTH
> >
> > Jose Diaz
> >
> >
> > On Thu, Feb 28, 2008 at 5:32 PM, Nick Tong <[EMAIL PROTECTED]> wrote:
> >
> > > Hi All,
> > >
> > > I've just been shocked by looking in my schedule tasks (after a cf
> > > upgrade)
> > > to find no schedule tasks showing.  Now the tasks are running but i
> just
> > > can't see them to administer them?  Does anyone know how i can access
> > > these
> > > or make them show again?  A quick web search didn't return anything
> > > helpful.
> > >
> > > Thanks in advance.
> > >
> > > --
> > > Nick Tong
> > >
> > > web: http://talkwebsolutions.co.uk
> > > blog: http://succor.co.uk
> > > f..works:http://cfframeworks.com
> > > short urls:  http://wapurl.co.uk
> > > green link: http://wapurl.co.uk/?4Z2YDLX
> > >
> > >
> > >
> >
> >
> >
>
> 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300154
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: OT - URL Rewriting, how many rules?

2008-02-29 Thread Adrian Lynch
Cheers Barney and Dave, I'll end up with about 100 so that's good to know.

Adrian

-Original Message-
From: Barney Boisvert
Sent: 28 February 2008 16:40
To: CF-Talk
Subject: Re: OT - URL Rewriting, how many rules?


mod_rewrite is a drop in a bucket compared to the ocean of a JEE
stack, let alone one with CF on it.

Using .htaccess is going to be more of a performance penalty, because
of all the extra per-request file IO.  Unless you have a compelling
reason (like shared hosting), you should put all your config in the
main config files.  If you want to version your rewriting config with
your app (usually what you want), then use an Include directive
instead of .htaccess.

I've used hundrends (maybe thousands?) of rewrite rules with no issue
and used rewrite maps with thousands of entries, both with no
discernible performance penalty.  Rewriting queries still provided the
best bang for your buck speeding things up.

cheers,
barneyb

On Thu, Feb 28, 2008 at 8:29 AM, Adrian Lynch <[EMAIL PROTECTED]>
wrote:
> Sorry, very quick OT.
>
>  I have 20 odd rules in my .htaccess file and it may grow to 40 or 60. Is
>  this too many?
>
>  Can anyone claim to have more and do you notice any performance hit?
>
>  Any links to info on this subject?
>
>  Thanks.
>
>  Adrian


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300153
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: schedule tasks gone missing?

2008-02-29 Thread Nick Tong
hey Jose, thats the fella, thanks!  It's a little annoying that i can't get
them to show up in the CF admin but this will do - thanks again.

On 29/02/2008, Jose Diaz <[EMAIL PROTECTED]> wrote:
>
> Hi Nick
>
> I have had similar things happen in the past and found that its a
> corrupted
> neo.xml file. As CF is constantly updating these files it may have been a
> issue with the box that caused a corruption. Have a look at the particular
> neo file and just try opening it in a browser.
>
> If you dont back it up in a car file or a batch job of some sort it may be
> lost for good.
>
> The file is in the following dir: Coldfusion8\lib\neo-cron.xml
>
> HTH
>
> Jose Diaz
>
>
> On Thu, Feb 28, 2008 at 5:32 PM, Nick Tong <[EMAIL PROTECTED]> wrote:
>
> > Hi All,
> >
> > I've just been shocked by looking in my schedule tasks (after a cf
> > upgrade)
> > to find no schedule tasks showing.  Now the tasks are running but i just
> > can't see them to administer them?  Does anyone know how i can access
> > these
> > or make them show again?  A quick web search didn't return anything
> > helpful.
> >
> > Thanks in advance.
> >
> > --
> > Nick Tong
> >
> > web: http://talkwebsolutions.co.uk
> > blog: http://succor.co.uk
> > f..works:http://cfframeworks.com
> > short urls:  http://wapurl.co.uk
> > green link: http://wapurl.co.uk/?4Z2YDLX
> >
> >
> >
>
>
> 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300152
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: schedule tasks gone missing?

2008-02-29 Thread Jose Diaz
Hi Nick

I have had similar things happen in the past and found that its a corrupted
neo.xml file. As CF is constantly updating these files it may have been a
issue with the box that caused a corruption. Have a look at the particular
neo file and just try opening it in a browser.

If you dont back it up in a car file or a batch job of some sort it may be
lost for good.

The file is in the following dir: Coldfusion8\lib\neo-cron.xml

HTH

Jose Diaz

On Thu, Feb 28, 2008 at 5:32 PM, Nick Tong <[EMAIL PROTECTED]> wrote:

> Hi All,
>
> I've just been shocked by looking in my schedule tasks (after a cf
> upgrade)
> to find no schedule tasks showing.  Now the tasks are running but i just
> can't see them to administer them?  Does anyone know how i can access
> these
> or make them show again?  A quick web search didn't return anything
> helpful.
>
> Thanks in advance.
>
> --
> Nick Tong
>
> web: http://talkwebsolutions.co.uk
> blog: http://succor.co.uk
> f..works:http://cfframeworks.com
> short urls:  http://wapurl.co.uk
> green link: http://wapurl.co.uk/?4Z2YDLX
>
>
> 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300151
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Prevent users from voting twice.

2008-02-29 Thread Tom Chiverton
On Thursday 28 Feb 2008, Porter, Benjamin L. wrote:
> It is hard to automate reading captcha.

Or not.

-- 
Tom Chiverton
Helping to seamlessly promote sticky methodologies
on: http://thefalken.livejournal.com



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

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  A list 
of members is available for inspection at the registered office. Any reference 
to a partner in relation to Halliwells LLP means a member of Halliwells LLP.  
Regulated by The Solicitors Regulation Authority.

CONFIDENTIALITY

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

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

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300150
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Prevent users from voting twice.

2008-02-29 Thread Tom Chiverton
On Thursday 28 Feb 2008, Ben Doom wrote:
> You can never completely eliminate the possibility of someone voting
> early and voting often

Not without physical devices, no.

-- 
Tom Chiverton
Helping to simultaneously brand integrated segments
on: http://thefalken.livejournal.com



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

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  A list 
of members is available for inspection at the registered office. Any reference 
to a partner in relation to Halliwells LLP means a member of Halliwells LLP.  
Regulated by The Solicitors Regulation Authority.

CONFIDENTIALITY

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

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

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300149
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4