Re: Yahoo! API and Oauth

2010-08-16 Thread Matthew Reinbold

And just as a follow up, I'm aware of Harry Klein's Ria Forge Oauth library - 
http://oauth.riaforge.org/ . I'm just unclear of how to use it with Yahoo!, 
what server I need to authorize against, etc.

-Matthew 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336334
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Move CF website to non CF host

2010-08-16 Thread UXB Internet

>> I would like to move that site to be hosted without CF (or MS SQL).  

The short answer is no you need a CF server to process CF pages (*.cfm).
However, you can capture your website in pure HTML regardless of what CF is
doing "under the hood".  You just need to be aware of some gotcha's when
deciding to move it to pure HTML.

1) Is there anything dynamic on the pages such as automatically generated
dates maybe in the footer or copyright statement?  These dates will now
become static when you move to HTML

2) Are there any commutations performed based on user input? Example doing
any math (excluding JavaScript) like a mortgage calculation or making
selections or logic based on user input. There may be only 1 physical page
but it could be presenting multiple pages of different information.

3) Do you have an email form in the website? If so the underlying code to
actually send the email will no longer work and need to be replaced  with
another technology.

If the answer is no to all of the above then there should be no problem.
Yes to any of them means you may need to look more closely, for example if
the dynamic date is the year in a copyright notice then you will now just
have to change it manually.


I believe you said the site is just 7 pages so a simple copy from the
browser source to notepad will work OK as long as you also copy the images,
CSS files, JavaScript, and Flash files or any external file like video or
sound files.  If you have mouse over image effects also remember to copy the
active and passive versions.

However if the site were larger then you can use a tool like HTTrack website
copier http://www.httrack.com/ it is free released under the GPL license and
works perfectly to copy websites to your local disk.  It can even be
programmed to change the extension to HTML.

Good luck


Dennis Powers
UXB Internet - A Website Design & Hosting Company
P.O. Box 6028
Wolcott, CT 06716
203-879-2844
http://www.uxbinternet.com








~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336333
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Yahoo! API and Oauth

2010-08-16 Thread Matthew Reinbold

I'm currently trying to use a Yahoo!'s API that requires that I use Oauth 
before being able to consume the service. A sample REST request, otherwise 
ridiculously simple in CF, goes nowhere without authenticating first. For 
example, hitting:

http://fantasysports.yahooapis.com/fantasy/v2/game/242

returns:

 
  Please provide valid credentials. OAuth 
oauth_problem="unable_to_determine_oauth_type", 
realm="yahooapis.com" 
 


I've signed up for an api key, I've got the shared secret, and a unique 
application ID. Now what do I do with them in ColdFusion? Once I get my 
super-hallpass back from Yahoo after authenticating how do I use it in 
subsequent requests?

The Yahoo! ColdFusion developer page really seems to be missing this key piece 
of insight. Any links or pointers in the right direction would be much 
appreciated.

Matthew Reinbold
Creative Principal, Vox Pop Design, http://voxpopdesign.com 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336332
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CFBuilder Server Setup with CF Multiserver Installation

2010-08-16 Thread Andy Allan

Indeed - I just wanted to try and help clarify the purpose of
cfusion which means that even in development it's intent was not
actually meant for developing against.

But again, if it's working for you, and you're happy, keep using it.

As an aside, after we perform a multi-server install (whether it be
dev, test, stage, qa, production), we shut down cfusion and never use
it again, Ever.

Andy

On 16 August 2010 23:56, Andrew Scott  wrote:
>
> Ok, the key there is production use and we are talking development here.
>
> Regards,
> Andrew Scott
> http://www.andyscott.id.au/
>
>
>> -Original Message-
>> From: Andy Allan [mailto:andy.al...@gmail.com]
>> Sent: Tuesday, 17 August 2010 8:57 AM
>> To: cf-talk
>> Subject: Re: CFBuilder Server Setup with CF Multiserver Installation
>>
>>
>> I'm not sure if I can find the email or not (it's from the CF7.01 or
>> 7.02 beta) but Stephen Dupre, who was part of the CF QA team at the time
>> stated that the "cfusion" instance had unfortunately been misused by the
> CF
>> community at large, although this was partly down to Macromedia not
>> communicating that the cfusion instance was designed purely for creating
>> new instances and wasn't really supposed to be used as a production
>> environment instance.
>>
>> Now, I realise this doesn't give you the official in letter "proof", but
> as Dave
>> has stated, it's really up to you whether you want to follow this "best
>> practice".
>>
>> The idea of the cfusion instance was for it to be a template you used to
>> create new instances. Due to various bugs with this concept, it's really
> just
>> become a way to replicate what you have to do manually via the JMC, i.e,
>> create JRun server, deploy CF EAR file, etc.
>>
>> Anyway, use the cfusion instance if you want to. It's certainly not worth
>> arguing over. But to re-iterate, it's original intention was purely to
> serve as a
>> way to create new instances (it's why cfusion is the only instance to have
> the
>> Instance/Cluster manager) based off of template settings.
>>
>> Andy
>
>
> 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336331
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: CFBuilder Server Setup with CF Multiserver Installation

2010-08-16 Thread Andrew Scott

Ok, the key there is production use and we are talking development here.

Regards,
Andrew Scott
http://www.andyscott.id.au/


> -Original Message-
> From: Andy Allan [mailto:andy.al...@gmail.com]
> Sent: Tuesday, 17 August 2010 8:57 AM
> To: cf-talk
> Subject: Re: CFBuilder Server Setup with CF Multiserver Installation
> 
> 
> I'm not sure if I can find the email or not (it's from the CF7.01 or
> 7.02 beta) but Stephen Dupre, who was part of the CF QA team at the time
> stated that the "cfusion" instance had unfortunately been misused by the
CF
> community at large, although this was partly down to Macromedia not
> communicating that the cfusion instance was designed purely for creating
> new instances and wasn't really supposed to be used as a production
> environment instance.
> 
> Now, I realise this doesn't give you the official in letter "proof", but
as Dave
> has stated, it's really up to you whether you want to follow this "best
> practice".
> 
> The idea of the cfusion instance was for it to be a template you used to
> create new instances. Due to various bugs with this concept, it's really
just
> become a way to replicate what you have to do manually via the JMC, i.e,
> create JRun server, deploy CF EAR file, etc.
> 
> Anyway, use the cfusion instance if you want to. It's certainly not worth
> arguing over. But to re-iterate, it's original intention was purely to
serve as a
> way to create new instances (it's why cfusion is the only instance to have
the
> Instance/Cluster manager) based off of template settings.
> 
> Andy


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336330
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: CFBuilder Server Setup with CF Multiserver Installation

2010-08-16 Thread Andrew Scott

Ok that makes a bit more sense, but I don't use it anyway and prefer to do
it through JRun.

Maybe we could partition an option to migrate the settings or not perhaps.

Regards,
Andrew Scott
http://www.andyscott.id.au/




