Re: CF8: Serialise a CFC?

2007-12-12 Thread Mark Mandel
You could also do very similar things with something like Transfer, or Reactor.

You don't necessarily have to use Object serialisation to do it.

Mark

On Dec 13, 2007 5:27 PM, Mike Kear <[EMAIL PROTECTED]> wrote:
> This is excellent news for me.   I have to rebuild a site in CF8 in
> the next few months, and I was thinking about how i was goign to
> handle shopping cart information.
>
> I think i'll put the shopping cart in a bean thats held in the session
> scope ( or maybe client scope - haven't decided)  but since i can
> serialise the whole shopping cart in one go (if i take care designing
> the bean) it wil simplify the persisting and recalling of the cart
> object.   I haven't thought it all through yet, but i'm thinking it
> will also simplify the storage and recall of invoices, orders, and
> shipping notes too.
>
> The system I inherited and which  we're replacing has multiple queries
> for such things.   To recall an order, for example there's a query to
> get the customer details, then another to get orders entered by that
> customer, then another to get the SKUs and quantities of the items on
> the order in question, and, believe it or not, yet another to get the
> product descriptions and prices.   To do all of that in one trip to
> the database would be a big leap forward.
>
>
>
> Cheers
> Mike Kear
> Windsor, NSW, Australia
> Adobe Certified Advanced ColdFusion Developer
> AFP Webworks
> http://afpwebworks.com
> ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month
>
>
> On 12/13/07, Rakshith N <[EMAIL PROTECTED]> wrote:
> > Brian,
> >Though a valid concern, just wanted to make it clear that the
> > deserialized cfc will not go out of sync when a new method is added
> > while it was serialized. This is because, the methods are never
> > serialized. It's only the instance level data associated with the cfc
> > instance, such as the variables in the this scope and in the var scope
> > of the cfc, that get serialized. The methods are always available in the
> > cfc template. Hence, the methods are not serialized.
> >
> > So, once the cfc instance is back into action when it is deserialized,
> > the new methods will be available to the cfc from the .cfc template.
> >
> > The best part about CFC serialization is it can handle complex circular
> > references as well. That is, if a cfc has a reference back to the itself
> > in the this scope, then you can expect the same circular reference to be
> > maintained once the cfc is deserailized.
> >
> > And yes, we are working on the serializing array and query objects
> > within the cfc scopes. That issue will be fixed soon.
> >
> > Thanks,
> > Rakshith
> > Adobe ColdFusion Team
> >
>
> 

~|
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:294664
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: About connection Pooling and Threading in Coldfusion

2007-12-12 Thread Mark Mandel
http://www.google.com.au/search?source=ig&hl=en&rlz=&q=coldfusion+connection+pool&btnG=Google+Search&meta=
http://www.google.com.au/search?hl=en&q=coldfusion+cfthread&btnG=Search&meta=

Mark

On Dec 13, 2007 6:15 PM, hussain shaikh <[EMAIL PROTECTED]> wrote:
> Hi All,
> I want to know how CF takes care of connection pooling.
> If we include a query in our cfm page and execute it, does it create a 
> connection everytime the cfm page is accessed or establishes the connection 
> once and reuses it everytime the page is accessed.
> Also is there a concept of threading in CF?
>
> Please help me.
>
> Hussain
>
>
> 

~|
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:294665
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


About connection Pooling and Threading in Coldfusion

2007-12-12 Thread hussain shaikh
Hi All,
I want to know how CF takes care of connection pooling.
If we include a query in our cfm page and execute it, does it create a 
connection everytime the cfm page is accessed or establishes the connection 
once and reuses it everytime the page is accessed.
Also is there a concept of threading in CF?

Please help me.

Hussain


~|
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:294663
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: CF8: Serialise a CFC?

2007-12-12 Thread Mike Kear
This is excellent news for me.   I have to rebuild a site in CF8 in
the next few months, and I was thinking about how i was goign to
handle shopping cart information.

I think i'll put the shopping cart in a bean thats held in the session
scope ( or maybe client scope - haven't decided)  but since i can
serialise the whole shopping cart in one go (if i take care designing
the bean) it wil simplify the persisting and recalling of the cart
object.   I haven't thought it all through yet, but i'm thinking it
will also simplify the storage and recall of invoices, orders, and
shipping notes too.

The system I inherited and which  we're replacing has multiple queries
for such things.   To recall an order, for example there's a query to
get the customer details, then another to get orders entered by that
customer, then another to get the SKUs and quantities of the items on
the order in question, and, believe it or not, yet another to get the
product descriptions and prices.   To do all of that in one trip to
the database would be a big leap forward.



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


On 12/13/07, Rakshith N <[EMAIL PROTECTED]> wrote:
> Brian,
>Though a valid concern, just wanted to make it clear that the
> deserialized cfc will not go out of sync when a new method is added
> while it was serialized. This is because, the methods are never
> serialized. It's only the instance level data associated with the cfc
> instance, such as the variables in the this scope and in the var scope
> of the cfc, that get serialized. The methods are always available in the
> cfc template. Hence, the methods are not serialized.
>
> So, once the cfc instance is back into action when it is deserialized,
> the new methods will be available to the cfc from the .cfc template.
>
> The best part about CFC serialization is it can handle complex circular
> references as well. That is, if a cfc has a reference back to the itself
> in the this scope, then you can expect the same circular reference to be
> maintained once the cfc is deserailized.
>
> And yes, we are working on the serializing array and query objects
> within the cfc scopes. That issue will be fixed soon.
>
> Thanks,
> Rakshith
> Adobe ColdFusion Team
>

~|
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:294662
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: "Custom" Toolbar settings for cftextarea (FCKEditor)

2007-12-12 Thread Rakshith N
Rick,
I have a post on my blog that details all this and more. Check
it out.

http://www.rakshith.net/blog/?p=22

Thanks,
Rakshith
Adobe ColdFusion Team

-Original Message-
From: Rick Faircloth [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 12, 2007 11:40 PM
To: CF-Talk
Subject: RE: "Custom" Toolbar settings for cftextarea (FCKEditor)

Thanks, Casey!

Rick

> -Original Message-
> From: Casey Dougall [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, December 12, 2007 11:23 AM
> To: CF-Talk
> Subject: Re: "Custom" Toolbar settings for cftextarea (FCKEditor)
> 
> On 12/12/07, Rick Faircloth <[EMAIL PROTECTED]> wrote:
> >
> > I see in the "Toolbar Configuration" seetings for FCKEditor
> > on the FCKEditor site that the tools bar can be completely
> > customized.
> 
> 
> 
> \CFIDE\scripts\ajax\FCKeditor\fckconfig\fckconfig.js
> 
> Copy the basic toolbar set and make modifications to that as needed.
> 
>  FCKConfig.ToolbarSets["Basic"] = [
> 
>
['Bold','Italic','-','OrderedList','UnorderedList','-','Link','Unlink','
-','About']
> ] ;
> 
> Here is an example of a different basic menu list
> 
> FCKConfig.ToolbarSets["Basic2"] = [
> 
>
['Source','-','Bold','Italic','TextColor','BGColor','-','OrderedList','U
norderedList','-
> ','Link','Unlink','Image','-','About']
> ] ;
> 
> ~
> 
> Casey






~|
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:294661
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: CF8: Serialise a CFC?

2007-12-12 Thread Rakshith N
Brian,
Though a valid concern, just wanted to make it clear that the
deserialized cfc will not go out of sync when a new method is added
while it was serialized. This is because, the methods are never
serialized. It's only the instance level data associated with the cfc
instance, such as the variables in the this scope and in the var scope
of the cfc, that get serialized. The methods are always available in the
cfc template. Hence, the methods are not serialized. 

So, once the cfc instance is back into action when it is deserialized,
the new methods will be available to the cfc from the .cfc template.

The best part about CFC serialization is it can handle complex circular
references as well. That is, if a cfc has a reference back to the itself
in the this scope, then you can expect the same circular reference to be
maintained once the cfc is deserailized.

And yes, we are working on the serializing array and query objects
within the cfc scopes. That issue will be fixed soon. 

Thanks,
Rakshith
Adobe ColdFusion Team

-Original Message-
From: Brian Kotek [mailto:[EMAIL PROTECTED] 
Sent: Thursday, December 13, 2007 8:47 AM
To: CF-Talk
Subject: Re: CF8: Serialise a CFC?

Also, be very careful because if you have serialized versions of CFCs in
the
database and then you change the actual code for the CFC (add a method,
etc.), you are going to have major problems because your application
code
will be out of synch with the serialized CFCs. Which means if you add a
method and then deserialize the CFC, at best any code in your app that
uses
the new method will blow up when it hits your out-of-synch deserialized
CFC,
and at worst it might not even deserialize at all.

On Dec 12, 2007 4:03 PM, Mark Mandel <[EMAIL PROTECTED]> wrote:

> From what I also understand, serialisation is a deep serialisation, so
> be careful with your composition, as you have no control over how deep
> the serialisation goes (which is unfortunate, but workaroundable)
>
> That all being said, there is no reason you couldn't roll your own
> serialisation Mike, WDDX, or something of your own making.
>
> Mark
>
> On Dec 13, 2007 3:51 AM, Dave Watts <[EMAIL PROTECTED]> wrote:
> > > Even if CF8 can serialize CFCs (I've read that it can), I
> > > don't think you can store complex variables in the Client
> > > scope. I'd assume that a serialized CFC would be considered
> > > a complex variable.
> >
> > No, it's a string. The example in the URL I included writes the
string
> to a
> > file.
> >
> > There is a serious limitation to this, though - your CFC can only
> contain
> > strings, structures and other CFC instances apparently. If it
contains
> > arrays or queries, you can't deserialize it again! Apparently,
Adobe's
> > working on fixing that.
> >
> > Dave Watts, CTO, Fig Leaf Software
> > http://www.figleaf.com/
> >
> > Fig Leaf Software provides the highest caliber vendor-authorized
> > instruction at our training centers in Washington DC, Atlanta,
> > Chicago, Baltimore, Northern Virginia, or on-site at your location.
> > Visit http://training.figleaf.com/ for more information!
> >
> >
> >
>
> 



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

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


What do I have to do to get toolbars to show in a cftextarea?

2007-12-12 Thread Rick Faircloth
Hi, all.

I thought I'd give cftextarea a try and ran the example in the
docs, plus some I've found online, but I can't get a toolbar of
anykind to show up.

Here's the my latest code attempt.  What wrong with it?

It just give a regular textarea.

Thanks,

Rick



In the head section:







In the body:









~|
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:294659
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Any 'gotchas' with two versions of CF on one machine?

2007-12-12 Thread Matthew Williams
> As to the start to finish instructions, I'm working on a blog post on 
> this right now.  Just going to be later tonight or tomorrow before I 
> finish it up.

I put together a soup to nuts description of this.  It can be found http://www.geodesicgrafx.com/blog/index.cfm/2007/12/12/Install-ColdFusion-61-to-8-on-your-development-machine";>here.
  My host is having... well, issues at the moment, but it's up there.  What an 
absurd amount of typing that required ;).


Matthew Williams
Geodesic GraFX
www.geodesicgrafx.com/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:294658
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: clustering issue

2007-12-12 Thread Matthew Williams
In addition to that, you might want to check out Sarge's blog and do 
some jrun.xml tuning.  The problem with relying on CF to time out 
requests is that it doesn't work for third party calls.  So, what's a 
third party call, you might ask?  Would you think that DB connections 
would count as third party calls?  I wouldn't, but it turns out they 
are.  Most of our hosted apps use Oracle stored procedures.  If the DB 
goes down, or becomes unresponsive, those calls back up in a hurry.  
Most of my FusionReactor termination activity comes from time outs 
associated with DB calls that don't ever complete. 

Matthew Williams
Geodesic GraFX
www.geodesicgrafx.com/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:294657
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CF8: Serialise a CFC?

2007-12-12 Thread Brian Kotek
Also, be very careful because if you have serialized versions of CFCs in the
database and then you change the actual code for the CFC (add a method,
etc.), you are going to have major problems because your application code
will be out of synch with the serialized CFCs. Which means if you add a
method and then deserialize the CFC, at best any code in your app that uses
the new method will blow up when it hits your out-of-synch deserialized CFC,
and at worst it might not even deserialize at all.

On Dec 12, 2007 4:03 PM, Mark Mandel <[EMAIL PROTECTED]> wrote:

> From what I also understand, serialisation is a deep serialisation, so
> be careful with your composition, as you have no control over how deep
> the serialisation goes (which is unfortunate, but workaroundable)
>
> That all being said, there is no reason you couldn't roll your own
> serialisation Mike, WDDX, or something of your own making.
>
> Mark
>
> On Dec 13, 2007 3:51 AM, Dave Watts <[EMAIL PROTECTED]> wrote:
> > > Even if CF8 can serialize CFCs (I've read that it can), I
> > > don't think you can store complex variables in the Client
> > > scope. I'd assume that a serialized CFC would be considered
> > > a complex variable.
> >
> > No, it's a string. The example in the URL I included writes the string
> to a
> > file.
> >
> > There is a serious limitation to this, though - your CFC can only
> contain
> > strings, structures and other CFC instances apparently. If it contains
> > arrays or queries, you can't deserialize it again! Apparently, Adobe's
> > working on fixing that.
> >
> > Dave Watts, CTO, Fig Leaf Software
> > http://www.figleaf.com/
> >
> > Fig Leaf Software provides the highest caliber vendor-authorized
> > instruction at our training centers in Washington DC, Atlanta,
> > Chicago, Baltimore, Northern Virginia, or on-site at your location.
> > Visit http://training.figleaf.com/ for more information!
> >
> >
> >
>
> 

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

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


RE: Any 'gotchas' with two versions of CF on one machine?

2007-12-12 Thread Dave Watts
> Now here's a new puzzle.  When i run a dump of the server 
> variables on a page, it definitely says CF server version 7.  
> And just to be sure, a page with a  
> Yet when i look at the services running, the CF7 services are 
> stopped.   Huh??
> 
> Here's the status of some of the items in the services running:
> 
> ColdFusion 8 .NET Service  - Started
> ColdFusion 8 Application server  - Started
> ColdFusion 8 ODBC Agent   - Started
> ColdFusion 8 ODBC Server  - Started
> ColdFusion 8 Search Server  - Started
> ColdFusion MX 7 Application Server   - Stopped
> ColdFusion MX 7 ODBC Agent   - Stopped
> ColdFusion MX 7 ODBC Server   - Stopped
> ColdFusion MX 7 Search Server   - Stopped
> 
> Macromedia JRun Admin Server  - Started
> Macromedia JRun CFusion Server  - Started
> 
> If the ColdFusion MX 7 services are stopped, how come the 
> server variables are showing the server as being version 7??

It looks like you have three CF installs on your machine. You have
"ColdFusion 8 Application Server", "ColdFusion 7 Application Server", and
"Macromedia JRun CFusion Server". That last one could be CF7 or CF8, or even
CF6.x I guess.

The last one is a result of a multiserver install. The first two are the
result of installing the default configuration.

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

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!


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

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


Re: cfajaxproxy

2007-12-12 Thread Andrew Grosset
Yes, I had to do the same (I'm using JSMX - http://www.lalabird.com/JSMX) I use 
"OnRequestStart" to check for sessions, include files etc.

Andrew.

> Figured it out. Turns out I had an onRequest method in my Application.
> cfc which was blocking the remote calls to my proxy.cfc. I just 
> removed the onRequest function and now everything works.
> Duh
> 


~|
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:294654
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Any 'gotchas' with two versions of CF on one machine?

2007-12-12 Thread Mike Kear
Dave Watts,  Matthew WIlliams, I cant tell you how grateful I am that
you're so patient and helpful.   I understand Mattew's instructions, I
think, so I'm going to get back onto it now, following those, now i've
had a few hours sleep.

There's only one niggling concern - i dont have version 22, i have
version 20.  i.e. my http:conf file says

LoadModule jrun_module "C:/JRun4/lib/wsconfig/2/mod_jrun20.so"

Is this a problem?

How do you know what port the bootstrap is on? or do you just make
that up and tell Apache what port to use? (at one point you said 'you
just need to be aware of what the ports are")Or is that created
when you cause jrun to add the lines to the virginal http.conf file?

Thanks again - i think we're nearly there. What started out with a
whole lot of people saying 'oh yes i have them both going on my
machine' it turns out that not many people have both CF7 and CF8 in
use simultaneously at all.Well not with both kinds of sites in use
simultaneously.   And while it looks a trivial thing to do when you're
installing CF8,  because it says 'coexist' it turns out it isnt
trivial at all.  So far I've clocked up 12 hours on it and i'm not
there yet.

I have some comments about the documentation too but perhaps that
ought to go in a different thread.

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

~|
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:294650
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: clustering issue

2007-12-12 Thread Rick Root
i think what happened is that requests were piling up and not timing
out and so I need to get Fusion Reactor back on my instances for
crash protection.. maybe that'd help :)

Fusion Reactor worked wonders in Cf7 and I just haven't installed it
since we migrated to CF8...

Rick

~|
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:294653
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: clustering issue

2007-12-12 Thread Matthew Williams
I've actually been impressed by the JRun clustering of CF7.  Most oft 
times what fails for me is IIS stops responding, but my CF instances are 
fine.  Our load balancer only checks to see if the HTTP port can be 
opened, not that it gets back a correct response.  The switch people 
tell me that a check for actual HTML processing is going to happen every 
2 seconds if turned on.  I'm not sure I want that much load on the 
servers just for a health check all the time, and since IIS failures 
aren't all that common, we don't worry about it too much.


Matthew Williams
Geodesic GraFX
www.geodesicgrafx.com/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:294649
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Any 'gotchas' with two versions of CF on one machine?

2007-12-12 Thread Mike Kear
Now here's a new puzzle.  When i run a dump of the server variables on
a page, it definitely says CF server version 7.  And just to be sure,
a page with a http://afpwebworks.com
ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month

~|
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:294651
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Any 'gotchas' with two versions of CF on one machine?

2007-12-12 Thread Dave Watts
> There's only one niggling concern - i dont have version 22, i 
> have version 20.  i.e. my http:conf file says
> 
> LoadModule jrun_module "C:/JRun4/lib/wsconfig/2/mod_jrun20.so"
> 
> Is this a problem?

No, it shouldn't be.

> How do you know what port the bootstrap is on? or do you just 
> make that up and tell Apache what port to use? (at one point 
> you said 'you just need to be aware of what the ports are") Or 
> is that created when you cause jrun to add the lines to the 
> virginal http.conf file?

It'll be in the jrun.xml file for the JRun server in question, within the
ProxyService section of the file. Alternatively, you can go into the JRun
admin console to see this information for each individual JRun instance.
Again, though, this assumes you're running the multiserver install. I have
no idea if you can just do this with multiple separate standalone CF
installs, although it may well work for all I know.

> Thanks again - i think we're nearly there. What started out 
> with a whole lot of people saying 'oh yes i have them both 
> going on my machine' it turns out that not many people have 
> both CF7 and CF8 in use simultaneously at all.

Lots of people do, but it's a lot simpler if you don't need to tie both of
them to the same web server software. For example, on one of the machines I
use for development, I currently have both 7 and 8 installed, but I didn't
have to worry about the web server functionality so I just used the JRun web
server. Of course, that approach won't work for everybody.

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

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!


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

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


linkpoint opinions

2007-12-12 Thread Dave l
Anyone using this have an opinion on it?

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:294648
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: clustering issue

2007-12-12 Thread Jochem van Dieten
Rick Root wrote:
> I have a CF8 cluster set up, and one of my instances just locked up on
> me for unknown reasons (at this time).

What was the failure model? CF timeouts? High CPU? Low CPU? JRun queue 
timeouts? Network down?


> While the instance was nopt responding, new requests coming into the
> web site received no response, instead of being directed to the
> 'working" instance.  Once I successfully stopped the errant instance,
> requests went through to the other instance just fine.
> 
> Why is this?  Shouldn't the listener know that one of the clusters is
> not responding and direct the requests to the other?

How long did this situation exist? If it was going on for a longer 
period the clustering should know one of the instances wasn't responding 
and should stop directing requests to it (may take some time depending 
on where the error existed and on how far you tuned the TCP stack). So 
it is much more likely the instance was actually responding but the 
response was not what you expected, e.g. empty.

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:294647
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: clustering issue

2007-12-12 Thread Nathan Strutz
Brad is dead on here.
JRun clustering is not the best solution for most things. There are a few
edge cases where it can be helpful, especially if you're willing to spend
money, but generally, I would recommend a hardware load balancer like an F5.

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


On Dec 12, 2007 2:29 PM, Brad Wood <[EMAIL PROTECTED]> wrote:

> If CF8 clustering is like CF7, I believe you are giving it too much
> credit.
>
> The JRUN connectors set up in your web server will not give request to
> an instance which has been stopped, but it pays absolutely no regard to
> the "load" of that instance.
>
> I was disappointed when I found that out.
>
> ~Brad
>
> -Original Message-
> From: Rick Root [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, December 12, 2007 2:52 PM
> To: CF-Talk
> Subject: clustering issue
>
> I have a CF8 cluster set up, and one of my instances just locked up on
> me for unknown reasons (at this time).
>
> While the instance was nopt responding, new requests coming into the
> web site received no response, instead of being directed to the
> 'working" instance.  Once I successfully stopped the errant instance,
> requests went through to the other instance just fine.
>
> Why is this?  Shouldn't the listener know that one of the clusters is
> not responding and direct the requests to the other?
>
> Or am I giving the coldfusion clustering capabilities way too much
> credit.
>
> My installation is CF8 Enterprise on Windows 2K3, installed in
> multi-server mode.
>
> 

~|
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:294646
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: clustering issue

2007-12-12 Thread Brad Wood
If CF8 clustering is like CF7, I believe you are giving it too much
credit.

The JRUN connectors set up in your web server will not give request to
an instance which has been stopped, but it pays absolutely no regard to
the "load" of that instance.

I was disappointed when I found that out. 

~Brad

-Original Message-
From: Rick Root [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 12, 2007 2:52 PM
To: CF-Talk
Subject: clustering issue

I have a CF8 cluster set up, and one of my instances just locked up on
me for unknown reasons (at this time).

While the instance was nopt responding, new requests coming into the
web site received no response, instead of being directed to the
'working" instance.  Once I successfully stopped the errant instance,
requests went through to the other instance just fine.

Why is this?  Shouldn't the listener know that one of the clusters is
not responding and direct the requests to the other?

Or am I giving the coldfusion clustering capabilities way too much
credit.

My installation is CF8 Enterprise on Windows 2K3, installed in
multi-server mode.

~|
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:294645
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Filemaker Pro

2007-12-12 Thread Mike Chabot
Yes you can do this. I did this a while back around the FM 5 / FM 6
version. The manuals describe how to set things up with the JDBC
driver, along with some technical white papers from Filemaker Inc. By
now there are probably some good blog entries that discuss the topic.
My understanding was that a big feature in FM9's is better support for
SQL.

-Mike Chabot

On Dec 12, 2007 2:18 PM, Matt Williams <[EMAIL PROTECTED]> wrote:
> A client has a pre-built system on Filemaker Pro 9. The db is hosted.
> The website is on a different host.
>
> Am I able to remotely query that db with CF? If so, what is involved?
> Does the Filemaker host need to do anything special other than provide
> me with the IP, db and login info?
>
> I'm guessing I would need the Filemaker JDBC driver installed on the CF 
> server.
>
> Any pointers are appreciated.
>
> --
> Matt Williams
> "It's the question that drives us."
>
> 

~|
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:294643
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Filemaker Pro

2007-12-12 Thread Mike Chabot
Sorry, for some reason I didn't see Ben's reply before I sent mine. I
would agree with Ben that the question of "should this be done" is
more important than "how can this be done."

-Mike Chabot

On Dec 12, 2007 3:37 PM, Ben Doom <[EMAIL PROTECTED]> wrote:
> Years ago, I helped develop a solution with CF7 and FMP8.
>
> It's possible, but the performance was horrible.  You have to connect
> via a system ODBC (at least, on Win2k3 server) and FMP just wasn't up to
> the task of serving any sort of query except a direct dump.
>
> I'd suggest to the client that they move to a more internet-ready DB.
>
> --Ben Doom
>
> Matt Williams wrote:
> > A client has a pre-built system on Filemaker Pro 9. The db is hosted.
> > The website is on a different host.
> >
> > Am I able to remotely query that db with CF? If so, what is involved?
> > Does the Filemaker host need to do anything special other than provide
> > me with the IP, db and login info?
> >
> > I'm guessing I would need the Filemaker JDBC driver installed on the CF 
> > server.
> >
> > Any pointers are appreciated.
> >
>
>
> 

~|
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:294644
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: cfajaxproxy

2007-12-12 Thread Tony Garcia
Figured it out. Turns out I had an onRequest method in my Application.cfc which 
was blocking the remote calls to my proxy.cfc. I just removed the onRequest 
function and now everything works.
Duh

> Al right, the problem I was having before was just a sandbox security 
> issue which HostMySite fixed.
> So again, as Sean suggested I copied my /CFIDE/scripts folder to my 
> web root.
> I uploaded some code to test the ajaxproxy tag from learncf.com (see 
> http://tutorial13.learncf.com/) and added a cfajaximport tag with the 
> scriptsrc attribute pointing to the scripts directory in my web root.
> But now, even though I don't get the access error anymore, my ajax 
> calls are just returning "null", even though the code works on my 
> local dev machine. To see it go to http://www.readytwolearn.com/proxy.
> cfm
> 
> Any ideas? 


~|
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:294642
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: CF8: Serialise a CFC?

2007-12-12 Thread Mark Mandel
>From what I also understand, serialisation is a deep serialisation, so
be careful with your composition, as you have no control over how deep
the serialisation goes (which is unfortunate, but workaroundable)

That all being said, there is no reason you couldn't roll your own
serialisation Mike, WDDX, or something of your own making.

Mark

On Dec 13, 2007 3:51 AM, Dave Watts <[EMAIL PROTECTED]> wrote:
> > Even if CF8 can serialize CFCs (I've read that it can), I
> > don't think you can store complex variables in the Client
> > scope. I'd assume that a serialized CFC would be considered
> > a complex variable.
>
> No, it's a string. The example in the URL I included writes the string to a
> file.
>
> There is a serious limitation to this, though - your CFC can only contain
> strings, structures and other CFC instances apparently. If it contains
> arrays or queries, you can't deserialize it again! Apparently, Adobe's
> working on fixing that.
>
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
>
> Fig Leaf Software provides the highest caliber vendor-authorized
> instruction at our training centers in Washington DC, Atlanta,
> Chicago, Baltimore, Northern Virginia, or on-site at your location.
> Visit http://training.figleaf.com/ for more information!
>
>
> 

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

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


Re: Any 'gotchas' with two versions of CF on one machine?

2007-12-12 Thread Matthew Williams
As to the start to finish instructions, I'm working on a blog post on this 
right now.  Just going to be later tonight or tomorrow before I finish it up.


Matthew Williams
Geodesic GraFX
www.geodesicgrafx.com/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:294639
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Filemaker Pro

2007-12-12 Thread Jim Wright
> It's possible, but the performance was horrible.  You have to connect
> via a system ODBC (at least, on Win2k3 server) and FMP just wasn't up to
> the task of serving any sort of query except a direct dump.
>
> I'd suggest to the client that they move to a more internet-ready DB.
>

I'll second this...though I haven't had to do anything with it since
FP5.  The performance was awful, and the ODBC driver that was
available at that time was expensive and limited.

~|
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:294641
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


clustering issue

2007-12-12 Thread Rick Root
I have a CF8 cluster set up, and one of my instances just locked up on
me for unknown reasons (at this time).

While the instance was nopt responding, new requests coming into the
web site received no response, instead of being directed to the
'working" instance.  Once I successfully stopped the errant instance,
requests went through to the other instance just fine.

Why is this?  Shouldn't the listener know that one of the clusters is
not responding and direct the requests to the other?

Or am I giving the coldfusion clustering capabilities way too much credit.

My installation is CF8 Enterprise on Windows 2K3, installed in
multi-server mode.

-- 
Rick Root
Check out CFMBB, BlogCFM, ImageCFC, ImapCFC, CFFM, and more at
www.opensourcecf.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:294638
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Filemaker Pro

2007-12-12 Thread Ben Doom
Years ago, I helped develop a solution with CF7 and FMP8.

It's possible, but the performance was horrible.  You have to connect 
via a system ODBC (at least, on Win2k3 server) and FMP just wasn't up to 
the task of serving any sort of query except a direct dump.

I'd suggest to the client that they move to a more internet-ready DB.

--Ben Doom

Matt Williams wrote:
> A client has a pre-built system on Filemaker Pro 9. The db is hosted.
> The website is on a different host.
> 
> Am I able to remotely query that db with CF? If so, what is involved?
> Does the Filemaker host need to do anything special other than provide
> me with the IP, db and login info?
> 
> I'm guessing I would need the Filemaker JDBC driver installed on the CF 
> server.
> 
> Any pointers are appreciated.
> 


~|
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:294637
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: SOT: Limit content in Textarea?

2007-12-12 Thread Ian Skinner
"Does anyone have any suggestions or thoughts?"

Yup, always do the validation on the server as well.  JavaScript and other 
client side validation is for the user interface -- to make it nice for the 
person entering the data.  Server side validation is for the application -- to 
protect the data.




~|
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:294636
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Any 'gotchas' with two versions of CF on one machine?

2007-12-12 Thread Dave Watts
> For example,  "...installed CF7 as an EAR within a new JRun 
> instance.." might as well be Russian i'm afraid. I havent installed
> CF7 at all since a month after it was released. So it's installed as
> whatever it was when i did that, over a year ago. I thought 
> about removing it and then reninstalling it, but i couldnt 
> find how to save all the settings, and didnt relish having to 
> set up 40+ DSNs and all the other tweaks stuff from a year's 
> work all over again.

All the settings are saved in the neo-*.xml files found in \coldfusion7\lib.
You can also create a CAR file if you're running Enterprise or Developer.

> I dondt know how to have more than one JRun instance.  I 
> looked through teh docs and it tells you plenty of times that 
> you can have multiple instances, but nothing i could find 
> about how to do it. What command goes and from where?

Well, first you have to install CF using the multiserver option. This
requires Enterprise or Developer. This installs a full copy of JRun, creates
one JRun server to administer JRun itself, and creates another JRun server
for CF. This is described here under "Installing the Multiserver
Configuration":

http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Part_1_Ins
talling_1.html

Then, you would create additional JRun servers and install CF into those
servers. If you're installing multiple copies of the same version of CF, you
could do that through the Instance Manager found in the CF Administrator. If
you want to install different versions of CF, things get a bit more
complicated - you have to create an EAR file, as described under "Installing
the J2EE Configuration" in the previous link. You would also have to create
a new JRun server, which can be done from within the JRun admin console as
described somewhere within here:

http://www.adobe.com/support/documentation/en/jrun/ (unfortunately, this is
packaged so I can't link to the appropriate bit of documentation)

Finally, you'd deploy your EAR file within the new JRun server. That's
described in the CF installation docs mentioned above.

Now, I'll admit that this documentation is somewhat terse, to say the least.
But, you can probably figure things out with a bit of trial and error, and
direct specific questions to the list as needed. At least, as far as
installing the multiserver version of CF8, then installing CF7 within it.
You'll then need Matthew's instructions for configuring Apache - I don't
think those will work unless you're using the multiserver version.

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

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!


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

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


Re: SOT: Limit content in Textarea?

2007-12-12 Thread Bryan Stevenson
Server side validation.check the length before inserting dataif 
it's too long...tell the user

Cheers

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com
 
Notice:
This message, including any attachments, is confidential and may contain
information that is privileged or exempt from disclosure. It is intended
only for the person to whom it is addressed unless expressly authorized
otherwise by the sender. If you are not an authorized recipient, please
notify the sender immediately and permanently destroy all copies of this
message and attachments.

>   


~|
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:294635
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: SOT: Limit content in Textarea?

2007-12-12 Thread Jordan Michaels
Just add a CFML check to the processing page:


  You entered more then 300 characters into the text area.
  


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


Steve LaBadie wrote:
> I am using JavaScript to limit the amount of text on can submit in the
> textarea. Realizing disabling JavaScript may allow people to enter more
> than 300 characters in the textarea field. Does anyone have any
> suggestions or thoughts?
> 
>  
> 
> JavaScript:
> 
>  
> 
> 
> function textCounter(field, countfield, maxlimit) {
> if (field.value.length > maxlimit)
> field.value = field.value.substring(0, maxlimit);
> else 
> countfield.value = maxlimit - field.value.length;
> }
> 
> 
>  
> 
>  onKeyDown="textCounter(this.form.problemDesc,this.form.remLen,300);"
> onKeyUp="textCounter(this.form.problemDesc,this.form.remLen,300);"
> class="formveld">
> 
>  
> 
> Steve LaBadie, Web Manager
> East Stroudsburg University
> 200 Prospect St.
> East Stroudsburg, Pa 18301
> 570-422-3999
> [EMAIL PROTECTED]  
> http://www.esu.edu  
> 
>  
> 
> 
> 
> 

~|
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:294634
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


SOT: Limit content in Textarea?

2007-12-12 Thread Steve LaBadie
I am using JavaScript to limit the amount of text on can submit in the
textarea. Realizing disabling JavaScript may allow people to enter more
than 300 characters in the textarea field. Does anyone have any
suggestions or thoughts?

 

JavaScript:

 


function textCounter(field, countfield, maxlimit) {
if (field.value.length > maxlimit)
field.value = field.value.substring(0, maxlimit);
else 
countfield.value = maxlimit - field.value.length;
}


 



 

Steve LaBadie, Web Manager
East Stroudsburg University
200 Prospect St.
East Stroudsburg, Pa 18301
570-422-3999
[EMAIL PROTECTED]  
http://www.esu.edu  

 



~|
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:294631
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Filemaker Pro

2007-12-12 Thread Matt Williams
A client has a pre-built system on Filemaker Pro 9. The db is hosted.
The website is on a different host.

Am I able to remotely query that db with CF? If so, what is involved?
Does the Filemaker host need to do anything special other than provide
me with the IP, db and login info?

I'm guessing I would need the Filemaker JDBC driver installed on the CF server.

Any pointers are appreciated.

-- 
Matt Williams
"It's the question that drives us."

~|
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:294628
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: cfdocument PDF creation - formatting issues

2007-12-12 Thread Peterson, Chris
Don't use EM, try using css:  font-style: italic;

Chris

-Original Message-
From: Justin Brown [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 12, 2007 12:48 PM
To: CF-Talk
Subject: cfdocument PDF creation - formatting issues

I'm trying to create a pdf document via cfdocument and need to control
the font size of the document.  There are also words in the document
that I need to italic.  But I'm getting some weird formatting issues.
Code sample below.  When it generates the PDF it is putting a large
amount of space around the word that in italic.









test test test test test test test test.







Any help would be appreciated. 



~|
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:294629
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: cfdocument PDF creation - formatting issues

2007-12-12 Thread Justin Brown
Didn't work.  Replaced "test test test test test test test test." 
in my example with "test test test test test test test test." and am still 
getting a spacing issue.


>Don't use EM, try using css:  font-style: italic;
>
>Chris
>
>I'm trying to create a pdf document via cfdocument and need to control
>the font size of the document.  There are also words in the document
>that I need to italic.  But I'm getting some weird formatting issues.
>Code sample below.  When it generates the PDF it is putting a large
>amount of space around the word that in italic.
>
>
>   
>   
>   
>   
>   
>   
>   
>   test test test test test test test test.
>   
>   
>   
>
>
>variable="#toBinary(invite)#">
>
>Any help would be appreciated. 

~|
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:294632
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Any 'gotchas' with two versions of CF on one machine?

2007-12-12 Thread Matthew Williams
One of the requirements to make this work in apache is to use the {VirtualHost} 
tags. You would define a specific CF instance to use for each VH.  Try making a 
copy of your current httpd.conf file and pointing the Web Config Tool at it 
instead of the live version.  You would then remove the JRun specific items 
from this copied file.  If there is a CF stuff already in the file, the config 
tool won't work correctly.  Failing all that, you can create all of this 
manually.

To manually create the connector, you will need to create a new numbered folder 
in  {jrunroot}/lib/wsconfig.  Doesn't matter the number really, but let's say 
you already have a "1", you'd then create a "2".  In this new folder you will 
need a copy of the mod_jrun22.so (copy this from the first folder) and a 
jrunserver.store file (also copied from the first folder).  That file should 
only contain the word "proxyservers=".  The only use for this file to map a 
cluster of instances.

Next, you'll need to edit your httpd.conf.  Each VH will need this information 
included between the tags.  I'll explain below where the info comes from.

JRunConfig Verbose false
JRunConfig Apialloc false
JRunConfig Ignoresuffixmap false
JRunConfig Serverstore "C:/JRun4/lib/wsconfig/1/jrunserver.store"
JRunConfig Bootstrap 127.0.0.1:51020
AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc .cfr .cfswf


Serverstore - points to the newly created folder and file.  We don't have much 
use for it in this case.  If you were clustering, Oy the fun!
Bootstrap - This is found in your jrun.xml file.  Typically, this file is found 
in {jrunroot}/servers/{instance}/SERVER-INF/jrun.xml.  The block of lines 
you're looking for have a server name of ProxyService.

Ad.  That's it, really.  Provided you don't have to manually compile the 
mod_jrun22.so, it's pretty straight forward.  My 7.0.2 connector works with 6.1 
and 8.


Matthew Williams
Geodesic GraFX
www.geodesicgrafx.com/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:294627
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CF8: Serialise a CFC?

2007-12-12 Thread Vince Bonfanti
I see. I was confusing his question with placing a CFC in the Session scope, 
where it's implicity serialized if you have "J2EE Sessions" enabled. I don't 
think this will work with the Client scope unless you explicitly (manually) 
serialize the CFC yourself.

Vince

>> Even if CF8 can serialize CFCs (I've read that it can), I 
>> don't think you can store complex variables in the Client 
>> scope. I'd assume that a serialized CFC would be considered 
>> a complex variable.
>
>No, it's a string. The example in the URL I included writes the string to a
>file.
>
>There is a serious limitation to this, though - your CFC can only contain
>strings, structures and other CFC instances apparently. If it contains
>arrays or queries, you can't deserialize it again! Apparently, Adobe's
>working on fixing that.
>
>Dave Watts, CTO, Fig Leaf Software
>http://www.figleaf.com/
>
>Fig Leaf Software provides the highest caliber vendor-authorized
>instruction at our training centers in Washington DC, Atlanta,
>Chicago, Baltimore, Northern Virginia, or on-site at your location.
>Visit http://training.figleaf.com/ for more information! 

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

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


Re: Any 'gotchas' with two versions of CF on one machine?

2007-12-12 Thread Matthew Williams
I have now corrected that oversight with my last post ;).  Hope it helps.  Ya 
know... these would all make excellent blog posts!  Not that many people read 
my blog, but it'd still make nice posts.

Matthew Williams
Geodesic GraFX
www.geodesicgrafx.com/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:294630
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Conceptual Search against Database(s)

2007-12-12 Thread d l
> > spending money).
> 
> There are free (and/or very cheap) CF hosts.
My concern is the IP protection, not too sure if the free/cheap CF hosts truly 
protect what I host there, if bad thing happens law suit?  I'd rather stay away 
from hassle...

> > Were you not able to access my semantic search demo?
> 
> I can. Other places have even more strict policys than ours.
I've created a web service for it, let me know if you'd like to check it out.

Also wondering what sort of business would likely see more value out of it...

> -- 
> Tom Chiverton
> Helping to centrally compete error-free meta-services
> on: http://thefalken.livejournal.com


~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta

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


RE: "Custom" Toolbar settings for cftextarea (FCKEditor)

2007-12-12 Thread Rick Faircloth
Thanks, Casey!

Rick

> -Original Message-
> From: Casey Dougall [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, December 12, 2007 11:23 AM
> To: CF-Talk
> Subject: Re: "Custom" Toolbar settings for cftextarea (FCKEditor)
> 
> On 12/12/07, Rick Faircloth <[EMAIL PROTECTED]> wrote:
> >
> > I see in the "Toolbar Configuration" seetings for FCKEditor
> > on the FCKEditor site that the tools bar can be completely
> > customized.
> 
> 
> 
> \CFIDE\scripts\ajax\FCKeditor\fckconfig\fckconfig.js
> 
> Copy the basic toolbar set and make modifications to that as needed.
> 
>  FCKConfig.ToolbarSets["Basic"] = [
> 
> ['Bold','Italic','-','OrderedList','UnorderedList','-','Link','Unlink','-','About']
> ] ;
> 
> Here is an example of a different basic menu list
> 
> FCKConfig.ToolbarSets["Basic2"] = [
> 
> ['Source','-','Bold','Italic','TextColor','BGColor','-','OrderedList','UnorderedList','-
> ','Link','Unlink','Image','-','About']
> ] ;
> 
> ~
> 
> Casey




~|
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:294626
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Any 'gotchas' with two versions of CF on one machine?

2007-12-12 Thread Mike Kear
Thanks, I think.   The trouble for me is whenever i come close to this
sort of thing, people use terms i haven't any understanding of.

For example,  "...installed CF7 as an EAR within a new JRun
instance.." might as well be Russian i'm afraid.  I havent installed
CF7 at all since a month after it was released.   So it's installed as
whatever it was when i did that, over a year ago.  I thought about
removing it and then reninstalling it, but i couldnt find how to save
all the settings, and didnt relish having to set up 40+ DSNs and all
the other tweaks stuff from a year's work all over again.

I dondt know how to have more than one JRun instance.  I looked
through teh docs and it tells you plenty of times that you can have
multiple instances, but nothing i could find about how to do it.
What command goes and from where?

I konw a lot about code, and site building, but i never have to play
with server things so my knowledge of server issues is very sketchy.
(as i suppose is blatantly obvious)

Earlier in this thread, Matthew told me how he configures his Apache
http.conf file,  but he didnt say how you determine which port the
second instance of jrun is going to be on. Or how you determine
which code the jrun is going to use.

So he went some of the way to describing what i have todo, but not all
the way.   That's been the story of my life since i was a teenager -
getting only to second base and never all the way.


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




On 12/13/07, Dave Watts <[EMAIL PROTECTED]> wrote:
> > Thanks Dave. Do you ever get any work done? You spend a LOT of time
> > here helping people out - and it's appreciated, I can assure you!
>
> You're welcome, of course! And as a CF instructor, this is actually part of
> my work.
>
> > I have installed using the multi server options. I can run both
> > administrators and see the settings for both CF7 and CF8, so
> > i know the servers themselves are going fine.
>
> So, you installed CF8 using the multiserver option, then installed CF7 as an
> EAR within a new JRun instance?
>
> > Do you see the problem with using a simple url like
> > http://localhost:8501 for these?
>
> Yes, the JRun web server will only support one site at a time.
>
> > I guess I can change and only have one CF server working at a time.
> > Have a batch file to stop CF7 and start CF8 or the reverse.
> > If i did that, would i only have to just stop the services
> > for one and start the other?  or is there more that i'd have
> > to do to switch between one and the other?
>
> Yes, that wouldn't really work, since each web server needs to be configured
> to talk to a specific JRun JNDI listening port. However, if you have the
> multiserver option described above, you can configure a specific Apache
> virtual server to point to a specific JRun instance (running one version of
> CF or the other). Unfortunately, the web server configuration tool won't
> help you much here. You'll have to edit httpd.conf by hand. You'll have to
> specify the appropriate JRun directives within the virtual server directive.
> Unfortunately, I don't have an example handy, because I haven't done this in
> a while, but plenty of other people do: just Google "apache cf7 cf8".
>
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
>
> Fig Leaf Software provides the highest caliber vendor-authorized
> instruction at our training centers in Washington DC, Atlanta,
> Chicago, Baltimore, Northern Virginia, or on-site at your location.
> Visit http://training.figleaf.com/ for more information!
>
>

~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

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


Re: Slow Queries on CF7

2007-12-12 Thread Mike Chabot
Run SQL Server Profiler from a remote machine to watch the queries and
response times. You said running the query directly is fast, which is
a good first step, but execuiting the query via ColdFusion is slightly
different and it would be good to make sure the query times as
observed through the Profiler tool are the same as what you are seeing
directly. There are many possible reasons for the slowness, but this
is where I would start.

Good luck,
Mike Chabot

On Dec 12, 2007 5:04 AM, Kevin Roche <[EMAIL PROTECTED]> wrote:
> I just upgraded one of my customers from CF5 to CF7.
>
> The site works but the queries are very slow. I have a test machine here in 
> the office and the queries take 30ms or so there but on the staging machine 
> and production machine the responce to the same query is 600ms.
>
> The only difference is that the test machine is using Win 2000 and the 
> staging and production machines are using Win 2003. All are using MS 
> SQLServer 2005. I have tried running the query concerned on the production 
> Database with SQL Management Studio and that happens very quickly.
>
> There is another symptom. That is that some queries fail with a message 
> saying that there are too many connections to the SQL Server. It is as if the 
> number of connections  is being limited by somthing. We are not using the 
> Express version of SQL Server so I am at a loss.
>
> Its almost as if ColdFusion connection pooling is not working and its 
> creating anew connection every time rather than reusing an exsiting datbase 
> connection.
>
> I am considering upgrading the DataDirect JDBC Drivers but that is just a 
> stab in the dark. Anyone else know any reason why this would happen?
>
> 

~|
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:294624
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


cfdocument PDF creation - formatting issues

2007-12-12 Thread Justin Brown
I'm trying to create a pdf document via cfdocument and need to control the font 
size of the document.  There are also words in the document that I need to 
italic.  But I'm getting some weird formatting issues.  Code sample below.  
When it generates the PDF it is putting a large amount of space around the word 
that in italic.









test test test test test test test test.







Any help would be appreciated. 

~|
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:294623
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Pulling data from a remote CSV file

2007-12-12 Thread Dave Anderson
It also occurred to me that you could probably update your mime type for csv 
files on your web server and register it as plain text.  That might work, and 
would eliminate the need to copy the file to a .txt file first.

>I need to pull data from a remote CSV file and the way I see it I have 2
>options.
>
>1) Use CFHTTP to load it directly into a query variable.
>2) Use CFHTTP to download the file and then CFQUERY it to get the data.
>
>The CSV file is returned as an attachment not directly as part of the body
>text, this is making CFHTTP fail to load the data into a query so option one
>seems a non starter. Option two is giving me problems as CF isn't releasing
>its lock on the file fast enough so the CFQUERY is failing.
>
>Anyone any other ideas?
>
>--
>Jay
>
>No virus found in this outgoing message.
>Checked by AVG Free Edition. 
>Version: 7.5.503 / Virus Database: 269.17.1/1181 - Release Date: 11/12/2007
>17:05 

~|
ColdFusion 8 - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

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


Re: CFEclipse Key mappings

2007-12-12 Thread Ben Doom
Why not just copy over your Eclipse folder?  Then, *all* your settings, 
plugins, etc. would be the same.

--BenD

Dave Hatz wrote:
> I am using CFEclipse v3.3.0 and I am trying to install CFEclipse on a new 
> laptop.  I want to keep all my settings.  I have been able to copy over my 
> snippets, but I can not find where the Key Mappings are located.
> 
> Can someone point me in the right location for the mappings?
> 
> Thanks,
> Dave Hatz 
> 
> 

~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

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


RE: Any 'gotchas' with two versions of CF on one machine?

2007-12-12 Thread Dave Watts
> Thanks Dave. Do you ever get any work done? You spend a LOT of time
> here helping people out - and it's appreciated, I can assure you!

You're welcome, of course! And as a CF instructor, this is actually part of
my work.

> I have installed using the multi server options. I can run both
> administrators and see the settings for both CF7 and CF8, so 
> i know the servers themselves are going fine.

So, you installed CF8 using the multiserver option, then installed CF7 as an
EAR within a new JRun instance?

> Do you see the problem with using a simple url like
> http://localhost:8501 for these?

Yes, the JRun web server will only support one site at a time.

> I guess I can change and only have one CF server working at a time.
> Have a batch file to stop CF7 and start CF8 or the reverse.  
> If i did that, would i only have to just stop the services 
> for one and start the other?  or is there more that i'd have 
> to do to switch between one and the other?

Yes, that wouldn't really work, since each web server needs to be configured
to talk to a specific JRun JNDI listening port. However, if you have the
multiserver option described above, you can configure a specific Apache
virtual server to point to a specific JRun instance (running one version of
CF or the other). Unfortunately, the web server configuration tool won't
help you much here. You'll have to edit httpd.conf by hand. You'll have to
specify the appropriate JRun directives within the virtual server directive.
Unfortunately, I don't have an example handy, because I haven't done this in
a while, but plenty of other people do: just Google "apache cf7 cf8".

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

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!


~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

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


RE: CFEclipse Key mappings

2007-12-12 Thread Andy Matthews
I believe they're found in your workspace. I recently upgraded and all I did
was tell 3.3 where my workspace was and all my shortcuts were there in the
new install. It was nice actually.

-Original Message-
From: Dave Hatz [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 12, 2007 9:59 AM
To: CF-Talk
Subject: CFEclipse Key mappings

I am using CFEclipse v3.3.0 and I am trying to install CFEclipse on a new
laptop.  I want to keep all my settings.  I have been able to copy over my
snippets, but I can not find where the Key Mappings are located.

Can someone point me in the right location for the mappings?

Thanks,
Dave Hatz 



~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta

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


Re: Pulling data from a remote CSV file

2007-12-12 Thread Dave Anderson
Yeah - it's odd that a cfhttp get on a txt file can yield a query object, but 
not on a csv file.

Perhaps the simplest solution would be to make a copy of the file with a txt 
extension, then cfhttp get it.  The auto-conversion of txt data to a query is 
so darn handy, that little extra step is probably worth it.

- Dave

>I need to pull data from a remote CSV file and the way I see it I have 2
>options.
>
>1) Use CFHTTP to load it directly into a query variable.
>2) Use CFHTTP to download the file and then CFQUERY it to get the data.
>
>The CSV file is returned as an attachment not directly as part of the body
>text, this is making CFHTTP fail to load the data into a query so option one
>seems a non starter. Option two is giving me problems as CF isn't releasing
>its lock on the file fast enough so the CFQUERY is failing.
>
>Anyone any other ideas?
>
>--
>Jay
>
>No virus found in this outgoing message.
>Checked by AVG Free Edition. 
>Version: 7.5.503 / Virus Database: 269.17.1/1181 - Release Date: 11/12/2007
>17:05 

~|
ColdFusion is delivering applications solutions at at top companies 
around the world in government.  Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us

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


Re: CF8: Serialise a CFC?

2007-12-12 Thread Raymond Camden
I thought serialized always implied a string? Ie, complex var into a
string package.

On Dec 12, 2007 10:05 AM, Vince Bonfanti <[EMAIL PROTECTED]> wrote:
> Even if CF8 can serialize CFCs (I've read that it can), I don't think you can 
> store complex variables in the Client scope. I'd assume that a serialized CFC 
> would be considered a complex variable.
>
> Vince Bonfanti
> New Atlanta Communications, LLC
>
> >> I read somewhere that in CF8 you can serialise CFCs.  That's
> >> about the hottest topic in my list at the moment - i have to
> >> make architectural decisions in the next few hours, one of
> >> which depends on whether or not you can serialise CFCS and
> >> store them in the database as client vars or not.
> >

-- 
===
Raymond Camden, Camden Media

Email: [EMAIL PROTECTED]
Blog  : www.coldfusionjedi.com
AOL IM : cfjedimaster

Keep up to date with the community: http://www.coldfusionbloggers.org

~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta

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


RE: CF8: Serialise a CFC?

2007-12-12 Thread Dave Watts
> Do you ever get sick of being right, Dave?

No, I'm wrong enough that I'm happy when I'm right.

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

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!


~|
ColdFusion 8 - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

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


RE: CF8: Serialise a CFC?

2007-12-12 Thread Dave Watts
> Even if CF8 can serialize CFCs (I've read that it can), I 
> don't think you can store complex variables in the Client 
> scope. I'd assume that a serialized CFC would be considered 
> a complex variable.

No, it's a string. The example in the URL I included writes the string to a
file.

There is a serious limitation to this, though - your CFC can only contain
strings, structures and other CFC instances apparently. If it contains
arrays or queries, you can't deserialize it again! Apparently, Adobe's
working on fixing that.

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

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!


~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

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


Re: CF8: Serialise a CFC?

2007-12-12 Thread Mike Kear
Once again, Dave Watts proves to be right.   Do you ever get sick of
being right, Dave?

Turns out you can serialise a CFC using java (which is why i couldnt
find it in the docs).   Using the technique outlined in teh blog at
http://www.rakshith.net/blog/?p=4

It takes a CFC, which can be a very seriously complex variable, and
turns it into a string.  Once as a string it can be written to a file,
stored in a database, emailed,  lots of stuff could happen to it.

Using java, the opposite is also true.   You feed a java function the
serialised CfC in the form of the string (which could have been pulled
out of a database or read in from a file, even a SMS message i
suppose)  and reconstituted into the CFC again for use elsewhere.

Neat.  And that's exactly what we were looking for for this project.
It means instead of tinkering with the existing code, and patching
more patches on the patches, we're going to start again from scratch
and build a new site.   We can discard all the legacy inefficiencies
and do the job properly using new techniques!

Thanks!

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



On 12/13/07, Vince Bonfanti <[EMAIL PROTECTED]> wrote:
> Even if CF8 can serialize CFCs (I've read that it can), I don't think you can 
> store complex variables in the Client scope. I'd assume that a serialized CFC 
> would be considered a complex variable.
>
> Vince Bonfanti
> New Atlanta Communications, LLC
>
>

~|
ColdFusion 8 - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

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


Re: "Custom" Toolbar settings for cftextarea (FCKEditor)

2007-12-12 Thread Dave Anderson
I've used the FCKeditor quite a bit, but I got used to using it before the 
cftextarea option came along, so my sample here won't directly translate to the 
cf8 implementation, but a little futzing should yield the same results.

With FCKeditor installed, an editor object can be instantiated thusly:


fckEditor = createObject("component", "path.to.FCKeditor.fckeditor");
fckEditor.instanceName  = "myFCK";
fckEditor.value = htmContent;
fckEditor.basePath  = "/path/to/FCKeditor/";
fckEditor.width = 420;
fckEditor.height= 300;
fckEditor.Config["EditorAreaCSS"] = "/siteRoot/css/fck.css"; //the css to apply 
to the container's contents
fckEditor.toolbarset= 'CustomToolbar'; // corresponds to config in the js 
file referenced below
fckEditor.Config["CustomConfigurationsPath"] = "/siteRoot/scripts/fck-cfg.js";
fckEditor.create(); 


The fck-cfg.js file will contain:
FCKConfig.ToolbarSets["CustomToolbar"] = [
   //buttons go here.  check fckeditor.net site for options
]

Hope this helps.  

- Dave


>I see in the "Toolbar Configuration" seetings for FCKEditor...
>on the FCKEditor site that the tools bar can be completely
>customized.
>
>I also notice that in the CF8 docs, that there are three settings
>for the toolbar display "default|basic|custom".
>
>Now is the FCKEditor Toolbar buttons can be included/excluded per button,
>then isn't it possible to do the same through cftextarea?
>
>I didn't see the individual toolbar buttons as options in the CF8 docs,
>so I'm assuming it may need to be done in a file somewhere, such as
>the "fckconfig.js" file when using FCKEditor directly.
>
>However, when looking for such a file in the ColdFusion 8 installation
>folder, I couldn't find anything that might look like a file that contains
>toolbar specifications.
>
>Anyone successfully changed the buttons on the cftextarea toolbar 
>configurations
>via changing a specification file, or by other means?
>
>I just want buttons for
>
>-  font family
>-  font color
>-  font size
>-  font weight
>-  font style (Italics, etc)
>-  insert image (with border, alignment settings)
>
>I think that's all.  Any more, and the client will foul up my design.
>
>Has anyone successfully customized the cftextarea toolbar in such a manner?
>
>I am consider TinyMCE, but I'd rather keep this CF to keep from having to add
>yet another third-party app that I have to keep track of.
>
>Rick 

~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294610
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: Eclipse speed issue

2007-12-12 Thread Mark Kruger
Jake... And I appreciate it :) 

-Original Message-
From: Jake Churchill [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 11, 2007 5:46 PM
To: CF-Talk
Subject: RE: OT: Eclipse speed issue

I wouldn't mind making that switch but we are predominantly Windows here so
I try not to be the "odd man out."  

_ 

Jake Churchill
Team Leader
11204 Davenport, Ste. 100
Omaha, NE  68154
http://www.cfwebtools.com
402-408-3733 x103 


-Original Message-
From: Bryan Stevenson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 11, 2007 5:33 PM
To: CF-Talk
Subject: Re: OT: Eclipse speed issue

I've never opened a file that large, but I can say this

Now that I've dropped Windows and moved to Linux (Ubuntu 7.10 "Gutsy"),
Eclipse is MUCH better.  In Windows I had all sorts of small but annoying
flakiness along with it going to sleep if I left it for more than 30 seconds
(i.e. click on open file panel and wait 30 seconds for it to "recover").  It
was also SLOW for no apparent reason at times.  
I've been told this is due to the Windows implementation of Java vs that on
Linux.

Not sure if that will help you, but there certainly seems to be a big
performance difference between OSs

Cheers

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com
 
Notice:
This message, including any attachments, is confidential and may contain
information that is privileged or exempt from disclosure. It is intended
only for the person to whom it is addressed unless expressly authorized
otherwise by the sender. If you are not an authorized recipient, please
notify the sender immediately and permanently destroy all copies of this
message and attachments.

>   






~|
ColdFusion 8 - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

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


Re: CF8: Serialise a CFC?

2007-12-12 Thread Vince Bonfanti
Even if CF8 can serialize CFCs (I've read that it can), I don't think you can 
store complex variables in the Client scope. I'd assume that a serialized CFC 
would be considered a complex variable.

Vince Bonfanti
New Atlanta Communications, LLC

>> I read somewhere that in CF8 you can serialise CFCs.  That's 
>> about the hottest topic in my list at the moment - i have to 
>> make architectural decisions in the next few hours, one of 
>> which depends on whether or not you can serialise CFCS and 
>> store them in the database as client vars or not.
>
>Yes, you can. I'd be very careful about doing this and storing them within a
>database via the Client scope, though, since that could beat the crap out of
>your servers if you're not careful. For example, I wouldn't want to do that
>on every page request (which is generally when Client variables are
>updated).
>
>> If so, how?
>
>Generally, my understanding is that this will happen automatically for you
>if you're storing CFC instances in the Session scope, and you have session
>replication configured across multiple servers. However, as Rakshith points
>out, you can do it yourself as well:
>
>http://www.rakshith.net/blog/?p=4
> 

~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

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


Re: "Custom" Toolbar settings for cftextarea (FCKEditor)

2007-12-12 Thread Casey Dougall
On 12/12/07, Rick Faircloth <[EMAIL PROTECTED]> wrote:
>
> I see in the "Toolbar Configuration" seetings for FCKEditor
> on the FCKEditor site that the tools bar can be completely
> customized.



\CFIDE\scripts\ajax\FCKeditor\fckconfig\fckconfig.js

Copy the basic toolbar set and make modifications to that as needed.

 FCKConfig.ToolbarSets["Basic"] = [

['Bold','Italic','-','OrderedList','UnorderedList','-','Link','Unlink','-','About']
] ;

Here is an example of a different basic menu list

FCKConfig.ToolbarSets["Basic2"] = [

['Source','-','Bold','Italic','TextColor','BGColor','-','OrderedList','UnorderedList','-','Link','Unlink','Image','-','About']
] ;

~

Casey


~|
ColdFusion 8 - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

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


"ColdFusion is undefined" -- NOT a /CFIDE mapping problem

2007-12-12 Thread Dave Anderson
I've seen the "ColdFusion is undefined" problem mentioned a number of times, 
but it seems that the solution is invariably a missing /CFIDE mapping on the 
web server.  I'm experiencing this problem myself, but the source of the 
problem is confounding me.  I've got a page with a cfgrid in it, and the first 
time I hit the page, it displays just fine.  When I go to another page, then 
come back to the page with the CFGRID, an empty container displays and I get 
the "ColdFusion is undefined" javascript error.  I've tried incorporating the 
cfajaximport tag, I've tried creating a new mapping and using scriptsrc 
attributes, and nothing I do will make that grid reappear short of restarting 
the CF service.  After a restart, it appears once.  Go away and come back -- 
nada.

Ideas?


~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648

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


CFEclipse Key mappings

2007-12-12 Thread Dave Hatz
I am using CFEclipse v3.3.0 and I am trying to install CFEclipse on a new 
laptop.  I want to keep all my settings.  I have been able to copy over my 
snippets, but I can not find where the Key Mappings are located.

Can someone point me in the right location for the mappings?

Thanks,
Dave Hatz 

~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648

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


Re: Any 'gotchas' with two versions of CF on one machine?

2007-12-12 Thread Mike Kear
Thanks Dave.   Do you ever get any work done?  You spend a LOT of time
here helping people out - and it's appreciated,  I can assure you!

I have installed using the multi server options.   I can run both
administrators and see the settings for both CF7 and CF8, so i know
the servers themselves are going fine.

It's only the web servers that are the issue now.

I can't use http://localhost:8501 because i have 40-odd web sites
they're all set up as virtual sites, and are running with exactly the
same code as on the production servers.

For example, the first site i have to use under CF8, because we want
to use some of the new features, is http://dev.newwaves.   Which is to
be found on my hdd at
C:\sites\Customers\NewWaves\NewWaves.com.au\site\web

The next CF8 site is to be http://cms.atalkingdog which will be at
E:\sites\Mysites\atalkingdog.com.2008\site\web

Do you see the problem with using a simple url like
http://localhost:8501 for these?

I have about 40 sites (and growing) set up on my dev server/laptop and
in any one day i might work on 5 of them.  Changing configuration all
the time is a pain in the .. well its annoying.That's why i used
Apache - because it allows lots of virtual sites.

I guess I can change and only have one CF server working at a time.
Have a batch file to stop CF7 and start CF8 or the reverse.  If i did
that, would i only have to just stop the services for one and start
the other?  or is there more that i'd have to do to switch between one
and the other?

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


On 12/13/07, Dave Watts <[EMAIL PROTECTED]> wrote:
> > That means (correct my if i'm wrong) that i have ot change those
> > IfModule mod_jrun22.c settings in the Apache config.
>
> To the best of my knowledge, Apache won't let you use two different mod_jrun
> connector files. IIS will let you use different connectors for different
> virtual servers, but that doesn't help you on Windows XP, which only
> supports one virtual server. You may need to ensure that all your sites are
> using the newest one, which means upgrading the underlying JRun stuff for
> your older install. I would recommend that you look into multiserver
> configuration in this case.
>
> > That's ok but it's not using Apache, and that location is only
> > pointing to the locatio nof hte docs and admin.   I need to be able to
> > access web sites using CF8, while still having CF7 going too.
> > Otherwise my sites wont work, and nor will a lot of my
> > includes, cfc calls, etc  I'd like to be able to just have it
> > somehow that the server knows http://dev.clientA is a CF7
> > site, and http://dev.clientB is a CF8 site.
>
> Why not just have different JRun web servers, so that http://localhost:8500/
> is CF7 and http://localhost:8501/ is CF8? If it's because you need multiple
> virtual servers with each, things get more complicated. In that case, again,
> I'd recommend the use of multiserver. You might be able to run multiple
> copies of Apache (each with its own httpd.conf) but I haven't tried that.
>
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
>
> Fig Leaf Software provides the highest caliber vendor-authorized
> instruction at our training centers in Washington DC, Atlanta,
> Chicago, Baltimore, Northern Virginia, or on-site at your location.
> Visit http://training.figleaf.com/ for more information!
>

~|
ColdFusion 8 - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

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


"Custom" Toolbar settings for cftextarea (FCKEditor)

2007-12-12 Thread Rick Faircloth
I see in the "Toolbar Configuration" seetings for FCKEditor
on the FCKEditor site that the tools bar can be completely
customized.

I also notice that in the CF8 docs, that there are three settings
for the toolbar display "default|basic|custom".

Now is the FCKEditor Toolbar buttons can be included/excluded per button,
then isn't it possible to do the same through cftextarea?

I didn't see the individual toolbar buttons as options in the CF8 docs,
so I'm assuming it may need to be done in a file somewhere, such as
the "fckconfig.js" file when using FCKEditor directly.

However, when looking for such a file in the ColdFusion 8 installation
folder, I couldn't find anything that might look like a file that contains
toolbar specifications.

Anyone successfully changed the buttons on the cftextarea toolbar configurations
via changing a specification file, or by other means?

I just want buttons for

-   font family
-   font color
-   font size
-   font weight
-   font style (Italics, etc)
-   insert image (with border, alignment settings)

I think that's all.  Any more, and the client will foul up my design.

Has anyone successfully customized the cftextarea toolbar in such a manner?

I am consider TinyMCE, but I'd rather keep this CF to keep from having to add
yet another third-party app that I have to keep track of.

Rick



~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648

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


Re: CF8: Serialise a CFC?

2007-12-12 Thread Tom Chiverton
On Wednesday 12 Dec 2007, Mike Kear wrote:
> decisions in the next few hours, one of which depends on whether or
> not you can serialise CFCS and store them in the database as client
> vars or not.

CF can't do it itself - only you know which bits of internal state need 
persisting, and what actions to take when they are restored.

> If so, how?

Thing of it as a pair of methods - one turns a string into an object, and the 
other does the reverse - you should be able to feed the output of one method 
into the input of the other.

-- 
Tom Chiverton
Helping to centrally promote error-free deliverables
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.

~|
Check out the new features and enhancements in the
latest product release - download the "What's New PDF" now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

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


RE: CF8: Serialise a CFC?

2007-12-12 Thread Dave Watts
> I read somewhere that in CF8 you can serialise CFCs.  That's 
> about the hottest topic in my list at the moment - i have to 
> make architectural decisions in the next few hours, one of 
> which depends on whether or not you can serialise CFCS and 
> store them in the database as client vars or not.

Yes, you can. I'd be very careful about doing this and storing them within a
database via the Client scope, though, since that could beat the crap out of
your servers if you're not careful. For example, I wouldn't want to do that
on every page request (which is generally when Client variables are
updated).

> If so, how?

Generally, my understanding is that this will happen automatically for you
if you're storing CFC instances in the Session scope, and you have session
replication configured across multiple servers. However, as Rakshith points
out, you can do it yourself as well:

http://www.rakshith.net/blog/?p=4

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

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!


~|
ColdFusion 8 - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

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


Pulling data from a remote CSV file

2007-12-12 Thread James Smith
I need to pull data from a remote CSV file and the way I see it I have 2
options.

1) Use CFHTTP to load it directly into a query variable.
2) Use CFHTTP to download the file and then CFQUERY it to get the data.

The CSV file is returned as an attachment not directly as part of the body
text, this is making CFHTTP fail to load the data into a query so option one
seems a non starter. Option two is giving me problems as CF isn't releasing
its lock on the file fast enough so the CFQUERY is failing.

Anyone any other ideas?

--
Jay

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.503 / Virus Database: 269.17.1/1181 - Release Date: 11/12/2007
17:05
 


~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

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


Re: Flushing CDATA/CGLOBAL db tables (nevermind!)

2007-12-12 Thread Scott Weikert
The data in my CDATA/CGLOBAL tables finally ended up getting flushed - 
just had to be patient. :)

Nevermind!

~|
ColdFusion is delivering applications solutions at at top companies 
around the world in government.  Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us

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


RE: Any 'gotchas' with two versions of CF on one machine?

2007-12-12 Thread Dave Watts
> That means (correct my if i'm wrong) that i have ot change those
> IfModule mod_jrun22.c settings in the Apache config.

To the best of my knowledge, Apache won't let you use two different mod_jrun
connector files. IIS will let you use different connectors for different
virtual servers, but that doesn't help you on Windows XP, which only
supports one virtual server. You may need to ensure that all your sites are
using the newest one, which means upgrading the underlying JRun stuff for
your older install. I would recommend that you look into multiserver
configuration in this case.

> That's ok but it's not using Apache, and that location is only
> pointing to the locatio nof hte docs and admin.   I need to be able to
> access web sites using CF8, while still having CF7 going too.
> Otherwise my sites wont work, and nor will a lot of my 
> includes, cfc calls, etc  I'd like to be able to just have it 
> somehow that the server knows http://dev.clientA is a CF7 
> site, and http://dev.clientB is a CF8 site.

Why not just have different JRun web servers, so that http://localhost:8500/
is CF7 and http://localhost:8501/ is CF8? If it's because you need multiple
virtual servers with each, things get more complicated. In that case, again,
I'd recommend the use of multiserver. You might be able to run multiple
copies of Apache (each with its own httpd.conf) but I haven't tried that.

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

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!


~|
ColdFusion is delivering applications solutions at at top companies 
around the world in government.  Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us

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


CF8: Serialise a CFC?

2007-12-12 Thread Mike Kear
I read somewhere that in CF8 you can serialise CFCs.  That's about the
hottest topic in my list at the moment - i have to make architectural
decisions in the next few hours, one of which depends on whether or
not you can serialise CFCS and store them in the database as client
vars or not.

If so, how?

The answer to that questoin affects fundamental aspects to the
architecture of the project.   Yes, we go this way.  No, we go that
way.

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

~|
ColdFusion is delivering applications solutions at at top companies 
around the world in government.  Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us

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


Re: Paging won't display on CFGRID

2007-12-12 Thread gary gilbert
Page size is not for the Flash version of the grid it is only for the Ajax
version.


-- 
Gary Gilbert
http://www.garyrgilbert.com/blog


~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

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


Flushing CDATA/CGLOBAL db tables?

2007-12-12 Thread Scott Weikert
Our server guy is getting ready to do some major work on our DB server 
(MS SQL). I'm trying to get the CDATA/CGLOBAL tables trimmed down so 
that the DB will copy off that box over to a temp DB box easier.

I've set the "purge unvisited" setting for the client variables down to 
one day (we don't use client vars generally so it's not a big deal), and 
left the purge interval at 1hr 7min. It's been well over that long since 
I made these changes, but the recordcounts on both tables is unchanged.

Is there something I can do to kick this process? Or should I just be 
more patient?

I'm running CF8 on Windows Server 2k3.

~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

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


Re: Any 'gotchas' with two versions of CF on one machine?

2007-12-12 Thread Mike Kear
Matthew, that is a good description of what I need to do.  I have now
got CF8 installed and running, but only by calling
http://localhost:8501/

That's ok but it's not using Apache, and that location is only
pointing to the locatio nof hte docs and admin.   I need to be able to
access web sites using CF8, while still having CF7 going too.
Otherwise my sites wont work, and nor will a lot of my includes, cfc
calls, etc  I'd like to be able to just have it somehow that the
server knows http://dev.clientA is a CF7 site, and http://dev.clientB
is a CF8 site.

That means (correct my if i'm wrong) that i have ot change those
IfModule mod_jrun22.c settings in the Apache config. So fair
enough.   From what you say i think i need to point to a different
version of the jrunserverstore.exe.

Where does the additional copy of serverstore.exe come from?  is it
added by teh connector (because mine isnt doing that) or do i just
copy the folder that's there to a new folder?

How do i know what port to use?  You are using port 51020- but where
did that number come from? did you make it up?  or did something tell
you?   what did?

I am SOOO close to being finished on this.   It's only been 7 hours
now.the quickest and easiest Coldfusion installation I've had yet.
 And I've been installing them since CF4.0.

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




On 12/12/07, Matthew Williams <[EMAIL PROTECTED]> wrote:
> >How do you switch between them?I.e. how does your system determine
> >that page a has to be processed by CF8 and page b by CF7?
>
> Pretty simple, using apache.  Assuming you've installed in multi-server mode, 
> you would run the Web Server Configuration tool (found in the Macromedia 
> programs folder).  I'm fairly certain this can only be done by running in 
> multi-server mode.  I've got 6.1, 7.0.2, and 8 all running this way.  An 
> example of my httpd.conf is found below.  Please note, that I'm using named 
> "NameVirtualHost" setting.  You would not need to run a VM in this case, and 
> save on a ton of memory.
>
> First, you need to load the JRun module.  You can only define this once.  I 
> don't think it matters which you load as they all use the module fine.
> # JRun Settings
>  LoadModule jrun_module "C:/JRun4/lib/wsconfig/2/mod_jrun22.so"
>
> Next, within each virtual site, you would define a JRun mapping to each 
> instance.  My 6.1 instance looks like this:
> 
>  # JRun Settings
>  
> JRunConfig Verbose false
> JRunConfig Apialloc false
> JRunConfig Ssl false
> JRunConfig Ignoresuffixmap false
> JRunConfig Serverstore "C:/JRun4/lib/wsconfig/2/jrunserver.store"
> JRunConfig Bootstrap 127.0.0.1:51000
> AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc .cfr .cfswf
> 
>
>  DocumentRoot "C:\farcry\studentstaffers\trunk"
>  ServerName mdw.studentstaffers.com
>  ServerAdmin [EMAIL PROTECTED]
>  ErrorLog C:/EasyPHP2/apache/logs/ss_error_log
>  TransferLog C:/EasyPHP2/apache/logs/ss_access_log
>  Alias /phpmyadmin c:\easyphp2\phpmyadmin
>  Alias /CFIDE c:\jrun4\servers\cfusion61\cfusion-ear\cfusion-war\CFIDE
> 
>
> So, to break it down, my local site of mdw.studentstaffers.com listens on 
> port 80 (as do all my others, but redirects depending on the named host).  It 
> uses the Serverstore for my 6.1 instance and uses its bootstrap as well.  I 
> also have my CFIDE defined.  My 7.0.2 instance has its server store at 
> C:/JRun4/lib/wsconfig/1/jrunserver.store and its bootstrap is at port 51020.  
> Uh, sorry to say it's a right pain in the ass, the JRun connector piece, but 
> for more of understanding of it, try going here: 
> http://blog.webmages.com/geek/cfmx-on-intel-macs/#jrun.  What I do is make a 
> copy of my http.conf file, and point the web configuration tool there.  I 
> then copy those changes back to my main file.  This can all be done manually, 
> you just need to be aware of what the ports are.
>
> Matthew Williams
> Geodesic GraFX
> www.geodesicgrafx.com/blog
>
> 

~|
ColdFusion 8 - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

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


Re: cfflush in CF 8

2007-12-12 Thread Matthew Lesko
My solution for cfflush on CF8 with IIS: 

http://orangepips.instantspot.com/blog/index.cfm/2007/12/12/cfflush-Problem-and-Solution-on-CF8-with-IIS-
 

~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

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


Paging won't display on CFGRID

2007-12-12 Thread B. Langston
I'm new to using CFGRID and have a flash form that allows users to add, edit 
and delete rows from the grid. It works great except the page functions won't 
display.  The code is below (based on an example in Adobe Livedocs) - thanks 
for any help I can get.




 


Select * from dbo.Tooltips






 
 
 
 
 



  




~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294593
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: Eclipse speed issue

2007-12-12 Thread Tom Chiverton
On Wednesday 12 Dec 2007, Jake Churchill wrote:
> I don't know why they did it all in one file.  It's not really object
> based, just a function collection. 

Ah, the Utility Object anti-pattern :-)

-- 
Tom Chiverton
Helping to professionally promote one-to-one materials
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.

~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294592
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: Eclipse speed issue

2007-12-12 Thread Jake Churchill
I agree.  It's an open source library dealing with Stock Charting Studies.
I don't know why they did it all in one file.  It's not really object based,
just a function collection.  I'll just deal with the speed issue I guess.  

_ 

Jake Churchill 
Team Leader
11204 Davenport, Ste. 100
Omaha, NE  68154 
http://www.cfwebtools.com 
402-408-3733 x103 

-Original Message-
From: Tom Chiverton [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 12, 2007 8:19 AM
To: CF-Talk
Subject: Re: OT: Eclipse speed issue

On Wednesday 12 Dec 2007, Dan G. Switzer, II wrote:
> There may be a workaround, but you're most likely to find solutions from
> people who work with the Java perspective almost exclusively.

R... re... ref... *refactor* ! Yes, that was it.
Seriously. A 25K lines source file ? That's bonkers.

-- 
Tom Chiverton
Helping to completely empower intuitive 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.



~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294591
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: Eclipse speed issue

2007-12-12 Thread Dave Watts
> R... re... ref... *refactor* ! Yes, that was it.
> Seriously. A 25K lines source file ? That's bonkers.

Yeah, I'm surprised it will even compile.

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

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!


~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

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


CFFORM inside CFPOD & Firefox

2007-12-12 Thread Chris Martin
Anyone had any issues with showing a cfform inside a cfpod using 
Firefox?  Shows up in IE7.

-- 
Chris Martin



~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648

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


ColdFusion SMS Gateway - without short codes

2007-12-12 Thread Bosky, Dave
We're trying to setup a CF SMS Gateway to do some 2-way messaging but it
seems like AT&T is requiring us to use a short code.
I don't understand why I can't setup a 10 digit phone number and use it
instead of a short code.

Anybody done this before?

Thanks,
 
Dave Bosky | Information Services | HTC | direct:  843-369-8613 | fax:
843-369-7178 | [EMAIL PROTECTED]

**
HTC Disclaimer:  The information contained in this message may be privileged 
and confidential and protected from disclosure. If the reader of this message 
is not the intended recipient, or an employee or agent responsible for 
delivering this message to the intended recipient, you are hereby notified that 
any dissemination, distribution or copying of this communication is strictly 
prohibited.  If you have received this communication in error, please notify us 
immediately by replying to the message and deleting it from your computer.  
Thank you.
**


~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294588
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: Eclipse speed issue

2007-12-12 Thread Tom Chiverton
On Wednesday 12 Dec 2007, Dan G. Switzer, II wrote:
> There may be a workaround, but you're most likely to find solutions from
> people who work with the Java perspective almost exclusively.

R... re... ref... *refactor* ! Yes, that was it.
Seriously. A 25K lines source file ? That's bonkers.

-- 
Tom Chiverton
Helping to completely empower intuitive 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.

~|
Check out the new features and enhancements in the
latest product release - download the "What's New PDF" now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294587
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: Eclipse speed issue

2007-12-12 Thread Dan G. Switzer, II
Jake,

>Thanks for the suggestion.  I changed my my heap to a min of 128 and a max
>of 512 in my eclipse.ini file.  I'm not sure I really see a difference.  I
>did, however, notice that "Build Automatically" was checked in the project
>settings.  I unchecked that.  I suspect that recompiling 25,000 lines of
>code over and over wasn't ever going to be very fast.  That helps the speed
>issue a bit but I might still be missing something.
>
>If any more advanced Eclipse users have any suggestions, I'd love to hear
>them.

My guess is it's just having problems parsing a file that big. Generally
most Java classes are no where near that size and my guess is the parsers
for syntax highlight and code hints are just taking a long time.

As I've never worked on a Java class anywhere near that size, I'd recommend
searching for answers on an Eclipse-based mailing list.

I will say I have problems with CFM templates in CFEclipse that are more
than a few 1,000 lines of code, but it seems to be related to CFEclipse
(since I can open the templates in other views without the degradation in
performance.) I'm pretty sure it's the parser in CFEclipse that's having
problems parsing the template. I suspect if I turned off code hinting the
problem would go away, but the problems I've seen could be related to the
color parsing.

Anyway, my guess is it's an issue with the parser for the Java perspective.
There may be a workaround, but you're most likely to find solutions from
people who work with the Java perspective almost exclusively.

-Dan


~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta

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


Re: Conceptual Search against Database(s)

2007-12-12 Thread Tom Chiverton
On Tuesday 11 Dec 2007, d l wrote:
> The thing is, of the two choices of my local ISPs, both blocks port 80,
> going for other ISP might be too expensive (I've got to be careful about
> spending money).

There are free (and/or very cheap) CF hosts.

> Were you not able to access my semantic search demo?

I can. Other places have even more strict policys than ours.

-- 
Tom Chiverton
Helping to centrally compete error-free meta-services
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.

~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

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


Re: CFChart and SSL

2007-12-12 Thread Dominic Watson
>
> And if you ask for that url directly ? Any CF errors ?


Aha yes:

*File not found: /npslba_admin/CFIDE/GraphData.cfm *

The old url was http://blah.blah.com/npslba_admin and the graph image
was  http://blah.blah.com/CFIDE/etcwhich makes perfect sense. Hm, how
to solve! Output the image to a temporary
folder perhaps and use that, I'm assuming I can do that - yeh.

Thankyou for your problem solving skills Tom :)

Dominic

-- 
Blog it up: http://fusion.dominicwatson.co.uk


~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta

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


RE: Oops on installing CF8

2007-12-12 Thread Dave Watts
> I just KNEW installing CF8 wasnt going to go perfectly.  None 
> of the other versions since CF4 have installed easily for me, 
> so why would this be any different?
> 
> Anyway, it seemed to install ok, then when i tried to 
> configure the web server, i started the web server 
> configuration tool and got the following error message:
> 
> [quote]
> The JRun server(s) found on host 127.0.0.1 must be upgraded 
> to use this version of the Web Server Configuration tool.
> [/quote]
> 
> Where do i go from here?
> 
> Just for the record, I have Jrun installed, because it's part of the
> CF7 installation that i wish to keep, but apparently it's the wrong
> version.   I guess the CF8 installation of jrun didnt work.
> It's going on my WinXPPro development laptop
> 
> Apart from uninstalling CF8 and starting again, does anyone 
> have a clue what i should do next?

If you're running Windows XP Pro, I would strongly recommend that you not
bother hooking CF up to IIS, especially if you're trying to run multiple
versions of CF. IIS 5.1, the version of IIS that is included with XP, only
allows one virtual web server. And, it's not the same version of IIS that
you'd have on a server anyway - if your goal is to emulate your production
environment, this doesn't get you very far.

If you must use an external web server with multiple versions of CF on
Windows XP, use Apache instead. Again, though, you really don't need this
unless there's some specific web server functionality you need on your
development laptop. So, again, I'd strongly recommend that you just use the
internal web server for CF8. If you must have it listen on TCP/80, you can
do that as long as you don't run IIS at the same time.

All that said, how exactly is your previous CF install set up? Is it
multiserver? If you want to run multiserver, you'll probably want to
uninstall CF7 and JRun, install CF8 with the multiserver option, then
install CF7 as an EAR file onto a new JRun instance. The version of JRun
that comes with CF8 is newer (obviously) than CF7. There is no simple
upgrade path for multiserver. However, I think it's generally the best way
to run multiple versions of CFMX 7+ on a single machine.

Otherwise, try turning CF7 off while you run the web server configuration
tool. You don't want it to connect to CF7, just CF8. Presumably,
everything's in separate directories if you didn't do the multiserver
install.

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

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!


~|
ColdFusion 8 - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

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


RE: Stupid CF 5 Question

2007-12-12 Thread Dave Watts
> These aren't really part of CF 5 per se. Rather they are a 
> part of the ODBC settings in windows. You can cause DSN's to 
> show up in the datasources by using the ODBC control panel - 
> and visa versa. 
> 
> Look in the registry for ODBC under local machine (not sure 
> of the exact location).

You probably already know this, but for the benefit of the original poster,
this isn't entirely accurate. CF 5 has its own registry key where it stores
information about the ODBC datasources that it's been configured to use -
passwords, etc. So, to capture that information in its entirety, you need
the CF keys and the ODBC.INI keys.

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

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!


~|
ColdFusion is delivering applications solutions at at top companies 
around the world in government.  Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us

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


Slow Queries on CF7

2007-12-12 Thread Kevin Roche
I just upgraded one of my customers from CF5 to CF7.

The site works but the queries are very slow. I have a test machine here in the 
office and the queries take 30ms or so there but on the staging machine and 
production machine the responce to the same query is 600ms.

The only difference is that the test machine is using Win 2000 and the staging 
and production machines are using Win 2003. All are using MS SQLServer 2005. I 
have tried running the query concerned on the production Database with SQL 
Management Studio and that happens very quickly.

There is another symptom. That is that some queries fail with a message saying 
that there are too many connections to the SQL Server. It is as if the number 
of connections  is being limited by somthing. We are not using the Express 
version of SQL Server so I am at a loss. 

Its almost as if ColdFusion connection pooling is not working and its creating 
anew connection every time rather than reusing an exsiting datbase connection.

I am considering upgrading the DataDirect JDBC Drivers but that is just a stab 
in the dark. Anyone else know any reason why this would happen? 

~|
ColdFusion 8 - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

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


Re: CFChart and SSL

2007-12-12 Thread Tom Chiverton
On Tuesday 11 Dec 2007, Dominic Watson wrote:
> https://the.site.url/CFIDE/GraphData.cfm?graphID=Images/100153.JPG

And if you ask for that url directly ? Any CF errors ?

-- 
Tom Chiverton
Helping to ambassadorially administrate back-end data
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.

~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648

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