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,
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,
cfset variables['SC#x#'] = listElement /
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
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.
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
I know... six of one, but here's how I like to do it:
cfset variables['SC x] = listElement
On Mon, Aug 11, 2008 at 3:42 PM, Brian Kotek [EMAIL PROTECTED] wrote:
cfset variables['SC#x#'] = listElement /
will also work.
cfset variables['SC#x#'] = listElement /
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.
cfset variables['SC' x] = listElement /
The other ways seem a little tacky. But that's just me.
Will
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
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
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
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
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
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
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
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
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...cfexecute
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
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
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
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':
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:
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
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
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
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:
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
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
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
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
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
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
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
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
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
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
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
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
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
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.
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
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
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
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
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
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
cfldap action=query name=qryLDAPUser start=dc=domain,dc=com
attributes=uid,cn,sn,ou,o,c,dn
filter=(uid=#arguments.email#)
server = my LDAP server address password=server password
username=username
cfif qryLDAPUser.recordcount
cfldap
server = my LDAP server address
action=delete
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
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).
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
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
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
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
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
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
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,
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
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
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
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
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
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
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
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
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
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
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
cfldap action=query name=qryLDAPUser
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
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?
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:
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.
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
Thanks for the research, James.
Also, thanks for submitting the bug.
~Brad
- Original Message -
From: James Holmes [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Monday, August 11, 2008 10:25 PM
Subject: Re: XMLSearch not thread safe
Our testing confirms your
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
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
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
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
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
:-( 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
101 - 178 of 178 matches
Mail list logo