> -Original Message-
> From: Ian Skinner [mailto:h...@ilsweb.com]
> Sent: Tuesday, 17 August 2010 8:45 AM
> To: cf-talk
> Subject: Re: CFBuilder Server Setup with CF Multiserver Installation
> 
> 
>   On 8/16/2010 3:29 PM, Andrew Scott wrote:
> > Dave,
> >
> > I am sorry but if I install one, two, three instances and I wish to
> > use the very initial instance there should be no reason not to. I
> > would like someone to give me a very valid good reason why it is frowned
> upon?
> >
> > I might have one instance for one client, and another for another
client.
> > But why should I want the settings copied across to the second client?
> > I don't, that's why I went with the instances, because I need them
> > with separate settings per instance per client.
> 
> That is the POINT!  IF you use the initial cfusion instance for client B
today,
> then tomorrow create a new instance for client D, ColdFusion is going to
copy
> everything in the cfusion instance into this new one, including all of
client B's
> settings.
> 
> So if this is something that you do not want.  Then not using the cfusion
> instance for any development is a best way to keep it clean so that when
it is
> copied to make new instances by ColdFusion, there will be no unnecessary
> settings copied with it.
> 
> Now, yes there might be times when you want this.  For a time when we had
> some common, universal Data sources and mappings that we wanted to be
> the same in all our projects we put them into the cfusion instance to be
> copied.  But we didn't use it for actual projects.
> 
> 
> 
> ~~
> ~~~|
> Order the Adobe Coldfusion Anthology now!
> http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-
> Dinowitz/dp/1430272155/?tag=houseoffusion
> Archive: http://www.houseoffusion.com/groups/cf-
> talk/message.cfm/messageid:336326
> Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
> Unsubscribe: http://www.houseoffusion.com/groups/cf-
> talk/unsubscribe.cfm


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336329
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CFBuilder Server Setup with CF Multiserver Installation

2010-08-16 Thread Andy Allan

I'm not sure if I can find the email or not (it's from the CF7.01 or
7.02 beta) but Stephen Dupre, who was part of the CF QA team at the
time stated that the "cfusion" instance had unfortunately been misused
by the CF community at large, although this was partly down to
Macromedia not communicating that the cfusion instance was designed
purely for creating new instances and wasn't really supposed to be
used as a production environment instance.

Now, I realise this doesn't give you the official in letter "proof",
but as Dave has stated, it's really up to you whether you want to
follow this "best practice".

The idea of the cfusion instance was for it to be a template you used
to create new instances. Due to various bugs with this concept, it's
really just become a way to replicate what you have to do manually via
the JMC, i.e, create JRun server, deploy CF EAR file, etc.

Anyway, use the cfusion instance if you want to. It's certainly not
worth arguing over. But to re-iterate, it's original intention was
purely to serve as a way to create new instances (it's why cfusion is
the only instance to have the Instance/Cluster manager) based off of
template settings.

Andy


On 16 August 2010 23:29, Andrew Scott  wrote:
>
> Dave,
>
> I am sorry but if I install one, two, three instances and I wish to use the
> very initial instance there should be no reason not to. I would like someone
> to give me a very valid good reason why it is frowned upon?
>
> I might have one instance for one client, and another for another client.
> But why should I want the settings copied across to the second client? I
> don't, that's why I went with the instances, because I need them with
> separate settings per instance per client.
>
> I am sorry but I don't see a valid enough reason not to use the initial
> instance.
>
> Regards,
> Andrew Scott
> http://www.andyscott.id.au/
>
>
>> -Original Message-
>> From: Dave Watts [mailto:dwa...@figleaf.com]
>> Sent: Tuesday, 17 August 2010 8:26 AM
>> To: cf-talk
>> Subject: Re: CFBuilder Server Setup with CF Multiserver Installation
>>
>>
>> > No there might not be, but I find it hard to accept that people are
>> > telling me to install a new instance and have two instances of
>> > ColdFusion 9 running and for what purpose?
>>
>> I don't know who's telling you what, but I don't see anyone telling you to
>> install a new instance. What I do see, is people saying if you're going to
> install
>> multiple instances using CF, the first instance shouldn't be used for
>> development or deployment. And if you're not going to install multiple
>> instances, you don't even need to install the multiserver version of CF.
>>
>> Dave Watts, CTO, Fig Leaf Software
>> http://www.figleaf.com/
>> http://training.figleaf.com/
>>
>> Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA
>> Schedule, and provides the highest caliber vendor-authorized instruction
> at
>> our training centers, online, or onsite.
>>
>
>
> 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336328
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CFBuilder Server Setup with CF Multiserver Installation

2010-08-16 Thread Adrocknaphobia

@Jeff: Best practices aside... if you want to drop me a line at adrock at
adobe dot com, we can get to the bottom of your CB config issue.

-Adam

On Mon, Aug 16, 2010 at 6:44 PM, Ian Skinner  wrote:

>
>  On 8/16/2010 3:29 PM, Andrew Scott wrote:
> > Dave,
> >
> > I am sorry but if I install one, two, three instances and I wish to use
> the
> > very initial instance there should be no reason not to. I would like
> someone
> > to give me a very valid good reason why it is frowned upon?
> >
> > I might have one instance for one client, and another for another client.
> > But why should I want the settings copied across to the second client? I
> > don't, that's why I went with the instances, because I need them with
> > separate settings per instance per client.
>
> That is the POINT!  IF you use the initial cfusion instance for client B
> today, then tomorrow create a new instance for client
> D, ColdFusion is going to copy everything in the cfusion instance into
> this new one, including all of client B's settings.
>
> So if this is something that you do not want.  Then not using the
> cfusion instance for any development is a best way to keep it clean so
> that when it is copied to make new instances by ColdFusion, there will
> be no unnecessary settings copied with it.
>
> Now, yes there might be times when you want this.  For a time when we
> had some common, universal Data sources and mappings that we wanted to
> be the same in all our projects we put them into the cfusion instance to
> be copied.  But we didn't use it for actual projects.
>
>
>
> 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336327
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CFBuilder Server Setup with CF Multiserver Installation

2010-08-16 Thread Ian Skinner

  On 8/16/2010 3:29 PM, Andrew Scott wrote:
> Dave,
>
> I am sorry but if I install one, two, three instances and I wish to use the
> very initial instance there should be no reason not to. I would like someone
> to give me a very valid good reason why it is frowned upon?
>
> I might have one instance for one client, and another for another client.
> But why should I want the settings copied across to the second client? I
> don't, that's why I went with the instances, because I need them with
> separate settings per instance per client.

That is the POINT!  IF you use the initial cfusion instance for client B 
today, then tomorrow create a new instance for client
D, ColdFusion is going to copy everything in the cfusion instance into 
this new one, including all of client B's settings.

So if this is something that you do not want.  Then not using the 
cfusion instance for any development is a best way to keep it clean so 
that when it is copied to make new instances by ColdFusion, there will 
be no unnecessary settings copied with it.

Now, yes there might be times when you want this.  For a time when we 
had some common, universal Data sources and mappings that we wanted to 
be the same in all our projects we put them into the cfusion instance to 
be copied.  But we didn't use it for actual projects.



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336326
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CFBuilder Server Setup with CF Multiserver Installation

