RE: SVN in Production - back to the original question

2008-08-12 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

Re: SVN in Production

2008-08-12 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

RE: SVN in Production

2008-08-12 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

Re: Lean, 'mean' cf8

2008-08-12 Thread Jochem van Dieten
Gerald Guido 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. The memory doesn't go to JRun, it goes to ColdFusion. My CF 8 JRun instances eats 200 megs on

Re: cfexecute batch file not working

2008-08-12 Thread Jochem van Dieten
Marcus Goedeker wrote: 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

Re: SVN in Production

2008-08-12 Thread Jochem van Dieten
Brian Kotek wrote: 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

Re: SVN in Production

2008-08-12 Thread Jochem van Dieten
Andrew Scott wrote: 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. That is correct. Which is why it is a best practice to always tag your code and deploy a tag. Deployment scripts should

Verity - Error in search engine library

2008-08-12 Thread Bart Buijze
I hava a couple of collections on a CF8-machine. Since a couple of months I regularly get the message Error opening a workspace.: com.verity.organize.WorkSpaceOpenException: All available workers are allocated to open workspaces. Increase ODK Sync Threads to allow more active workspaces.

Verity - Error in search library - all available workers allocated

2008-08-12 Thread Bart Buijze
I hava a couple of collections on a CF8-machine. Since a couple of months I regularly get the message Error opening a workspace.: com.verity.organize.WorkSpaceOpenException: All available workers are allocated to open workspaces. Increase ODK Sync Threads to allow more active workspaces.

Re: SVN in Production

2008-08-12 Thread Jochem van Dieten
Andrew Scott wrote: 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

Re: SVN in Production

