RE: SVN in Production

2008-08-11 Thread Andrew Scott
:-( 

Took me to literal..



-- 
Senior Coldfusion Developer
Aegeon Pty. Ltd.
www.aegeon.com.au
Phone: +613 9015 8628
Mobile: 0404 998 273




-Original Message-
From: Jochem van Dieten [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 12 August 2008 4:17 PM
To: CF-Talk
Subject: Re: SVN in Production

Now you invite me however, I am going to. You did write:
   SVN was created for one purpose and one purpse only, that was to
   provide a revision control system for you to roll back, and manage
   different versions of your code.

So yes, you did write that SVN is for code.

Jochem



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

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


Re: SVN in Production

2008-08-11 Thread Jochem van Dieten
Andrew Scott wrote:
> Don't put words into my mouth.

I was not aware I did so. Perhaps you could quote me?


> As for xml changes that are not related to your source code is generally
> handled by daily backups anyway, and most people prefer that as it can put
> the machine into a state quicker than your method. But hey thats your
> choice, you want to create extra work for you then go for it.

Daily backups don't provide the ability to do diffs.


> As for the actual content of the source files, DID I EVER MENTION ANYTHING
> about that?
> 
> NO, I did not and I wouldn't like to have you tell me otherwise.

Up until now I only stated my opinion on the content of the source 
files. Up until now I didn't tell what you wrote.

Now you invite me however, I am going to. You did write:
   SVN was created for one purpose and one purpse only, that was to
   provide a revision control system for you to roll back, and manage
   different versions of your code.

So yes, you did write that SVN is for code.

Jochem

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

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


RE: SVN in Production - back to the original question

2008-08-11 Thread Andrew Scott
Ant is very handy, the one thing I got to do with one of my applications was
to template certain aspects of the site. Pain at times if you are not aware
of it, but the point is that I used ant and the build file to package the
war file up for me.

The steps where get the template, grab the revision number and build number
from SVN. This then replaces the file in the site, to reflect these small
changes. Nothing special, but it does show how ant can be very handy,
because once that happened. The ant script then encrypted the code, and
produced a deployable package.

The template system is nothing new, but it shows that even we in the
ColdFusion arena can also make a script to modify code on the fly based on a
condition. For example, we need to build for development the database
location and details might be different to the production server, and those
allow for us to build depending on whether we select development or
production the template is then converted to the normal file and its
location and has the changes requested.

Certainly not the only way to do it, but it shows an example of another way
most wouldn't know you could.

However there are still times when automation doesn't work.



-- 
Senior Coldfusion Developer
Aegeon Pty. Ltd.
www.aegeon.com.au
Phone: +613 9015 8628
Mobile: 0404 998 273




-Original Message-
From: denstar [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 12 August 2008 3:21 PM
To: CF-Talk
Subject: Re: SVN in Production - back to the original question

With gigs of data, and it's possible, something incremental seems like
a good idea.

A nice bit about SVN (and some other version control systems) is the
binary difference stuff, so only the changes are transmitted, not the
entire file.  Sweet for large data files, neh?

I'm thinking a nice setup would be a ANT managed build process that
triggers some unit tests, which trigger an svnant tag/branch, which
triggers the deployment to the appropriate places.

Yes, something like that sounds dandy, personally.  One of many, many
ways to do it, but it sounds like fun.

Know, that a lot of this stuff I talk about, I probably practice
about-- well, not as much.  I'm a hypocrite, truth be known.
Piecemeal is all I can manage.  Add a build file for this project
here, a customized repository hook there...

*Totally* unrelated, but there is a plugin for Thunderbird that does a
colored diff compare of a diff file (there's an example perl hook for
subversion that will email you the diff when a commit is made), which
is pretty super.

On Mon, Aug 11, 2008 at 8:39 PM, Kym Kovan <[EMAIL PROTECTED]> wrote:
.
> I find it interesting, we have been hosting CF for 11 years and still
> are finding new things to think over...

I lovesiz it!  :-)

-- 
For a man to conquer himself is the first and noblest of all victories.
Plato



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

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


RE: SVN in Production

2008-08-11 Thread Andrew Scott
:-( Yes, I understand about commit early and commit often. But I don't see
how that solves the problem? That really has nothing to do with branches,
though does it?


-- 
Senior Coldfusion Developer
Aegeon Pty. Ltd.
www.aegeon.com.au
Phone: +613 9015 8628
Mobile: 0404 998 273




-Original Message-
From: denstar [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 12 August 2008 2:29 PM
To: CF-Talk
Subject: Re: SVN in Production

On Mon, Aug 11, 2008 at 7:27 PM, Andrew Scott wrote:
> You have my curiosity now...
>
> Explain to me how, SVN automation is going to know that I have 4 changes
and
> only 3 of these are going to need to go to production.

Kym pretty much explained what I was getting at, changing your style.

There's a saying, "commit early, commit often'.  Some systems make
certain aspects easier-- Git is great for open open source, for
instance, while SVN is better for a more centralized approach.  At
least that's my current take on it.  :-)

My point being, there are various ways to tackle problems, depending
on the goals and parameters and whatnot.

And that tools are WICKED COOL, plain and simple.  All tools, really.
I'm a sucker for stuff that builds stuff.  :-)

> Not that it is going to change for me, I need to log into a VPN and then
map
> to the harddrive anyway. So this approach WILL not work for me, in our
> current line of clients.

Ah.  I've been really happy with rsync.  You can do it over SSH
(there's a java server, if you're on windows), and if you're really
worried about leaving ports open or something, you could rock some
"port knocking", which keeps 'em closed unless you use the "secret
knock".  That, layered with some locked-down permissions and whatnot,
is pretty pimp.  Mmmm mmm good!

Or at least it sounds like fun to set up. ;]

Anyways, I shouldn't have implied (heh) that "you're doing it wrong",
as perhaps you're doing the best for your environment, you know?  It's
pretty easy to make assumptions about things based on what information
we have-- hell, it's what we do.

-- 
For a man to conquer himself is the first and noblest of all victories.
Plato



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

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


Re: ColdFusion8 silent installation

2008-08-11 Thread Andy Allan
The AdminAPI did exist in 6.1 - they just didn't tell anyone about it,
hence it was unsupported (and no, I don't mean the ServiceFactory),
which means backwards compatibility for 7 was never an issue.

Andy

2008/8/12 Dave Watts <[EMAIL PROTECTED]>:
>> Didn't the datasource admin API change between CF6 and CF7
>> without backward compatibility?  I seem to recall having to
>> update several automated deployment systems that broke upon
>> upgrade.
>
> The admin API was introduced in CF7. Previous, unsupported functionality
> using ServiceFactory may well have changed between versions, but that's just
> another example of why you'd want to use the admin API instead of
> unsupported functionality.
>
> 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;203748912;27390454;j

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


Re: SVN in Production - back to the original question

2008-08-11 Thread denstar
With gigs of data, and it's possible, something incremental seems like
a good idea.

A nice bit about SVN (and some other version control systems) is the
binary difference stuff, so only the changes are transmitted, not the
entire file.  Sweet for large data files, neh?

I'm thinking a nice setup would be a ANT managed build process that
triggers some unit tests, which trigger an svnant tag/branch, which
triggers the deployment to the appropriate places.

Yes, something like that sounds dandy, personally.  One of many, many
ways to do it, but it sounds like fun.

Know, that a lot of this stuff I talk about, I probably practice
about-- well, not as much.  I'm a hypocrite, truth be known.
Piecemeal is all I can manage.  Add a build file for this project
here, a customized repository hook there...

*Totally* unrelated, but there is a plugin for Thunderbird that does a
colored diff compare of a diff file (there's an example perl hook for
subversion that will email you the diff when a commit is made), which
is pretty super.

On Mon, Aug 11, 2008 at 8:39 PM, Kym Kovan <[EMAIL PROTECTED]> wrote:

> I find it interesting, we have been hosting CF for 11 years and still
> are finding new things to think over...

I lovesiz it!  :-)

-- 
For a man to conquer himself is the first and noblest of all victories.
Plato

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

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


Re: SVN in Production

2008-08-11 Thread denstar
On Mon, Aug 11, 2008 at 7:27 PM, Andrew Scott wrote:
> You have my curiosity now...
>
> Explain to me how, SVN automation is going to know that I have 4 changes and
> only 3 of these are going to need to go to production.

Kym pretty much explained what I was getting at, changing your style.

There's a saying, "commit early, commit often'.  Some systems make
certain aspects easier-- Git is great for open open source, for
instance, while SVN is better for a more centralized approach.  At
least that's my current take on it.  :-)

My point being, there are various ways to tackle problems, depending
on the goals and parameters and whatnot.

And that tools are WICKED COOL, plain and simple.  All tools, really.
I'm a sucker for stuff that builds stuff.  :-)

> Not that it is going to change for me, I need to log into a VPN and then map
> to the harddrive anyway. So this approach WILL not work for me, in our
> current line of clients.

Ah.  I've been really happy with rsync.  You can do it over SSH
(there's a java server, if you're on windows), and if you're really
worried about leaving ports open or something, you could rock some
"port knocking", which keeps 'em closed unless you use the "secret
knock".  That, layered with some locked-down permissions and whatnot,
is pretty pimp.  Mmmm mmm good!

Or at least it sounds like fun to set up. ;]

Anyways, I shouldn't have implied (heh) that "you're doing it wrong",
as perhaps you're doing the best for your environment, you know?  It's
pretty easy to make assumptions about things based on what information
we have-- hell, it's what we do.

-- 
For a man to conquer himself is the first and noblest of all victories.
Plato

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

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


Re: XMLSearch not thread safe

2008-08-11 Thread James Holmes
Duplicating will always be faster under load than single threading the
app with an exclusive lock, as the duplicate can run safely in
multiple threads (well, we haven't seen any issues with it yet,
anyway).

On Tue, Aug 12, 2008 at 11:43 AM, Mark Mandel <[EMAIL PROTECTED]> wrote:
> How bizarre!
>
> I wonder which would be faster, a lock around the parse, or
> duplicating the XMDoc?
>
> Mark
>
> On Tue, Aug 12, 2008 at 1:25 PM, James Holmes <[EMAIL PROTECTED]> wrote:
>> Our testing confirms your suspicions; a duplicate() seems to perform
>> better than re-parsing the XML string.

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

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

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


Re: XMLSearch not thread safe

2008-08-11 Thread Mark Mandel
How bizarre!

I wonder which would be faster, a lock around the parse, or
duplicating the XMDoc?

Mark

On Tue, Aug 12, 2008 at 1:25 PM, James Holmes <[EMAIL PROTECTED]> wrote:
> Our testing confirms your suspicions; a duplicate() seems to perform
> better than re-parsing the XML string.
>
> We went with duplicate as a quick fix for our framework; if we find
> something better, we'll let everyone know.
>
> I voted for a fix in CF and I encourage others to do the same:
>
> http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
>
> **BUG**
> Concise problem statement:
>
> XMLSearch() is not thread safe.
>
> Steps to reproduce bug:
>
>  1. Create XML object in a shared scope like APPLICATION.
>
>  2. Search the object with different XMLSearch() xpath expressions in
> multiple requests at the same time under significant load.
>
>  Results: Null pointer errors, incorrect search results.
>
>  Expected results: correct searches, no NPEs.
>
>
> On Fri, Aug 8, 2008 at 11:33 PM, Brad Wood <[EMAIL PROTECTED]> wrote:
>> My thoughts on why duplicate might perform better than xmlparse went
>> something like this:  Which takes longer?  reinstalling and configuring a
>> server from scratch, or running Norton Ghost and simply copying over an
>> image.
>>
>> Has anyone filed this with Adobe yet?  http://www.adobe.com/go/wish/
>
>
> --
> mxAjax / CFAjax docs and other useful articles:
> http://www.bifrost.com.au/blog/
>
> 

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

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


Re: XMLSearch not thread safe

2008-08-11 Thread Brad Wood
Thanks for the research, James. 
Also, thanks for submitting the bug.

~Brad

- Original Message - 
From: "James Holmes" <[EMAIL PROTECTED]>
To: "CF-Talk" 
Sent: Monday, August 11, 2008 10:25 PM
Subject: Re: XMLSearch not thread safe


> Our testing confirms your suspicions; a duplicate() seems to perform
> better than re-parsing the XML string.
> 
> We went with duplicate as a quick fix for our framework; if we find
> something better, we'll let everyone know.
> 
> I voted for a fix in CF and I encourage others to do the same:


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

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


RE: SVN in Production

2008-08-11 Thread Andrew Scott
Kym,

I answered your question. So what you are saying is that if I make 5 small
text changes, and it was all requested in one ticket. You would make me
branch ever one of those small changes?

For what reason?

Revision control system as what SVN is, is designed to be run in a specific
way. The implementation of that way is then left up to the procedures in
place, in our case we base our changes based on the task and quote. So what
that means is that even though I made 5 small text changes as described
above. It is actually one support request, so if we need to roll back
because a mistake was made on either end we are not merging from 5 different
branches.

However, although it wasn't mentioned but I think you are implying that I
should maybe branch the new live version. I didn't mention it, because it
would go without saying that there would always be a new branch for that
release version.

Now if I have 5 different branches in the above example, and I need to then
merge this as the final revision and build for that client. This way we can
also track and locate when bugs may have been introduced and from where and
what stage of the development, others may have different views. But I do not
see the need of creating a branch, like this to introduce a more headache of
branching.

In small applications I could understand the thinking that people have, but
the reality is that small is not always best to learn from either.

The point I am making is that when you get to a stage or having just 3
clients running your base product, with each client also having different
modules. These are certainly branched and tagged where necessary, then if we
need to make those changes because they are core spelling mistakes. But it
also only needs to affect 1 of the clients then we will again have to merge
the code to each of these branches. That is not an issue, it works.

But to then create these changes as seperate branches for each change is
stupid, and ends up creating more work for you over the long run. Because
instead of one branch, you need to merge n branches back to one, to then
merge into some of the others.

I thought that if you read between the lines, when I mentioned I switch
branches would be clue enough that I follow the reccomendations that the SVN
book / manual describes. It doesn't go into detail as to how deep you need
to go into branching and I believe that the minimal the better.





-- 
Senior Coldfusion Developer
Aegeon Pty. Ltd.
www.aegeon.com.au
Phone: +613 9015 8628
Mobile: 0404 998 273




-Original Message-
From: Kym Kovan [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 12 August 2008 12:52 PM
To: CF-Talk
Subject: Re: SVN in Production

Andrew Scott wrote:
> Kym,
> 
> Which is why I painted the scenario of this, and I will repeat it again
> because it seems to be getting lost in translation.

yes, yours Andrew. The original question came up because you stated that 
you could not send out 3 of 4 changes. In one of the many replies 
automation got mentioned but I avoided that in my response just now and 
took it back to the original point.

> 
> "The client has come to us and have asked for a number of changes to the
> system, over a period of time these changes are completed and placed into
QA
> -> UAT. Now the client is happy with 3 out of the 4 changes that you have
> made, and has requested that these changes go live straight away. But the
> 4th needs some more tweaking."

I will repeat: Why are the 4 changes not in their own branches? Or if I 
get to the rub: why is your system so broken that you cannot manage 
something like that? No mention of automation just getting organised and 
doing it right in the first place.

I am starting to get peeved Andrew and like others am signing off on 
this conversation with you unless you start responding to what was asked 
and not drop into defensive mode or push your own line to the detriment 
of other legitimate ones. I asked a question as I was surprised that I 
was reading that folk use SVN into production, ie have SVN clients on 
Production boxes. You responded rather strongly and war broke out. In 
amongst the dross thrown up by you, directly or indirectly, there were 
some good answers. I will mind them and ignore the rest.




-- 

Yours,

Kym Kovan
mbcomms




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

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


Re: SVN in Production

2008-08-11 Thread Brian Kotek
Anyone who is interested in learning how to better use Subversion, including
its excellent capabilities for helping you deploy code, should check out
"Pragmatic Version Control Using Subversion" by Mike Mason. It is a great
overview and covers a lot of ground in a very easy to understand way.

Regards,

Brian


On Mon, Aug 11, 2008 at 9:04 PM, Andrew Scott <[EMAIL PROTECTED]>wrote:

> For FUCK sake.
>
> I never said anything about merging between SVN repositories.
>
> I fucking said merging code from dev -> production, which has nothing to do
> with SVN what so ever that is my damn point.
>
> You bring automation into this, and I am fairly sure that I have been
> talking about using SVN in production. If I am as a developer, have made it
> very clear that not all my changes or even yours could end up in
> production.
> So how do you handle that?
>
> It has nothing to do with automation of any shape or form.
>
> I have been talking about deployment the entire time, WTF do you think I
> mean when I talk about merging fixes/changes from QA -> PRODUCTION
>
> Did you think I had 2 repositories in SVN called QA and Production?
>
> Give me a break.
>
>
>
> --
> Senior Coldfusion Developer
> Aegeon Pty. Ltd.
> www.aegeon.com.au
> Phone: +613 9015 8628
> Mobile: 0404 998 273
>
>
>
>
> -Original Message-
> From: Brian Kotek [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, 12 August 2008 10:34 AM
> To: CF-Talk
> Subject: Re: SVN in Production
>
> I never said you would automatically handle merge changes. If you are
> merging, then you do that in the repository and tag the merged file set
> before you perform the deployment. That has nothing to do with deployment.
> You only deploy once the code has been properly merged, tagged, and tested.
>
> To anyone else interested in this topic, I would recommend that you look
> around for yourself by Googling "ant deployment" or "svn deployment" and
> look through the hundreds of thousands of results from a very wide range of
> authoritative sources. You'll quickly see that a great many people
> successfully leverage Subversion when deploying code.
>
>
> On Mon, Aug 11, 2008 at 8:09 PM, Andrew Scott
> <[EMAIL PROTECTED]>wrote:
>
> > Brian...
> >
> > A statement like this means you are not very good at your job.
> >
> > There is no way to automatically merge changes, I mean even SVN can't do
> > that between developers and its a manual process to update and merge
> > changes.
> >
> > Brian, if you have been developing and using SVN heavily and making minor
> > changes to websites as explained there is no way in hell I would employ
> you
> > if you told me what you said below.
> >
> > As much as I am one who looks to reduce work load, file sync is and will
> > always be a manual process when it comes to migrating small changes.
> >
> > Brian, you really should read your message again and seriously think
> about
> > what you said.
> >
> >
> >
> > --
> > Senior Coldfusion Developer
> > Aegeon Pty. Ltd.
> > www.aegeon.com.au
> > Phone: +613 9015 8628
> > Mobile: 0404 998 273
> >
> >
> >
> >
> > -Original Message-
> > From: Brian Kotek [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, 12 August 2008 12:01 AM
> > To: CF-Talk
> > Subject: Re: SVN in Production
> >
> > I disagree completely. There's absolutely nothing wrong with using SVN in
> > production for deployment.
> >
> > Beyond Compare? It's a great program...but using it to deploy code? The
> > idea
> > makes me shudder. In fact, doing anything manual related to code
> deployment
> > makes me shudder.
> >
> > There are easy ways around the issue you bring up about size: it's called
> > an
> > SVN Export. It's meant to do EXACTLY what you're talking about: create a
> > copy of the source code with no SVN-related files.
> >
> > All of this can (and should) be automated with ANT. That means at the
> click
> > of my mouse I can execute the entire deployment process in exactly the
> same
> > way every single time. That might mean:
> >
> >   - Zip the current code, timestamp it, and copy it to a back folder for
> >   easy retrieval.
> >   - Delete the current code
> >   - Copy a site maintenance file into the site folder
> >   - Pull latest from SVN
> >   - Perform export to site folder
> >   - Run a reinit HTTP request to reload the application
> >   - Send an email to notify stakeholders of success
> >
> > You can also have it run unit tests and only deploy if all tests pass.
> >
> > The bottom line is that using SVN and ANT to help you deploy code is
> > EXACTLY
> > what these tools were meant to do. If I have to do anything more than
> click
> > my mouse once to execute an entire deployment process, I'm doing
> something
> > wrong.
> >
> >
> > On Mon, Aug 11, 2008 at 4:20 AM, Andrew Scott
> > <[EMAIL PROTECTED]>wrote:
> >
> > > SVN SHOULD NEVER BE USED IN PRODUCTION...
> > >
> > > SVN is used to have a revision control system, so that you could roll
> > back
> > > to a previous version or whatever you need to do.
> > >

Re: XMLSearch not thread safe

2008-08-11 Thread James Holmes
Our testing confirms your suspicions; a duplicate() seems to perform
better than re-parsing the XML string.

We went with duplicate as a quick fix for our framework; if we find
something better, we'll let everyone know.

I voted for a fix in CF and I encourage others to do the same:

http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform

**BUG**
Concise problem statement:

XMLSearch() is not thread safe.

Steps to reproduce bug:

 1. Create XML object in a shared scope like APPLICATION.

 2. Search the object with different XMLSearch() xpath expressions in
multiple requests at the same time under significant load.

 Results: Null pointer errors, incorrect search results.

 Expected results: correct searches, no NPEs.


On Fri, Aug 8, 2008 at 11:33 PM, Brad Wood <[EMAIL PROTECTED]> wrote:
> My thoughts on why duplicate might perform better than xmlparse went
> something like this:  Which takes longer?  reinstalling and configuring a
> server from scratch, or running Norton Ghost and simply copying over an
> image...
>
> Has anyone filed this with Adobe yet?  http://www.adobe.com/go/wish/


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

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

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


Re: ColdFusion8 silent installation

2008-08-11 Thread Don L
"but that's just
another example of why you'd want to use the admin API instead of
unsupported functionality.
"
If a case does not demand creating some datasource on the fly, would I not have 
opted for the easily available admin API for that? 

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

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


Re: Lean, 'mean' cf8

2008-08-11 Thread Don L
The whole thing reminds me of ColdFusion Express years ago...
How flexible was that architecture?
>Point being Install Adobe CF on Win and it eats tons of ram, on Apache
>or IIS, on Jrun.


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

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


RE: cfldap error

2008-08-11 Thread Dawson, Michael
A DN begins with CN=, not DN= as in your code.
 
Also, drop the parenthesis.
 
Change your code to:
 
dn="#qryLDAPUser.dn#"...
 
m!ke

  _  

From: Eclectic User [mailto:[EMAIL PROTECTED]
Sent: Mon 8/11/2008 8:00 PM
To: CF-Talk
Subject: cfldap error






  
When I run this coldfusion code to delete LDAP user, I get LDAP Error 34. I am 
not sure what is wrong with the DN, please help me. Thanks for any help you 
provide.



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

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


Re: Lean, 'mean' cf8

2008-08-11 Thread Don L
Gerald, right on, I should have said, system resource allocation or the like...
not old yet but I tumbled all the time...

To all, a key point being, I don't need to drive a bus to get some grocery, a 
compact car would do...

My deep concern is, if not sufficient thoughts, cf and db/sql skills have been
invested in an app, it may have difficulty to scale, function as an enterprise 
one
or it may compromise performance...
and I'm not proud to make this 'speculation'...
for one thing, how many of us (long time cfers) think about using 
SELECT colA, colB, colC
FROM aTBL with (nolock) -- for MS SQL Server or
WHERE ...
vs.
SELECT colA, colB, colC
FROM aTBL
WHERE ...

for some frequently called table, and a step further, what penalty such 'no 
lock' attribute may impose to the given table...

Thanks.
>Gerald Guido -- cf8
>I doubt Don is talking about CPU usage. My biggest issue with Adobe CF Jrun
>server instances is RAM. Compared to a lot of other App servers Adobe's JRun
>app server is a glutton. My CF 8 JRun instances eats 200 megs on a 1.28 gig
>ram box just sitting there (345 megs on my 3 gig laptop).  GlassFish and
>Jboss are RAM intensive but CF on JRun is right up there.
>
>Last time I looked BD hovered at ~30-40 megs RAM and Railo 3 was at ~70-80
>megs sitting on top of Tomcat.
>Gerald Guido -- cf8


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

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


RE: SQL injection attack on House of Fusion

2008-08-11 Thread Andrew Scott
Dave,

You of all people have been around long enough to know, that if we as a
developer could have our jobs made easier. Makes me wonder why you made your
comment?

Grails is built on top of Java, just as much as ColdFusion is. So what is
your point?

As far as an ORM, I would love to see spring and hibernate native to
ColdFusion with support for the dynamicness of grails.


Could you imagine your new Domain modal creating, updating etc., based on
your Domain Modal and having that automatically done on your DB... And there
is no more coding for different DB's, why because the ORM takes all that
under control for you.

But closures and dynamicness of grails, makes me think how great it is to
write code like this

Def saveAs = { 
Account.dowherefullNameIsLike("something")
}

That is not the exact syntax, but the fact that the where condition is
dynamically built.

I actually love the concept that ColdFusion could adopt a more dynamic
approach, with the integration of Spring and Hybernate and maybe the ability
to run groovy the reality is strong even if Adobe don't wish to do it. The
ability to provide on the fly scaffolding is also great. True MVC approach
if you wanted with SES integration...

The point is that ColdFusion can be extremely as powerfull, with the ability
to add these things.

Now the point is openSource also allows us developers to make these
integrations, and also to the maybe share these as a plugin. This seperates
the core engine from the features of the product, and this is why I think it
is a wise move. Because it allows the fixes, to be made by anyone and
submitted back to adobe. As for 3rd party integration like cfreport,
cfdocument to name a couple. These would then fall into features, that Adobe
can still hang on too. And hence becomes their new business model for CF
going forward into the brave world of opensource.

But one can dream. Like you said, I also doubt it will become open
source this release... Or even the next, but it will happen... Mark those
words...



-- 
Senior Coldfusion Developer
Aegeon Pty. Ltd.
www.aegeon.com.au
Phone: +613 9015 8628
Mobile: 0404 998 273




-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 12 August 2008 2:44 AM
To: CF-Talk
Subject: RE: SQL injection attack on House of Fusion

> The second is that this is why. ColdFusion should have 
> adopted an approach that used an ORM instead With an ORM 
> it reduces the risk, provided the ORM takes these attacks seriously.
> 
> I have never seen these attacks with hibernate, within GORM 
> and Domain Driven design approaches.

ColdFusion is a programming language, like Java. Just as Java doesn't come
with an ORM, neither should CF.

> I so hope that ColdFusion 9, has 2 things on its release.
> 
> 1) The engine itself is open sourced. And the extra 
> functionality and support for middle tier API integration is adopted.

I strongly doubt that CF will be open source.

> 2) GORM style approach as in DDD (Domain Driven Design) is 
> taken more seriously.
> 
> With these 2 additions then SQL injection will be a thing of the past.

With prepared statements, SQL injection has long been a thing of the past.
It's not the job of an ORM to separate SQL code from data values.

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;203748912;27390454;j

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


Re: SVN in Production

2008-08-11 Thread Kym Kovan
Andrew Scott wrote:
> Kym,
> 
> Which is why I painted the scenario of this, and I will repeat it again
> because it seems to be getting lost in translation.

yes, yours Andrew. The original question came up because you stated that 
you could not send out 3 of 4 changes. In one of the many replies 
automation got mentioned but I avoided that in my response just now and 
took it back to the original point.

> 
> "The client has come to us and have asked for a number of changes to the
> system, over a period of time these changes are completed and placed into QA
> -> UAT. Now the client is happy with 3 out of the 4 changes that you have
> made, and has requested that these changes go live straight away. But the
> 4th needs some more tweaking."

I will repeat: Why are the 4 changes not in their own branches? Or if I 
get to the rub: why is your system so broken that you cannot manage 
something like that? No mention of automation just getting organised and 
doing it right in the first place.

I am starting to get peeved Andrew and like others am signing off on 
this conversation with you unless you start responding to what was asked 
and not drop into defensive mode or push your own line to the detriment 
of other legitimate ones. I asked a question as I was surprised that I 
was reading that folk use SVN into production, ie have SVN clients on 
Production boxes. You responded rather strongly and war broke out. In 
amongst the dross thrown up by you, directly or indirectly, there were 
some good answers. I will mind them and ignore the rest.




-- 

Yours,

Kym Kovan
mbcomms


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

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


Re: SVN in Production - back to the original question

2008-08-11 Thread Kym Kovan
It seems I started something by asking if I was understanding some 
folk's practices correctly. Actually I just asked a question, someone 
else started something :^)

Meanwhile I filled in a few details of an issue we have with this new 
client need with their monster site and in amongst all of the flames 
there was an answer or two that was useful so thank you for that.

I was toying with the idea of doing an export from SVN to each 
production server but the code set is too big so I thought about doing a 
diff from the staging server to production but Jochem mentioned the risk 
of a corrupt file at the destination not getting picked up which is a 
legitimate concern. I was never considering in a month of Sundays doing 
file merges on the Production boxes or even using such a tool for 
deployment as was suggested by someone as that is what they do, the 
thought is too scary, when I mention diff I mean the directory/file 
difference tools not the file merge tools.

One of those tools runs every day to keep a running backup of content on 
a backup file server and taking a peek at the logs it takes about 7 
minutes to scan all 6.8GB of website across the network, much better 
than the 50-odd minutes done via FTP from here, and we are only 20mSec 
away! :-), hence my thoughts about doing the diff locally. One thing we 
currently do for the client is a twice a week backup of that mass of 
website down to a local server here in our second datacentre so we do 
have a copy of the production site right here next to the staging 
servers so now I am mulling over the possibility of doing the diffs 
locally and then only a few files need to be sent out for each update. I 
gather the client currently updates their site several times a week so 
we need to make the whole exercise as painless as possible. So the 
scenario would still be the A <> B send to C scenario that Jochem 
described but in this case B and C are synonymous.

I find it interesting, we have been hosting CF for 11 years and still 
are finding new things to think over...


-- 

Yours,

Kym Kovan
mbcomms


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

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


Re: cfimage - upgrading to from older server

2008-08-11 Thread Mike Little
they have indeed advised that there is to be an upgrade to the hotfix. 
hopefully this sorts it out.

interestingly enough, it was the same images that would lock up (and they were 
not large either).

weird.


>advise your host to upgrade to cf8.0.1 and apply the latest hotfix that
>solves this issue.
>
>Azadi Saryev
>Sabai-dee.com
>http://www.sabai-dee.com/
>
>
>
>Mike Little wrote:
>> 

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

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


Re: Lean, 'mean' cf8

2008-08-11 Thread Gerald Guido
Point being Install Adobe CF on Win and it eats tons of ram, on Apache
or IIS, on Jrun.


On Mon, Aug 11, 2008 at 9:48 PM, Dave Watts <[EMAIL PROTECTED]> wrote:

> > I have cf running on top of Apache, single server mode, so
> > all I have to go by is task manager.
>
> Look on the server where the CF instances are installed; the admin server
> is
> installed by default. You'll see it around 30 MB or so.
>
> 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!
> y
> http://ad.doubleclick.net/clk;203748912;27390454;j
>
> Archive:
> http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310815
> Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
> Unsubscribe:
> http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=31846.12920.4
>



-- 
"If everything seems under control, you're not going fast enough"
-- Mario Andretti


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

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


RE: SVN in Production

2008-08-11 Thread Andrew Scott
Kym,

Which is why I painted the scenario of this, and I will repeat it again
because it seems to be getting lost in translation.

"The client has come to us and have asked for a number of changes to the
system, over a period of time these changes are completed and placed into QA
-> UAT. Now the client is happy with 3 out of the 4 changes that you have
made, and has requested that these changes go live straight away. But the
4th needs some more tweaking."

Now I ask you again, how can automation decide which of those changes are
required to be made live?

Let's forget about branches and tags for now and concentrate on the above
scenario, and the original question.




-- 
Senior Coldfusion Developer
Aegeon Pty. Ltd.
www.aegeon.com.au
Phone: +613 9015 8628
Mobile: 0404 998 273




-Original Message-
From: Kym Kovan [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 12 August 2008 12:10 PM
To: CF-Talk
Subject: Re: SVN in Production

Andrew Scott wrote:
> You have my curiosity now...
> 
> Explain to me how, SVN automation is going to know that I have 4 changes
and
> only 3 of these are going to need to go to production.

Andrew, I think the point being made is that if you have 4 changes they 
should be in 4 branches or something similar so you can merge into your 
production tag the ones you want and leave the rest. No mention of 
automation, just the way things are arranged. The way I understand what 
you describe of your workflow is that you do not do that, all the 
changes are in one branch and if so the problem is in your 
methodology/workflow arrangements in your place of work. Maybe I 
understand you wrongly.


-- 

Yours,

Kym Kovan
mbcomms




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

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


Re: SVN in Production

2008-08-11 Thread Kym Kovan
Andrew Scott wrote:
> You have my curiosity now...
> 
> Explain to me how, SVN automation is going to know that I have 4 changes and
> only 3 of these are going to need to go to production.

Andrew, I think the point being made is that if you have 4 changes they 
should be in 4 branches or something similar so you can merge into your 
production tag the ones you want and leave the rest. No mention of 
automation, just the way things are arranged. The way I understand what 
you describe of your workflow is that you do not do that, all the 
changes are in one branch and if so the problem is in your 
methodology/workflow arrangements in your place of work. Maybe I 
understand you wrongly.


-- 

Yours,

Kym Kovan
mbcomms


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

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


RE: SVN in Production

2008-08-11 Thread Dave Watts
> Maybe I am not understanding you now.

At this point, perhaps neither of us is making much sense to the other right
now. This is my signal to take the rest of the night off!

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;203748912;27390454;j

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


RE: Lean, 'mean' cf8

2008-08-11 Thread Dave Watts
> I have cf running on top of Apache, single server mode, so 
> all I have to go by is task manager.

Look on the server where the CF instances are installed; the admin server is
installed by default. You'll see it around 30 MB or so.

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;203748912;27390454;j

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


Re: SQL injection attack on House of Fusion

2008-08-11 Thread James Holmes
Interestingly, hibernate is one of the rumoured additions to CF9:

http://www.barneyb.com/barneyblog/2008/06/19/cfunited-day-one/

etc

On Tue, Aug 12, 2008 at 12:44 AM, Dave Watts <[EMAIL PROTECTED]> wrote:
>
> ColdFusion is a programming language, like Java. Just as Java doesn't come
> with an ORM, neither should CF.


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

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

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


RE: SVN in Production

2008-08-11 Thread Andrew Scott
You have my curiosity now...

Explain to me how, SVN automation is going to know that I have 4 changes and
only 3 of these are going to need to go to production.

Not that it is going to change for me, I need to log into a VPN and then map
to the harddrive anyway. So this approach WILL not work for me, in our
current line of clients.

Like I said I am curious, I have one file and that file has the entire 4
changes. But I need to sit down and manually make the 3 changes to live. How
does SVN automation decided this?

I am aware of all the hooks etc., because we use it with our ticketing
system. So that the tickets are automatically update, when SVN is updated.
But to manage change management, I am very curious how you have achieved
what it takes a human brain to decide.




-- 
Senior Coldfusion Developer
Aegeon Pty. Ltd.
www.aegeon.com.au
Phone: +613 9015 8628
Mobile: 0404 998 273




-Original Message-
From: denstar [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 12 August 2008 11:03 AM
To: CF-Talk
Subject: Re: SVN in Production

On Mon, Aug 11, 2008 at 6:58 PM, Andrew Scott wrote:
.

> As stated, if I have 2 changes one has to go live and the other is not
> ready. Another developer has made a change, but this change is also not
> ready to go into production.
>
> Can SVN decide to automatically decide what has to go live and what does
> not?

It won't have to decide, if you've followed a pattern.

Theoretically.

=]

-- 
Don't mean to come off as if I know something, as I know I don't know, ya
know?



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

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


Re: SVN in Production

2008-08-11 Thread Brian Peddle
Lighten up Andrew.  You have been in attack mode from your first response.

It is obvious you have strong opinions on the topic, but responding like 
you have been does nothing to educate the people here who may not have 
an opinion yet and are trying to learn something from these threads.

Andrew Scott wrote:
> For FUCK sake.
>
> I never said anything about merging between SVN repositories.
>
> I fucking said merging code from dev -> production, which has nothing to do
> with SVN what so ever that is my damn point.
>
> You bring automation into this, and I am fairly sure that I have been
> talking about using SVN in production. If I am as a developer, have made it
> very clear that not all my changes or even yours could end up in production.
> So how do you handle that?
>
> It has nothing to do with automation of any shape or form.
>
> I have been talking about deployment the entire time, WTF do you think I
> mean when I talk about merging fixes/changes from QA -> PRODUCTION
>
> Did you think I had 2 repositories in SVN called QA and Production?
>
> Give me a break.
>
>
>
>   

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

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


RE: SVN in Production

2008-08-11 Thread Andrew Scott
Dave,

Are you referring to his reference with the $ID as a reason why?

I can export to any QA server, and then migrate that via any option
available to me. But the contents of the file is not an issue, if you pull
source out of SVN it is going to have that in the source code anyway.

Or did I miss the reason you say you can see it?

I don't see it, all I see is that of other things like docs. Never brought
that up, so it's not an issue.

The $ID and $url header info, has nothing to do with SVN as such. As once it
is insereted into the file it is part of the file anyway, so whether it
comes from svn or another directory it is going to have that information.

Maybe I am not understanding you now.





-- 
Senior Coldfusion Developer
Aegeon Pty. Ltd.
www.aegeon.com.au
Phone: +613 9015 8628
Mobile: 0404 998 273




-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 12 August 2008 10:44 AM
To: CF-Talk
Subject: RE: SVN in Production

> Don't quote something out of context.
>
> I deliberately removed that before replying, so you assumed 
> that I was talking about that now? I am well aware what SVN 
> is, and anyone who has read the documentation would know that 
> without a doubt now wouldn't they?

I don't see any reason to doubt you know what SVN is. You may well know it
better than I do. But I didn't quote anything out of context. I simply
replied to your response to Jochem, without referring to any other email in
the thread. I apologize in advance for what will certainly be difficult to
read, but here's Jochem's post to you:

"Andrew Scott wrote:
> What 
> Do you mean by repo -> server and server -> repo?
> 
> The latter should never be an issue, or even considered. Anyone
who makes
> changes to production and not in a development environment shouod
be hung
> out to dry or better still beaten with a stick until you realise
that
> development is what it means.

So you think the entire /etc/ folder on a production box is the same
as 
an /etc/ folder on a development box? You think they have the same 
hostnames? The same IP addresses? The same firewall rules? That the
test 
environment has a two year backup retention like production has?

Not everybody uses SVN just for sourcecode. Some use it for their 
university thesis. Some for their grocery list. Some use SVN for 
complete server configurations. And what you use it for does
influence 
the usage pattern. It is perfectly acceptable to change the
-Dmail.host 
oarameter in your jvm.config file directly on production and then
back 
it up to SVN.

> Once you have deployed to a production server, it should never
have any
> ties with the repository in any way shape or form. If you are one
of 
> those that think this is ok, then you will need to adopt new
procedures 
> quickly. Before you adopt bad and I mean VERY BAD ideas.

Generally speaking you don't want to have production running
directly 
from a working copy. But there is nothing wrong with putting $Id$, 
$HeadURL$ etc. in your sources so that code and configuration files
on 
the production box points back to a specific version of a file in a 
repository."

Reading that, my interpretation is that you stated that copying from your
production server to a repository was never acceptable. Jochem then
presented a scenario where he believed it was acceptable. I tend to agree
with him in this case, for what that's worth.

You posted this in response:

"Don't put words into my mouth.

As for xml changes that are not related to your source code is
generally 
handled by daily backups anyway, and most people prefer that as it
can put
the machine into a state quicker than your method. But hey thats
your choice, 
you want to create extra work for you then go for it.

As for the actual content of the source files, DID I EVER MENTION
ANYTHING 
about that?

NO, I did not and I wouldn't like to have you tell me otherwise."

Now, as I stated before, I don't see where he put any words in your mouth.
You clearly state that it's unequivocally a VERY BAD idea to copy from a
production server to a repository, and he says otherwise.
 
> Why is that Dave?
> 
> Because the examples in the documentation relate to what you 
> made an assumption on.
> 
> If you want to be corrected, I actually referred to the files 
> and their contents from SVN. I never brought that up. And 
> yet it was referred to as if I had.

Again, I don't see where he implies that you said anything about the
contents of files. He says something about the contents of files, though, as
a justification for having files on the production box point to specific
copies in a repository. Clearly, that would be a "tie with the reposit

Re: Lean, 'mean' cf8

2008-08-11 Thread Gerald Guido
I have cf running on top of Apache, single server mode, so all I have to go
by is task manager.

G

On Mon, Aug 11, 2008 at 9:09 PM, Dave Watts <[EMAIL PROTECTED]> wrote:

> > I doubt Don is talking about CPU usage. My biggest issue with
> > Adobe CF Jrun server instances is RAM. Compared to a lot of
> > other App servers Adobe's JRun app server is a glutton. My CF
> > 8 JRun instances eats 200 megs on a 1.28 gig ram box just
> > sitting there (345 megs on my 3 gig laptop).  GlassFish and
> > Jboss are RAM intensive but CF on JRun is right up there.
> >
> > Last time I looked BD hovered at ~30-40 megs RAM and Railo 3
> > was at ~70-80 megs sitting on top of Tomcat.
>
> This isn't JRun, it's CF. Look at the size of your JRun admin server
> instance for a comparison.
>
> 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;203748912;27390454;j

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


RE: SVN in Production

2008-08-11 Thread Andrew Scott
Is there any wonder, when you see an email like this one. If you are going
to make a statement, make sure you have done your research into what has and
is being said.

DID you READ my EMAIL? Where I said to you exactly what you just said?

Did you not hear me when I said, when I switch between SVN revisions I can
make the change to one, and then merge that into another? Does that not
indicate to you, that what you described was a waste of your time?


-- 
Senior Coldfusion Developer
Aegeon Pty. Ltd.
www.aegeon.com.au
Phone: +613 9015 8628
Mobile: 0404 998 273




-Original Message-
From: denstar [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 12 August 2008 10:35 AM
To: CF-Talk
Subject: Re: SVN in Production

On Mon, Aug 11, 2008 at 5:56 PM, Andrew Scott wrote:
> Kym,
>
> Think of an Application has being something that more than one client
could
> have. Then think about their requirements, and how it might differ to
> another client.
.

I'm not sure if I should go into it, but-- You're doing it wrong. :)

The scenarios you outline are common problems, and are actually some
of the reasons source control is, where it is today.

Check out svn:externals (you can "pin" these external revisions, which
can be a key factor!), and *really* do yourself a favor, and learn
about branches, and merging, and how SVN revisions and whatnot.

Then sit down, and figure out a tagging strategy, as well as the
lifecycle that fits your application, etc.(maybe not in that order;]),
and get that stuff documented (and under version control! =]).  Make
sure you come up with a plan that addresses the issues you haven't
addressed yet-- the issues which you blame on version control, but
that are actually related to how you are doing things.

You'll be in high spirits after that, man!  You'll know, that even if
a truck just plain takes you out at some random moment, your team will
still be O.K. without you.

Force be with you mate!
  den

-- 
For a man to conquer himself is the first and noblest of all victories.
Plato



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

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


RE: SVN in Production

2008-08-11 Thread Andrew Scott
For FUCK sake.

I never said anything about merging between SVN repositories.

I fucking said merging code from dev -> production, which has nothing to do
with SVN what so ever that is my damn point.

You bring automation into this, and I am fairly sure that I have been
talking about using SVN in production. If I am as a developer, have made it
very clear that not all my changes or even yours could end up in production.
So how do you handle that?

It has nothing to do with automation of any shape or form.

I have been talking about deployment the entire time, WTF do you think I
mean when I talk about merging fixes/changes from QA -> PRODUCTION

Did you think I had 2 repositories in SVN called QA and Production?

Give me a break.



-- 
Senior Coldfusion Developer
Aegeon Pty. Ltd.
www.aegeon.com.au
Phone: +613 9015 8628
Mobile: 0404 998 273




-Original Message-
From: Brian Kotek [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 12 August 2008 10:34 AM
To: CF-Talk
Subject: Re: SVN in Production

I never said you would automatically handle merge changes. If you are
merging, then you do that in the repository and tag the merged file set
before you perform the deployment. That has nothing to do with deployment.
You only deploy once the code has been properly merged, tagged, and tested.

To anyone else interested in this topic, I would recommend that you look
around for yourself by Googling "ant deployment" or "svn deployment" and
look through the hundreds of thousands of results from a very wide range of
authoritative sources. You'll quickly see that a great many people
successfully leverage Subversion when deploying code.


On Mon, Aug 11, 2008 at 8:09 PM, Andrew Scott
<[EMAIL PROTECTED]>wrote:

> Brian...
>
> A statement like this means you are not very good at your job.
>
> There is no way to automatically merge changes, I mean even SVN can't do
> that between developers and its a manual process to update and merge
> changes.
>
> Brian, if you have been developing and using SVN heavily and making minor
> changes to websites as explained there is no way in hell I would employ
you
> if you told me what you said below.
>
> As much as I am one who looks to reduce work load, file sync is and will
> always be a manual process when it comes to migrating small changes.
>
> Brian, you really should read your message again and seriously think about
> what you said.
>
>
>
> --
> Senior Coldfusion Developer
> Aegeon Pty. Ltd.
> www.aegeon.com.au
> Phone: +613 9015 8628
> Mobile: 0404 998 273
>
>
>
>
> -Original Message-
> From: Brian Kotek [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, 12 August 2008 12:01 AM
> To: CF-Talk
> Subject: Re: SVN in Production
>
> I disagree completely. There's absolutely nothing wrong with using SVN in
> production for deployment.
>
> Beyond Compare? It's a great program...but using it to deploy code? The
> idea
> makes me shudder. In fact, doing anything manual related to code
deployment
> makes me shudder.
>
> There are easy ways around the issue you bring up about size: it's called
> an
> SVN Export. It's meant to do EXACTLY what you're talking about: create a
> copy of the source code with no SVN-related files.
>
> All of this can (and should) be automated with ANT. That means at the
click
> of my mouse I can execute the entire deployment process in exactly the
same
> way every single time. That might mean:
>
>   - Zip the current code, timestamp it, and copy it to a back folder for
>   easy retrieval.
>   - Delete the current code
>   - Copy a site maintenance file into the site folder
>   - Pull latest from SVN
>   - Perform export to site folder
>   - Run a reinit HTTP request to reload the application
>   - Send an email to notify stakeholders of success
>
> You can also have it run unit tests and only deploy if all tests pass.
>
> The bottom line is that using SVN and ANT to help you deploy code is
> EXACTLY
> what these tools were meant to do. If I have to do anything more than
click
> my mouse once to execute an entire deployment process, I'm doing something
> wrong.
>
>
> On Mon, Aug 11, 2008 at 4:20 AM, Andrew Scott
> <[EMAIL PROTECTED]>wrote:
>
> > SVN SHOULD NEVER BE USED IN PRODUCTION...
> >
> > SVN is used to have a revision control system, so that you could roll
> back
> > to a previous version or whatever you need to do.
> >
> > When it comes to production, why the hell would you install 99% of extra
> > space taking codes and indexes to a production server? Over a period of
> > time, your code might be 1meg in size, but after a year the SVN indexes
> > could result in 2gig and more of space that is no longer needed. But
then
> > if
> > one read the docs to these tools, one would not use SVN in production.
> >
> > SVN can be expensive when it comes to hard drive space, and one should
> > never
> > and I will repeat this again.
> >
> > NEVER USE SVN in production.
> >
> > Use a program like beyond compare to syn file changes or something, but
> > NEVER USE SVN in

RE: Lean, 'mean' cf8

2008-08-11 Thread Dave Watts
> I doubt Don is talking about CPU usage. My biggest issue with 
> Adobe CF Jrun server instances is RAM. Compared to a lot of 
> other App servers Adobe's JRun app server is a glutton. My CF 
> 8 JRun instances eats 200 megs on a 1.28 gig ram box just 
> sitting there (345 megs on my 3 gig laptop).  GlassFish and 
> Jboss are RAM intensive but CF on JRun is right up there.
> 
> Last time I looked BD hovered at ~30-40 megs RAM and Railo 3 
> was at ~70-80 megs sitting on top of Tomcat.

This isn't JRun, it's CF. Look at the size of your JRun admin server
instance for a comparison.

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;203748912;27390454;j

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


Re: SVN in Production

2008-08-11 Thread denstar
On Mon, Aug 11, 2008 at 6:58 PM, Andrew Scott wrote:

> "Not even SVN can automatically decide what changes to make live and what
> not to make live, between developer changes"

If you've got things organized the right way, it's pretty easy.  You
do need to make use of tags and revision numbers and whatnot tho.
It's nice that 1.5 has some built-in merge tracking stuff now-- no
more commenting it so you remember!

> As stated, if I have 2 changes one has to go live and the other is not
> ready. Another developer has made a change, but this change is also not
> ready to go into production.
>
> Can SVN decide to automatically decide what has to go live and what does
> not?

It won't have to decide, if you've followed a pattern.

Theoretically.

=]

-- 
Don't mean to come off as if I know something, as I know I don't know, ya know?

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

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


cfldap error

2008-08-11 Thread Eclectic User



  
When I run this coldfusion code to delete LDAP user, I get LDAP Error 34. I am 
not sure what is wrong with the DN, please help me. Thanks for any help you 
provide. 

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

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


Re: SVN in Production

2008-08-11 Thread denstar
On Mon, Aug 11, 2008 at 6:44 PM, Brian Kotek wrote:
> On Mon, Aug 11, 2008 at 8:23 PM, denstar wrote:

>> Hey, we're all learning and whatnot, Andrew, cut the man some slack! :-)
>
> Thanks Den. :-)
> But believe me, you don't have to defend me to Andrew. At all.

Oh, snap!  =]  Didn't mean to imply that, actually.  Thinking it might
be some type of pain referral for Andrew, if that makes sense.  I
meant "we are all imperfect, and that's perfect", I guess.