2010-08-16 Thread Dave Watts

> I am sorry but if I install one, two, three instances and I wish to use the
> very initial instance there should be no reason not to. I would like someone
> to give me a very valid good reason why it is frowned upon?

I can only reiterate what I've said already. If it's not good enough
for you, feel free to disregard it.

> I might have one instance for one client, and another for another client.
> But why should I want the settings copied across to the second client? I
> don't, that's why I went with the instances, because I need them with
> separate settings per instance per client.

If you make a change to the cfusion instance, then create another
instance, the new instance will have the settings from the cfusion
instance. I think that's what you're trying to avoid, right?

> I am sorry but I don't see a valid enough reason not to use the initial
> instance.

Don't worry, no one's going to come to your office and make you do it
some other way.

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

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336325
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: CFBuilder Server Setup with CF Multiserver Installation

2010-08-16 Thread Andrew Scott

Dave,

I am sorry but if I install one, two, three instances and I wish to use the
very initial instance there should be no reason not to. I would like someone
to give me a very valid good reason why it is frowned upon?

I might have one instance for one client, and another for another client.
But why should I want the settings copied across to the second client? I
don't, that's why I went with the instances, because I need them with
separate settings per instance per client.

I am sorry but I don't see a valid enough reason not to use the initial
instance.

Regards,
Andrew Scott
http://www.andyscott.id.au/


> -Original Message-
> From: Dave Watts [mailto:dwa...@figleaf.com]
> Sent: Tuesday, 17 August 2010 8:26 AM
> To: cf-talk
> Subject: Re: CFBuilder Server Setup with CF Multiserver Installation
> 
> 
> > No there might not be, but I find it hard to accept that people are
> > telling me to install a new instance and have two instances of
> > ColdFusion 9 running and for what purpose?
> 
> I don't know who's telling you what, but I don't see anyone telling you to
> install a new instance. What I do see, is people saying if you're going to
install
> multiple instances using CF, the first instance shouldn't be used for
> development or deployment. And if you're not going to install multiple
> instances, you don't even need to install the multiserver version of CF.
> 
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
> http://training.figleaf.com/
> 
> Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA
> Schedule, and provides the highest caliber vendor-authorized instruction
at
> our training centers, online, or onsite.
> 


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336324
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CFBuilder Server Setup with CF Multiserver Installation

2010-08-16 Thread Dave Watts

> No there might not be, but I find it hard to accept that people are telling
> me to install a new instance and have two instances of ColdFusion 9 running
> and for what purpose?

I don't know who's telling you what, but I don't see anyone telling
you to install a new instance. What I do see, is people saying if
you're going to install multiple instances using CF, the first
instance shouldn't be used for development or deployment. And if
you're not going to install multiple instances, you don't even need to
install the multiserver version of CF.

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

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336323
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: CFBuilder Server Setup with CF Multiserver Installation

2010-08-16 Thread Andrew Scott

I don't think I would put this in the class of Best Practice.

Regards,
Andrew Scott
http://www.andyscott.id.au/


> -Original Message-
> From: Judah McAuley [mailto:ju...@wiredotter.com]
> Sent: Tuesday, 17 August 2010 8:18 AM
> To: cf-talk
> Subject: Re: CFBuilder Server Setup with CF Multiserver Installation
> 
> 
> The whole point of "best practices" is to codify what most smart people
> would suggest as a set of default behaviors. For any given best practice
there
> are likely to be good reasons to deviate from it. For example, normalizing
> your data in an rdbms is considered a best practice. However, there are
good
> reasons to denormalize your data.
> That doesn't mean that normalization isn't a best practice though, it just
> means that you should know your situation and understand when to deviate
> from general best practices in order to fit your unique situation.
> 
> Cheers,
> Judah


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336322
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: CFBuilder Server Setup with CF Multiserver Installation

2010-08-16 Thread Andrew Scott

No there might not be, but I find it hard to accept that people are telling
me to install a new instance and have two instances of ColdFusion 9 running
and for what purpose?


Regards,
Andrew Scott
http://www.andyscott.id.au/


> -Original Message-
> From: Dave Watts [mailto:dwa...@figleaf.com]
> Sent: Tuesday, 17 August 2010 8:18 AM
> To: cf-talk
> Subject: Re: CFBuilder Server Setup with CF Multiserver Installation
> 
> 
> > I would not want too, I can see benefits to it so I am not saying it
> > shouldn't but there are different ways of setting up for development
> > and I am afraid this rule of advisement is not something I would go
> > around telling people that they should do this, unless I knew what
> > they were trying to setup for first.
> 
> I don't see any disadvantage to using the default instance only to create
> other instances. I do, however, see a disadvantage to using the default
> instance for other things in addition to creating other instances. So, I
don't
> see what's wrong with recommending this.
> 
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
> http://training.figleaf.com/
> 
> Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA
> Schedule, and provides the highest caliber vendor-authorized instruction
at
> our training centers, online, or onsite.
> 
> ~~
> ~~~|
> Order the Adobe Coldfusion Anthology now!
> http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-
> Dinowitz/dp/1430272155/?tag=houseoffusion
> Archive: http://www.houseoffusion.com/groups/cf-
> talk/message.cfm/messageid:336320
> Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
> Unsubscribe: http://www.houseoffusion.com/groups/cf-
> talk/unsubscribe.cfm


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336321
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CFBuilder Server Setup with CF Multiserver Installation

2010-08-16 Thread Dave Watts

> I would not want too, I can see benefits to it so I am not saying it
> shouldn't but there are different ways of setting up for development and I
> am afraid this rule of advisement is not something I would go around telling
> people that they should do this, unless I knew what they were trying to
> setup for first.

I don't see any disadvantage to using the default instance only to
create other instances. I do, however, see a disadvantage to using the
default instance for other things in addition to creating other
instances. So, I don't see what's wrong with recommending this.

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

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336320
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CFBuilder Server Setup with CF Multiserver Installation

2010-08-16 Thread Judah McAuley

The whole point of "best practices" is to codify what most smart
people would suggest as a set of default behaviors. For any given best
practice there are likely to be good reasons to deviate from it. For
example, normalizing your data in an rdbms is considered a best
practice. However, there are good reasons to denormalize your data.
That doesn't mean that normalization isn't a best practice though, it
just means that you should know your situation and understand when to
deviate from general best practices in order to fit your unique
situation.

Cheers,
Judah