2008-08-12 Thread denstar
On Mon, Aug 11, 2008 at 11:56 PM, Andrew Scott wrote: :-( 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? Well I guess a real-world example would be, what, 4 tickets, 3 of which are

Re: SQL injection attack on House of Fusion

2008-08-12 Thread denstar
On Mon, Aug 11, 2008 at 9:01 PM, Andrew Scott wrote: 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... While I don't think we'll get away from SQL anytime soon, I have managed to get

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

2008-08-12 Thread Craig Dudley
Set your queryparam to sqltype 'CF_SQL_TINYINT' ? It's cheating I know, but should work. To be honest I have a bad habit of using tinyint's in the database too instead of bit fields, just so I can group by that field if I really have to. Hope that helps. Craig. -Original Message-

RE: CFEclipse code folding; not working

2008-08-12 Thread Kevan Stannard
Hi Dominic In the version of CFEclipse we are using the code folding does not work in files that have nested CF comments. Once the nested comments have been removed then the fold icons show up. Kevan -Original Message- From: Dominic Watson [mailto:[EMAIL PROTECTED] Sent: Monday, 11

Re: Coldfusion Flex app help?!

2008-08-12 Thread David Wilson
Use the Timer class and run your security call every X minutes on an interval. !k We do something similar to Brad. When the user is doing things we have a function that updates a login_security table to show they are still active. We have a Scheduled task that checks the table and clears it once

Re: Lean, 'mean' cf8

2008-08-12 Thread Larry Lyons
Point being Install Adobe CF on Win and it eats tons of ram, on Apache or IIS, on Jrun. You could always try an alternative J2EE engine like Tomcat, Jetty or JBoss. If Jrun is being the resource hog, there should be a difference using an alternative JAS. regards, larry

ReFind - help with regex (ColdfusionMX 7)

2008-08-12 Thread cf coder
Hello everybody, I need your help with regular expressions. I want to loop through a directory in my codebase and return a list of href tags. The href value for ex must be in this format. #request.udf.geturl(NUMERIC VALUE,STRING)# a href=#request.udf.geturl(111,pagename)# class=btn

Re: CFEclipse code folding; not working

2008-08-12 Thread Dana Kowalski
I had the exact same issue once on a laptop. CFEclipse worked fine everywhere else but this one machine. Europa fixed the problem in this case. I have no idea why, never bothered to figure it out hah. Good luck! p.s. the same machine slowed to a crawl the first time I put aptana on there.

RE: ColdFusion8 silent installation

2008-08-12 Thread Dave Watts
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. I don't see any of the admin API CFCs on a CF 6.1 server. Where are they? Dave Watts,

Re: CFEclipse code folding; not working

2008-08-12 Thread Dominic Watson
Thanks folks, The nested comments was not an issue in this case (though I'm sure it would be if there were, thanks for the tip). I've gone back to europa with just cfelcipse and now the ftp won't work for me (we have a horrid setup at work that requires me to do all code via ftp). I then ran out

[Macromedia][SQLServer JDBC Driver]Invalid parameter binding(s).

2008-08-12 Thread Scott Stewart
Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit I'm posting values to a ColdFusion component from a form via an action page action page code: http://cfm.pastebin.com/d573539dd When the function receives the data it throws one of two errors: If I set

RE: [Macromedia][SQLServer JDBC Driver]Invalid parameter binding( s).

2008-08-12 Thread Dave Watts
When the function receives the data it throws one of two errors: If I set a type for group_id (as int) it throws an error saying that group_id is not of type int. (I've since discovered that ColdFusion passes almost all form values as strings). If I remove the type from the CFArgument I

Re: SVN in Production

2008-08-12 Thread Brian Kotek
Sure, that makes perfect sense Jochem. I was just outlining how I've done this and how I think most people would probably approach it. Obviously you need to do it in the way that makes sense for your application and your environment. Whatever the steps involved, the key is to make it as automatic

Re: SVN in Production

2008-08-12 Thread Brian Kotek
On Tue, Aug 12, 2008 at 3:29 AM, Jochem van Dieten [EMAIL PROTECTED]wrote: That is correct. Which is why it is a best practice to always tag your code and deploy a tag. Deployment scripts should not do merging, they should only deploy what has already been merged, tagged and tested. Thanks,

Apache with coldfusion, using seo urls

2008-08-12 Thread Stephen Adams
Hi, I'm trying to set up my laptop with Apache and CF, so far I have everything working the only problem is that the site I'm working on uses SEO url's e.g. mysite/myaccount and this will load the index.cfm page of the my account folder. This also means that all the includes and links to

RE: ColdFusion8 silent installation

2008-08-12 Thread Dave Watts
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? I'm not sure I understand the question. But if a case doesn't demand creating a datasource on the fly, you could presumably just do it manually within the CF

Re: cfexecute batch file not working

2008-08-12 Thread Marcus Goedeker
Try: cfexecute name=c:\windows\system32\cmd.exe arguments=c:\test.bat outputfile=c:\output.txt / Jochem Thanks for the reply. I tried it and it doesn't work. It doesn't output anything in the file either. Marcus

RE: cfexecute batch file not working

2008-08-12 Thread Craig Dudley
Is CF logged in as a service or a user? -Original Message- From: Marcus Goedeker [mailto:[EMAIL PROTECTED] Sent: 12 August 2008 14:42 To: CF-Talk Subject: Re: cfexecute batch file not working Try: cfexecute name=c:\windows\system32\cmd.exe arguments=c:\test.bat

Re: Redirection old ID values to new ID values

2008-08-12 Thread Claude Schneegans
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. If you are not running other ASP applications on this server, you could also set IIS to send ASP

Re: cfexecute batch file not working

2008-08-12 Thread Claude Schneegans
I have a very simple batch file Don't forget that the default directory used by the bat file is not the one the bat file resides, but the on from which it is run. In this occurrence, it is the CF directory. Then you may have to set the working directory from inside the bat file itself. --

Re: cfexecute batch file not working

2008-08-12 Thread Marcus Goedeker
Is CF logged in as a service or a user? Thanks for the reply. I tried it and it doesn't work. It doesn't output anything in the file either. Marcus A service. ~| Adobe® ColdFusion® 8 software 8 is the most important and

Re: cfexecute batch file not working

2008-08-12 Thread Marcus Goedeker
I have a very simple batch file Don't forget that the default directory used by the bat file is not the one the bat file resides, but the on from which it is run. In this occurrence, it is the CF directory. Then you may have to set the working directory from inside the bat file itself. --

Re: ReFind - help with regex (ColdfusionMX 7)

2008-08-12 Thread cf coder
Is someone willing to help me with my problem? I would very much appreciate your help. Regards, J Hello everybody, I need your help with regular expressions. I want to loop through a directory in my codebase and return a list of href tags. The href value for ex must be in this format.

Re: Apache with coldfusion, using seo urls

2008-08-12 Thread Ryan Stille
Stephen Adams wrote: Hi, I'm trying to set up my laptop with Apache and CF, so far I have everything working the only problem is that the site I'm working on uses SEO url's e.g. mysite/myaccount and this will load the index.cfm page of the my account folder. This also means that all the

Re: ReFind - help with regex (ColdfusionMX 7)

2008-08-12 Thread Will Tomlinson
Is someone willing to help me with my problem? I would very much appreciate your help. Regards, J I'll tell you what I do in situations like this. I read info/books about Regexs and try to solve it myself. I may work on a problem for hours without finding a solution. Then, if I can't

RE: cfexecute batch file not working

2008-08-12 Thread Craig Dudley
Did you try it logged in as Admin? -Original Message- From: Marcus Goedeker [mailto:[EMAIL PROTECTED] Sent: 12 August 2008 15:25 To: CF-Talk Subject: Re: cfexecute batch file not working Is CF logged in as a service or a user? Thanks for the reply. I tried it and it doesn't work.

Re: ReFind - help with regex (ColdfusionMX 7)

2008-08-12 Thread Claude Schneegans
I want to loop through a directory in my codebase and return a list of href tags This could be easily handled by CF_Reextract. You can get all your hrefs in a query using simple regExps. See http://www.contentbox.com/claude/customtags/REextract/testREextract.cfm --

Re: [Macromedia][SQLServer JDBC Driver]Invalid parameter binding( s).

2008-08-12 Thread Scott Stewart
Thanks Dave, I just found this myself...been looking at the same damn code for too long. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial

Re: cfexecute batch file not working

2008-08-12 Thread Marcus Goedeker
Did you try it logged in as Admin? A service. Yes, i am the admin. ~| 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

Re: Apache with coldfusion, using seo urls

2008-08-12 Thread J.J. Merrick
Is the site in a local folder such as: http://localhost/mysite/ ? and on the production IIS server is it set to: http://mysite ? If that is the case then / on the IIS server and Localhost are going to be different locations... hence the reason you need ../ on the apache box. I usually just

Re: ReFind - help with regex (ColdfusionMX 7)

2008-08-12 Thread cf coder
Hi Will, I sincerely apologise to you and to anyone else who got the impression that I was someone who jsut wanted a quick solution. I began working on this yesterday evening, I have spent all of today trying out different things but have not had any luck yet. This is what I've managed so

Re: cfexecute batch file not working

2008-08-12 Thread Marcus Goedeker
One thing i have noticed is that the output file has a line break before and after the actual command output. I don't think this would make a difference, but I guess you never know. ~| Adobe® ColdFusion® 8 software 8 is the

RE: cfexecute batch file not working

2008-08-12 Thread Craig Dudley
Umm, just to be clear, I meant with Coldfusion logged in as Administrator, not sure if it will help but it certainly might. -Original Message- From: Marcus Goedeker [mailto:[EMAIL PROTECTED] Sent: 12 August 2008 16:20 To: CF-Talk Subject: Re: cfexecute batch file not working Did you

cfhttp and Google Search Appliance

2008-08-12 Thread [EMAIL PROTECTED] [EMAIL PROTECTED]
Does anybody know how to use CFHTTP to talk to the Google Search Appliance? I can't find anything on the Web that mentions this. I am not talking about CSE. Thanks, Jo-Anne ~| Adobe® ColdFusion® 8 software 8 is the most

Learning advanced Coldfusion - ideas??

2008-08-12 Thread Jeff Becker
Good morning folks, I'm curious to get this groups ideas on ideas, conferences, books, training, etc.. etc.. for learning the more advanced topics of Coldfusion.. mainly encapsulating code in CFCs and possibly frameworks. more CFC but also frameworks would be nice. I'm aware of the main

Re: cfhttp and Google Search Appliance

2008-08-12 Thread Scott Stewart
Joanne, I've got a function that I wrote a couple of years ago that would talk to a google appliance. http://www.sstwebworks.com/apps/parseGoogle.zip It's old code but it might help you out. sas [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Does anybody know how to use CFHTTP to talk to the

RE: cfhttp and Google Search Appliance

2008-08-12 Thread Dave Watts
Does anybody know how to use CFHTTP to talk to the Google Search Appliance? Yes. There isn't much to it, frankly. Do you have any specific questions? I'm a Google Enterprise certified instructor, so feel free to ask whatever GSA questions you like. Dave Watts, CTO, Fig Leaf Software

RE: SQL injection attack on House of Fusion

2008-08-12 Thread Dave Watts
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? I don't see it as Adobe's place to tell me how to write code, which is essentially what a framework of any type does. In the same way

RE: Learning advanced Coldfusion - ideas??

2008-08-12 Thread Dave Watts
Can anyone recommend good books on Amazon that are mainly CFC focused? Hal Helms' book Discovering CFCs: ColdFusion MX Components seems a bit old as its from 2002. Unfortunately, while that book was good at the time, it is no longer applicable. I'm not aware of any other books that focus

CF8 JVM options

2008-08-12 Thread Cutter (CFRelated)
Looking to explore other JVM options, and wondering what JVM (other than Sun) anyone else is having success with CF8? -- Steve Cutter Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer _ http://blog.cutterscrossing.com

Submit ASP form using CFHTTP

2008-08-12 Thread Billy Cox
I want to submit a zipcode to a form on another website and then manipulate the results using cfhttp.filecontent. When I run the code below, it churns for awhile and then gives me an ASP runtime error. cfhttp url=http://www.thesite.com/default.aspx; resolveurl=yes method=post cfhttpparam

RE: Submit ASP form using CFHTTP

2008-08-12 Thread Dave Phillips
They might be setting some cookies initially and also a session id of sorts. What you may need to do is hit their 'form' page once and capture the cookies (just dump the cfhttp scope after an initial hit and you can find them there - I think http-cookie scope, not sure). Then you will need to

Re: Learning advanced Coldfusion - ideas??

2008-08-12 Thread Nathan Strutz
It looks like you're on the right path. Conferences are great for learning. I've noticed a number of good classes around my town, ymmv. On your own time, there are a number of things you can do as well. There's only a few things going on in the CF book space these days. The Classic WACK is now a

Re: ColdFusion/IIS7

2008-08-12 Thread Matthew Small
It sounds like you're running into a Kerberos double-hop issue. Just use search that term and you'll get a lot of information that will help. 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

Re: Submit ASP form using CFHTTP

2008-08-12 Thread Matthew Small
You can't pass these values directly... think of it as a series of steps. Request the page, parse out the necessary information (viewstate, event validation), pass them into the next request. Get a fiddler trace of an actual request that you make in a browser, and use the event target,

annotations? (was: anotherThread)

2008-08-12 Thread denstar
On Tue, Aug 12, 2008 at 10:32 AM, Dave Watts wrote: [...] I would be ok with them making CF more friendly to Hibernate-like frameworks - compiling CFCs as discrete Java classes rather than a bunch of classes, one for each function, for example. Thanks for the idea, Dave! I knew there were

Re: Submit ASP form using CFHTTP

2008-08-12 Thread Gerald Guido
Dump out the responseHeader to see if any cookies are being set. cfdump var=#cfhttp.responseHeader# You can see the cookie(s) using this: cfoutput #cfhttp.responseHeader[Set-Cookie]# /cfoutput On Mon, Aug 11, 2008 at 3:38 PM, Billy Cox [EMAIL PROTECTED] wrote: I want to submit a zipcode to

Re: ColdFusion8 silent installation

2008-08-12 Thread Andy Allan
cfide.administrator.components I don't have CFMX6.1 installed any more so I can't confirm what's in there exactly, but I know that administrator.cfc and datasource.cfc certainly exist. I blogged about it ... yikes, 4 years ago. http://tinyurl.com/6bzy6 Andy 2008/8/12 Dave Watts [EMAIL

Re: Configuring Apache Web Server 2.2.9 and CFMX 7.02

2008-08-12 Thread Chris Montgomery
Bump. Still looking for a little help installing the Apache hot fix (wsconfig.jar) on WinXP. Anyone? Thanks. Cutter (CFRelated) said the following on 8/6/2008 11:49 AM: Slightly older Apache, but this might help: http://blog.cutterscrossing.com/index.cfm/2007/1/16/CFMX7-and-Apache-224

Re: Learning advanced Coldfusion - ideas??

2008-08-12 Thread Dave l
a new book http://www.amazon.com/ColdFusion-Developer-Tutorial-John-Farrar/dp/1847194125/ref=pd_bbs_sr_4?ie=UTF8s=booksqid=1218574159sr=8-4 it's fairly good, cuts out the bs and hits the code running a lot more than the wack books. Chapter 2 is cfcs, it puts you in there that fast and has a bit

Re: Configuring Apache Web Server 2.2.9 and CFMX 7.02

2008-08-12 Thread Cutter (CFRelated)
(Backup your JRun folder, prior to any of these actions) I would: a) Stop all CF instances. Open the connect util, C:\JRun4\bin\wsconfig.exe, and remove all connections (Note their settings) b) backup the current wsconfig.jar in your C:\JRun4\lib folder c) drop the new one in d) In the

RE: ColdFusion8 silent installation

2008-08-12 Thread Dave Watts
cfide.administrator.components I don't have CFMX6.1 installed any more so I can't confirm what's in there exactly, but I know that administrator.cfc and datasource.cfc certainly exist. Good catch! I wasn't aware of that. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig

Re: cfexecute batch file not working

2008-08-12 Thread Chris Blackwell
have you tried setting a timeout for the cfexecute ~| 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:

Re: SQL injection attack on House of Fusion

2008-08-12 Thread David Lakein
1) It protects only against known threats. In order to be excluded we have to be a step far enough ahead to make sure the pattern is included. 2) It will produce false positives. 3) It is not role or user based. 4) Tend to give a false sense of security. Just to add to this, in my own