>> > There is no way to automatically merge changes, I mean even SVN can't do
>> > that between developers and its a manual process to update and merge
>> > changes.
>>
>> SVN really DOES automatically merge changes.  That's one of the cool
>> things about it (The Book[http://svnbook.red-bean.com/], is awesome!)

> Am I misunderstanding? Or were you referring to SVN's ability to merge
> changes from different developers who are working on a file at the same
> time? That process is actually called "conflict resolution". I just wanted
> to make sure whether we're talking about the same thing. Thanks.

You nailed it with conflict resolution-- so long as there is no
conflict, the merge (of updated code) is automatic, which is the
automatic part I was referring to :-) (it's pretty smart, too!).

So not merging branches, but merging updates, is what I think I was
talking about.

-- 
I think  =]

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

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


RE: SVN in Production

2008-08-11 Thread Andrew Scott
Sorry,

Maybe I should have stated:

"Not even SVN can automatically decide what changes to make live and what
not to make live, between developer changes"

As stated, if I have 2 changes one has to go live and the other is not
ready. Another developer has made a change, but this change is also not
ready to go into production.

Can SVN decide to automatically decide what has to go live and what does
not?





-- 
Senior Coldfusion Developer
Aegeon Pty. Ltd.
www.aegeon.com.au
Phone: +613 9015 8628
Mobile: 0404 998 273




-Original Message-
From: denstar [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 12 August 2008 10:23 AM
To: CF-Talk
Subject: Re: SVN in Production

On Mon, Aug 11, 2008 at 6:09 PM, Andrew Scott wrote:
> Brian...
>
> A statement like this means you are not very good at your job.

Hey, we're all learning and whatnot, Andrew, cut the man some slack! :-)

> There is no way to automatically merge changes, I mean even SVN can't do
> that between developers and its a manual process to update and merge
> changes.

SVN really DOES automatically merge changes.  That's one of the cool
things about it (The Book[http://svnbook.red-bean.com/], is awesome!)

> Brian, if you have been developing and using SVN heavily and making minor
> changes to websites as explained there is no way in hell I would employ
you
> if you told me what you said below.

I think you are thinking "in the box", as in, your way is the "right
way", when really, there are many ways.

You actually don't seem to be taking advantage of some of the more
"rock'n" aspects of SVN.

> As much as I am one who looks to reduce work load, file sync is and will
> always be a manual process when it comes to migrating small changes.

Oy!  I think, as Dave sorta said, it's those little incremental
changes that are exactly the type of thing you'd want captured in some
type of "history", if you will.

I *really* *really* love having our config files in SVN-- we can stand
up a new server much much faster-- I do have a comment on /etc files,
and how we do it, but I'll address that some[time|where] else.

Well... anyways, guess that's it.

-- 
DeN <3 Subclipse



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

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


Re: Lean, 'mean' cf8

2008-08-11 Thread Gerald Guido
I doubt Don is talking about CPU usage. My biggest issue with Adobe CF Jrun
server instances is RAM. Compared to a lot of other App servers Adobe's JRun
app server is a glutton. My CF 8 JRun instances eats 200 megs on a 1.28 gig
ram box just sitting there (345 megs on my 3 gig laptop).  GlassFish and
Jboss are RAM intensive but CF on JRun is right up there.

Last time I looked BD hovered at ~30-40 megs RAM and Railo 3 was at ~70-80
megs sitting on top of Tomcat.

~G~


On Mon, Aug 11, 2008 at 7:59 PM, James Holmes <[EMAIL PROTECTED]>wrote:

> So don't use those features in your app and your app will have lower
> CPU requirements.
>
> On Tue, Aug 12, 2008 at 6:09 AM, Don L <[EMAIL PROTECTED]> wrote:
> > Lean:
> > Architechurally, ideally, developer has the option to pick what core
> features or family/families to deploy for a given cf server instance, hence,
> some 'resource-heavy' features like PDF, image, reporting manipulation stuff
> may be left out... hence, less CPU requirements...
> >
> > 'mean':
> > Having been in this business for a while, I think I know nothing is that
> simple, I'm talking off my head or as if I knew what I'm talking about...
> >
> > Note:
> > I may not be the first one to throw about this bit... a pity if some
> similar product went feature by feature comparison with cf8 and then it went
> under or I did not know enough about it hence the the 'pity' part is
> half-truth?
>
> --
> mxAjax / CFAjax docs and other useful articles:
> http://www.bifrost.com.au/blog/
>
> 

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

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


Re: SVN in Production

2008-08-11 Thread Brian Kotek
On Mon, Aug 11, 2008 at 8:23 PM, denstar <[EMAIL PROTECTED]> wrote:

> On Mon, Aug 11, 2008 at 6:09 PM, Andrew Scott wrote:
> > Brian...
> >
> > A statement like this means you are not very good at your job.
>
> Hey, we're all learning and whatnot, Andrew, cut the man some slack! :-)


Thanks Den. :-)
But believe me, you don't have to defend me to Andrew. At all.


>
>
> > There is no way to automatically merge changes, I mean even SVN can't do
> > that between developers and its a manual process to update and merge
> > changes.
>
> SVN really DOES automatically merge changes.  That's one of the cool
> things about it (The Book[http://svnbook.red-bean.com/], is awesome!)


I think we might be looking at different kinds of merging. What we're
talking about here are cases where you have different branches of the code
(say a development branch and a production branch), and you fix a set of
bugs in development and you want to merge those changes back into the
production branch without bringing over any of the other partially finished
work from the development branch. This process is known as merging, and it
does require care though it is not particularly difficult to do. The trick
is that after you merge the changes into the production branch, that you
then apply a tag to it, test it thoroughly, and then deploy the updated file
set to production.

Am I misunderstanding? Or were you referring to SVN's ability to merge
changes from different developers who are working on a file at the same
time? That process is actually called "conflict resolution". I just wanted
to make sure whether we're talking about the same thing. Thanks.


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

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


Re: SQL injection attack on House of Fusion

2008-08-11 Thread denstar
On Mon, Aug 11, 2008 at 10:11 AM, Jochem van Dieten wrote:

> I just see different degrees of guilt. Negligence from developers,
> greedy shortcuts from management, lazyness from end users, criminal
> intent from hackers etc.

I don't see ISPs on there, and while I'm no fan of much of the
ISP-based stuff, there are certainly steps that could be taken to
improve the situation.

I think there is plenty of money being made on both ends, so it would
take a public outcry or something to affect change.

Not to defend crappy code (which I *never* create!  My code's all
perfect, springing like some type of Greek (Roman?) god from my mind),
but really, it seems like heat on ISPs and whatnot isn't exactly a
/bad/ thing, in certain cases.

Or maybe it's all just freedom, and I should love it up while we gotz
it  (probably serious, BTW).

Eh.  That's all I got, just pointing out we're beholden, somehow, or
something. Hmm, not sure actually.

-- 
bah.

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

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


RE: SVN in Production

2008-08-11 Thread Dave Watts
> Don't quote something out of context.
>
> I deliberately removed that before replying, so you assumed 
> that I was talking about that now? I am well aware what SVN 
> is, and anyone who has read the documentation would know that 
> without a doubt now wouldn't they?

I don't see any reason to doubt you know what SVN is. You may well know it
better than I do. But I didn't quote anything out of context. I simply
replied to your response to Jochem, without referring to any other email in
the thread. I apologize in advance for what will certainly be difficult to
read, but here's Jochem's post to you:

"Andrew Scott wrote:
> What 
> Do you mean by repo -> server and server -> repo?
> 
> The latter should never be an issue, or even considered. Anyone
who makes
> changes to production and not in a development environment shouod
be hung
> out to dry or better still beaten with a stick until you realise
that
> development is what it means.

So you think the entire /etc/ folder on a production box is the same
as 
an /etc/ folder on a development box? You think they have the same 
hostnames? The same IP addresses? The same firewall rules? That the
test 
environment has a two year backup retention like production has?

Not everybody uses SVN just for sourcecode. Some use it for their 
university thesis. Some for their grocery list. Some use SVN for 
complete server configurations. And what you use it for does
influence 
the usage pattern. It is perfectly acceptable to change the
-Dmail.host 
oarameter in your jvm.config file directly on production and then
back 
it up to SVN.

> Once you have deployed to a production server, it should never
have any
> ties with the repository in any way shape or form. If you are one
of 
> those that think this is ok, then you will need to adopt new
procedures 
> quickly. Before you adopt bad and I mean VERY BAD ideas.

Generally speaking you don't want to have production running
directly 
from a working copy. But there is nothing wrong with putting $Id$, 
$HeadURL$ etc. in your sources so that code and configuration files
on 
the production box points back to a specific version of a file in a 
repository."

Reading that, my interpretation is that you stated that copying from your
production server to a repository was never acceptable. Jochem then
presented a scenario where he believed it was acceptable. I tend to agree
with him in this case, for what that's worth.

You posted this in response:

"Don't put words into my mouth.

As for xml changes that are not related to your source code is
generally 
handled by daily backups anyway, and most people prefer that as it
can put
the machine into a state quicker than your method. But hey thats
your choice, 
you want to create extra work for you then go for it.

As for the actual content of the source files, DID I EVER MENTION
ANYTHING 
about that?

NO, I did not and I wouldn't like to have you tell me otherwise."

Now, as I stated before, I don't see where he put any words in your mouth.
You clearly state that it's unequivocally a VERY BAD idea to copy from a
production server to a repository, and he says otherwise.
 
> Why is that Dave?
> 
> Because the examples in the documentation relate to what you 
> made an assumption on.
> 
> If you want to be corrected, I actually referred to the files 
> and their contents from SVN. I never brought that up. And 
> yet it was referred to as if I had.

Again, I don't see where he implies that you said anything about the
contents of files. He says something about the contents of files, though, as
a justification for having files on the production box point to specific
copies in a repository. Clearly, that would be a "tie with the repository",
which you clearly stated would be a VERY BAD idea.

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;203748912;27390454;j

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


Re: SVN in Production

2008-08-11 Thread denstar
On Mon, Aug 11, 2008 at 5:56 PM, Andrew Scott wrote:
> Kym,
>
> Think of an Application has being something that more than one client could
> have. Then think about their requirements, and how it might differ to
> another client.


I'm not sure if I should go into it, but-- You're doing it wrong. :)

The scenarios you outline are common problems, and are actually some
of the reasons source control is, where it is today.

Check out svn:externals (you can "pin" these external revisions, which
can be a key factor!), and *really* do yourself a favor, and learn
about branches, and merging, and how SVN revisions and whatnot.

Then sit down, and figure out a tagging strategy, as well as the
lifecycle that fits your application, etc.(maybe not in that order;]),
and get that stuff documented (and under version control! =]).  Make
sure you come up with a plan that addresses the issues you haven't
addressed yet-- the issues which you blame on version control, but
that are actually related to how you are doing things.

You'll be in high spirits after that, man!  You'll know, that even if
a truck just plain takes you out at some random moment, your team will
still be O.K. without you.

Force be with you mate!
  den

-- 
For a man to conquer himself is the first and noblest of all victories.
Plato

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

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


Re: SVN in Production

2008-08-11 Thread Brian Kotek
I never said you would automatically handle merge changes. If you are
merging, then you do that in the repository and tag the merged file set
before you perform the deployment. That has nothing to do with deployment.
You only deploy once the code has been properly merged, tagged, and tested.

To anyone else interested in this topic, I would recommend that you look
around for yourself by Googling "ant deployment" or "svn deployment" and
look through the hundreds of thousands of results from a very wide range of
authoritative sources. You'll quickly see that a great many people
successfully leverage Subversion when deploying code.


On Mon, Aug 11, 2008 at 8:09 PM, Andrew Scott <[EMAIL PROTECTED]>wrote:

> Brian...
>
> A statement like this means you are not very good at your job.
>
> There is no way to automatically merge changes, I mean even SVN can't do
> that between developers and its a manual process to update and merge
> changes.
>
> Brian, if you have been developing and using SVN heavily and making minor
> changes to websites as explained there is no way in hell I would employ you
> if you told me what you said below.
>
> As much as I am one who looks to reduce work load, file sync is and will
> always be a manual process when it comes to migrating small changes.
>
> Brian, you really should read your message again and seriously think about
> what you said.
>
>
>
> --
> Senior Coldfusion Developer
> Aegeon Pty. Ltd.
> www.aegeon.com.au
> Phone: +613 9015 8628
> Mobile: 0404 998 273
>
>
>
>
> -Original Message-
> From: Brian Kotek [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, 12 August 2008 12:01 AM
> To: CF-Talk
> Subject: Re: SVN in Production
>
> I disagree completely. There's absolutely nothing wrong with using SVN in
> production for deployment.
>
> Beyond Compare? It's a great program...but using it to deploy code? The
> idea
> makes me shudder. In fact, doing anything manual related to code deployment
> makes me shudder.
>
> There are easy ways around the issue you bring up about size: it's called
> an
> SVN Export. It's meant to do EXACTLY what you're talking about: create a
> copy of the source code with no SVN-related files.
>
> All of this can (and should) be automated with ANT. That means at the click
> of my mouse I can execute the entire deployment process in exactly the same
> way every single time. That might mean:
>
>   - Zip the current code, timestamp it, and copy it to a back folder for
>   easy retrieval.
>   - Delete the current code
>   - Copy a site maintenance file into the site folder
>   - Pull latest from SVN
>   - Perform export to site folder
>   - Run a reinit HTTP request to reload the application
>   - Send an email to notify stakeholders of success
>
> You can also have it run unit tests and only deploy if all tests pass.
>
> The bottom line is that using SVN and ANT to help you deploy code is
> EXACTLY
> what these tools were meant to do. If I have to do anything more than click
> my mouse once to execute an entire deployment process, I'm doing something
> wrong.
>
>
> On Mon, Aug 11, 2008 at 4:20 AM, Andrew Scott
> <[EMAIL PROTECTED]>wrote:
>
> > SVN SHOULD NEVER BE USED IN PRODUCTION...
> >
> > SVN is used to have a revision control system, so that you could roll
> back
> > to a previous version or whatever you need to do.
> >
> > When it comes to production, why the hell would you install 99% of extra
> > space taking codes and indexes to a production server? Over a period of
> > time, your code might be 1meg in size, but after a year the SVN indexes
> > could result in 2gig and more of space that is no longer needed. But then
> > if
> > one read the docs to these tools, one would not use SVN in production.
> >
> > SVN can be expensive when it comes to hard drive space, and one should
> > never
> > and I will repeat this again.
> >
> > NEVER USE SVN in production.
> >
> > Use a program like beyond compare to syn file changes or something, but
> > NEVER USE SVN in production.
> >
> > I am shocked to find people don't research their tools enough.
> >
> > So let me recap, DO NOT USE SVN IN PRODUCTION. If you do then your a damn
> > fool, and should be shot on sight.
> >
> >
> >
> > --
> > Senior Coldfusion Developer
> > Aegeon Pty. Ltd.
> > www.aegeon.com.au
> > Phone: +613 9015 8628
> > Mobile: 0404 998 273
> >
> >
> >
> >
> > -Original Message-
> > From: Kym Kovan [mailto:[EMAIL PROTECTED]
> > Sent: Monday, 11 August 2008 11:07 AM
> > To: CF-Talk
> > Subject: SVN in Production
> >
> > Hello,
> >
> > Looking at some of the responses in the recent thread on SVN v ftp I get
> > an impression that some folk are using SVN clients on Production boxes.
> > What are people's thoughts on this? Is it a security risk, is it
> > dangerous in some other way, or is it a "bad thing" because of all of
> > those extra files that cause havoc with backups?
> >
> > --
> >
> > Yours,
> >
> > Kym Kovan
> > mbcomms
> >
> >
> >
> >
> >
> >
>
>
>
> 

~

Re: SVN in Production

2008-08-11 Thread denstar
On Mon, Aug 11, 2008 at 6:09 PM, Andrew Scott wrote:
> Brian...
>
> A statement like this means you are not very good at your job.

Hey, we're all learning and whatnot, Andrew, cut the man some slack! :-)

> There is no way to automatically merge changes, I mean even SVN can't do
> that between developers and its a manual process to update and merge
> changes.

SVN really DOES automatically merge changes.  That's one of the cool
things about it (The Book[http://svnbook.red-bean.com/], is awesome!)

> Brian, if you have been developing and using SVN heavily and making minor
> changes to websites as explained there is no way in hell I would employ you
> if you told me what you said below.

I think you are thinking "in the box", as in, your way is the "right
way", when really, there are many ways.

You actually don't seem to be taking advantage of some of the more
"rock'n" aspects of SVN.

> As much as I am one who looks to reduce work load, file sync is and will
> always be a manual process when it comes to migrating small changes.

Oy!  I think, as Dave sorta said, it's those little incremental
changes that are exactly the type of thing you'd want captured in some
type of "history", if you will.

I *really* *really* love having our config files in SVN-- we can stand
up a new server much much faster-- I do have a comment on /etc files,
and how we do it, but I'll address that some[time|where] else.

Well... anyways, guess that's it.

-- 
DeN <3 Subclipse

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

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


RE: SVN in Production

2008-08-11 Thread Andrew Scott
Dave,

Don't quote something out of context.

I deliberately removed that before replying, so you assumed that I was
talking about that now? I am well aware what SVN is, and anyone who has read
the documentation would know that without a doubt now wouldn't they?

Why is that Dave?

Because the examples in the documentation relate to what you made an
assumption on.

If you want to be corrected, I actually referred to the files and their
contents from SVN. I never brought that up. And yet it was referred to
as if I had.

As for your words of wisdom, taken on board.



-- 
Senior Coldfusion Developer
Aegeon Pty. Ltd.
www.aegeon.com.au
Phone: +613 9015 8628
Mobile: 0404 998 273




-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 12 August 2008 10:12 AM
To: CF-Talk
Subject: RE: SVN in Production

> Don't put words into my mouth.

I don't see anyone putting words into your mouth. Jochem simply mentioned
that some people use revision control systems for things other than
application source code. That is certainly true, even if you don't do that
yourself.

> As for xml changes that are not related to your source code 
> is generally handled by daily backups anyway, and most people 
> prefer that as it can put the machine into a state quicker 
> than your method. But hey thats your choice, you want to 
> create extra work for you then go for it.

The advantage of using revision control for server configuration files, etc,
is that you can do diffs, etc, that you can't do as easily with a typical
machine backup. But that's fairly obvious, isn't it?

Personally, I would be very happy if server configuration files were
generally treated this way, because I can't count the number of times I've
found a file that's been changed from default settings, with no indication
of when or why.

> As for the actual content of the source files, DID I EVER 
> MENTION ANYTHING about that?
> 
> NO, I did not and I wouldn't like to have you tell me otherwise.

When reading email, it's very difficult to discern intent, attitude, or
emotional state. So, I interpret your responses with the assumption that
they're written for the best possible reasons, with positive intent. That
said, I think that many readers here might find your responses unpleasant
and off-putting. I mention this solely to let you know this, if you don't
already know. Feel free to disregard it.

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;203748912;27390454;j

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


RE: SVN in Production

2008-08-11 Thread Andrew Scott
No it hasn't been mentioned

But the reason I haven't mentioned it, is because the thread never started
that way... As well as the fact that if you are not going through an
approval stage of your changes, then they will automatically go live.

That is not always ideal, sure is an option but is not ideal to about 98% of
people.





-- 
Senior Coldfusion Developer
Aegeon Pty. Ltd.
www.aegeon.com.au
Phone: +613 9015 8628
Mobile: 0404 998 273




-Original Message-
From: denstar [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 12 August 2008 7:36 AM
To: CF-Talk
Subject: Re: SVN in Production

On Mon, Aug 11, 2008 at 5:25 AM, Kym Kovan wrote:
.
> So our problem is how to push out changes to the Production boxes in a
> sensible fashion and hence our question that has raised such ire amongst
> one person at least :-)

I haven't been watching this thread too close, but...

SVN has something called "repository hooks", which fire when certain
actions occur.

So when I get a "commit" action, my repo does some stuff... looks at
what the thing was, where it was, etc., and the repo server does stuff
based on that information.

I use rsync, a tool designed specifically for keeping filesystems in
sync, to push the changes to the places they need to go.  It's fast,
and only copes what's changed.

This is not an uncommon setup, as you'll see if you research SVN
deployment, but I offer it, in case it hasn't been mentioned in the
thread already.

And you can use those repository hooks to fire off unit-tests, or
whatever else you need to do as part of your regiment.  Great stuff!

HIH

-- 
For a man to conquer himself is the first and noblest of all victories.
Plato



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

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


RE: SVN in Production

2008-08-11 Thread Andrew Scott
Brian...

A statement like this means you are not very good at your job.

There is no way to automatically merge changes, I mean even SVN can't do
that between developers and its a manual process to update and merge
changes.

Brian, if you have been developing and using SVN heavily and making minor
changes to websites as explained there is no way in hell I would employ you
if you told me what you said below.

As much as I am one who looks to reduce work load, file sync is and will
always be a manual process when it comes to migrating small changes.

Brian, you really should read your message again and seriously think about
what you said.



-- 
Senior Coldfusion Developer
Aegeon Pty. Ltd.
www.aegeon.com.au
Phone: +613 9015 8628
Mobile: 0404 998 273




-Original Message-
From: Brian Kotek [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 12 August 2008 12:01 AM
To: CF-Talk
Subject: Re: SVN in Production

I disagree completely. There's absolutely nothing wrong with using SVN in
production for deployment.

Beyond Compare? It's a great program...but using it to deploy code? The idea
makes me shudder. In fact, doing anything manual related to code deployment
makes me shudder.

There are easy ways around the issue you bring up about size: it's called an
SVN Export. It's meant to do EXACTLY what you're talking about: create a
copy of the source code with no SVN-related files.

All of this can (and should) be automated with ANT. That means at the click
of my mouse I can execute the entire deployment process in exactly the same
way every single time. That might mean:

   - Zip the current code, timestamp it, and copy it to a back folder for
   easy retrieval.
   - Delete the current code
   - Copy a site maintenance file into the site folder
   - Pull latest from SVN
   - Perform export to site folder
   - Run a reinit HTTP request to reload the application
   - Send an email to notify stakeholders of success

You can also have it run unit tests and only deploy if all tests pass.

The bottom line is that using SVN and ANT to help you deploy code is EXACTLY
what these tools were meant to do. If I have to do anything more than click
my mouse once to execute an entire deployment process, I'm doing something
wrong.


On Mon, Aug 11, 2008 at 4:20 AM, Andrew Scott
<[EMAIL PROTECTED]>wrote:

> SVN SHOULD NEVER BE USED IN PRODUCTION...
>
> SVN is used to have a revision control system, so that you could roll back
> to a previous version or whatever you need to do.
>
> When it comes to production, why the hell would you install 99% of extra
> space taking codes and indexes to a production server? Over a period of
> time, your code might be 1meg in size, but after a year the SVN indexes
> could result in 2gig and more of space that is no longer needed. But then
> if
> one read the docs to these tools, one would not use SVN in production.
>
> SVN can be expensive when it comes to hard drive space, and one should
> never
> and I will repeat this again.
>
> NEVER USE SVN in production.
>
> Use a program like beyond compare to syn file changes or something, but
> NEVER USE SVN in production.
>
> I am shocked to find people don't research their tools enough.
>
> So let me recap, DO NOT USE SVN IN PRODUCTION. If you do then your a damn
> fool, and should be shot on sight.
>
>
>
> --
> Senior Coldfusion Developer
> Aegeon Pty. Ltd.
> www.aegeon.com.au
> Phone: +613 9015 8628
> Mobile: 0404 998 273
>
>
>
>
> -Original Message-
> From: Kym Kovan [mailto:[EMAIL PROTECTED]
> Sent: Monday, 11 August 2008 11:07 AM
> To: CF-Talk
> Subject: SVN in Production
>
> Hello,
>
> Looking at some of the responses in the recent thread on SVN v ftp I get
> an impression that some folk are using SVN clients on Production boxes.
> What are people's thoughts on this? Is it a security risk, is it
> dangerous in some other way, or is it a "bad thing" because of all of
> those extra files that cause havoc with backups?
>
> --
>
> Yours,
>
> Kym Kovan
> mbcomms
>
>
>
>
>
> 



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

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


RE: SVN in Production

2008-08-11 Thread Dave Watts
> Don't put words into my mouth.

I don't see anyone putting words into your mouth. Jochem simply mentioned
that some people use revision control systems for things other than
application source code. That is certainly true, even if you don't do that
yourself.

> As for xml changes that are not related to your source code 
> is generally handled by daily backups anyway, and most people 
> prefer that as it can put the machine into a state quicker 
> than your method. But hey thats your choice, you want to 
> create extra work for you then go for it.

The advantage of using revision control for server configuration files, etc,
is that you can do diffs, etc, that you can't do as easily with a typical
machine backup. But that's fairly obvious, isn't it?

Personally, I would be very happy if server configuration files were
generally treated this way, because I can't count the number of times I've
found a file that's been changed from default settings, with no indication
of when or why.

> As for the actual content of the source files, DID I EVER 
> MENTION ANYTHING about that?
> 
> NO, I did not and I wouldn't like to have you tell me otherwise.

When reading email, it's very difficult to discern intent, attitude, or
emotional state. So, I interpret your responses with the assumption that
they're written for the best possible reasons, with positive intent. That
said, I think that many readers here might find your responses unpleasant
and off-putting. I mention this solely to let you know this, if you don't
already know. Feel free to disregard it.

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;203748912;27390454;j

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


RE: SVN in Production

2008-08-11 Thread Andrew Scott
Please don't confuse the topic Tom, and twist what I am saying.

Nobody is going to have a go at you for your SDLC, or how you deploy for the
first time.

My point is very simple, so let me spell it out for you again.

When using export, that is not actually using SVN so it is not an issue in
this conversation. I thought you of all people who has been around long
enough, should have known that. 



-- 
Senior Coldfusion Developer
Aegeon Pty. Ltd.
www.aegeon.com.au
Phone: +613 9015 8628
Mobile: 0404 998 273




-Original Message-
From: Tom Chiverton [mailto:[EMAIL PROTECTED] 
Sent: Monday, 11 August 2008 11:54 PM
To: CF-Talk
Subject: Re: SVN in Production

On Monday 11 Aug 2008, Andrew Scott wrote:

> of dev -> QA -> production and then at least, once made live if the
changes

Uh huh. We then use SVN make sure what was QA'ed and tested is exactly the 
same as what was deployed. 
Why is this bad ?

> approval, how do you migrate these changes?
> You certainly would not export the entire repository now would you?

Err, no. What has one to do with the other ?

-- 
Tom Chiverton



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

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

CONFIDENTIALITY

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

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



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

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


Re: Lean, 'mean' cf8

2008-08-11 Thread James Holmes
So don't use those features in your app and your app will have lower
CPU requirements.

On Tue, Aug 12, 2008 at 6:09 AM, Don L <[EMAIL PROTECTED]> wrote:
> Lean:
> Architechurally, ideally, developer has the option to pick what core features 
> or family/families to deploy for a given cf server instance, hence, some 
> 'resource-heavy' features like PDF, image, reporting manipulation stuff may 
> be left out... hence, less CPU requirements...
>
> 'mean':
> Having been in this business for a while, I think I know nothing is that 
> simple, I'm talking off my head or as if I knew what I'm talking about...
>
> Note:
> I may not be the first one to throw about this bit... a pity if some similar 
> product went feature by feature comparison with cf8 and then it went under or 
> I did not know enough about it hence the the 'pity' part is half-truth?

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

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

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


RE: SVN in Production

2008-08-11 Thread Andrew Scott
No Tom...

There is a bug in Subclipse, that sees file saving take anything from an
extra 2mins upto hours If you read what I replied too, then read my
response and you know about that bug then you will know what I said to be
correct in a response.



-- 
Senior Coldfusion Developer
Aegeon Pty. Ltd.
www.aegeon.com.au
Phone: +613 9015 8628
Mobile: 0404 998 273




-Original Message-
From: Tom Chiverton [mailto:[EMAIL PROTECTED] 
Sent: Monday, 11 August 2008 11:46 PM
To: CF-Talk
Subject: Re: SVN in Production

On Monday 11 Aug 2008, Andrew Scott wrote:
> And this is one reason I refuse to use subclipse
> will show you that svn can be contacted and updated without your
knowledge,
> how else do you know if there are changes to the code...

That's a good thing.
I want my RCS updated when I delete or rename a file, and I really don't
want 
it bothering my all the time either.
I can always look in Eclipse's console to see what it's done, or the web
view 
of the repository, or the RSS feed of recent changes or ...

> well. Well in subversive you can, the problem is that when you do sync /
> merge changes before doing an update can take sooo much longer :-(

Err, yes ?
That's one of the trade-offs the SVN folks made when they were designing 
things...

-- 
Tom Chiverton



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

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

CONFIDENTIALITY

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

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



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

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


RE: SVN in Production

2008-08-11 Thread Andrew Scott
Kym,

Think of an Application has being something that more than one client could
have. Then think about their requirements, and how it might differ to
another client.

It is no secret that we have released our new flagship product into private
beta, this product will have so many different carnations to the
application.

Anyway the point is that I might have one section, that is in 2 versions
that need to be fixed. I switch to the first version and fix it, follow the
SDLC and when it is approved it is then migrated to production. In the
meantime we realise that another client uses this in their instance, so we
now need to merge the changes to their version.

This is an extreme case, but it highlights the switching to branches, tags
or any version you need too.

As for tickets, I just fixed 3 bugs. And another developer just also added a
new module. But the module is not ready for production. So that means we
need to sync the changes that I made and leave the other developers away
from production. Which means we now have to eyeball these changes to
production.

Or in a more common example, as most Coldfusion developers are single team
developers. The client has requested a complete change to their system, when
finished he approved 60% of the changes and wants them to go live right now.
I can't just export now can I? So again I have to either tell the client no,
which will upset them.. Or make an eyeball sync to production to make the
client happy, while they get me to finalise the remaining 40% of the
changes.

Under these circumstances, you can't just do an export from SVN.





-- 
Senior Coldfusion Developer
Aegeon Pty. Ltd.
www.aegeon.com.au
Phone: +613 9015 8628
Mobile: 0404 998 273




-Original Message-
From: Kym Kovan [mailto:[EMAIL PROTECTED] 
Sent: Monday, 11 August 2008 11:05 PM
To: CF-Talk
Subject: Re: SVN in Production

Andrew Scott wrote:
> And how are you going to migrate small changes in a midst of other
changes?
> 

Good response Andrew to my question, just what I wanted. Unfortunately 
your response is top-replied with your signature as well, with its 
correct "--", so in Thunderbird my question below that is lost.

But this brings up a point I noticed in your earlier replies, you talked 
of 20 tickets open and sending one ticket to production. You also talked 
in another reply about the work in maintaining multiple branches for 
them all but surely this is what keeping tight control over your code is 
all about? "A" change is "A" branch, merge it when it is right and there 
is no problem surely? You talked about one application but many clients 
running off it, with variations for all of them. If changing one 
client's code affects others then surely the site architecture is wrong, 
it isn't one application is it many similar ones. I feel motivated to 
shout at you like you shout at everyone else about how bad that is, but 
I won't


-- 

Yours,

Kym Kovan
mbcomms




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

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


RE: SVN in Production

2008-08-11 Thread Andrew Scott
Don't put words into my mouth.

As for xml changes that are not related to your source code is generally
handled by daily backups anyway, and most people prefer that as it can put
the machine into a state quicker than your method. But hey thats your
choice, you want to create extra work for you then go for it.

As for the actual content of the source files, DID I EVER MENTION ANYTHING
about that?

NO, I did not and I wouldn't like to have you tell me otherwise.





-- 
Senior Coldfusion Developer
Aegeon Pty. Ltd.
www.aegeon.com.au
Phone: +613 9015 8628
Mobile: 0404 998 273




-Original Message-
From: Jochem van Dieten [mailto:[EMAIL PROTECTED] 
Sent: Monday, 11 August 2008 10:23 PM
To: CF-Talk
Subject: Re: SVN in Production

Andrew Scott wrote:
> What 
> Do you mean by repo -> server and server -> repo?
> 
> The latter should never be an issue, or even considered. Anyone who makes
> changes to production and not in a development environment shouod be hung
> out to dry or better still beaten with a stick until you realise that
> development is what it means.

So you think the entire /etc/ folder on a production box is the same as 
an /etc/ folder on a development box? You think they have the same 
hostnames? The same IP addresses? The same firewall rules? That the test 
environment has a two year backup retention like production has?


Not everybody uses SVN just for sourcecode. Some use it for their 
university thesis. Some for their grocery list. Some use SVN for 
complete server configurations. And what you use it for does influence 
the usage pattern. It is perfectly acceptable to change the -Dmail.host 
oarameter in your jvm.config file directly on production and then back 
it up to SVN.


> Once you have deployed to a production server, it should never have any
ties
> with the repository in any way shape or form. If you are one of those that
> think this is ok, then you will need to adopt new procedures quickly.
Before
> you adopt bad and I mean VERY BAD ideas.

Generally speaking you don't want to have production running directly 
from a working copy. But there is nothing wrong with putting $Id$, 
$HeadURL$ etc. in your sources so that code and configuration files on 
the production box points back to a specific version of a file in a 
repository.

Jochem




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

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


RE: ColdFusion8 silent installation

2008-08-11 Thread Justin D. Scott
> The admin API was introduced in CF7. Previous,
> unsupported functionality using ServiceFactory
> may well have changed between versions, but
> that's just another example of why you'd want
> to use the admin API instead of unsupported
> functionality.

Ah, that is probably what was in use then.  I didn't write the original
code, just had to update everything when it broke so I wasn't sure.


-Justin Scott


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

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


RE: ColdFusion8 silent installation

2008-08-11 Thread Dave Watts
> Didn't the datasource admin API change between CF6 and CF7 
> without backward compatibility?  I seem to recall having to 
> update several automated deployment systems that broke upon 
> upgrade.

The admin API was introduced in CF7. Previous, unsupported functionality
using ServiceFactory may well have changed between versions, but that's just
another example of why you'd want to use the admin API instead of
unsupported functionality.

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;203748912;27390454;j

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


RE: ColdFusion8 silent installation

2008-08-11 Thread [EMAIL PROTECTED]
Didn't the datasource admin API change between CF6 and CF7 without backward 
compatibility?  I seem 
to recall having to update several automated deployment systems that broke upon 
upgrade.


-Justin Scott


--- Original Message ---
>From: Dave Watts[mailto:[EMAIL PROTECTED]
Sent: 8/11/2008 5:46:33 PM
To  : cf-talk@houseoffusion.com
Cc  : 
Subject : RE: ColdFusion8 silent installation

 > Prefer not to post to the public.

Then I can't really address why the admin API would/wouldn't be sufficient
for your use. It's worth noting that the admin API is an "approved" API,
while there are no guarantees about how the neo-*.xml files will work in the
future. Code that read these files in CF7 doesn't necessarily work in CF8,
for example, since data sources are now stored in neo-datasource.xml, but
were previously stored in neo-query.xml.

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;203748912;27390454;j

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


RE: HELP! SQL Injection Attack!

2008-08-11 Thread Jaime Metcher
If you block APNIC's range you're blocking the whole of the Asia/Pacific
region.  APNIC is not an ISP or large company, it's actually the regional
authority for internet addresses, so it owns *all* addresses in Asia/Pacific
- just like ARIN owns all addresses in North America and RIPE owns all
addresses in Europe.

Your lookup is resolving back to APNIC because you're using your regional
authority (in your case ARIN) and it will only resolve addresses in its own
range.  For all other addresses it will just refer you to the appropriate
regional authority.  If you then use *that* authority's whois, you'll get
the real story.

Oh, and if you try to automate this to look up lots of addresses, you're
breaking the terms of use of the whois server.  I'd imagine they'd block
you, but I've never tried it.

Jaime

> -Original Message-
> From: Brian Peddle [mailto:[EMAIL PROTECTED] 
> Sent: Saturday, 9 August 2008 4:28 AM
> To: CF-Talk
> Subject: Re: HELP! SQL Injection Attack!
> 
> Just curious as I have no seen this on an old asp site months 
> ago and now on CF.  Every IP lookup I do goes back to
> 
> OrgName:Asia Pacific Network Information Centre 
> OrgID:  APNIC 
> 
> Address:PO Box 2131
> City:   Milton
> StateProv:  QLD
> PostalCode: 4064
> Country:AU
> 
> 
> For ASP I ended up blocking full ranges of ips which helped 
> the issue quicker.
> 
> 
> 
> Paul Ihrig wrote:
> > what are you seeing if you limit email to unique IP's?
> > ours is way down if we do that.
> >
> > we are just sending unique ip's to one of our GREAT it guys 
> to insert 
> > into ban list in firewall.
> > should figure out how to auto add remove ip's
> >
> >
> >
> > On Fri, Aug 8, 2008 at 11:03 AM, Les Mizzell 
> <[EMAIL PROTECTED]> wrote:
> >   
> >>> http://www.actcfug.com/files/_SQLPrev.zip
> >>>   
> >> After putting this on a number of sites in just the last 
> two hours, I 
> >> am completely blown away by the number of attacks I'm seeing! Over 
> >> 2500 in less than 2 hours on just 3 sites.
> >>
> >> My poor mail server can't take all the extra incoming mail!!! I'm 
> >> going to have to mod the code to remove the warning email 
> that goes 
> >> out, and have it create a log file or something instead!
> >>
> >> I have to think to myself - is this payback for baiting all those 
> >> Nigerian scammers last week? Oh jezz
> >>
> >> This is unbelievable!
> >>
> >> Les
> >>
> >>
> >> 
> >
> > 
> 
> 

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

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


ColdFusion/IIS7

2008-08-11 Thread Sherif Abdou
Hello, I am running Windows Server 2008 and I get this Error when I test the 
connection (under Basic Settings)
The server is configured to use pass-through authentication with a built-in 
account to access the specified physical path. However, IIS Manager cannot 
verify whether the built-in account has access. Make sure that the application 
pool identity has Read access to the physical path. If this server is joined to 
a domain, and the application pool identity is NetworkService or LocalSystem, 
verify that \$ has Read access to the physical path. 
Then test these settings again.

Now the site works fine, except some URL when navigated to throw an Internal 
Server 500 Error. However, when I use the IE that is on Windows Server I can 
navigate to the Url and everything works so obviously it is a Permission Error. 
I spent 3 days on the problem trying every possible permission to the accounts 
and nothing works. It is a public website and not an intranet. Anyone know how 
to fix it or if there is a guide. 



  

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

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


Re: ColdFusion8 silent installation

2008-08-11 Thread Don L
Appreciate your thought though, Dave.
>Dave Watts, CTO, Fig Leaf Software
>Then I can't really address why the admin API would/wouldn't be sufficient
>for your use. It's worth noting that the admin API is an "approved" API,
>while there are no guarantees about how the neo-*.xml files will work in the
>future. Code that read these files in CF7 doesn't necessarily work in CF8,
>for example, since data sources are now stored in neo-datasource.xml, but
>were previously stored in neo-query.xml.
>
>Dave Watts, CTO, Fig Leaf Software, >http://www.figleaf.com/



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

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


RE: Database Sessions

2008-08-11 Thread Jaime Metcher
Rob,

With pooled connections you can force a request to stay on one connection by
wrapping your queries in cftransaction.  Otherwise, CF can and will swap
connections on you right in the middle of processing a request, and your
temp tables will go away.

Jaime 

> -Original Message-
> From: Robert Rawlins [mailto:[EMAIL PROTECTED] 
> Sent: Monday, 11 August 2008 9:01 PM
> To: CF-Talk
> Subject: RE: Database Sessions
> 
> Thanks James, that makes fair sense,
> 
> I'll check my connection pooling setting and have a play 
> around, I'll let you know how I get on.
> 
> Rob
> 
> -Original Message-
> From: James Holmes [mailto:[EMAIL PROTECTED]
> Sent: 11 August 2008 11:55
> To: CF-Talk
> Subject: Re: Database Sessions
> 
> CF does conenctions two ways:
> 
> 1) CF uses pooled connections if you have maintain 
> connections checked for the datasource, This means a 
> connection will stay open for quite some time, across 
> multiple web requests.
> 
> 2) If you don't maintain connections, CF opens a connection 
> at the first cfquery tag and keeps it open until the request 
> ends, so that all the queries in a single request use the 
> same connection.
> 
> So, at the very least, you should be able to use your 
> temporary table for everything in the page.
> 
> On Mon, Aug 11, 2008 at 5:42 PM, Robert Rawlins 
> <[EMAIL PROTECTED]> wrote:
> > Morning guys,
> >
> > Does anyone know how ColdFusion handles opening and closing 
> a database 
> > session? Is it for every cfquery tag set? Or for every 
> cftransaction 
> > tag set? Or is it less predictable than that?
> >
> > The reason I ask is that I've been looking at using 
> temporary tables 
> > in a procedure, as I understand it, SQL Server creates these in a 
> > session local variable. I need to know how long the temporary table 
> > will be accessible
> to
> > me in this session scope, can it spread across multiple queries? Or 
> > just
> the
> > single one?.
> 
> -- 
> 
> 
> 
> 

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

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


Lean, 'mean' cf8

2008-08-11 Thread Don L
Lean: 
Architechurally, ideally, developer has the option to pick what core features 
or family/families to deploy for a given cf server instance, hence, some 
'resource-heavy' features like PDF, image, reporting manipulation stuff may be 
left out... hence, less CPU requirements...

'mean':
Having been in this business for a while, I think I know nothing is that 
simple, I'm talking off my head or as if I knew what I'm talking about...

Note:
I may not be the first one to throw about this bit... a pity if some similar 
product went feature by feature comparison with cf8 and then it went under or I 
did not know enough about it hence the the 'pity' part is half-truth? 

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

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


RE: Way to View SQL Transaction history.. RE SQL Injection

2008-08-11 Thread Jaime Metcher
There's a bunch of transaction log analysis tools out there.  We use
Redgate's SQL Log Rescue.  

On a busy site the transaction logs are voluminous and take a long time to
analyze.  Depending on your situation you may actually be better off
analyzing the injected queries, perhaps running them on a test server.

Jaime

> -Original Message-
> From: jonese [mailto:[EMAIL PROTECTED] 
> Sent: Saturday, 9 August 2008 12:32 AM
> To: CF-Talk
> Subject: Way to View SQL Transaction history.. RE SQL Injection
> 
> Hey all,
> 
> So far we've been good but i'm helping some other companies 
> who have experience successful SQL injection attacks.
> 
> Is there any way to see the log files of every transaction 
> for a DB so we can see which queries failed and which ones 
> were a success?
> 
> jonese
> http://www.jonese.us
> http://twitter.com/jonese
> 
> 

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

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


RE: ColdFusion8 silent installation

2008-08-11 Thread Dave Watts
> Prefer not to post to the public.

Then I can't really address why the admin API would/wouldn't be sufficient
for your use. It's worth noting that the admin API is an "approved" API,
while there are no guarantees about how the neo-*.xml files will work in the
future. Code that read these files in CF7 doesn't necessarily work in CF8,
for example, since data sources are now stored in neo-datasource.xml, but
were previously stored in neo-query.xml.

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;203748912;27390454;j

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


Re: SVN in Production

2008-08-11 Thread denstar
On Mon, Aug 11, 2008 at 5:25 AM, Kym Kovan wrote:

> So our problem is how to push out changes to the Production boxes in a
> sensible fashion and hence our question that has raised such ire amongst
> one person at least :-)

I haven't been watching this thread too close, but...

SVN has something called "repository hooks", which fire when certain
actions occur.

So when I get a "commit" action, my repo does some stuff... looks at
what the thing was, where it was, etc., and the repo server does stuff
based on that information.

I use rsync, a tool designed specifically for keeping filesystems in
sync, to push the changes to the places they need to go.  It's fast,
and only copes what's changed.

This is not an uncommon setup, as you'll see if you research SVN
deployment, but I offer it, in case it hasn't been mentioned in the
thread already.

And you can use those repository hooks to fire off unit-tests, or
whatever else you need to do as part of your regiment.  Great stuff!

HIH

-- 
For a man to conquer himself is the first and noblest of all victories.
Plato

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

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


cfexecute batch file not working

2008-08-11 Thread Marcus Goedeker
I have a very simple batch file that i can run fine on its own, but can't seem 
to get it to work using cfexecute.  I used cfexecute a couple years ago and had 
no problems, but i can't seem to get it to work with this particular batch 
file.  The cfexecute code is very simple...

I can run the output in the command line also and it works perfectly.  For some 
reason coldfusion won't execute it. 

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

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


RE: Redirection old ID values to new ID values

2008-08-11 Thread Paul Giesenhagen
I am going to search on this method .. I am not server savvy, but should be 
able to figure it out.


-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED]
Sent: Monday, August 11, 2008 4:06 PM
To: CF-Talk
Subject: RE: Redirection old ID values to new ID values

Sounds like you just solved it. It should be pretty simple to add in one of
a few things:

IIS redirect based on the incoming ID.
ASP redirect to the new CF page.

-Original Message-
From: Paul Giesenhagen [mailto:[EMAIL PROTECTED]
Sent: Monday, August 11, 2008 3:51 PM
To: CF-Talk
Subject: Redirection old ID values to new ID values

I have a client whos old site (in ASP) is converting over to our CF
storefront.  We have the old ID values for their products and have stored
them alongside the new ID values for the new store.

I'm sure there is a way, but what would be the best solution when someone
tried to go to the old page http://www.whatever.com/somepage.asp?id=1234
and call a CF page to look up id=1234 to re-direct them to the correct page?

Is this possible?

Thanks!







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

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


RE: Redirection old ID values to new ID values

2008-08-11 Thread Paul Giesenhagen
If we do a 301 redirect, it should move the ranking over (at least that is my 
understanding) that a 301 redirect tells the engines that the page has moved 
and here it is.



-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED]
Sent: Monday, August 11, 2008 4:21 PM
To: CF-Talk
Subject: RE: Redirection old ID values to new ID values

One thing you also need to keep in mind is SEO ranking. If you do a redirect
your domain is going to lose ranking in search engines because you're
redirecting to a "different" page.

-Original Message-
From: Paul Giesenhagen [mailto:[EMAIL PROTECTED]
Sent: Monday, August 11, 2008 3:51 PM
To: CF-Talk
Subject: Redirection old ID values to new ID values

I have a client whos old site (in ASP) is converting over to our CF
storefront.  We have the old ID values for their products and have stored
them alongside the new ID values for the new store.

I'm sure there is a way, but what would be the best solution when someone
tried to go to the old page http://www.whatever.com/somepage.asp?id=1234
and call a CF page to look up id=1234 to re-direct them to the correct page?

Is this possible?

Thanks!







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

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


Re: SQL injection attack on House of Fusion

2008-08-11 Thread denstar
On Sun, Aug 10, 2008 at 6:35 AM, Bobby Hartsfield wrote:
> Suggesting and getting caught doing are 2 different things. IF
> writing/posting code were an issue though... then everyone who posted the
> full script would be worried ;-)

I hope it's just chicken-little, but it's happening to other countries, so...

If we continue down the path we've sorta started, defending against
this stuff (by spreading information, and/or using tools) will be just
as illegal as actually perpetrating crimes.

Just a little off-topic food for thought.  Fight for your right, pump
up the volume, etc..

/end public service announcement

-- 
email?  Hmmm... get me my aid!  -- Or better yet, just have the aid do
it for me.

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

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


RE: Redirection old ID values to new ID values

2008-08-11 Thread Andy Matthews
One thing you also need to keep in mind is SEO ranking. If you do a redirect
your domain is going to lose ranking in search engines because you're
redirecting to a "different" page. 

-Original Message-
From: Paul Giesenhagen [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 11, 2008 3:51 PM
To: CF-Talk
Subject: Redirection old ID values to new ID values

I have a client whos old site (in ASP) is converting over to our CF
storefront.  We have the old ID values for their products and have stored
them alongside the new ID values for the new store.

I'm sure there is a way, but what would be the best solution when someone
tried to go to the old page http://www.whatever.com/somepage.asp?id=1234
and call a CF page to look up id=1234 to re-direct them to the correct page?

Is this possible?

Thanks!





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

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


RE: Redirection old ID values to new ID values

2008-08-11 Thread Dave Phillips
Paul,

Can you change the old code?  If so, you could just add something like the
following to the top of each of the pages that use the ID's:

(I don't know ASP syntax, but I think you will get the picture)

asp code to access your new data source...
SELECT new_id from new_table where old_id = #url.id#
now do an ASP redirect to the new CF page with the NEW ID...

If you can't change the old code, you could right a CF page that you
redirect all pages to in IIS.  Then, it will look at the CGI scope to
determine the referrer (which would be the original page) and use that
information to determine where to send it on the new site.

Dave

-Original Message-
From: Paul Giesenhagen [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 11, 2008 4:00 PM
To: CF-Talk
Subject: RE: Redirection old ID values to new ID values

Also note, this is on an IIS Server and the customer is leary of adding
additional software to the server.


-Original Message-
From: Paul Giesenhagen [mailto:[EMAIL PROTECTED]
Sent: Monday, August 11, 2008 3:51 PM
To: CF-Talk
Subject: Redirection old ID values to new ID values

I have a client whos old site (in ASP) is converting over to our CF
storefront.  We have the old ID values for their products and have stored
them alongside the new ID values for the new store.

I'm sure there is a way, but what would be the best solution when someone
tried to go to the old page http://www.whatever.com/somepage.asp?id=1234
and call a CF page to look up id=1234 to re-direct them to the correct page?

Is this possible?

Thanks!







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

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


RE: Redirection old ID values to new ID values

2008-08-11 Thread Andy Matthews
Sounds like you just solved it. It should be pretty simple to add in one of
a few things:

IIS redirect based on the incoming ID.
ASP redirect to the new CF page. 

-Original Message-
From: Paul Giesenhagen [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 11, 2008 3:51 PM
To: CF-Talk
Subject: Redirection old ID values to new ID values

I have a client whos old site (in ASP) is converting over to our CF
storefront.  We have the old ID values for their products and have stored
them alongside the new ID values for the new store.

I'm sure there is a way, but what would be the best solution when someone
tried to go to the old page http://www.whatever.com/somepage.asp?id=1234
and call a CF page to look up id=1234 to re-direct them to the correct page?

Is this possible?

Thanks!





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

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


RE: Redirection old ID values to new ID values

2008-08-11 Thread Paul Giesenhagen
Also note, this is on an IIS Server and the customer is leary of adding 
additional software to the server.


-Original Message-
From: Paul Giesenhagen [mailto:[EMAIL PROTECTED]
Sent: Monday, August 11, 2008 3:51 PM
To: CF-Talk
Subject: Redirection old ID values to new ID values

I have a client whos old site (in ASP) is converting over to our CF storefront. 
 We have the old ID values for their products and have stored them alongside 
the new ID values for the new store.

I'm sure there is a way, but what would be the best solution when someone tried 
to go to the old page http://www.whatever.com/somepage.asp?id=1234  and call a 
CF page to look up id=1234 to re-direct them to the correct page?

Is this possible?

Thanks!





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

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


Redirection old ID values to new ID values

2008-08-11 Thread Paul Giesenhagen
I have a client whos old site (in ASP) is converting over to our CF storefront. 
 We have the old ID values for their products and have stored them alongside 
the new ID values for the new store.

I'm sure there is a way, but what would be the best solution when someone tried 
to go to the old page http://www.whatever.com/somepage.asp?id=1234  and call a 
CF page to look up id=1234 to re-direct them to the correct page?

Is this possible?

Thanks!



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

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


Re: Using CFLoop to Define Variables

2008-08-11 Thread Will Tomlinson
>
>
>will also work.
>
>On Mon, Aug 11, 2008 at 1:23 PM, Jeanmarie Richardson <[EMAIL PROTECTED]>wrote:

I always thought this was a standard way to write it. 



The other ways seem a little tacky. But that's just me. 

Will 

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

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


Re: Using CFLoop to Define Variables

2008-08-11 Thread Sonny Savage
I know... "six of one", but here's how I like to do it:



On Mon, Aug 11, 2008 at 3:42 PM, Brian Kotek <[EMAIL PROTECTED]> wrote:

> 
>
> will also work.
>
>


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

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


Re: ColdFusion8 silent installation

2008-08-11 Thread Don L
Prefer not to post to the public.
>> Sure.  But there's a reason to add a cf8 datasource without 
>> using the admin API.
>
>What is that reason?


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

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


Re: ColdFusion8 silent installation

2008-08-11 Thread Andy Allan
Yeah, I dunno why Google hasn't picked up on the CF8 link yet. It was
one of the support guys that pointed it to me when I was hassling them
:)

A lot of the attributes are optional. For example, if you don't
include the Report Builder one, then the Report Builder will be
installed by default.

Andy

2008/8/11 Don L <[EMAIL PROTECTED]>:
> Thank you, Andy, I initially did not find the link about cf8 silient 
> installation.
> The missing attribute may also imply that some of these attributes are 
> optional...
>> ColdFusion8 silent installation - Andy Allan
>> The main differences between the CF7 and CF8 silent installs are the
>> properties for things such as LCDS and the .NET bridge.
>>
>> CF7 http://www.adobe.com/go/87bd20f4
>> CF8 http://www.adobe.com/go/kb402572
>>
>> The one omission that both have is the property for installing the
>> Report Builder.
>>
>> SILENT_INSTALL_REPORTBUILDER=true|false
>>
>> Andy
>> ColdFusion8 silent installation - Andy Allan
>
>
> 

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

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


Re: Using CFLoop to Define Variables

2008-08-11 Thread Brian Kotek


will also work.

On Mon, Aug 11, 2008 at 1:23 PM, Jeanmarie Richardson <[EMAIL PROTECTED]>wrote:

> Hello -- I am not sure if I am approaching this correctly BUT I have a list
> of 22 possible items where only 5 can be selected.  I then need to assign
> these five items to a list of variables - SC1, SC2, SC3, SC4, SC5.  I am
> trying to use CFSet within a CFLOOP tag (which loops through the list) to
> set up these variables but it is failing.  Could somone point me in the
> right direction?  Below is the CFLoop code I have been using.
>
> 
>
>
>   
>
>
> 
>
> 

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

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


RE: ColdFusion8 silent installation

2008-08-11 Thread Dave Watts
> Sure.  But there's a reason to add a cf8 datasource without 
> using the admin API.

What is that reason?

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;203748912;27390454;j

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


Re: cfqueryparam and bit field

2008-08-11 Thread Scott Stewart
Y'know, this has wound up being one of those "Ghost in the machine" things.
I back pedaled and took all of the cfqueryparams out of the query and 
ran it a couple of times to make sure that the sql was sound, it was.
Then I added the query params back in, starting with the char fields, 
they worked, then I added the cfquery params to the date fields, they 
worked.
Lastly I added them back to the bit fields.. it all works.

I did make sure that the incoming cfarguments were defined as boolean, 
for the corresponding bit fields, but other than that I can only assume 
that I cleared something funky out of cache somewhere

Carl Von Stetten wrote:
> Scott,
>
> What cfsqltype attribute are you using in your cfqueryparam?  You might 
> try "cf_sql_bit".  Also, I had to write a custom function to generate 
> bit values for all boolean values.  Here's my function:
>
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
> HTH,
> Carl
>
> Scott Stewart wrote:
>   
>> The cfqueryparam tags work fine with the character fields, but they're 
>> returning true or false as opposed to 1 or 0, even though 1 or 0 is 
>> passed to it from the form.
>>
>> Any ideas?
>>
>> Scott Stewart wrote:
>>   
>> 
>>> That's cool, I appreciate the input.
>>>
>>> thanks
>>>
>>> sas
>>>
>>> Craig Dudley wrote:
>>>   
>>> 
>>>   
 Had a good look but can't find the examples, it's fairly easy to set up
 anyway.

 The MS SQL Server JDBC driver is three/jar fiels I think? Just drop them
 into \ColdFusion8\runtime\jre\lib\ext and restart CF, the .jar should then
 appear in the big CF Server Java Class Path box in settings summary in CF
 Admin.

 When you add a datasource, elect other from the driver dropdown it will ask
 you for a JDBC URL, Driver Class and Driver Name. All of which is standard
 JDBC stuff but there are docs in the MS download package I think, it's not
 complex either way but sorry I couldn't find my examples as it might have
 saved some time.

 Craig.

 -Original Message-
 From: Scott Stewart [mailto:[EMAIL PROTECTED] 
 Sent: 11 August 2008 17:14
 To: CF-Talk
 Subject: Re: CF 8 Built in SQL Server drivers vs. MS SQL Server 2000 SP3
 Driver

 Thanks Craig

 The higher ups have deemed this a "last resort"... so if it comes to 
 this I'll put up some results.
 I'm pursuing what could be an issue with cfqueryparam

 Craig Dudley wrote:
   
 
   
 
> Not for a while, from memory you just drop the three MS .jar's somewhere
> 
>   
> 
>   
 in
   
 
   
 
> CF's classpath and restart CF to install and creating datasources becomes
> 
>   
> 
>   
 a
   
 
   
 
> bit more dificult, I'll see if I can dig up an example for you.
>
> I seem to remember that performance wasn't all that great, in fact, CF7's
> built in drivers were faster in most of my test cases. Sorry I haven't
> 
>   
> 
>   
 tried
   
 
   
 
> them on CF8.
>
> The MS drivers don't cause any issues with CF's built in drivers though so
> why not give it a try on your dev box?
>
> Craig.
>
> -Original Message-
> From: Scott Stewart [mailto:[EMAIL PROTECTED] 
> Sent: 11 August 2008 15:10
> To: CF-Talk
> Subject: CF 8 Built in SQL Server drivers vs. MS SQL Server 2000 SP3
> 
>   
> 
>   
 Driver
   
 
   
 
> Hey all,
>
> I've run into an issue that I need opinions on. We've run into some SQL 
> server issues, where MS is saying "patch the driver".
> Has anyone used the MS SQL Server 2000 SP3 JDBC driver in place of the 
> one shipped with CF8?
> Has it cleared up 8180 errors?
> Any performance gains/losses?
> Any "gotchas"?
>
> thanks
>
> sas
>
>   
> 
>   
> 
>   
   
 
   
 
>>>   
>>> 
>>>   
>>   
>> 
>
>
> 

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

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


Re: select problem

2008-08-11 Thread Alan Rother
What browser are you using?

Some browsers like to "help" their users by remembering the most recent
"state" (what was selected in a select box, or typed in a text field) and
defaulting to that when you hit a form again.

This will even override the "Selected" attribute of a select box.


I know FireFox can be guilty of this. It's real simple, view the source of
your rendered page, as long as the item in the select box that should be set
to selected has the selected attribute, and no other item in the list has
it, you succeeded. However, the browser can screw you from a presentation
standpoint if it decides something else should be selected.

Clearing the cache should help.

=]
-- 
Alan Rother
Adobe Certified Advanced ColdFusion MX 7 Developer
Manager, Phoenix Cold Fusion User Group, AZCFUG.org


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

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


Re: select problem

2008-08-11 Thread Eclectic User
Hi Dave! Thanks for responding. There is no NULL value in the country table and 
in the source code, United States is 'selected' but its not selected on the 
page. I am not getting why its happening. Please guide me if you know the 
reason.

 
>Have you looked at your 'view source' code to see if 'selected' is every
>being generated?  
>
>Are there any records in your table that have an empty cty_iso2 column?
>
>Dave
>  
>  Country
> 
>   
>
> getCountries.cty_iso2>selectedlen(trim(variables.addr_country)) and getCountries.cty_iso2 eq
>'US'>selected>#getCountries.cty_name#   
>
>   
>  
>  
>
>and I am using this query 
>
>
>   SELECT  cty_iso2, cty_name   
>   FROMref_countries   
>   ORDER BY   cty_name 
> 
>but unfortunately, the correct country is not getting selected. If a country
>value is there, I want it to be selected, if nothing is there, I want United
>States as default. The column cty_iso2 has two letter code for the country
>like 'US' and cty_name contains the whole name like United States of
>America. I am not able to pin point what's wrong with this code. Also, I
>convert all the form fields values into variables scope before the start of
>the page. Please help. Thanks for help in advance. 

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

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


RE: Using CFLoop to Define Variables

2008-08-11 Thread Dave Phillips
> From http://www.cfquickdocs.com/?getDoc=SetVariable#SetVariable:
>
>Description
>This function is no longer required in well-formed ColdFusion pages.

Well, that's good news.  So all it comes down to then is preference.

Although I do second Yuliang's comment that using an array might be better
design.

Dave


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

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


Re: ColdFusion8 silent installation

2008-08-11 Thread Don L
Sure.  But there's a reason to add a cf8 datasource without using the admin API.
>ColdFusion8 silent installation - Dave Watts, CTO, Fig Leaf Software
>> Thanks, Dave.  Another question, it looks like one may also 
>> be able to create a cf8 data source dynamically, and the 
>> neo-datasource.xml file seems to be the first 'crack' or a 
>> better way to do it?
>
>I would prefer to use the admin API to do this, I think.
>
>ColdFusion8 silent installation - Dave Watts, CTO, Fig Leaf Software


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

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


Re: ColdFusion8 silent installation

2008-08-11 Thread Don L
Thank you, Andy, I initially did not find the link about cf8 silient 
installation.
The missing attribute may also imply that some of these attributes are 
optional...
> ColdFusion8 silent installation - Andy Allan
> The main differences between the CF7 and CF8 silent installs are the
> properties for things such as LCDS and the .NET bridge.
> 
> CF7 http://www.adobe.com/go/87bd20f4
> CF8 http://www.adobe.com/go/kb402572
> 
> The one omission that both have is the property for installing the
> Report Builder.
> 
> SILENT_INSTALL_REPORTBUILDER=true|false
> 
> Andy
> ColdFusion8 silent installation - Andy Allan


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

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


Re: Using CFLoop to Define Variables

2008-08-11 Thread C. Hatton Humphrey
> Regarding :  Since this is an 'evaluation',
> and I have heard that 'evaluations' cost more performance wise than using a
> setVariable() with a concatenated variable name, I prefer to use the first
> method I indicated above.  However, I can't confirm this performance issue,
> although maybe someone else on the list has done some performance testing
> with 'evaluations' and can comment on that.

>From http://www.cfquickdocs.com/?getDoc=SetVariable#SetVariable:

Description
This function is no longer required in well-formed ColdFusion pages.

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

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


Re: cfqueryparam and bit field

2008-08-11 Thread Carl Von Stetten
Scott,

What cfsqltype attribute are you using in your cfqueryparam?  You might 
try "cf_sql_bit".  Also, I had to write a custom function to generate 
bit values for all boolean values.  Here's my function:






















HTH,
Carl

Scott Stewart wrote:
> The cfqueryparam tags work fine with the character fields, but they're 
> returning true or false as opposed to 1 or 0, even though 1 or 0 is 
> passed to it from the form.
>
> Any ideas?
>
> Scott Stewart wrote:
>   
>> That's cool, I appreciate the input.
>>
>> thanks
>>
>> sas
>>
>> Craig Dudley wrote:
>>   
>> 
>>> Had a good look but can't find the examples, it's fairly easy to set up
>>> anyway.
>>>
>>> The MS SQL Server JDBC driver is three/jar fiels I think? Just drop them
>>> into \ColdFusion8\runtime\jre\lib\ext and restart CF, the .jar should then
>>> appear in the big CF Server Java Class Path box in settings summary in CF
>>> Admin.
>>>
>>> When you add a datasource, elect other from the driver dropdown it will ask
>>> you for a JDBC URL, Driver Class and Driver Name. All of which is standard
>>> JDBC stuff but there are docs in the MS download package I think, it's not
>>> complex either way but sorry I couldn't find my examples as it might have
>>> saved some time.
>>>
>>> Craig.
>>>
>>> -Original Message-
>>> From: Scott Stewart [mailto:[EMAIL PROTECTED] 
>>> Sent: 11 August 2008 17:14
>>> To: CF-Talk
>>> Subject: Re: CF 8 Built in SQL Server drivers vs. MS SQL Server 2000 SP3
>>> Driver
>>>
>>> Thanks Craig
>>>
>>> The higher ups have deemed this a "last resort"... so if it comes to 
>>> this I'll put up some results.
>>> I'm pursuing what could be an issue with cfqueryparam
>>>
>>> Craig Dudley wrote:
>>>   
>>> 
>>>   
 Not for a while, from memory you just drop the three MS .jar's somewhere
 
   
 
>>> in
>>>   
>>> 
>>>   
 CF's classpath and restart CF to install and creating datasources becomes
 
   
 
>>> a
>>>   
>>> 
>>>   
 bit more dificult, I'll see if I can dig up an example for you.

 I seem to remember that performance wasn't all that great, in fact, CF7's
 built in drivers were faster in most of my test cases. Sorry I haven't
 
   
 
>>> tried
>>>   
>>> 
>>>   
 them on CF8.

 The MS drivers don't cause any issues with CF's built in drivers though so
 why not give it a try on your dev box?

 Craig.

 -Original Message-
 From: Scott Stewart [mailto:[EMAIL PROTECTED] 
 Sent: 11 August 2008 15:10
 To: CF-Talk
 Subject: CF 8 Built in SQL Server drivers vs. MS SQL Server 2000 SP3
 
   
 
>>> Driver
>>>   
>>> 
>>>   
 Hey all,

 I've run into an issue that I need opinions on. We've run into some SQL 
 server issues, where MS is saying "patch the driver".
 Has anyone used the MS SQL Server 2000 SP3 JDBC driver in place of the 
 one shipped with CF8?
 Has it cleared up 8180 errors?
 Any performance gains/losses?
 Any "gotchas"?

 thanks

 sas

   
 
   
 
>>>   
>>> 
>>>   
>>   
>> 
>
>   


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

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


Re: Using CFLoop to Define Variables

2008-08-11 Thread Yuliang Ruan
design wise, would you be better putting those in an array instead of seperate 
variables? 

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

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


RE: Using CFLoop to Define Variables

2008-08-11 Thread Dave Phillips
Jeanmarie,

Another way is like this:



Or for more cfscript purists:


loop here... {
setVariable("SC"&x,listElement);
}

Regarding :  Since this is an 'evaluation',
and I have heard that 'evaluations' cost more performance wise than using a
setVariable() with a concatenated variable name, I prefer to use the first
method I indicated above.  However, I can't confirm this performance issue,
although maybe someone else on the list has done some performance testing
with 'evaluations' and can comment on that.

Dave Phillips

-Original Message-
From: Jeanmarie Richardson [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 11, 2008 12:32 PM
To: CF-Talk
Subject: Re: Using CFLoop to Define Variables

Thanks Josh!! Not sure why I didn't try that :-)

>Try putting quotes around your variable:
>
>
>
>-- Josh
>
>> 


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

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


cfqueryparam and bit field (was:Re: CF 8 Built in SQL Server drivers vs. MS SQL Server 2000 SP3 Driver)

2008-08-11 Thread Scott Stewart
The cfqueryparam tags work fine with the character fields, but they're 
returning true or false as opposed to 1 or 0, even though 1 or 0 is 
passed to it from the form.

Any ideas?

Scott Stewart wrote:
> That's cool, I appreciate the input.
>
> thanks
>
> sas
>
> Craig Dudley wrote:
>   
>> Had a good look but can't find the examples, it's fairly easy to set up
>> anyway.
>>
>> The MS SQL Server JDBC driver is three/jar fiels I think? Just drop them
>> into \ColdFusion8\runtime\jre\lib\ext and restart CF, the .jar should then
>> appear in the big CF Server Java Class Path box in settings summary in CF
>> Admin.
>>
>> When you add a datasource, elect other from the driver dropdown it will ask
>> you for a JDBC URL, Driver Class and Driver Name. All of which is standard
>> JDBC stuff but there are docs in the MS download package I think, it's not
>> complex either way but sorry I couldn't find my examples as it might have
>> saved some time.
>>
>> Craig.
>>
>> -Original Message-
>> From: Scott Stewart [mailto:[EMAIL PROTECTED] 
>> Sent: 11 August 2008 17:14
>> To: CF-Talk
>> Subject: Re: CF 8 Built in SQL Server drivers vs. MS SQL Server 2000 SP3
>> Driver
>>
>> Thanks Craig
>>
>> The higher ups have deemed this a "last resort"... so if it comes to 
>> this I'll put up some results.
>> I'm pursuing what could be an issue with cfqueryparam
>>
>> Craig Dudley wrote:
>>   
>> 
>>> Not for a while, from memory you just drop the three MS .jar's somewhere
>>> 
>>>   
>> in
>>   
>> 
>>> CF's classpath and restart CF to install and creating datasources becomes
>>> 
>>>   
>> a
>>   
>> 
>>> bit more dificult, I'll see if I can dig up an example for you.
>>>
>>> I seem to remember that performance wasn't all that great, in fact, CF7's
>>> built in drivers were faster in most of my test cases. Sorry I haven't
>>> 
>>>   
>> tried
>>   
>> 
>>> them on CF8.
>>>
>>> The MS drivers don't cause any issues with CF's built in drivers though so
>>> why not give it a try on your dev box?
>>>
>>> Craig.
>>>
>>> -Original Message-
>>> From: Scott Stewart [mailto:[EMAIL PROTECTED] 
>>> Sent: 11 August 2008 15:10
>>> To: CF-Talk
>>> Subject: CF 8 Built in SQL Server drivers vs. MS SQL Server 2000 SP3
>>> 
>>>   
>> Driver
>>   
>> 
>>> Hey all,
>>>
>>> I've run into an issue that I need opinions on. We've run into some SQL 
>>> server issues, where MS is saying "patch the driver".
>>> Has anyone used the MS SQL Server 2000 SP3 JDBC driver in place of the 
>>> one shipped with CF8?
>>> Has it cleared up 8180 errors?
>>> Any performance gains/losses?
>>> Any "gotchas"?
>>>
>>> thanks
>>>
>>> sas
>>>
>>>   
>>> 
>>>   
>>   
>> 
>
>   

-- 
--
Scott Stewart
ColdFusion Developer

Office of Research Information Systems
Research & Economic Development
University of North Carolina at Chapel Hill

Phone:(919)843-2408
Fax: (919)962-3600
Email: [EMAIL PROTECTED]



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

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


RE: select problem

2008-08-11 Thread Dave Phillips
Have you looked at your 'view source' code to see if 'selected' is every
being generated?  

Are there any records in your table that have an empty cty_iso2 column?

Dave
-Original Message-
From: Eclectic User [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 11, 2008 1:07 PM
To: CF-Talk
Subject: select problem

  
  Country
 
   

 selectedselected>#getCountries.cty_name#   

   
  
  

and I am using this query 


   SELECT  cty_iso2, cty_name   
   FROMref_countries   
   ORDER BY   cty_name 
 
but unfortunately, the correct country is not getting selected. If a country
value is there, I want it to be selected, if nothing is there, I want United
States as default. The column cty_iso2 has two letter code for the country
like 'US' and cty_name contains the whole name like United States of
America. I am not able to pin point what's wrong with this code. Also, I
convert all the form fields values into variables scope before the start of
the page. Please help. Thanks for help in advance. 



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

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


select problem

2008-08-11 Thread Eclectic User
  
  Country
 
   

 selectedselected>#getCountries.cty_name#   
   
  
  

and I am using this query 


   SELECT  cty_iso2, cty_name   
   FROMref_countries   
   ORDER BY   cty_name 
 
but unfortunately, the correct country is not getting selected. If a country 
value is there, I want it to be selected, if nothing is there, I want United 
States as default. The column cty_iso2 has two letter code for the country like 
'US' and cty_name contains the whole name like United States of America. I am 
not able to pin point what's wrong with this code. Also, I convert all the form 
fields values into variables scope before the start of the page. Please help. 
Thanks for help in advance. 

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

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


RE: FCKeditor

2008-08-11 Thread William Seiter
cheers

::-Original Message-
::From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
::Sent: Monday, August 11, 2008 10:33 AM
::To: CF-Talk
::Subject: RE: FCKeditor
::
::I readded this virtual directory and this time it works. Thanks for the
::help.
::
::
::-Original Message-
::From: William Seiter [mailto:[EMAIL PROTECTED]
::Sent: Monday, August 11, 2008 12:03 PM
::To: CF-Talk
::Subject: RE: FCKeditor
::
::If you were to use a mailto:[EMAIL PROTECTED]
Sent: Monday, August 11, 2008 8:58 AM
To: CF-Talk
Subject: FCKeditor

Here is my code yet the editor does not seem to work correctly. No
toolbar is visible etc.





#Comments#





Any ideas where I should start to look for problems?








::
::
::
::

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

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


Re: Using CFLoop to Define Variables

2008-08-11 Thread Jeanmarie Richardson
Thanks Josh!! Not sure why I didn't try that :-)

>Try putting quotes around your variable:
>
>
>
>-- Josh
>
>> 

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

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


RE: FCKeditor

2008-08-11 Thread webmaster
I readded this virtual directory and this time it works. Thanks for the
help.


-Original Message-
From: William Seiter [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 11, 2008 12:03 PM
To: CF-Talk
Subject: RE: FCKeditor

If you were to use a mailto:[EMAIL PROTECTED]
::Sent: Monday, August 11, 2008 8:58 AM
::To: CF-Talk
::Subject: FCKeditor
::
::Here is my code yet the editor does not seem to work correctly. No
::toolbar is visible etc.
::
::
::
::
::
::#Comments#
::
::
::
::
::
::Any ideas where I should start to look for problems?
::
::
::
::
::
::
::
::



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

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


Re: Using CFLoop to Define Variables

2008-08-11 Thread Josh Nathanson
Try putting quotes around your variable:



-- Josh

- Original Message - 
From: "Jeanmarie Richardson" <[EMAIL PROTECTED]>
To: "CF-Talk" 
Sent: Monday, August 11, 2008 10:23 AM
Subject: Using CFLoop to Define Variables


> Hello -- I am not sure if I am approaching this correctly BUT I have a 
> list of 22 possible items where only 5 can be selected.  I then need to 
> assign these five items to a list of variables - SC1, SC2, SC3, SC4, SC5. 
> I am trying to use CFSet within a CFLOOP tag (which loops through the 
> list) to set up these variables but it is failing.  Could somone point me 
> in the right direction?  Below is the CFLoop code I have been using.
>
> 
> 
>
>   
>
>
> 
>
> 

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

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


Using CFLoop to Define Variables

2008-08-11 Thread Jeanmarie Richardson
Hello -- I am not sure if I am approaching this correctly BUT I have a list of 
22 possible items where only 5 can be selected.  I then need to assign these 
five items to a list of variables - SC1, SC2, SC3, SC4, SC5.  I am trying to 
use CFSet within a CFLOOP tag (which loops through the list) to set up these 
variables but it is failing.  Could somone point me in the right direction?  
Below is the CFLoop code I have been using.




   


 

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

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


Re: SVN in Production

2008-08-11 Thread Jochem van Dieten
Kym Kovan wrote:
> Yes, and that lends me to the thought that the best scenario for our 
> particular problem would be to have an exported copy on each production 
> box (yes, they are clustered) and use a standard diff tool from there to 
> flip the changes over to the actual production site.

I can not imagine any scenario where diff / patch / merge ever is the 
best way to deploy production code. Because what you would do with diff 
/ patch / merge is either an svn export of tag X to some temporary 
location and then make your production location equal to the temporary 
location, or you do something more complex where you do an actual merge 
and choose to apply some changesets and not others.

In the first case, you should just do an svn export followed by a 
filesystem move. Not only is that much easier, in most modern 
filesystems a move is an atomic operation so it is much safer. (Or just 
point your mapping/webroot to the new version you exported. Talk about 
an easy rollback scenario :)

The second case is something you just shouldn't do. Because what you are 
really saying is "compare version A and B and apply the changes to 
version C". That means that the final outcome of the process depends on 
what is in position on the final location already and if some file got 
corrupted in that power failure three months ago, it will still be 
corrupted after the new release. In that scenario it is an absolute 
nightmare to guarantee that what you tested in QA is the same as what 
you deployed in production.

If you deploy code in production you always want it to be an unchanged 
export of some unique svn URL (preferably a tag). Even a checkout with 
all the extra files is better then a local merge.

Jochem

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

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


RE: FCKeditor

2008-08-11 Thread webmaster
No this is not working actually. So this means I just need to add a
mapping in IIS for the CFIDE directory for this site and it should work?
I think I tried that with no joy.

-Original Message-
From: William Seiter [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 11, 2008 12:03 PM
To: CF-Talk
Subject: RE: FCKeditor

If you were to use a mailto:[EMAIL PROTECTED]
::Sent: Monday, August 11, 2008 8:58 AM
::To: CF-Talk
::Subject: FCKeditor
::
::Here is my code yet the editor does not seem to work correctly. No
::toolbar is visible etc.
::
::
::
::
::
::#Comments#
::
::
::
::
::
::Any ideas where I should start to look for problems?
::
::
::
::
::
::
::
::



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

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


  1   2   >