On Mon, Aug 16, 2010 at 3:06 PM, Andrew Scott  wrote:
>
> I would not want too, I can see benefits to it so I am not saying it
> shouldn't but there are different ways of setting up for development and I
> am afraid this rule of advisement is not something I would go around telling
> people that they should do this, unless I knew what they were trying to
> setup for first.
>
>
> Regards,
> Andrew Scott
> http://www.andyscott.id.au/
>
>
>> -Original Message-
>> From: Dave Watts [mailto:dwa...@figleaf.com]
>> Sent: Tuesday, 17 August 2010 8:04 AM
>> To: cf-talk
>> Subject: Re: CFBuilder Server Setup with CF Multiserver Installation
>>
>>
>> > Sorry, but as this is for development I don't think this should be a
>> > set in stone thing.
>>
>> Nothing is set in stone.
>>
>> > I can deploy a new ear/war, and not want those settings copied across
>> > in my development. The only time I would want to copy all my
> datasource's
>> etc.
>> > would be if I was going into a production scenario, but that's me.
>> >
>> > I am sorry but I would not be advising people that they SHOULD not be
>> > using the main instance for development.
>>
>> I'm confused. If you're in development, you would or would not want those
>> settings copied? If you would not, you shouldn't use the initial cfusion
>> instance for development.
>>
>> Dave Watts, CTO, Fig Leaf Software
>> http://www.figleaf.com/
>> http://training.figleaf.com/
>>
>> Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA
>> Schedule, and provides the highest caliber vendor-authorized instruction
> at
>> our training centers, online, or onsite.
>>
>> ~~
>> ~~~|
>> Order the Adobe Coldfusion Anthology now!
>> http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-
>> Dinowitz/dp/1430272155/?tag=houseoffusion
>> Archive: http://www.houseoffusion.com/groups/cf-
>> talk/message.cfm/messageid:336317
>> Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
>> Unsubscribe: http://www.houseoffusion.com/groups/cf-
>> talk/unsubscribe.cfm
>
>
> 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336319
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: CFBuilder Server Setup with CF Multiserver Installation

2010-08-16 Thread Andrew Scott

I would not want too, I can see benefits to it so I am not saying it
shouldn't but there are different ways of setting up for development and I
am afraid this rule of advisement is not something I would go around telling
people that they should do this, unless I knew what they were trying to
setup for first.


Regards,
Andrew Scott
http://www.andyscott.id.au/


> -Original Message-
> From: Dave Watts [mailto:dwa...@figleaf.com]
> Sent: Tuesday, 17 August 2010 8:04 AM
> To: cf-talk
> Subject: Re: CFBuilder Server Setup with CF Multiserver Installation
> 
> 
> > Sorry, but as this is for development I don't think this should be a
> > set in stone thing.
> 
> Nothing is set in stone.
> 
> > I can deploy a new ear/war, and not want those settings copied across
> > in my development. The only time I would want to copy all my
datasource's
> etc.
> > would be if I was going into a production scenario, but that's me.
> >
> > I am sorry but I would not be advising people that they SHOULD not be
> > using the main instance for development.
> 
> I'm confused. If you're in development, you would or would not want those
> settings copied? If you would not, you shouldn't use the initial cfusion
> instance for development.
> 
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
> http://training.figleaf.com/
> 
> Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA
> Schedule, and provides the highest caliber vendor-authorized instruction
at
> our training centers, online, or onsite.
> 
> ~~
> ~~~|
> Order the Adobe Coldfusion Anthology now!
> http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-
> Dinowitz/dp/1430272155/?tag=houseoffusion
> Archive: http://www.houseoffusion.com/groups/cf-
> talk/message.cfm/messageid:336317
> Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
> Unsubscribe: http://www.houseoffusion.com/groups/cf-
> talk/unsubscribe.cfm


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336318
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CFBuilder Server Setup with CF Multiserver Installation

2010-08-16 Thread Dave Watts

> Sorry, but as this is for development I don't think this should be a set in
> stone thing.

Nothing is set in stone.

> I can deploy a new ear/war, and not want those settings copied across in my
> development. The only time I would want to copy all my datasource's etc.
> would be if I was going into a production scenario, but that's me.
>
> I am sorry but I would not be advising people that they SHOULD not be using
> the main instance for development.

I'm confused. If you're in development, you would or would not want
those settings copied? If you would not, you shouldn't use the initial
cfusion instance for development.

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

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336317
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: CFBuilder Server Setup with CF Multiserver Installation

2010-08-16 Thread Andrew Scott

Sorry, but as this is for development I don't think this should be a set in
stone thing.

I can deploy a new ear/war, and not want those settings copied across in my
development. The only time I would want to copy all my datasource's etc.
would be if I was going into a production scenario, but that's me.

I am sorry but I would not be advising people that they SHOULD not be using
the main instance for development.

Regards,
Andrew Scott
http://www.andyscott.id.au/


> -Original Message-
> From: Ian Skinner [mailto:h...@ilsweb.com]
> Sent: Tuesday, 17 August 2010 7:49 AM
> To: cf-talk
> Subject: Re: CFBuilder Server Setup with CF Multiserver Installation
> 
> 
>   On 8/16/2010 2:25 PM, Andrew Scott wrote:
> > Laura, where is it written that you should not use the default cfusion
> > instance for development?
> 
> The way I read it was that you should not use cfusion if you also plan to
> create new instances for other development in the future of other
projects.
> The reason (as she stated) is that when ever you create a new ColdFusion
> instance it will be a clone of the current cfusion instance.
> 
> So, if one where to develop some projects in cfusion, creating DSNs,
> mappings, etc.  Then create a new instance for another project, that new
> project is going to get created with all the settings for the older
projects
> configured in the cfusion instance.  It can be somewhat messy.
> 


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336316
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CFBuilder Server Setup with CF Multiserver Installation

2010-08-16 Thread Ian Skinner

  On 8/16/2010 2:18 PM, Laura Norris wrote:
> I put together a presentation detailing how to install multi-server.
> http://slidesix.com/view/Installing-Multiple-Versions-of-ColdFusion-Together

Your link is throwing HTTP 500 errors at the moment.


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336315
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CFBuilder Server Setup with CF Multiserver Installation

2010-08-16 Thread Ian Skinner

  On 8/16/2010 2:25 PM, Andrew Scott wrote:
> Laura, where is it written that you should not use the default cfusion
> instance for development?

The way I read it was that you should not use cfusion if you also plan 
to create new instances for other development in the future of other 
projects.  The reason (as she stated) is that when ever you create a new 
ColdFusion instance it will be a clone of the current cfusion instance.

So, if one where to develop some projects in cfusion, creating DSNs, 
mappings, etc.  Then create a new instance for another project, that new 
project is going to get created with all the settings for the older 
projects configured in the cfusion instance.  It can be somewhat messy.


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336314
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CFBuilder Server Setup with CF Multiserver Installation

2010-08-16 Thread Dave Watts

> Laura, where is it written that you should not use the default cfusion
> instance for development? As far as I can tell it is just an interface to
> the underlying JRun functions to start, stop and deploy instances.

I don't know that it's written anywhere, but I'd make the same
recommendation as Laura. The default instance is used as the source
when you create a new instance, so any datasources, etc that you set
up for that will be copied to new instances. Adobe folks have told me
that I should consider it to be analogous to the JRun admin console,
which is where you used to go to define new instances.

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

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336313
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: CFBuilder Server Setup with CF Multiserver Installation

2010-08-16 Thread Andrew Scott

Laura, where is it written that you should not use the default cfusion
instance for development? As far as I can tell it is just an interface to
the underlying JRun functions to start, stop and deploy instances.

This is not what I would say I breaker for having to create a new instance
in my eyes.