Re: ColdFusion8 silent installation

2008-08-12 Thread Don L
Andy, beautiful, thank you. For anyone else who might also be interested in it, look for Nasir Ghaznavi's comment as well. One more, getDatasource method does not seem to be available any more. Andy Allan -- cf8 ds cfide.administrator.components I don't have CFMX6.1 installed any more so I

CF8 Verity problems

2008-08-12 Thread Michael Grove
I have three separate indexes on my server each indexing a different table in our database. For some reason the indexes keep getting messed up on a near nightly basis. One index just refuses to work giving back an error There was a problem executing the cfSearch tag with the following

Jr CF Developer needed for small company in Norcross (Atlanta)

2008-08-12 Thread Monique Boea
Jr CF programmer needed for small, fast paced company in Norcross, GA to assist with QA, fixing errors and other tasks. Please send resumes and salary requirements to [EMAIL PROTECTED] Thank you. ~| Adobe® ColdFusion® 8

Re: Telecommute Question

2008-08-12 Thread Phillip M. Vector
No first hand knowledge and my comments are pure speculation, But I would think there wouldn't be extra work for the company to hire a non-us resident if they are just doing telecommuting work. After all, they don't have to be in the country to do the work, so I would suspect that all the laws

Re: Telecommute Question

2008-08-12 Thread Trevor Cole
They, the employer, would be best served NOT hiring you under a W2, but rather, contracting to you under a 1099. Pretty sure it would be an easier hoop to jump through for them. However, you would be responsible for filing your own taxes if they do so. That being the case, make sure you account