Regards,
Andrew Scott
http://www.andyscott.id.au/



> -Original Message-
> From: Laura Norris [mailto:lnor...@tiffinweb.com]
> Sent: Tuesday, 17 August 2010 7:18 AM
> To: cf-talk
> Subject: Re: CFBuilder Server Setup with CF Multiserver Installation
> 
> 
> It is not advisable to use your default cfusion instance for development.
You
> should create another instance of cf9 and use that as your development
> server.  The default instance should only be used to manage your
instances.
> I personally don't know of anything preventing cfbuilder from connecting
to
> it, but i wouldn't be surprised if there was something about the cfusion
> instance that prevents it.
> 
> If you make changes in your cfusion instance, then create a new instance
of
> cf9, the changes you made to cfusion will automatically be copied to your
> new instance.  (datasources, mappings, etc)  So keep cfusion as clean as
> possible so you have it to deploy clean instances when you need it.
> 
> On the flip side of that, be sure you install all your hotfixes before
creating
> new instances, so that the new instances you create will also have the
> current patches.  If you have to install a hotfix after instances are
created,
> you have to update each instance individually as well as the cfusion
instance.
> 
> I put together a presentation detailing how to install multi-server.
> http://slidesix.com/view/Installing-Multiple-Versions-of-ColdFusion-
> Together
> 
> Hope that helps!
> 
> Daria
> cfgothchic.com
> 
> >I am trying once again to setup the servers panel in ColdFusion Builder
> >and I am still running into configuration issues.
> >
> >I have ColdFusion 9.0.1 installed in a multiserver configuration such
> >that the default server is 'cfusion' on HTTP port 8300 and the JRun
> >admin server is 'admin' on HTTP port 8000 / JNDI port 2910.  It is
> >setup with IIS 7.5 such that the default web site (c:\inetpub\wwwroot)
> >is the home for ColdFusion 9 and contains the CFIDE directory.
> >
> >Then, I had the ColdFusion 8 installer create an EAR file which was
> >deployed as a new instance through the ColdFusion 9 Instance Manager.
> >This new instance is named 'cfusion8' and is on port HTTP 8301.  Under
> >IIS 7, I have two web sites representing different projects.  I used
> >the Web Configuration tool to connect the cfusion8 instance to each of
> >these sites and then manually added a virtual directory called 'CFIDE'
> >which points to
'C:\JRun4\servers\cfusion8\cfusion.ear\cfusion.war\CFIDE'.
> >
> >Now, in CFBuilder, I have created a new server to represent the
> >ColdFusion 9 instance (cfusion).  In the server settings, the
> >application server is 'JRun', the host name is [machine name], and the
> >webserver port is 8300.  I have tried the machine name, localhost, and
> >ip address for the host and it does not make any difference.
> >
> >I added the RDS username and password and enabled SSL.  On the remote
> >server settings tab, the naming port is 2910 and the CF Admin / JRun
> >admin username and password are entered with the document root as
> >'C:\inetpub\wwwroot'.  Then I click Finish to close the wizard.
> >
> >At this point, I can right click on the server in the servers panel and
> >attempt to start it, but I shortly get a message in the console saying
> >that the server is not responsive.  If I open the JRun management
> >console, I can see that the cfusion server has started, but apparently
> >CF Builder does not think so.
> >
> >Moving on to the ColdFusion 8 server, I attempt to create a new server
> >in the servers panel.  The server settings are all the same with the
> >exception that the webserver port is now 8301.  On the remote server
> >settings, all of the settings are the same until I get down to the
> >document root.  I have tried using
> >'C:\JRun4\servers\cfusion8\cfusion.ear\cfusion.war' and I have tried
> >creating a dummy wwwroot folder and pointing to that.  After clicking
> >next, I get the 'install extensions' window.  It is not clear what
> >paths to enter here as there is no "default website" for the ColdFusion 8
> server.
> >
> >Has anybody been able to successfully set this up?  Is there a problem
> >in my multiserver installation or a problem with what I am doing in
> >CFBuilder?
> >
> >Thanks
> >-- Jeff
> >
> >--
> >Jeff Chastain
> >
> >http://www.admentus.com
> >http://ams.admentus.com
> >
> >Admentus is a custom web based solutions provider, delivering business
> >software applications, systems integration, strategic consulting, and
> >ColdFusion application maintenance services which allow our clients to
> >grow their business and plan for the future.
> 
> ~

Re: CFBuilder Server Setup with CF Multiserver Installation

2010-08-16 Thread Laura Norris

It is not advisable to use your default cfusion instance for development.  You 
should create another instance of cf9 and use that as your development server.  
The default instance should only be used to manage your instances.  I 
personally don't know of anything preventing cfbuilder from connecting to it, 
but i wouldn't be surprised if there was something about the cfusion instance 
that prevents it.

If you make changes in your cfusion instance, then create a new instance of 
cf9, the changes you made to cfusion will automatically be copied to your new 
instance.  (datasources, mappings, etc)  So keep cfusion as clean as possible 
so you have it to deploy clean instances when you need it.

On the flip side of that, be sure you install all your hotfixes before creating 
new instances, so that the new instances you create will also have the current 
patches.  If you have to install a hotfix after instances are created, you have 
to update each instance individually as well as the cfusion instance.

I put together a presentation detailing how to install multi-server.
http://slidesix.com/view/Installing-Multiple-Versions-of-ColdFusion-Together

Hope that helps!

Daria
cfgothchic.com

>I am trying once again to setup the servers panel in ColdFusion 
>Builder and I am still running into configuration issues.
>
>I have ColdFusion 9.0.1 installed in a multiserver configuration such 
>that the default server is 'cfusion' on HTTP port 8300 and the JRun 
>admin server is 'admin' on HTTP port 8000 / JNDI port 2910.  It is setup 
>with IIS 7.5 such that the default web site (c:\inetpub\wwwroot) is the 
>home for ColdFusion 9 and contains the CFIDE directory.
>
>Then, I had the ColdFusion 8 installer create an EAR file which was 
>deployed as a new instance through the ColdFusion 9 Instance Manager.  
>This new instance is named 'cfusion8' and is on port HTTP 8301.  Under 
>IIS 7, I have two web sites representing different projects.  I used the 
>Web Configuration tool to connect the cfusion8 instance to each of these 
>sites and then manually added a virtual directory called 'CFIDE' which 
>points to 'C:\JRun4\servers\cfusion8\cfusion.ear\cfusion.war\CFIDE'.
>
>Now, in CFBuilder, I have created a new server to represent the 
>ColdFusion 9 instance (cfusion).  In the server settings, the 
>application server is 'JRun', the host name is [machine name], and the 
>webserver port is 8300.  I have tried the machine name, localhost, and 
>ip address for the host and it does not make any difference.
>
>I added the RDS username and password and enabled SSL.  On the remote 
>server settings tab, the naming port is 2910 and the CF Admin / JRun 
>admin username and password are entered with the document root as 
>'C:\inetpub\wwwroot'.  Then I click Finish to close the wizard.
>
>At this point, I can right click on the server in the servers panel and 
>attempt to start it, but I shortly get a message in the console saying 
>that the server is not responsive.  If I open the JRun management 
>console, I can see that the cfusion server has started, but apparently 
>CF Builder does not think so.
>
>Moving on to the ColdFusion 8 server, I attempt to create a new server 
>in the servers panel.  The server settings are all the same with the 
>exception that the webserver port is now 8301.  On the remote server 
>settings, all of the settings are the same until I get down to the 
>document root.  I have tried using 
>'C:\JRun4\servers\cfusion8\cfusion.ear\cfusion.war' and I have tried 
>creating a dummy wwwroot folder and pointing to that.  After clicking 
>next, I get the 'install extensions' window.  It is not clear what paths 
>to enter here as there is no "default website" for the ColdFusion 8 server.
>
>Has anybody been able to successfully set this up?  Is there a problem 
>in my multiserver installation or a problem with what I am doing in 
>CFBuilder?
>
>Thanks
>-- Jeff
>
>-- 
>Jeff Chastain
>
>http://www.admentus.com
>http://ams.admentus.com
>
>Admentus is a custom web based solutions provider, delivering
>business software applications, systems integration, strategic
>consulting, and ColdFusion application maintenance services
>which allow our clients to grow their business and plan for
>the future. 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336311
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


CF/Git Integration - Issues with pathing to remote

2010-08-16 Thread adam sontag

Hi all, 

I'm doing a bit of Git integration in my app, and I have run into a fairly 
sticky situation.  By using CFX_ConsoleCommand or CFExecute, I am able to make 
most git commands with ease.  I can commit, tag, diff, status, log, etc, etc.  
The problem arises when I attempt to push or pull using a standard ssh-like 
path to my repository:

If the path to "origin" is set to u...@gitmachine:/path/to/repository, any 
attempt to do a git pull (ideally the first step in the mini-app I'm working 
on), just...never completes.  When I use CFExecute, it runs until the timeout, 
and then fails.  When I use CFX_ConsoleCommand, it never timesout, and I have 
to just kill the request manually.  

I also have access to the same repository via a networked Windows share.  When 
I change the path to origin to be L:\path\to\repo, I am able to get git 
pull/push to work (provided, of course, that I am running CF as a user who has 
access to the shares and I am running CF as a process, rather than a service).  
This is less than optimal for a few reasons, including the fact that it 
requires extra remotes to the same place, and the fact that my git hooks fail 
when I attempt to push using the Windows drive notation.  

Ideally, I would be able to use the traditional f...@bar:/path/to/repo 
notation, but I can't really even surmise what is going on, as the most verbose 
information CF gives about the pull when that happens is a timeout, if I'm 
lucky.  

I know this is kind of deep-in-the-weeds but if anyone has tackled anything 
along the lines of ssh-style connections from CFexecute, your input and wisdom 
would be very appreciated.  

TL;DR I can't git pull from CFExecute.  

--adam



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336310
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: image dimensions on mapped drive file

2010-08-16 Thread Dave Watts

> All CF services are starting under my user account.  The mapped drive is on
> a windows 7 box, and I can't figure out how to put a xp user on it.  The
> share allows everyone read write.

I don't think this will work unless both machines are within the same domain.

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

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsit

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336309
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: image dimensions on mapped drive file

2010-08-16 Thread Dave Watts

>  directory="z:\wwwroot\domain_com\includes\www_domain_com\dev\images\products\"
> action="list" name="dir_list">
>
> produces empty list
>
>  directory="\\awesome-pc\inetpub\wwwroot\domain_com\includes\www_domain_com\dev\images\products\"
> action="list" name="dir_list">

There are two reasons why mapped drives don't work. The first is
permissions, and I think you've already got that problem sorted, since
the UNC path works. The second is that the mapping has to belong to
the domain user in question, and has to be persistent. Since SYSTEM
isn't a user, I suspect you can't really give it a drive mapping. So,
you'd have to run CF as another domain user who has permissions and a
persistent drive mapping.

All that said, I'd recommend you just use UNC paths - there's no
confusion about where they point, and they don't need any setup.

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

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336308
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: image dimensions on mapped drive file

2010-08-16 Thread Matthew Smith

All CF services are starting under my user account.  The mapped drive is on
a windows 7 box, and I can't figure out how to put a xp user on it.  The
share allows everyone read write.

On Mon, Aug 16, 2010 at 2:50 PM, Rick Root  wrote:

>
> Drive mappings only exist as part of a login session.  The Z: drive
> does not exist if nobody is logged into the computer.
>
> I think what you need to do, if you want to use drive mappings, is
> have coldfusion log into some account (other than "system"), and set
> up the drive mapping for that user account.
>
> Rick
>
> 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336307
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: image dimensions on mapped drive file

2010-08-16 Thread Rick Root

Drive mappings only exist as part of a login session.  The Z: drive
does not exist if nobody is logged into the computer.

I think what you need to do, if you want to use drive mappings, is
have coldfusion log into some account (other than "system"), and set
up the drive mapping for that user account.

Rick

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336306
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: image dimensions on mapped drive file

2010-08-16 Thread Michael Grant

I'm thinking you need to add the user account that CF runs under to the
permissions of the mapped drive.


On Mon, Aug 16, 2010 at 3:12 PM, Matthew Smith wrote:

>
> 
> directory="z:\wwwroot\domain_com\includes\www_domain_com\dev\images\products\"
> action="list" name="dir_list">
>
> produces empty list
>
> 
> directory="\\awesome-pc\inetpub\wwwroot\domain_com\includes\www_domain_com\dev\images\products\"
> action="list" name="dir_list">
>
> lists the files as it should.
>
> Not sure why a mapped drive does not work while the unc does.
>
> On Mon, Aug 16, 2010 at 12:55 PM, Andy Matthews  >wrote:
>
> >
> > Does ColdFusion have access to that drive? Can you generate a list of
> > files,
> > and their permissions with cfdirectory for example?
> >
> >
> > andy
> >
> > -Original Message-
> > From: Matthew Smith [mailto:chedders...@gmail.com]
> > Sent: Monday, August 16, 2010 12:31 PM
> > To: cf-talk
> > Subject: image dimensions on mapped drive file
> >
> >
> > I need to get the dimensions of some images.  In my local environment, my
> > wwwroot is located on a mapped drive at:
> > \\awesome-pc\inetpub\wwwroot\
> >
> > It is also mapped on the server as:
> > z:\wwwroot\
> >
> > I found a couple of methods to get image dimensions, and am using the one
> > from this thread:
> > http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:33091
> >
> > 
> I
> > am
> > getting:
> > Can't read input file!
> >
> > I can go to the image on the server by putting in the path directly, so
> it
> > is accessable, but for some reason cf can't see it.  I know there is an
> > issue with null credentials on network assets, so everything is starting
> > under a user account.
> >
> > How can I get this to work?
> >
> > Passing:
> >
> >
> \\awesome-pc\inetpub\wwwroot\domain_com\includes\www_domain_com\dev\images\p
> > roducts\image.jpg
> > or
> >
> z:\wwwroot\domain_com\includes\www_domain_com\dev\images\products\image.jpg
> >
> > 
> >
> >  
> >
> >   > createObject("java","java.io.File").init(ARGUMENTS.FileLoc)>
> >
> >  
> >   > createObject("java","javax.imageio.ImageIO").read(jFileIn)>
> >
> >  
> >  
> >
> >  
> >
> > 
> >
> > --
> > Regards,
> > Matthew Smith
> >
> >
> >
> >
> >
>
> 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336305
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: image dimensions on mapped drive file