Re: Telecommute Question

2008-08-12 Thread Bryan Stevenson
Hey Andrew, Now I don't have any concrete experience, but I do see a lot of telecommuting posts here. My trick knee says that it's tough enough for US residents to find telecommuting work with US companies. So being a fellow Canuckyou may find it challenging to say the least. I would tend

Re: Telecommute Question

2008-08-12 Thread Vicky
Speaking of telecommuting, does anyone know of any legitimate sites/sources for finding telecommuting work (not just for programming, but data entry and other legit kinds of jobs NOT involving sales calls, etc.)? On Tue, Aug 12, 2008 at 12:05 PM, Bryan Stevenson [EMAIL PROTECTED] wrote: Hey

RE: Telecommute Question

2008-08-12 Thread Duane
Andrew, my advice would be to file the necessary paperwork to create a corporation or LLC. That's what I did here in Nova Scotia when I got started, then you and the company do work corp to corp. No W2s or 1099s to worry about. Duane -Original Message- From: Andrew [mailto:[EMAIL

Re: Telecommute Question

2008-08-12 Thread Jeffry Houser
As a business owner, I'd probably hire someone from Canada w/o too much additional thought. However, DotComIt is only set up to pay in US funds; so you'd have to deal with whatever conversions need to be done. I haven't spoken to a lawyer about the IP implications of hiring someone not

Re: Telecommute Question

2008-08-12 Thread Larry C. Lyons
Given the exchange rates, you'd be better off asking to be pain in Canadian funds than US dollars. Better yet ask for Euros or gold ;) larry On Tue, Aug 12, 2008 at 1:59 PM, Jeffry Houser [EMAIL PROTECTED] wrote: As a business owner, I'd probably hire someone from Canada w/o too much