2010-08-16 Thread Matthew Smith



produces empty list



lists the files as it should.

Not sure why a mapped drive does not work while the unc does.

On Mon, Aug 16, 2010 at 12:55 PM, Andy Matthews wrote:

>
> Does ColdFusion have access to that drive? Can you generate a list of
> files,
> and their permissions with cfdirectory for example?
>
>
> andy
>
> -Original Message-
> From: Matthew Smith [mailto:chedders...@gmail.com]
> Sent: Monday, August 16, 2010 12:31 PM
> To: cf-talk
> Subject: image dimensions on mapped drive file
>
>
> I need to get the dimensions of some images.  In my local environment, my
> wwwroot is located on a mapped drive at:
> \\awesome-pc\inetpub\wwwroot\
>
> It is also mapped on the server as:
> z:\wwwroot\
>
> I found a couple of methods to get image dimensions, and am using the one
> from this thread:
> http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:33091
>
>  I
> am
> getting:
> Can't read input file!
>
> I can go to the image on the server by putting in the path directly, so it
> is accessable, but for some reason cf can't see it.  I know there is an
> issue with null credentials on network assets, so everything is starting
> under a user account.
>
> How can I get this to work?
>
> Passing:
>
> \\awesome-pc\inetpub\wwwroot\domain_com\includes\www_domain_com\dev\images\p
> roducts\image.jpg
> or
> z:\wwwroot\domain_com\includes\www_domain_com\dev\images\products\image.jpg
>
> 
>
>  
>
>   createObject("java","java.io.File").init(ARGUMENTS.FileLoc)>
>
>  
>   createObject("java","javax.imageio.ImageIO").read(jFileIn)>
>
>  
>  
>
>  
>
> 
>
> --
> Regards,
> Matthew Smith
>
>
>
>
> 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336304
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Preventing use of remote method by other sites

2010-08-16 Thread Andy Matthews

You're not being a jerk. Those are all good points. I doubt anyone's going
to care to mess with it. Even if they do, the most that will happen is that
one site's usability stats get inflated.


andy

-Original Message-
From: Raymond Camden [mailto:rcam...@gmail.com] 
Sent: Monday, August 16, 2010 12:41 PM
To: cf-talk
Subject: Re: Preventing use of remote method by other sites


Which can also be done via CFHTTP as well. ;) Not trying to be a jerk here -
but the fact is, there is no (afaik) 100% way to say that a URL is "ajax"
only.

On Mon, Aug 16, 2010 at 11:51 AM, Andy Matthews 
wrote:
>
> Right. I know that. Good point though.
>
> I suppose I could get our JS guy to also pass in a session id. Then I 
> could compare that with the actual session ID for the user and go from
there.
>
> -Original Message-
> From: Raymond Camden [mailto:rcam...@gmail.com]
> Sent: Monday, August 16, 2010 11:42 AM
> To: cf-talk
> Subject: Re: Preventing use of remote method by other sites
>
>
> Sorry - what? Oh - are you asking if I would know to use that vector?
> If I run your site and see a request made via XHR to foo.cfm, and then 
> I try to run it myself in another tab and get blocked, then yes, I 
> would consider that. And I'm a "Script Kiddy Hacker" so I assume the 
> real guys would try it too.
>
> Shoot - I almost always try the URLs I see in Firebug/Chrome Dev 
> tools. I'm not trying to be malicious of course. Just poking around.



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336303
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: image dimensions on mapped drive file

2010-08-16 Thread Andy Matthews

Does ColdFusion have access to that drive? Can you generate a list of files,
and their permissions with cfdirectory for example?


andy 

-Original Message-
From: Matthew Smith [mailto:chedders...@gmail.com] 
Sent: Monday, August 16, 2010 12:31 PM
To: cf-talk
Subject: image dimensions on mapped drive file


I need to get the dimensions of some images.  In my local environment, my
wwwroot is located on a mapped drive at:
\\awesome-pc\inetpub\wwwroot\

It is also mapped on the server as:
z:\wwwroot\

I found a couple of methods to get image dimensions, and am using the one
from this thread:
http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:33091

 I am
getting:
Can't read input file!

I can go to the image on the server by putting in the path directly, so it
is accessable, but for some reason cf can't see it.  I know there is an
issue with null credentials on network assets, so everything is starting
under a user account.

How can I get this to work?

Passing:
\\awesome-pc\inetpub\wwwroot\domain_com\includes\www_domain_com\dev\images\p
roducts\image.jpg
or
z:\wwwroot\domain_com\includes\www_domain_com\dev\images\products\image.jpg



  

  

  
  

  
  

  



--
Regards,
Matthew Smith




~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336302
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Preventing use of remote method by other sites

2010-08-16 Thread Raymond Camden

Which can also be done via CFHTTP as well. ;) Not trying to be a jerk
here - but the fact is, there is no (afaik) 100% way to say that a URL
is "ajax" only.

On Mon, Aug 16, 2010 at 11:51 AM, Andy Matthews
 wrote:
>
> Right. I know that. Good point though.
>
> I suppose I could get our JS guy to also pass in a session id. Then I could
> compare that with the actual session ID for the user and go from there.
>
> -Original Message-
> From: Raymond Camden [mailto:rcam...@gmail.com]
> Sent: Monday, August 16, 2010 11:42 AM
> To: cf-talk
> Subject: Re: Preventing use of remote method by other sites
>
>
> Sorry - what? Oh - are you asking if I would know to use that vector?
> If I run your site and see a request made via XHR to foo.cfm, and then I try
> to run it myself in another tab and get blocked, then yes, I would consider
> that. And I'm a "Script Kiddy Hacker" so I assume the real guys would try it
> too.
>
> Shoot - I almost always try the URLs I see in Firebug/Chrome Dev tools. I'm
> not trying to be malicious of course. Just poking around.
>
>
> On Mon, Aug 16, 2010 at 11:34 AM, Andy Matthews 
> wrote:
>>
>> Yes, but would you know TO do that?
>>
>>
>> andy
>>
>> -Original Message-
>> From: Raymond Camden [mailto:rcam...@gmail.com]
>> Sent: Monday, August 16, 2010 11:30 AM
>> To: cf-talk
>> Subject: Re: Preventing use of remote method by other sites
>>
>>
>> Don't forget you can easily set those headers yourself. I could setup
>> cfhttp to use that header and hit your resource.
>>
>>
>> On Fri, Aug 13, 2010 at 3:31 PM, Andy Matthews
>> 
>> wrote:
>>>
>>> Works perfectly Tony. I simplified the conditional tho'
>>>
>>> >> headers['X-Requested-With'] EQ 'XMLHttpRequest'>
>>>
>>> 
>>
>>
>>
>>
>
>
>
> 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336301
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


image dimensions on mapped drive file

2010-08-16 Thread Matthew Smith

I need to get the dimensions of some images.  In my local environment, my
wwwroot is located on a mapped drive at:
\\awesome-pc\inetpub\wwwroot\

It is also mapped on the server as:
z:\wwwroot\

I found a couple of methods to get image dimensions, and am using the one
from this thread:
http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:33091

 I am
getting:
Can't read input file!

I can go to the image on the server by putting in the path directly, so it
is accessable, but for some reason cf can't see it.  I know there is an
issue with null credentials on network assets, so everything is starting
under a user account.

How can I get this to work?

Passing:
\\awesome-pc\inetpub\wwwroot\domain_com\includes\www_domain_com\dev\images\products\image.jpg
or
z:\wwwroot\domain_com\includes\www_domain_com\dev\images\products\image.jpg



  

  

  
  

  
  

  



-- 
Regards,
Matthew Smith


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336300
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Preventing use of remote method by other sites

2010-08-16 Thread Andy Matthews

Right. I know that. Good point though.

I suppose I could get our JS guy to also pass in a session id. Then I could
compare that with the actual session ID for the user and go from there. 

-Original Message-
From: Raymond Camden [mailto:rcam...@gmail.com] 
Sent: Monday, August 16, 2010 11:42 AM
To: cf-talk
Subject: Re: Preventing use of remote method by other sites


Sorry - what? Oh - are you asking if I would know to use that vector?
If I run your site and see a request made via XHR to foo.cfm, and then I try
to run it myself in another tab and get blocked, then yes, I would consider
that. And I'm a "Script Kiddy Hacker" so I assume the real guys would try it
too.

Shoot - I almost always try the URLs I see in Firebug/Chrome Dev tools. I'm
not trying to be malicious of course. Just poking around.


On Mon, Aug 16, 2010 at 11:34 AM, Andy Matthews 
wrote:
>
> Yes, but would you know TO do that?
>
>
> andy
>
> -Original Message-
> From: Raymond Camden [mailto:rcam...@gmail.com]
> Sent: Monday, August 16, 2010 11:30 AM
> To: cf-talk
> Subject: Re: Preventing use of remote method by other sites
>
>
> Don't forget you can easily set those headers yourself. I could setup 
> cfhttp to use that header and hit your resource.
>
>
> On Fri, Aug 13, 2010 at 3:31 PM, Andy Matthews 
> 
> wrote:
>>
>> Works perfectly Tony. I simplified the conditional tho'
>>
>> > headers['X-Requested-With'] EQ 'XMLHttpRequest'>
>>
>> 
>
>
>
> 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336299
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Preventing use of remote method by other sites

2010-08-16 Thread Raymond Camden

Sorry - what? Oh - are you asking if I would know to use that vector?
If I run your site and see a request made via XHR to foo.cfm, and then
I try to run it myself in another tab and get blocked, then yes, I
would consider that. And I'm a "Script Kiddy Hacker" so I assume the
real guys would try it too.

Shoot - I almost always try the URLs I see in Firebug/Chrome Dev
tools. I'm not trying to be malicious of course. Just poking around.


On Mon, Aug 16, 2010 at 11:34 AM, Andy Matthews
 wrote:
>
> Yes, but would you know TO do that?
>
>
> andy
>
> -Original Message-
> From: Raymond Camden [mailto:rcam...@gmail.com]
> Sent: Monday, August 16, 2010 11:30 AM
> To: cf-talk
> Subject: Re: Preventing use of remote method by other sites
>
>
> Don't forget you can easily set those headers yourself. I could setup cfhttp
> to use that header and hit your resource.
>
>
> On Fri, Aug 13, 2010 at 3:31 PM, Andy Matthews 
> wrote:
>>
>> Works perfectly Tony. I simplified the conditional tho'
>>
>> > headers['X-Requested-With'] EQ 'XMLHttpRequest'>
>>
>> 
>
>
>
> 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336298
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Preventing use of remote method by other sites

2010-08-16 Thread Andy Matthews

Yes, but would you know TO do that?


andy 

-Original Message-
From: Raymond Camden [mailto:rcam...@gmail.com] 
Sent: Monday, August 16, 2010 11:30 AM
To: cf-talk
Subject: Re: Preventing use of remote method by other sites


Don't forget you can easily set those headers yourself. I could setup cfhttp
to use that header and hit your resource.


On Fri, Aug 13, 2010 at 3:31 PM, Andy Matthews 
wrote:
>
> Works perfectly Tony. I simplified the conditional tho'
>
>  headers['X-Requested-With'] EQ 'XMLHttpRequest'>
>
> 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336297
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Preventing use of remote method by other sites

2010-08-16 Thread Raymond Camden

Don't forget you can easily set those headers yourself. I could setup
cfhttp to use that header and hit your resource.


On Fri, Aug 13, 2010 at 3:31 PM, Andy Matthews  wrote:
>
> Works perfectly Tony. I simplified the conditional tho'
>
>  headers['X-Requested-With'] EQ 'XMLHttpRequest'>
>
> 
>
>
> -Original Message-
> From: Tony Bentley [mailto:cascadefreehee...@gmail.com]
> Sent: Friday, August 13, 2010 2:55 PM
> To: cf-talk
> Subject: Re: Preventing use of remote method by other sites
>
>
> I use a cfc that checks to see if the method being called is from within the
> domain, is indeed ajax and that the method is indeed is accessed remotely,
> otherwise abort the request. If you are doing cross site requests, pass a
> unique key in your form.
>
> Is it ajax?
>
>     output="false">
>        
>        
>            requestHeaders = getHTTPRequestData().headers;
>            if(not StructKeyExists(requestHeaders, "X-Requested-With")){
>                 return false;
>            }
>            else if(StructFind(requestHeaders,"X-Requested-With") neq
> "XMLHttpRequest"){
>                return false;
>            }
>            else{
>                return true;
>            }
>        
>    
>
>
>
>
> 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336296
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Extracting data from Java ByteArrayOutputStream

2010-08-16 Thread Pete Freitag

On Fri, Aug 13, 2010 at 2:03 PM, Jeff Chastain  wrote:
>
>  Pete,
>
> This does have me an ASCII string of the contents of the byte array.
> After a lot of string parsing, I can get the SOAP envelope out and
> convert it to XML.  However, the binary images that are also included
> here are apparently encoded some how and I have yet to be able to use
> any form of ColdFusion decoding process to get them into a readable format.
>

Jeff the images as Leigh suggested are probably encoded in Base64
format, ColdFusion has functions to deal with base64 built in. You can
use ToBinary(base64string) and then you can write the binary data to a
file.

--
Pete Freitag
http://foundeo.com/ - ColdFusion Consulting & Products
http://petefreitag.com/ - My Blog
http://hackmycf.com - Is your ColdFusion Server Secur

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336295
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm