Re: cfimage error
many, many times. I've tried several permutations of accounts and unsubscribe options after being logged in. The best guess is my email address is somehow double entered into the database and its too complex for Michael D. to solve. I've emailed him and the website contact us form several times. When i started this endeavor the forgot password link didn't even work, and i was excited when that was fixed, but alas, I continue to receive emails even after selecting unsubscribe. Truly, the manager of this list is a lesson in the bad CF programmers you hear about who give us all a bad name. On Wed, Jan 16, 2013 at 1:17 AM, Russ Michaels r...@michaels.me.uk wrote: Did you try clicking the unsubscribe link that is in plain sight on the footer of every single message.? Regards Russ Michaels www.michaels.me.uk www.cfmldeveloper.com - Free CFML hosting for developers www.cfsearch.com - CF search engine On Jan 16, 2013 4:48 AM, Dan Baughman dan.baugh...@gmail.com wrote: honestly people how do you get off this list? On Tue, Jan 15, 2013 at 3:59 PM, Tim Do t...@wng.com wrote: The images are all named correctly since I'm able to pull the images up and display them. The coldfusion server that the cfimage code resides on is calling the image from another server. I verified all permissions and even added everyone full access to test and it still didn't work. I created a virtual directory to the image server and the cfimage tag started working again. I'm not sure what security differences are between the methods but the virtual directory fixed my issue. -Original Message- From: Bill Moniz [mailto:hydro.b...@gmail.com] Sent: Tuesday, January 15, 2013 2:13 PM To: cf-talk Subject: Re: cfimage error Just because I ran into this CFimage problem yesterday... Are the images by any change named with the wrong extension? For example, a PNG inmage mistakenly named with a JPG extension? If you examine the first bit of the file in a hex editor, you can see the difference. Cheers. On 16 January 2013 08:57, Tim Do t...@wng.com wrote: All images are RGB/BW no CMYK. -Original Message- From: Robert Harrison [mailto:rob...@austin-williams.com] Sent: Tuesday, January 15, 2013 1:48 PM To: cf-talk Subject: RE: cfimage error Is the image CYMK? That could cause a problem. Robert Harrison Director of Interactive Services Austin Williams Advertising I Branding I Digital I Direct 125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788 T 631.231.6600 X 119 F 631.434.7022 http://www.austin-williams.com Blog: http://www.austin-williams.com/blog Twitter: http://www.twitter.com/austin_williams -Original Message- From: Tim Do [mailto:t...@wng.com] Sent: Tuesday, January 15, 2013 2:34 PM To: cf-talk Subject: cfimage error I have this bit of code that used to work in the past... but now I'm getting: An exception occurred while trying to read the image. javax.imageio.IIOException: Can't get input stream from URL! I verified that the image is still there and permissions are still the same. I'm able to display the image fine. We're on cf9. cfimage source=#getImage.imgName# action=info structName=FlrPlnInfo I'm just trying to get the width of the image. So I tried to use code below but just getting -1 for width and height. cfobject type=JAVA action=Create name=tk class=java.awt.Toolkit /cfobject cfobject type=JAVA action=Create name=img class=java.awt.Image /cfobject cfscript img = tk.getDefaultToolkit().getImage(#getImage.imgName#); width = img.getWidth(); height = img.getHeight(); /cfscript cfoutput#width#br /#height#/cfoutput Thanks! ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353918 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfimage error
I've tried several permutations of accounts and unsubscribe options after being logged in. The best guess is my email address is somehow double entered into the database and its too complex for Michael D. to solve. I've emailed him and the website contact us form several times. When i started this endeavor the forgot password link didn't even work, and i was excited when that was fixed, but alas, I continue to receive emails even after selecting unsubscribe. Truly, the manager of this list is a lesson in the bad CF programmers you hear about who give us all a bad name. On Wed, Jan 16, 2013 at 1:17 AM, Russ Michaels r...@michaels.me.uk wrote: Did you try clicking the unsubscribe link that is in plain sight on the footer of every single message.? Regards Russ Michaels www.michaels.me.uk www.cfmldeveloper.com - Free CFML hosting for developers www.cfsearch.com - CF search engine On Jan 16, 2013 4:48 AM, Dan Baughman dan.baugh...@gmail.com wrote: ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353919 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfimage error
so im just going to start being a smart ass until i'm unsubscribed after months of effort to get off this list. On Wed, Jan 16, 2013 at 1:17 AM, Russ Michaels r...@michaels.me.uk wrote: Did you try clicking the unsubscribe link that is in plain sight on the footer of every single message.? Regards Russ Michaels www.michaels.me.uk www.cfmldeveloper.com - Free CFML hosting for developers www.cfsearch.com - CF search engine On Jan 16, 2013 4:48 AM, Dan Baughman dan.baugh...@gmail.com wrote: honestly people how do you get off this list? On Tue, Jan 15, 2013 at 3:59 PM, Tim Do t...@wng.com wrote: The images are all named correctly since I'm able to pull the images up and display them. The coldfusion server that the cfimage code resides on is calling the image from another server. I verified all permissions and even added everyone full access to test and it still didn't work. I created a virtual directory to the image server and the cfimage tag started working again. I'm not sure what security differences are between the methods but the virtual directory fixed my issue. -Original Message- From: Bill Moniz [mailto:hydro.b...@gmail.com] Sent: Tuesday, January 15, 2013 2:13 PM To: cf-talk Subject: Re: cfimage error Just because I ran into this CFimage problem yesterday... Are the images by any change named with the wrong extension? For example, a PNG inmage mistakenly named with a JPG extension? If you examine the first bit of the file in a hex editor, you can see the difference. Cheers. On 16 January 2013 08:57, Tim Do t...@wng.com wrote: All images are RGB/BW no CMYK. -Original Message- From: Robert Harrison [mailto:rob...@austin-williams.com] Sent: Tuesday, January 15, 2013 1:48 PM To: cf-talk Subject: RE: cfimage error Is the image CYMK? That could cause a problem. Robert Harrison Director of Interactive Services Austin Williams Advertising I Branding I Digital I Direct 125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788 T 631.231.6600 X 119 F 631.434.7022 http://www.austin-williams.com Blog: http://www.austin-williams.com/blog Twitter: http://www.twitter.com/austin_williams -Original Message- From: Tim Do [mailto:t...@wng.com] Sent: Tuesday, January 15, 2013 2:34 PM To: cf-talk Subject: cfimage error I have this bit of code that used to work in the past... but now I'm getting: An exception occurred while trying to read the image. javax.imageio.IIOException: Can't get input stream from URL! I verified that the image is still there and permissions are still the same. I'm able to display the image fine. We're on cf9. cfimage source=#getImage.imgName# action=info structName=FlrPlnInfo I'm just trying to get the width of the image. So I tried to use code below but just getting -1 for width and height. cfobject type=JAVA action=Create name=tk class=java.awt.Toolkit /cfobject cfobject type=JAVA action=Create name=img class=java.awt.Image /cfobject cfscript img = tk.getDefaultToolkit().getImage(#getImage.imgName#); width = img.getWidth(); height = img.getHeight(); /cfscript cfoutput#width#br /#height#/cfoutput Thanks! ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353920 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfimage error
so im just going to start being a smart ass until i'm unsubscribed after months of effort to get off this list. On Wed, Jan 16, 2013 at 1:17 AM, Russ Michaels r...@michaels.me.uk wrote: Did you try clicking the unsubscribe link that is in plain sight on the footer of every single message.? Regards Russ Michaels www.michaels.me.uk www.cfmldeveloper.com - Free CFML hosting for developers www.cfsearch.com - CF search engine On Jan 16, 2013 4:48 AM, Dan Baughman dan.baugh...@gmail.com wrote: ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353921 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CF10 REST has completely tanked
unsubscribe On Tue, Jan 15, 2013 at 4:00 PM, Jim Campbell j...@inomi.com wrote: I think you're on the right track, although it ultimately still fails to register the CFC. For instance, if, in the Application.cfc, I use the absolute path (or relative path) to the directory in which the REST CFCs are located: this.restSettings.cfcLocation = C:\inetpub\wwwroot\API; this.restSettings.skipCFCWithError = true; I get this error when I try to register the REST Directory in the Administrator: Error registering REST service. Please ensure that you have entered a proper mapping and path. Application restApp could not be initialized. Reason: Missing dependency for method public java.lang.String api.Connector.connect(java.lang.String,java.lang.Object[]) throws coldfusion.xml.rpc.CFCInvocationException at parameter at index 1 However, if I use a path that I know doesn't have any REST-enabled CFCs (C:\fnord), I get a very helpful (if a little verbose) error message with exactly what I expect to see: Error registering REST service. Please ensure that you have entered a proper mapping and path. Application restApp could not be initialized. Reason: The application does not contain any rest enabled CFCs. The application does not contain any rest enabled CFCs. What this says to me is that CF finds exactly what it's looking for traversing the directory I give it, but there's something deeper that's interfering with the proper registration. And, finally, I tried one other thing - I copied the /API directory and called it /siesta, and changed the references to the directory in its Application.cfc. I then tried registering the REST services through the Administrator as well as programmatically, but received the same Missing dependency... error above. - Jim On Tue, Jan 15, 2013 at 4:31 PM, AJ Mercer ajmer...@gmail.com wrote: when you tried to register a different ReST app, did you take the old one out of the rest search path? this.restsettings.cfclocation Or try this this.restsettings.skipCFCWithError=true On 16 January 2013 03:35, Jim Campbell j...@inomi.com wrote: Hi all - I've got some very strange errors in CF10, and I'm not sure what's going on. Basically, it's like this... I'm writing a REST API using CF10's native REST functionality. No significant problems at all during development over the last couple of weeks, but an hour or so ago, it stopped returning any data whatsoever. The paths resolve if I request them from a browser (no 404s or 500s or other strangeness), the underlying functions and data structures are working and available; one function returns some info from an application-scoped struct - dumping that struct in a CFM works fine. Various restarts (service, webserver, applicationStop()) don't fix anything. I'm running CF 10.0.7 (as of this morning!) on Win7/IIS6. I don't think the OS/Web server are contributing factors, though, because, looking at exception.log, I see this dump from when a REST request was made (full error stack follows, continued afterwards): Error,ajp-bio-8012-exec-4,01/15/13,12:59:59,,An error occurred while initializing the REST application restApp : null. com.sun.jersey.spi.inject.Errors$ErrorMessagesException at com.sun.jersey.spi.inject.Errors.processErrorMessages(Errors.java:170) at com.sun.jersey.spi.inject.Errors.postProcess(Errors.java:136) at com.sun.jersey.spi.inject.Errors.processWithErrors(Errors.java:199) at com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:771) at com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:766) at com.sun.jersey.spi.container.servlet.ServletContainer.initiate(ServletContainer.java:488) at com.sun.jersey.spi.container.servlet.ServletContainer$InternalWebComponent.initiate(ServletContainer.java:318) at com.sun.jersey.spi.container.servlet.WebComponent.load(WebComponent.java:609) at com.sun.jersey.spi.container.servlet.WebComponent.init(WebComponent.java:210) at com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:373) at com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:556) at coldfusion.rest.servlet.CFRestServlet.initRestApplication(CFRestServlet.java:152) at coldfusion.rest.servlet.CFRestServlet.invoke(CFRestServlet.java:391) at coldfusion.rest.servlet.RestFilter.invoke(RestFilter.java:58) at coldfusion.filter.LicenseFilter.invoke(LicenseFilter.java:30) at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:94) at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28) at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38) at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22) at
Re: cfimage error
honestly people how do you get off this list? On Tue, Jan 15, 2013 at 3:59 PM, Tim Do t...@wng.com wrote: The images are all named correctly since I'm able to pull the images up and display them. The coldfusion server that the cfimage code resides on is calling the image from another server. I verified all permissions and even added everyone full access to test and it still didn't work. I created a virtual directory to the image server and the cfimage tag started working again. I'm not sure what security differences are between the methods but the virtual directory fixed my issue. -Original Message- From: Bill Moniz [mailto:hydro.b...@gmail.com] Sent: Tuesday, January 15, 2013 2:13 PM To: cf-talk Subject: Re: cfimage error Just because I ran into this CFimage problem yesterday... Are the images by any change named with the wrong extension? For example, a PNG inmage mistakenly named with a JPG extension? If you examine the first bit of the file in a hex editor, you can see the difference. Cheers. On 16 January 2013 08:57, Tim Do t...@wng.com wrote: All images are RGB/BW no CMYK. -Original Message- From: Robert Harrison [mailto:rob...@austin-williams.com] Sent: Tuesday, January 15, 2013 1:48 PM To: cf-talk Subject: RE: cfimage error Is the image CYMK? That could cause a problem. Robert Harrison Director of Interactive Services Austin Williams Advertising I Branding I Digital I Direct 125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788 T 631.231.6600 X 119 F 631.434.7022 http://www.austin-williams.com Blog: http://www.austin-williams.com/blog Twitter: http://www.twitter.com/austin_williams -Original Message- From: Tim Do [mailto:t...@wng.com] Sent: Tuesday, January 15, 2013 2:34 PM To: cf-talk Subject: cfimage error I have this bit of code that used to work in the past... but now I'm getting: An exception occurred while trying to read the image. javax.imageio.IIOException: Can't get input stream from URL! I verified that the image is still there and permissions are still the same. I'm able to display the image fine. We're on cf9. cfimage source=#getImage.imgName# action=info structName=FlrPlnInfo I'm just trying to get the width of the image. So I tried to use code below but just getting -1 for width and height. cfobject type=JAVA action=Create name=tk class=java.awt.Toolkit /cfobject cfobject type=JAVA action=Create name=img class=java.awt.Image /cfobject cfscript img = tk.getDefaultToolkit().getImage(#getImage.imgName#); width = img.getWidth(); height = img.getHeight(); /cfscript cfoutput#width#br /#height#/cfoutput Thanks! ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353911 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfimage error
cfimage is really quite buggy... it has file locking issues. you have to fiddle with the tag and function version until something works reliably in a high demand environment. It is truthfully only marginally better than the native java stuff. On Tue, Jan 15, 2013 at 3:59 PM, Tim Do t...@wng.com wrote: The images are all named correctly since I'm able to pull the images up and display them. The coldfusion server that the cfimage code resides on is calling the image from another server. I verified all permissions and even added everyone full access to test and it still didn't work. I created a virtual directory to the image server and the cfimage tag started working again. I'm not sure what security differences are between the methods but the virtual directory fixed my issue. -Original Message- From: Bill Moniz [mailto:hydro.b...@gmail.com] Sent: Tuesday, January 15, 2013 2:13 PM To: cf-talk Subject: Re: cfimage error Just because I ran into this CFimage problem yesterday... Are the images by any change named with the wrong extension? For example, a PNG inmage mistakenly named with a JPG extension? If you examine the first bit of the file in a hex editor, you can see the difference. Cheers. On 16 January 2013 08:57, Tim Do t...@wng.com wrote: All images are RGB/BW no CMYK. -Original Message- From: Robert Harrison [mailto:rob...@austin-williams.com] Sent: Tuesday, January 15, 2013 1:48 PM To: cf-talk Subject: RE: cfimage error Is the image CYMK? That could cause a problem. Robert Harrison Director of Interactive Services Austin Williams Advertising I Branding I Digital I Direct 125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788 T 631.231.6600 X 119 F 631.434.7022 http://www.austin-williams.com Blog: http://www.austin-williams.com/blog Twitter: http://www.twitter.com/austin_williams -Original Message- From: Tim Do [mailto:t...@wng.com] Sent: Tuesday, January 15, 2013 2:34 PM To: cf-talk Subject: cfimage error I have this bit of code that used to work in the past... but now I'm getting: An exception occurred while trying to read the image. javax.imageio.IIOException: Can't get input stream from URL! I verified that the image is still there and permissions are still the same. I'm able to display the image fine. We're on cf9. cfimage source=#getImage.imgName# action=info structName=FlrPlnInfo I'm just trying to get the width of the image. So I tried to use code below but just getting -1 for width and height. cfobject type=JAVA action=Create name=tk class=java.awt.Toolkit /cfobject cfobject type=JAVA action=Create name=img class=java.awt.Image /cfobject cfscript img = tk.getDefaultToolkit().getImage(#getImage.imgName#); width = img.getWidth(); height = img.getHeight(); /cfscript cfoutput#width#br /#height#/cfoutput Thanks! ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353912 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CF10 REST has completely tanked
I'm an old school coder and always serialize stuff manually without using the built-in garbage and it works great that way. The other serialization I use often is cfwddx On Tue, Jan 15, 2013 at 2:55 PM, Jim Campbell j...@inomi.com wrote: No worries - the way it's built, it's not *too* much of a stretch to switch gears and go to the old http://domain/foo.cfc?kicking=itold=school; method - the REST interface itself is a minor aspect of the functional nature of the application. I'll keep an eye on this thread, though - maybe there's a solution, and I'll check in with Adobe support and file a bug report if necessary. Thanks! - Jim On Tue, Jan 15, 2013 at 3:46 PM, Raymond Camden raymondcam...@gmail.comwrote: You got me man. Sorry. The virtual server thing is something I ran into and was never able to get around. Unless someone else can help, best I'd recommend is Adobe support. Actually - let me ping someone. On Tue, Jan 15, 2013 at 3:42 PM, Jim Campbell j...@inomi.com wrote: The REST CFCs themselves are not in virtual directories. I have two local servers created in IIS - dev.remote (which handles the REST requests) and dev.local (everything else). Both of these environments have virtual directories for CFIDE and jakarta, but, for dev.local, the REST CFCs are physically there. I've tried CF mapping the folder containing the REST CFCs (/API), but it doesn't make a difference. Just now, I tried using restDeleteApplication() and restInitApplication() in onApplicationStart(), but no dice. At this point, there doesn't seem to be any way to re-register the app. Is there possibly a neo-something.xml file that could contain some fouled up registration code? - Jim On Tue, Jan 15, 2013 at 3:13 PM, Raymond Camden raymondcam...@gmail.com wrote: By any chance are these CFCs under a virtual folder? (Not CF mapping,a virtual IIS folder). On Tue, Jan 15, 2013 at 2:46 PM, Jim Campbell j...@inomi.com wrote: Yep - that did nothing notable (no errors on the page or in the logs) and no difference in response. For the record, all of my REST responses are coming back empty, regardless of the return type. On Jan 15, 2013 2:30 PM, Raymond Camden raymondcam...@gmail.com wrote: Have you tried reloading it in the REST page in the CF Admin? -- === Raymond Camden, Adobe Developer Evangelist Email : raymondcam...@gmail.com Blog : www.raymondcamden.com Twitter: cfjedimaster ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353913 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: form-post to SQL-insert creates double-entry
the better approach is to go ahead and keep the cfparam, and then during your logic to action something on the page validate it in some slight way. EG. cfparam name='form.value' default= cfif len(form.value) TAKE SOME ACTION /cfif On Tue, Jan 15, 2013 at 1:44 PM, Matt Quackenbush quackfu...@gmail.com wrote: You are running the insert query each time you load the page. Remove your cfparams on the form fields, and wrap the query in an cfif. cfif !structIsEmpty( form ) !--- insert query here --- /cfif HTH On Tue, Jan 15, 2013 at 2:34 PM, B Griffith br.griff...@yahoo.com wrote: Hello All, I appreciate everyone's help on my other posts and think I'm coming to understand CF a lot better than I did before I started posting here a few days ago, so kudos to you, friends! My latest issue w/ my burgeoning new website is the input.cfm page, where an end-user may (in theory) enter a donor's information into a webform, click submit, and the data will subsequently be inserted into the SQL Server (2005) table dbo.DONOR, which while it's under development, has only six fields: kcid (auto-incrementing PK/UID for the database) and the other five which you see in the code below and are probably pretty self-explanatory. I have tried creating an empty structure called 'form' before applying the code and finally settled on a block of cfparam statements to set the vars to a default. I can't see a way around this because NOT doing so causes the form to indeed show at the top of the webpage, but it is followed by a CF error page. INCLUDING the cfparam tags or cfset var = or form = structNew(); causes the error output to go away but results in TWO recordsets being sent to the DB, one blank (except for the PK which is set up to auto-increment in SQL) and one with the correct info, and taking the next PK number. I also tried setting the fields to NOTNULL = TRUE in SQL but to no avail, apparently translates into something besides null on the server-side. Here is the code, I would greatly appreciate your thoughts on what I'm doing wrong and how to rectify it: html head titleInput form for new donor/title /head cfparam name=form.first default= cfparam name=form.last default= cfparam name=form.flag default= cfparam name=form.supe default= cfparam name=form.phone default= body div hr / /div form action=input.cfm method=post table tr tdDonor First Name:/td tdinput type=text name=first id=first value= //td /tr tr tdDonor Last Name:/td tdinput type=text name=last id=last value= //td /tr tr tdDonor's Immediate Supervisor:/td tdinput type=text name=supe id=supe value= //td /tr tr tdSupervisor's Phone Number:/td tdinput type=text name=phone id=phone value= //td /tr tr tdHas this employee provided a sample in the past 30 days? (Y/N):/td tdinput type=text name=flag id=flag value= //td /tr /table input type=submit value=Enter New Donor br /a href=index.cfmBack to homepage/a br /a href=random.cfmRandom Donor Generator/a /body cfquery name=addDonor datasource=test INSERT INTO DONOR (first,last,flag,supe,phone) VALUES ('#form.first#','#form.last#','#form.flag#','#form.supe#','#form.phone#') /cfquery ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353914 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: form-post to SQL-insert creates double-entry
during your logic to action something on the page validate it in some slight way. EG. cfparam name='form.value' default= cfif len(form.value) TAKE SOME ACTION /cfif On Tue, Jan 15, 2013 at 1:44 PM, Matt Quackenbush quackfu...@gmail.com wrote: You are running the insert query each time you load the page. Remove your cfparams on the form fields, and wrap the query in an cfif. cfif !structIsEmpty( form ) !--- insert query here --- /cfif HTH On Tue, Jan 15, 2013 at 2:34 PM, B Griffith br.griff...@yahoo.com wrote: Hello All, I appreciate everyone's help on my other posts and think I'm coming to understand CF a lot better than I did before I started posting here a few days ago, so kudos to you, friends! ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353915 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Spammers are stupid
Any unwanted email is kind of stupid Dan Baughman On Dec 30, 2012, at 8:48 AM, Bruce Sorge sor...@gmail.com wrote: So since occasional messages from this list and random legitimate emails from other sources somehow end up in my spam folder, I actually have to look at the folder contents. As I was moving legitimate messages out, I came across an ad about BBW dating. Funny thing was, the girl in the picture was anything but BBW. Very much in shape actually. I wonder if the idiot who actually took the time to create the graphic actually knows what a BBW is. Spammers make me laugh, and after being up for over 24 hours because I had duty yesterday, I needed a good laugh. Happy New Year Bruce ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353727 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: _Re:_URGENT_:_How_to_Detect_screen_resolution_in_COLDFUSION?
It would be awesome if he could unsubscribe me too I've wanted off for like two month Dan Baughman On Dec 27, 2012, at 5:35 AM, Judith Dinowitz jdino...@houseoffusion.com wrote: I didn't see this until now, guys. Michael just got up and he'll have him off in a jiffy. And Paul, that was really uncalled for. Judith On Thu, Dec 27, 2012 at 12:04 AM, Paul Hastings p...@sustainablegis.comwrote: On 12/27/2012 10:10 AM, Raymond Camden wrote: Why isn't this person removed from the list yet? because he's providing 50% of the traffic? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353711 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Secure Image Uploads
skip all the nonsense and just try to resize the image. If that fails its either a color pallete java can't handle or it isn't an image. - Dan On Tue, Dec 18, 2012 at 8:12 PM, Terry Troxel terry.tro...@gmail.com wrote: I am looking for a safe and secure way to put an example page on my site that will allow a potential client to upload a JPG in order to see an example of a responsive photo gallery he can create using my new responsive web template I am in the process of building. Here is what I am considering in the upload process: 1...JPG extension only 2...file size limit 3...remove exif data if it exists 4...Convert file to PNG and save after doing the resizing, etc. that I need to. I would like some opinions, suggestions, etc. to tell me if I am missing something or there is any other avenues I can persue to accomplish my goal to stop anyone from using this to hack my site. Terry ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353540 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
list status
Hey guys, This list has served me well for a number of years but I'd like to unsubscribe... you can't unsubscribe without signing into the houseoffusion site and the forgot password functionality is not working. Does anyone know how to unsub from this list? Thanks ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353341 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Trouble with CF 9 Spreadsheet functions
unsubscribe ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353302 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Coldfusion 9 certification
I guess everyone has their own experiences In mine, and for those I know and have spoke with, certifications don't get you the job offer directly, but they definitely help in two big ways towards getting the job. 1) getting through HR and/or the hiring manager onto the desk of the person who makes the decision 2) getting into the interview with the same I think I've found that certifications tend to have more weight in organizations that do not have the ability to judge your skill level themselves. These are folks like HR departments, recruiters, and middle manager types who don't really understand how to measure your abilities themselves. I also tend to see it more frequently in larger organizations (since they are more likely to have those folks). At the end of the day, certifications usually won't hurt you except for the time and money that may be required to study for and take the test. They might help you a lot, a little or not at all. ...but the OP's stated reason for getting the certification wasn't for employment reasons, it was for self education. So, for that, I think it's a fine goal. -Cameron -- Cameron Childress -- p: 678.637.5072 im: cameroncf facebook http://www.facebook.com/cameroncf | twitterhttp://twitter.com/cameronc | google+ https://profiles.google.com/u/0/117829379451708140985 ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350588 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Coldfusion 9 certification
Adobe's coldfusion ace is the only one I know of if you've programmed in it a few years you wont have to study for more than a few weeks to learn the pedagogy. On Wed, Mar 28, 2012 at 9:15 PM, fun and learning funandlrnn...@gmail.comwrote: Hi All - Having worked with Coldfusion for the past three years, I am planning to get a Coldfusion certification. Since Coldfusion 9 is the latest stable version,I am planning to get certified in it (My main aim in getting certified is I may get to learn stuff I have never used, and to go in depth for some of the topics). What do you people suggest? Are there any mock tests for CF9 like CF8 buster? Thanks. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350578 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: sartis
The easiest and least obtrusive way i can think of would be to build the pagination into the page, as if you wanted it to function like it was paging without ajax. Then, use a jquery load call for the link, here is the doc for jquery load: http://api.jquery.com/load/ The key javascript call looks like this: $('#result').load('page.cfm?page=2 #result'); This basically says go get page.cfm and find the container with ID result and load it into the div with ID result on this page. Then result needs to be the wrapper around the table / content you are paginating. On Fri, Mar 2, 2012 at 8:01 AM, steve artis st...@artisdesigns.com wrote: hello, I'm wondering if someone can help me or point me to an example of the following: I have an application that has a search page. If a user does a search, it can kickback any number of records. I want to be able to display 10 records at a time and then display a show more button and it would load 10 more records(showing the 1-10 too), and the user could click the show more button until the end of the recordset...etc. I do not want a page refresh. What is the best way to accomplish this? Ajax? A cached coldfusion query with hidden divs?? I'm using CF 9, javascript and sql server. Also, if you view the homepage of linkedin, there is a perfect example of what I'm describing there. Thanks. Steve ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350193 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Fusion Reactor and Fusion Analytics Kick Ass
Thats great, but I guess outside of being cool none of that really provides any value. It shouldn't take a Coldfusion tool to determine your server is rebooting at 3AM. On Fri, Feb 17, 2012 at 3:31 PM, Brook Davies cft...@logiforms.com wrote: I just set up fusionAnalytics - its awesome. It really makes fusionReactor that much better. I have a new server setup I am working on, I was looking at the CPU and memory graph today and saw a spike at 3 am on all 3 of our servers. I right clicked on the memory spike and was able to choose from a ton of options from that time period I choice to show the logs (FusionAnalytics stores and indexes/aggregates all the CF logs..) and saw immediately that the CF server was doing a restart. Turns out windows update was set to do automatic updates and automatic restarts on our brand new out the box server. Simple example, and sure, I could have just went through the logs and found this manually, but to be able to see spike in memory/requests/response/jdbc/cpu and just right click the spike and get: JDBC requests at that exact time Threads at that time Log file entries CF Scope sizes System Metrics And more For that exact moment. Priceless :) Brook -Original Message- From: Nick Gleason [mailto:n.glea...@citysoft.com] Sent: February-17-12 2:14 PM To: cf-talk Subject: RE: Fusion Reactor and Fusion Analytics Kick Ass +1 for FusionReactor. We've got but have not yet installed Fusion Analytics. But we're looking forward to that addition as well. Nick PS - also no affiliation with them. . ... CitySoft, Inc. | http://www.citysoft.com Phone: (866) 751-1992 | Direct: (617) 899-5395 | Fax: (617) 507-0444 Spend Less Do More - Community Enterprise combines great features with an affordable price. . ... -Original Message- From: Brook Davies [mailto:cft...@logiforms.com] Sent: Friday, February 17, 2012 12:19 PM To: cf-talk Subject: Fusion Reactor and Fusion Analytics Kick Ass Hey people, I'm sure most of you already know this, but Fusion Reactor and Fusion Analytics for monitoring CF servers kick some serious ass. I've been a seefusion customer for years, and while it does a decent job its not in the same class as the Fusion Reactor/Analytics Products. This pair of products is phenomenal and give you incredible insight into your CF server. If you're a CF sys admin, you really want to check em out. I have absolutely zero affiliation with the company, I just bought and setup 3 licenses and am so happy with it, that I wanted to share how great they are. I've had them running for a few days and they have already helped resolve problems. Now for the load testing J Brook ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349945 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Invisible Scheduled Task
Is there another instance of CF somewhere that could be triggering the task to run? does the server log show the http request, and the scheduler activity, or just the http request? On Wed, Jan 18, 2012 at 2:00 PM, Matthew Gersting mgerst...@gmail.comwrote: Has anyone had any experience with a scheduled task that is mysteriously running but does not appear in the ColdFusion Administrator? I am racking my brain on this one and starting to feel a little insane. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349534 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Very disappointing statis
Because you think node.js is more popular? On Wed, Dec 14, 2011 at 9:06 AM, Phillip Vector vec...@mostdeadlygame.comwrote: The following server-side programming languages are used by less than 0.1% of the websites JavaScript All credibility is lost with that statement. On Wed, Dec 14, 2011 at 8:02 AM, Robert Harrison rob...@austin-williams.com wrote: Very disappointing statistics for ColdFusion market penetration. http://w3techs.com/technologies/overview/programming_language/all Robert B. Harrison Director of Interactive Services Austin Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 P : 631.231.6600 Ext. 119 F : 631.434.7022 http://www.austin-williams.com Great advertising can't be either/or. It must be . Plug in to our blog: AW Unplugged http://www.austin-williams.com/unplugged ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349100 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Very disappointing statis
http://nodejs.org/ On Wed, Dec 14, 2011 at 9:11 AM, Phillip Vector vec...@mostdeadlygame.comwrote: Please correct me if I am wrong. But doesn't Javascript run Client side? Is there a way to make Javascript run on the server and not on the client? If so, that would solve some issues I've been having. :) On Wed, Dec 14, 2011 at 8:08 AM, Dan Baughman dan.baugh...@gmail.com wrote: Because you think node.js is more popular? On Wed, Dec 14, 2011 at 9:06 AM, Phillip Vector vec...@mostdeadlygame.comwrote: The following server-side programming languages are used by less than 0.1% of the websites JavaScript All credibility is lost with that statement. On Wed, Dec 14, 2011 at 8:02 AM, Robert Harrison rob...@austin-williams.com wrote: Very disappointing statistics for ColdFusion market penetration. http://w3techs.com/technologies/overview/programming_language/all Robert B. Harrison Director of Interactive Services Austin Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 P : 631.231.6600 Ext. 119 F : 631.434.7022 http://www.austin-williams.com Great advertising can't be either/or. It must be . Plug in to our blog: AW Unplugged http://www.austin-williams.com/unplugged ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349103 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Count rows in Excel file
Ad hoc SQL datasources may be an option if you have sufficient privleges on a sql server and the account running sql has permissions to access the file. On Tue, Oct 11, 2011 at 2:26 PM, Brook Davies cft...@logiforms.com wrote: Hey Everyone, Anyone know a way to count the rows in an excel file without using cfspreadsheet to read the entire file in first? That's what I am trying to avoid.. Brook ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:348059 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Hiding email address from spiders
I like to place the href attribute of the a tag via javascript using html entities and such. On Fri, Oct 7, 2011 at 7:09 PM, Jenny Gavin-Wear jenn...@fasttrackonline.co.uk wrote: I have a client using a CMS I've built and they are using a lot of email addresses in the content. As I can search/replace content, I am wondering what is the best way to hide them from the spiders? tia, Jenny Gavin-Wear Fast Track Online Tel: 01262 602013 http://www.fasttrackonline.co.uk/ -- I am using the free version of SPAMfighter. We are a community of 7 million users fighting spam. SPAMfighter has removed 4302 of my spam emails to date. Get the free SPAMfighter here: http://www.spamfighter.com/len The Professional version does not have this message ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:348010 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: 20USD/Hour Seriously?
CF dev's I know work for between 75 and 110. I wouldn't even talk on the phone for $20/hour. On Thu, Sep 22, 2011 at 9:55 AM, Phillip Vector vec...@mostdeadlygame.comwrote: No trollage was intended. Seriously. On Thu, Sep 22, 2011 at 8:50 AM, David McGuigan davidmcgui...@gmail.com wrote: Is it just me or does this post smell of trollage? On Thu, Sep 22, 2011 at 9:03 AM, Phillip Vector vec...@mostdeadlygame.comwrote: IMHO, you get what you pay for. I've talked with several clients who hired at $20/hr or even less. I'm usually called in to clean up the mess at my standard rate ($50/hr) and they almost always don't bat an eye paying it having learned their lesson. I will admit though... I HAVE done work for $20/hr. But only if the extras (how fun it will be to code it, free trips to seminars, etc) make it worth it. On Thu, Sep 22, 2011 at 7:45 AM, Integration Developer tyrsbl...@gmail.com wrote: I'm bit confused why so cheap? Just 6 months ago I was hiring out at 50-75USD/hour. If this is typical cf-jobs side work rate now I am disappointed. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347598 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Solr Summary Text
You can change solr's configuration through editing its text file to include the context when the entries in that collection are updated. I can't recall off the top of my head how to do this, but I can you can dig around on google for adding context to solr coldfusion 9 or something. They say the reason they excluded that is because it makes the index much smaller to omit the context and only include the title. I guess I see their point but in my experience it would save me tons of time if they would just enable it by default. Dan On Mon, Sep 19, 2011 at 6:52 PM, Victor Moore victor.mo...@gmail.comwrote: Dean, did you find a solution to this? I have cf 901 with CHF901 installed and no luck Regards Victor On Thu, Mar 17, 2011 at 9:56 AM, Dean Lawrence dean...@gmail.com wrote: I don't believe so. I'll have to double check. I did look at the release notes though and did not see anything related to Solr. If I don't have the newest CHF installed, I will try to get it installed this evening to see if that changes anything. On Thu, Mar 17, 2011 at 9:41 AM, Raymond Camden rcam...@gmail.com wrote: Ah ok - thanks for the clarification. You mentioned 901. Are you also running the CHF? -- --- Dean M. Lawrence INTERNET DATA TECHNOLOGY p // 888.438.4381 ext. 701 w // www.idatatech.com f // www.facebook.com/idatatech t // www.twitter.com/idatatech Social Marketing | SEO | Design | Internet Development ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347533 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
cf enterprise quad cpu box
With the one jrun.exe process running, I can never get coldfusion to really utilize multiple processors. Is there a way in enterprise mode that you can set it to spawn multiple jrun.exe processes, one per processor to work collaboratively serving one web site? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346759 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cf enterprise quad cpu box
So what you are saying is that threads will use different cpu's automatically? Well in my case, I have quad quad cores, so its 16 cores. I do this on a bunch of servers and it just doesn't seem like one core is utilized a lot more than others by the jrun.exe. While each request should use or re-use a separate available worker thread it is my concern that this threads execute predominantly (or entirely) on one CPU. On Mon, Aug 15, 2011 at 12:58 PM, David McGuigan davidmcgui...@gmail.comwrote: Are you saying that one of your cores has high utilization and the others none? Your server should use all cores *as necessary* *if ever necessary* *automatically* *without the intervention or management of your application*. That said you can break certain parts of code off into separate threads using the cfthread tag, but that's to make a specific URL or process more performant by prioritizing or simulprocessing code chunks, not to try to balance workload across multiple cores or processors. On Mon, Aug 15, 2011 at 12:53 PM, Dan Baughman dan.baugh...@gmail.com wrote: With the one jrun.exe process running, I can never get coldfusion to really utilize multiple processors. Is there a way in enterprise mode that you can set it to spawn multiple jrun.exe processes, one per processor to work collaboratively serving one web site? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346762 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cf enterprise quad cpu box
Sorry I meant to say it DOES seem like one core is commonly over utilized. On Mon, Aug 15, 2011 at 1:12 PM, Dan Baughman dan.baugh...@gmail.comwrote: So what you are saying is that threads will use different cpu's automatically? Well in my case, I have quad quad cores, so its 16 cores. I do this on a bunch of servers and it just doesn't seem like one core is utilized a lot more than others by the jrun.exe. While each request should use or re-use a separate available worker thread it is my concern that this threads execute predominantly (or entirely) on one CPU. On Mon, Aug 15, 2011 at 12:58 PM, David McGuigan davidmcgui...@gmail.comwrote: Are you saying that one of your cores has high utilization and the others none? Your server should use all cores *as necessary* *if ever necessary* *automatically* *without the intervention or management of your application*. That said you can break certain parts of code off into separate threads using the cfthread tag, but that's to make a specific URL or process more performant by prioritizing or simulprocessing code chunks, not to try to balance workload across multiple cores or processors. On Mon, Aug 15, 2011 at 12:53 PM, Dan Baughman dan.baugh...@gmail.com wrote: With the one jrun.exe process running, I can never get coldfusion to really utilize multiple processors. Is there a way in enterprise mode that you can set it to spawn multiple jrun.exe processes, one per processor to work collaboratively serving one web site? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346763 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CSS Conditionals Question
I am aware of one technique that internet explorer employs in order to achieve something like what you are looking for, but this doesn't help you for other browsers. You alsmost have to have some logic and then include different css files if you really want something extravagant. Check out this blog, rule #2: http://webdesignerwall.com/tutorials/css-specific-for-internet-explorer - *IE8 or below*: to write CSS rules specificially to IE8 or below, add a backslash and 9 (\9) at the end before the semicolon. - *IE7 or below*: add an asterisk (*) before the CSS property. - *IE6*: add an underscore (_) before the property. On Thu, Aug 11, 2011 at 8:15 AM, Che Vilnonis ch...@asitv.com wrote: I know how to call/import different CSS files using statements like this: !--[if lte IE 7] My question is: within a single CSS file, is it possible to have conditonal CSS statements? I'm looking for a solution that doesn't require CF, PHP, or ASP. Thanks, Che ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346692 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
SOT, JSON web services
Hi List, I know there are tons of tools out there that will take a WSDL and spit out soap packets that you can simply plug your actual variable values into, but doesnt anyone know of anything like that for JSON? I've got a handlful of schema XML's which are part of a WSDL for a JSON web service and am loathing the idea of manually typing out JSON objects for each complex type. Suggestions appreciated, Thanks, Dan ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346400 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: SOT, JSON web services
Well its kind of an odd scenario. I've been given a schema and WSDL for a web service, but the schema and WSDL are in XML, but the web service is expecting to receive request in JSON. So, given a more typical web service, you'd get a WSDL and then a tool, like Altove XMLspy (or an Eclipse plugin) could generate example soap packets for each of the interactions the web service provides, albeit with place-holder variables where your data would actually go. In this scenario, I'll have to look at the WSDL on the left monitor and manually type in JSON code into the editor on the right, versus having the tool create example data packets. On Fri, Jul 29, 2011 at 2:47 PM, Raymond Camden raymondcam...@gmail.comwrote: Are you asking for a tool to _format_ JSON? Not quite sure what you mean here. On Fri, Jul 29, 2011 at 3:24 PM, Dan Baughman dan.baugh...@gmail.com wrote: Hi List, I know there are tons of tools out there that will take a WSDL and spit out soap packets that you can simply plug your actual variable values into, but doesnt anyone know of anything like that for JSON? I've got a handlful of schema XML's which are part of a WSDL for a JSON web service and am loathing the idea of manually typing out JSON objects for each complex type. Suggestions appreciated, Thanks, Dan ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346404 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: SOT, JSON web services
Thanks for the suggestions. I searched down a similar path - perhaps just converting the XML schemas to JSON or something would avoid the typing. But I heartily disagree with you about the WSDL being in XML and the service itself dealing in JSON being common. I would expect the service to be described using JSON Schema instead of a soap-style XML WSDL - that is just odd ball. With the JSON schema you could at least use something from DOJO to easily create the example data packets given the service description. On Fri, Jul 29, 2011 at 4:56 PM, Bryan Stevenson br...@electricedgesystems.com wrote: Not odd at allWSDLs are in XML, but don't confuse WSDL format with input/output formats It's like saying because CF is Java that it must output Javawhich of course is not true ;-) So any webservice will be in XML and it's inputs could be queries/XML strings/JSON strings/structures/strings/numbers/etc. Not sure if that helps you with your test packet issuebut hopefully it helps regardless ;-) Any chance serializeJSON() would help you make those test packets without typing it out the hard way? Cheers On Fri, 2011-07-29 at 16:12 -0600, Dan Baughman wrote: Well its kind of an odd scenario. I've been given a schema and WSDL for a web service, but the schema and WSDL are in XML, but the web service is expecting to receive request in JSON. So, given a more typical web service, you'd get a WSDL and then a tool, like Altove XMLspy (or an Eclipse plugin) could generate example soap packets for each of the interactions the web service provides, albeit with place-holder variables where your data would actually go. In this scenario, I'll have to look at the WSDL on the left monitor and manually type in JSON code into the editor on the right, versus having the tool create example data packets. On Fri, Jul 29, 2011 at 2:47 PM, Raymond Camden raymondcam...@gmail.com wrote: Are you asking for a tool to _format_ JSON? Not quite sure what you mean here. On Fri, Jul 29, 2011 at 3:24 PM, Dan Baughman dan.baugh...@gmail.com wrote: Hi List, I know there are tons of tools out there that will take a WSDL and spit out soap packets that you can simply plug your actual variable values into, but doesnt anyone know of anything like that for JSON? I've got a handlful of schema XML's which are part of a WSDL for a JSON web service and am loathing the idea of manually typing out JSON objects for each complex type. Suggestions appreciated, Thanks, Dan ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346406 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Automated File Deployment/Replication
I work in a similar environment and use three general techniques. 1) an ftp tag that replicates files that need to immediately replicate that are uploaded through the admin, it basically figures out which server its running from and copies to the other two synchronously using cfftp 2) install cygwin and run WGET in a mirror mode ftp configuration 3) bestsync isn't so bad, but I found for some reason it would just ignore some files On Tue, Jul 5, 2011 at 10:33 AM, Brian Polackoff bpolack...@gmx.com wrote: Hey everyone. I have been tasked recently with coming up with an automated deployment/file replication system for our newly built infrastructure. We have a hardware load balancer that spreads the traffic over 5 real servers. We are looking for a way to place the production web files and assets on a single server and let that server then replicate the files over to the other 4 servers instantly. Can anyone recommend software to accomplish this or just some best practices for this type of scenario? Thanks! Brian ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346076 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Stupid Question
I've seen stuff like this happen if capability_detail.capability_id had been assigned to a function that didnt return a value. For some reason its defined but in some null state. On Thu, Jun 30, 2011 at 11:37 AM, Robert Harrison rob...@austin-williams.com wrote: If I have these two lines of code: cfparam name=capability_detail.capability_id default=0 cfset cur_cap=#capability_detail.capability_id# How should I ever get this message on the second line: Element CAPABILITY_ID is undefined in CAPABILITY_DETAIL WHAT? Robert B. Harrison Director of Interactive Services Austin Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 P : 631.231.6600 Ext. 119 F : 631.434.7022 http://www.austin-williams.com Great advertising can't be either/or. It must be . Plug in to our blog: AW Unplugged http://www.austin-williams.com/unplugged ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:345977 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Stupid Question
You would ask it like this: cfif IsDefined('capability_detail.capability_id') On Thu, Jun 30, 2011 at 11:58 AM, Robert Harrison rob...@austin-williams.com wrote: Just asking the question is bad... the line cfif IsDefined(capability_detail.capability_id) Gives me the error Element CAPABILITY_ID is undefined in CAPABILITY_DETAIL. Robert B. Harrison Director of Interactive Services Austin Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 P : 631.231.6600 Ext. 119 F : 631.434.7022 http://www.austin-williams.com Great advertising can't be either/or. It must be . Plug in to our blog: AW Unplugged http://www.austin-williams.com/unplugged ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:345988 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Stupid Question
I thought of that, but then wasn't sure how that would behave if capability_detail was a query. On Thu, Jun 30, 2011 at 12:11 PM, Andrew Scott andr...@andyscott.id.auwrote: Actually without getting into a flame war with Dave and others, it should be better to use cfif structKeyExists(capability_detail, 'capability_id') /cfif And you should avoid using isDefined(). Regards, Andrew Scott http://www.andyscott.id.au/ -Original Message- From: Dan Baughman [mailto:dan.baugh...@gmail.com] Sent: Friday, 1 July 2011 4:05 AM To: cf-talk Subject: Re: Stupid Question You would ask it like this: cfif IsDefined('capability_detail.capability_id') On Thu, Jun 30, 2011 at 11:58 AM, Robert Harrison robert@austin- williams.com wrote: Just asking the question is bad... the line cfif IsDefined(capability_detail.capability_id) Gives me the error Element CAPABILITY_ID is undefined in CAPABILITY_DETAIL. Robert B. Harrison Director of Interactive Services Austin Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 P : 631.231.6600 Ext. 119 F : 631.434.7022 http://www.austin-williams.com Great advertising can't be either/or. It must be . Plug in to our blog: AW Unplugged http://www.austin-williams.com/unplugged ~~ ~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion- Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf- talk/message.cfm/messageid:345988 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf- talk/unsubscribe.cfm ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:345996 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
SOT: SEO, schema, microdata
Hey list, I'm looking for some concrete examples of where microdata or RDFa or similar has directly boosted seo on a site. I'm literally looking for a reference to a live page that uses one of the aforementioned and then a link to how the appearance on a search engine has been improved/altered. This is because there has been some significant noise lately with bing/yahoo/google converging on the new html5 data schema (schema.org) and I'm looking for any justification to actually start using this other than I think its cool. Anyone had really good experiences with that yet? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:345113 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: SOT: SEO, schema, microdata
It's so meta that its hard to find on the search engines themselves. The correlation between results and microdata/seo schemas just isn't 1:1, from what I experience. In general having your location in the proper schema does seem to really help your establishment attain proper placement on gmaps though. On Tue, Jun 7, 2011 at 9:29 AM, Mark Drew mark.d...@gmail.com wrote: One of the interesting things about SEO is that it's largely snake oil. If you look at how search engines now work, it's with personalised searching, so what you might get, will be very different from what I might get for the same search term. So when you say you will be looking for pages with microformats, Google (for example) will return (for you) more pages with microformats than if I did it. Just a thought. Regards Mark Drew On Tue, Jun 7, 2011 at 4:18 PM, Dan Baughman dan.baugh...@gmail.com wrote: Hey list, I'm looking for some concrete examples of where microdata or RDFa or similar has directly boosted seo on a site. I'm literally looking for a reference to a live page that uses one of the aforementioned and then a link to how the appearance on a search engine has been improved/altered. This is because there has been some significant noise lately with bing/yahoo/google converging on the new html5 data schema (schema.org) and I'm looking for any justification to actually start using this other than I think its cool. Anyone had really good experiences with that yet? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:345115 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: HOF Site
Heh, out for blood? On Fri, May 20, 2011 at 7:45 PM, Raymond Camden rcam...@gmail.com wrote: You know it's a guy - got a name? On Fri, May 20, 2011 at 4:57 PM, Michael Dinowitz mdino...@houseoffusion.com wrote: Yes and no. It's the same guy who used the hole in Galleon to hack into HoF and Forta.com last year. At least he's using the same code. I found pieces of it in files around the site, though he didn't get access through CF this time (that I could see). While I have his adsense ID, Google will not give me any information as to who he is, where, or anything else. I do know that the IP used to run some of the scripts traces to China and his communications with me are definitely the result of a translation program. If I dedicated the time to it I could get a better idea of who he is and what else he's done but it's currently not worth the time and effort on my part. Now if someone wants to sponsor me to investigate further... :) ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:344802 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: What's everybody using?
I'm using this: http://code.google.com/p/flot/ Its fairly simple jquery, and it doesn't require flash. On Wed, Apr 13, 2011 at 9:20 AM, Wil Genovese jugg...@trunkful.com wrote: I've experimented with Google Charts a time or two. http://code.google.com/apis/chart/ Wil Genovese Sr. Web Application Developer/ Systems Administrator CF Webtools www.cfwebtools.com wilg...@trunkful.com www.trunkful.com On Apr 13, 2011, at 10:16 AM, Brian Polackoff wrote: Hey everyone. I am starting a new project that will require a good deal of charting, some complex charts but mostly just PIE, LINE, Bar and Area charts. I realize CF has a fairly decent charting engine but I am open to hear what others are using and if you would recommend what you are using to others. Thanks! Brian ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343701 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: What's everybody using?
I like the flot's because they are more interactive the user can zoom on regions, hover over points to see more details, etc. The user can also turn on and off various graphs in the same chart - so you can chart ten lines and then the user can turn off the ones that dont matter to them, and it automatically readjusted the scale. The charts4j seem more static. On Wed, Apr 13, 2011 at 9:27 AM, Russ Michaels r...@michaels.me.uk wrote: try this http://code.google.com/p/charts4j/ On Wed, Apr 13, 2011 at 4:24 PM, Dan Baughman dan.baugh...@gmail.com wrote: I'm using this: http://code.google.com/p/flot/ Its fairly simple jquery, and it doesn't require flash. On Wed, Apr 13, 2011 at 9:20 AM, Wil Genovese jugg...@trunkful.com wrote: I've experimented with Google Charts a time or two. http://code.google.com/apis/chart/ Wil Genovese Sr. Web Application Developer/ Systems Administrator CF Webtools www.cfwebtools.com wilg...@trunkful.com www.trunkful.com On Apr 13, 2011, at 10:16 AM, Brian Polackoff wrote: Hey everyone. I am starting a new project that will require a good deal of charting, some complex charts but mostly just PIE, LINE, Bar and Area charts. I realize CF has a fairly decent charting engine but I am open to hear what others are using and if you would recommend what you are using to others. Thanks! Brian ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343703 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
9.01 updater - the nightmare relived
Hi List, I recall back when I installed 9.01 - its basically like playing russian roullette with your server with the possible outcome being that you have to reinstall your entire ColdFusion setup. Its this error (and some of its variants) that start occuring on every CFM file: The tag handler application does not have a setter for the attribute datasource specified in the Tag Library Descriptor. Does anyone have the final solution/fix for this? Why hasn't adobe fixed this god awful patch? I have a live site down any suggestions are appreciated. Thanks Dan ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343271 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: 9.01 updater - the nightmare relived
Thanks, I actually stopped everything (cf,iis) then just restored a copy of the coldfusion directory pre-update and it re-started everything. Dan On Fri, Mar 25, 2011 at 10:23 AM, Russ Michaels r...@michaels.me.uk wrote: FYI, if you are on windows, before updating CF, just take a copy of the ColdFusion installation folder and the CFIDE. If things go tits up, just shut down services and restore the folders, you don't usually need to re-install CF from scratch. I don't use Linux, but I suspect the same is true. -- Russ Michaels www.bluethunderinternet.com : Business hosting services solutions www.cfmldeveloper.com: ColdFusion developer community www.michaels.me.uk : my blog www.cfsearch.com : ColdFusion search engine ** *skype me* : russmichaels ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343276 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: 9.01 updater - the nightmare relived
Why doesn't the updater do that then? I've never heard of that before. I guess I must be living under a rock because I've upgraded many, many servers starting from coldfusion 6 up through 9.01 and NEVER had to clear any class-cache - nor I have heard this mentioned by anyone as a solution for this problem. If this patch introduces a new requirement of clearing the class cache, it should be mentioned in the docs or the patch should do it automatically. Just saying thats a piss-poor patch. On Fri, Mar 25, 2011 at 11:45 AM, Dave Watts dwa...@figleaf.com wrote: I recall back when I installed 9.01 - its basically like playing russian roullette with your server with the possible outcome being that you have to reinstall your entire ColdFusion setup. No, this is not really the case. You don't need to reinstall your entire CF setup. Its this error (and some of its variants) that start occuring on every CFM file: The tag handler application does not have a setter for the attribute datasource specified in the Tag Library Descriptor. Did you clear your cfclasses cache after installing the update? You really should do that any time you install an update. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343286 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: 9.01 updater - the nightmare relived
Yea trusted cache?? and the setting int he cf admin that says something about storing class between restarts... I dont employ either setting - not the culprit here.. On Fri, Mar 25, 2011 at 1:29 PM, Dave Watts dwa...@figleaf.com wrote: Why doesn't the updater do that then? I've never heard of that before. I guess I must be living under a rock because I've upgraded many, many servers starting from coldfusion 6 up through 9.01 and NEVER had to clear any class-cache - nor I have heard this mentioned by anyone as a solution for this problem. If this patch introduces a new requirement of clearing the class cache, it should be mentioned in the docs or the patch should do it automatically. Just saying thats a piss-poor patch. I'm pretty sure the release notes for patches often recommend this. But in any case, this is a common issue with patches. I've run into problems with compiled files more than once. In many (most?) cases, I'd recommend not storing compiled classes to disk anyway. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343291 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Solr Summary Text
They work you just have to adjust ur settings. You have to edit the xml files that configure solr so that they retain the text and thus can present the context passage. Follow these instructions and then rebuild your index and you'll have context passages: http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSe9cbe5cf462523a0-5bf1c839123792503fa-8000.html http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSe9cbe5cf462523a0-5bf1c839123792503fa-8000.htmlI, for one, found that solr was immensely more powerful and graceful than verity once I got it grokked. Solr has a wiki that breaks down their query syntax, as well, so check it out. You can do almost anything. To really get soem of the good stuff for ecommerce and heavy category searching ( facet counts, facet queries, etc) you have to directly interact with the solr web service rather than going through cfsearch, but its generally worth it. There are some cfc's out there that do it, check ria forge. On Wed, Mar 16, 2011 at 2:42 PM, Dean Lawrence dean...@gmail.com wrote: Thanks Gabriel, Unfortunately, the contextPassages does not seem to work with Solr. When using it against a verity collection, but the summary and context columns are populated with the same text which is properly being controlled by the contextPassages setting. However, when I try the exact same settings against a Solr collection, the summary column still has very limited information in it and the context column is empty. You are correct that I would prefer to keep it in CF, as this would allow me to perform per-collection tuning. However, if there is a config file somewhere that affect all Solr collections, then I am fine making the change there as well. Dean On Wed, Mar 16, 2011 at 3:57 PM, Dorioo dor...@gmail.com wrote: 1. According to the docs, the summary is automatically generated by cfindex so that's unlikely to help. 2. The context summary may provide more information for you so I'd check it out to see what kind of results it gives you. contextPassages | Optional | 0 | The number of passages/sentences Verity returns in the context summary (that is, the context column of the results). The default i s 0, which disables context summary. 3. It might be possible to mess with the solr instance directly to get this information, but I haven't tried it and assume you'd like to keep the solution within CF. - Gabriel On Wed, Mar 16, 2011 at 2:27 PM, Dean Lawrence dean...@gmail.com wrote: Am I the only one who is having a problem with this? I know that Adobe will be dropping support for Verity in future releases, so I would like to move over to Solr. However, this is really making it difficult as the summary really isn't good enough to let someone know if the result is what they were looking for or not. Any insight, even if it is to that's as good as it gets, would be very much appreciated. Thanks, Dean Does anyone know if you can control how much text is included in the summary text that Solr returns with it's results? I am trying to migrate from Verity to Solr, but the summary text that I am getting back is very short when using Solr. With Verity, I get back about a paragraph or so of text, but for the same data record with Solr, I am less than a sentence. I have tried adjusting both the contextBytes and contextPassages settings, but neither one changes what is being returned. I am running CF 9.01 and the content that is being indexed are database records. Any help would be greatly appreciated. Dean ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343083 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: SOT - site monitors
pingdom.com offers a trial service, for some reason I thought they had something free, but they may have changed that. On Sat, Feb 5, 2011 at 10:21 PM, Kevin Parker tras...@internode.on.netwrote: I need to automatically monitor about 3 CF sites that run on hosted servers (they're not my boxes). All I need to know is that the site is up - maybe check once or twice a day. I unashamedly admit I don't want to pay for a service if I can. Can anyone recommend anything or alternatively I'm happy to run it off my own box if someone can recommend some code etc TIA! ++ Kevin Parker Advanced Imaging e: webmas...@advancedimaging.com.au w: www.advancedimaging.com.au m: 0418 815 527 ++ http://au.linkedin.com/in/krparker ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:341891 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFSearch and SOLR
What I ended up doing is using CFINDEX/CFCOLLECTION to create and index the collection but then using a manually cfhttp request to the localhost solr index to get the facet counts. In my scenario the 4 custom fields wasn't a limitation as much as not getting the facet counts was. This thing is easily 5% of the run time that its Verity counterpart was - its amazing. Plus you can optimize/search/index all at the same time and your SOLR collection doesn't get corrupted like verity! For anyone else interested, it seems there have been a few works like Dominic's here where someone got some of the way into it, the example code is pretty simple though once you get the solr query syntax down. Here is a coldfusion object for interacting with solr http://solcoldfusion.riaforge.org/ I had to tweak it to fit my collection, and local port ( eg. http://localhost:8983/solr/collectionamne/action ) This page was also invaluable, but its a shame they don't give examples of the dataset, its not until you run one of these quries and see the output that you realize how powerful it is: http://www.lucidimagination.com/Community/Hear-from-the-Experts/Articles/Faceted-Search-Solr Cheers! On Mon, Jan 17, 2011 at 6:01 AM, Dominic Watson watson.domi...@googlemail.com wrote: p.s. I started blogging about how I accessed solr directly in CF here: http://fusion.dominicwatson.co.uk/2010/12/apache-solr-or-departing-from-confines.html http://fusion.dominicwatson.co.uk/2010/12/apache-solr-or-departing-from-confines.html and http://fusion.dominicwatson.co.uk/2010/12/apache-solr-part-ii-installing-solr.html http://fusion.dominicwatson.co.uk/2010/12/apache-solr-part-ii-installing-solr.html I've not got around to finishing it off though so no code samples yet. I think that there would need to be more than just a custom cfsearch tag. What Solr offers is quite a departure from the cfcollection, cfindex and cfsearch paradigm. I started a github project, creatively named cfsolr, and did some preliminary work - needless to say, time has got the better of me. I might get back on that tonight ;) Dominic On 17 January 2011 10:30, Russ Michaels r...@michaels.me.uk wrote: Seems a custom cfsearch tag might be useful here if Adobe have not implemented it very well. Russ -Original Message- From: Dominic Watson [mailto:watson.domi...@googlemail.com] Sent: 17 January 2011 09:08 To: cf-talk Subject: Re: CFSearch and SOLR I tried and ended up doing it directly. As far as I could see it was not possible. Using Solr directly wasn't too much bother and the benefits were more than worth it. On 16 January 2011 23:25, Dan Baughman dan.baugh...@gmail.com wrote: Hi List, Has anyone setup any of the complex Facet stuff that Solr supports through ColdFusion using CFSEARCH? It seems to me that you would have to interact with the SOLR server directly via CFHTTP to get any of the decent features out of Solr. Specificaly, I want to specific some facet parameters to get facet counts for a faceted search. My undestanding is that to do this you have to throw some additional arguments into the URL arguments to Solr's web service, not just passed them in as Criteria (which would work if CFSEARCH didn't URL encode your criteria for you. Does anyone know how to update these arguments per search, or tell CFSEARCH not to urlencode the criteria? Thanks, Dan ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340929 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
CFSearch and SOLR
Hi List, Has anyone setup any of the complex Facet stuff that Solr supports through ColdFusion using CFSEARCH? It seems to me that you would have to interact with the SOLR server directly via CFHTTP to get any of the decent features out of Solr. Specificaly, I want to specific some facet parameters to get facet counts for a faceted search. My undestanding is that to do this you have to throw some additional arguments into the URL arguments to Solr's web service, not just passed them in as Criteria (which would work if CFSEARCH didn't URL encode your criteria for you. Does anyone know how to update these arguments per search, or tell CFSEARCH not to urlencode the criteria? Thanks, Dan ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340917 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: What's the best way to investigate a Jrun.exe spike?
Use cfstart to run coldfusion command line, and then do stack dumps using ctrl-pausebreak when it spikes. There is an adobe tech note on how to do that. In addition to that, Process Monitor from Mark Russinovich is also very good ( and free). On Wed, Jan 5, 2011 at 4:31 PM, Philip Kaplan pkap...@gmail.com wrote: Occasionally Jrun spikes on my Windows CF9 box. This causes the server to die until I restart ColdFusion. The site receives moderate traffic..some spikes but nothing huge. Ancient question, but what's the best way to investigate this? Thanks ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340487 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFWDDX Serialization and Deserialization
I'll throw together a segement code later for those interested. It's really more basic than that. On Tue, Dec 7, 2010 at 7:11 AM, Jason Fisher ja...@wanax.com wrote: Sounds like the OP's issue is XML, not HTML, where the CDATA blocks can't be nested. Not sure there's a solution for that one ... ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339879 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
CFWDDX Serialization and Deserialization
It has recently (and very painfully) come to my attention that cfwddx serialize doesn't encapsulate strings in CDATA markers. This removes your ability to have HTML/XML markup in a string that is part of a struct you are trying to serialize/deserialize with out paying special attention to each string at serialization and deserialization time. Is there something I'm missing? This would seem to be an incredibly useful feature that would save tons of work and make the serialization feature tons more useful. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339842 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFWDDX Serialization and Deserialization
Yea I'm remembering why I chose to use cfwddx when I build this specific app, but I'm wishing I had used something else like that. Have you used that much with international or special character sets, writing to database, etc? Before I change serialization techniques I want to find the right one this time. On Mon, Dec 6, 2010 at 4:43 PM, Russ Michaels r...@michaels.me.uk wrote: Could you use CFJSON instead http://cfjson.riaforge.org/ Russ -Original Message- From: Dan Baughman [mailto:dan.baugh...@gmail.com] Sent: 06 December 2010 21:24 To: cf-talk Subject: CFWDDX Serialization and Deserialization It has recently (and very painfully) come to my attention that cfwddx serialize doesn't encapsulate strings in CDATA markers. This removes your ability to have HTML/XML markup in a string that is part of a struct you are trying to serialize/deserialize with out paying special attention to each string at serialization and deserialization time. Is there something I'm missing? This would seem to be an incredibly useful feature that would save tons of work and make the serialization feature tons more useful. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339870 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Excel File Parser for ColdFusion
Not off the top of my head, but I recall that you have to close both the resource and the queryobject using a .close function, or the resource handle stays open and you end up having to restart coldfusion every so often. On Mon, Nov 29, 2010 at 10:02 AM, Joel Rivera jriv...@volt.com wrote: :):):) ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339600 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Simple question
Hi All, What is the easiest way in coldfusion to touch a file. IE. updates it's modified time to be now. I can think of a few hacks, but was looking for something super easy and graceful. Dan ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337942 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Simple question
So if you set the output to blank it doesn't over write the contents of the file? On Thu, Oct 7, 2010 at 1:13 PM, John M Bliss bliss.j...@gmail.com wrote: cffile action=write file=c:\temp\temp.txt output= On Thu, Oct 7, 2010 at 2:05 PM, Dan Baughman dan.baugh...@gmail.com wrote: Hi All, What is the easiest way in coldfusion to touch a file. IE. updates it's modified time to be now. I can think of a few hacks, but was looking for something super easy and graceful. Dan ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337944 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Simple question
Thanks, all. Nice to see the built in function. On Thu, Oct 7, 2010 at 1:32 PM, Wil Genovese jugg...@trunkful.com wrote: fileSetModified() http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-6ce1.html Wil Genovese One man with courage makes a majority. -Andrew Jackson A fine is a tax for doing wrong. A tax is a fine for doing well. On Oct 7, 2010, at 2:29 PM, Dan Baughman wrote: So if you set the output to blank it doesn't over write the contents of the file? On Thu, Oct 7, 2010 at 1:13 PM, John M Bliss bliss.j...@gmail.com wrote: cffile action=write file=c:\temp\temp.txt output= On Thu, Oct 7, 2010 at 2:05 PM, Dan Baughman dan.baugh...@gmail.com wrote: Hi All, What is the easiest way in coldfusion to touch a file. IE. updates it's modified time to be now. I can think of a few hacks, but was looking for something super easy and graceful. Dan ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337948 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Really odd problem - cpu utilization at idle
Ok I got this taken care of, it was the registry values! I wasn't using Client variables, but I had client management set to yes in the application.cfm I disabled that, and cleared that reg key that stores the client variables and like magic the server is 100% Clientmanagement=yes is basically a time bomb just waiting to go off if you are using the registry for client variables. Why in the world would Adobe not use something like SQLite or Derby for this, by default? Thanks all for the help. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337327 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Video analysis
Hi List, I'm kicking around allowing users to upload videos directly to my site rather than using a 3rd party like youtube or vimeo. Does anyone have any experience with a coldFusion friendly video analysis tool? I'm hoping for something I can run on the uploaded file to verify the fileformat, video codec, etc. Regards, Dan ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337328 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Really odd problem - cpu utilization at idle
My hesitation on cookie is adding the un-necessary bandwidth to every request. I think the best move is a hybrid. 1) disable client vars using clientmanagement=no in your cfapplication 2) set it to database or cookies. On Wed, Sep 22, 2010 at 2:57 PM, Russ Michaels r...@michaels.me.uk wrote: set the default to cookie like i said and u will have no issues. Note what i said about the registry key if you wish to disable registry storage permanently. On Wed, Sep 22, 2010 at 6:44 PM, Dave Watts dwa...@figleaf.com wrote: Why in the world would Adobe not use something like SQLite or Derby for this, by default? Client variables predate the existence of SQLite or Derby. Client variables were first introduced back in CF 2, if I recall correctly. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337344 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Shorter URLs - How?
Well not to get to technical but cf actually sees the rewritten URL. The bots see the seo URL before it is rewritten Dan Baughman On Sep 21, 2010, at 5:06 PM, Jacob Munson yacoub...@gmail.com wrote: They see the rewritten URL. Sent with my Android phone On Sep 21, 2010 4:21 PM, Les Mizzell lesm...@bellsouth.net wrote: I just think that there are cases where it makes sense to do URL rewriting in CF. Getting off topic, how does this affect SEO? What does googlebot or another search engine bot see when it's done this way? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337291 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Really odd problem - cpu utilization at idle
Ok I switched it to use an empty database for the client vars. Also I do have the option of dropping back to developer mode. I googled and didn't see how to do drop back to developer mode, is this an XML file somewhere? Thanks for suggestions so far, all. On 9/16/10, Mark A. Kruger mkru...@cfwebtools.com wrote: Russ, You can remove the Registry manually from the XML config file and restart the CF server... this will mean CF will not include the registry in the purge - at least that was one point of my post. But some aps will specify registry as the storage mechanism, so this could cause you other issues. -mark Mark A. Kruger, MCSE, CFG -Original Message- From: Russ Michaels [mailto:r...@michaels.me.uk] Sent: Thursday, September 16, 2010 8:15 AM To: cf-talk Subject: Re: Really odd problem - cpu utilization at idle ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337124 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Really odd problem - cpu utilization at idle
Hi list, I have an issue where after sitting idle for a while JRUN spikes to 100% of it's cpu usage and just sits there. I ran it and did some stack traces and it wasn't even serving any web pages. Process monitor yielded that Jrun.exe's only IO activity was rescanning some XML files in the ColdFusion install folder. We pulled the server from production and this issue recurs if its just sitting there by itself. Any suggestions on how to figure out what JRUN is doing ?? I've never had this problem before. Thanks Dan ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337098 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Really odd problem - cpu utilization at idle
Russ: I have ColdFusion 9 standard, when I click on server monitor in the cfadmin it says not available for this version Mark: It is set to registry, but this is one site that does not use any CLIENT. variables it uses all SESSION. The purge period is set to 1 hour and 7 minutes. On Wed, Sep 15, 2010 at 5:36 PM, Mark A. Kruger mkru...@cfwebtools.comwrote: Dan, What's the setting for client vars? -mark Mark A. Kruger, MCSE, CFG (402) 408-3733 ext 105 Skype: markakruger www.cfwebtools.com www.coldfusionmuse.com www.necfug.com -Original Message- From: Russ Michaels [mailto:r...@michaels.me.uk] Sent: Wednesday, September 15, 2010 6:31 PM To: cf-talk Subject: Re: Really odd problem - cpu utilization at idle have you tried using the built in server monitor to diagnose the problem ? On Thu, Sep 16, 2010 at 12:27 AM, Dan Baughman dan.baugh...@gmail.comwrote: Hi list, I have an issue where after sitting idle for a while JRUN spikes to 100% of it's cpu usage and just sits there. I ran it and did some stack traces and it wasn't even serving any web pages. Process monitor yielded that Jrun.exe's only IO activity was rescanning some XML files in the ColdFusion install folder. We pulled the server from production and this issue recurs if its just sitting there by itself.tor Any suggestions on how to figure out what JRUN is doing ?? I've never had this problem before. Thanks Dan ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337101 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Millions of Coldfusion sites need to apply patches
Millions of sites applying one patch is better than Millions of sites applying Millions of patches ^^ http://www.digitaltrends.com/computing/microsoft-issues-record-number-of-patches/ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336226 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Regex Help
kidding? i already spent $15! On Mon, Jul 26, 2010 at 6:52 PM, andy matthews li...@commadelimited.comwrote: You know I was kidding right? -Original Message- From: Bobby Hartsfield [mailto:bo...@acoderslife.com] Sent: Monday, July 26, 2010 6:21 PM To: cf-talk Subject: RE: Regex Help Sigh... .:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Andy Matthews [mailto:li...@commadelimited.com] Sent: Monday, July 26, 2010 3:03 PM To: cf-talk Subject: RE: Regex Help [Completely irrelevant link removed] :) ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335743 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Adobe no longer part of the OpenCFML committee
Is there an official adobe announcement that it pulled out? On Thu, Jul 22, 2010 at 5:10 PM, Sean Corfield seancorfi...@gmail.comwrote: On Thu, Jul 22, 2010 at 12:20 PM, Gerald Guido gerald.gu...@gmail.com wrote: Or support for Amazon Web services: S3 (well before Adobe did), My bad. Before I get a public tongue lashing... I got Railo mixed up with OBD with the S3 support. Yup, Railo introduced the concept of resources quite a long time ago (in Railo 2.0, back in 2007) that allows standard file tags to work with ram, S3, ZIP files, FTP sites and even database tables. -- Sean A Corfield -- (904) 302-SEAN Railo Technologies, Inc. -- http://getrailo.com/ An Architect's View -- http://corfield.org/ If you're not annoying somebody, you're not really alive. -- Margaret Atwo ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335674 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Programmatic manipulation of DSN settings
Can you update, add, and delete datasources via code in ColdFusion? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334337 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Programmatic manipulation of DSN settings
Nice is that new to coldfusion 9? On Mon, Jun 7, 2010 at 12:33 PM, Dave Watts dwa...@figleaf.com wrote: Can you update, add, and delete datasources via code in ColdFusion? Yes, through the Admin API: http://help.adobe.com/en_US/ColdFusion/9.0/Admin/WSc3ff6d0ea77859461172e0811cbf364104-7fcf.html Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334339 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Using two submit buttons to control form action
I'm using cf9 on iis7 and when I put what you've provided into a form, form.choose is either equal to change, or full, depending on which button was clicked. On Wed, Apr 28, 2010 at 6:24 PM, John Pullam jpul...@mcleansystems.comwrote: I have seen several examples of using multiple form buttons on a single form. The idea is that you can get the value of the respective form variable when you are posted and then take the appropriate action. But I'm getting odd results. Instead of getting a single value, I get both values every time, and the examples I've seen suggest that you should only get the one that was pressed. Can anyone tell me what I'm doing wrong or what I need to do to get a single value? My code for the buttons is as follows: input name=Choose value=Change type=submit class=EditButton / input name=Choose value=Full type=submit class=EditButton / When I CFDump it, FORM.Choose is Change,Full ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333213 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Solr versus Verity
Hi List, Anyone used Solr much? Does it fix any of the problems verity had? Has anyone used it with really large collections with categories? Does Solr corrupt itself really easily like Verity does? My biggest beef with Verity is the random collection corruption, specifically the categories seem to basically scramble themselves every so often despite my liberal use of locking. The inputs appreciated, Dan ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333134 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfoutput query within cfoutput query
Hi Brandon, 1) Use a cfloop in place of a cfoutput tag for the inner loop. 2) in situations like these I recommend also scoping your variables, eg. the pets in the inner loop would be #pets.pet# 3) in general your approach should be revisited, mainly because it will create and execute a new query for each row returned by query person, consider performing a join operation and reducing your approach to have only one query. Hope that helps, Dan On Fri, Mar 19, 2010 at 4:32 PM, brandon kennedy laxtwenty...@gmail.comwrote: I have a situation where i need to display info from two queries on the same row of a table. Here is the background, each person in a database table has a name and ID which is then linked to another table that lists pets. Each person can have as many as 4 pets. Now i need to display the ID, name, and each pet on the same row of table, preferably with the pets all listed in the same cell. I'm not that experienced with ColdFusion so my first attempt looked like this: cfquery datasource=#dsn# name=person SELECT * FROM tblPerson /cfquery table cfoutput query=person tr td#ID#/td td#name#/td cfquery datasource=#dsn# name=pets SELECT * FROM tblPets WHERE ownerID = #person.ID# /cfquery cfoutput query=pets td#pet#br/td /cfoutput /tr /cfoutput /table If you've read this far, i'm sure you know this won't work but i hope can see what i'm trying to do. Please help if have any solutions ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331909 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Multi-part mime messages with cfpop
Hi CF List, A quick scan seems to reveal that cfpop is unable to parse and download all mime parts of a multipart encoded email message??? Anyone had to do that before and found something that works really well in ColdFusion, or I am missing something about CFPOP? Cheers, Dan ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326311 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cfopenchat - jquery
worked on chrome. On Tue, Sep 1, 2009 at 9:53 PM, Rick Faircloth r...@whitestonemedia.comwrote: Hmmm...in IE 7/8, I got The website cannot display this page after entering a name and clicking the Enter Chat button. In FF 3.5.2, I got a CF Error Variable SESSIONID is undefined, along with this when I entered my name and clicked the Enter Chat button: The error occurred in /home/opencf/public_html/cfopenchat/demo/cfopenchat.cfm: line 77 75 : link rel=stylesheet type=text/css href=./cfopenchat.css 76 : script language=javascript 77 : var sessionid = 'cfoutput#sessionid#/cfoutput'; 78 : /script 79 : script type=text/javascript src=./JavaScriptFlashGateway.js/script Is it just my system? Rick -Original Message- From: Rick Root [mailto:rick.r...@webworksllc.com] Sent: Tuesday, September 01, 2009 11:35 PM To: cf-talk Subject: cfopenchat - jquery so while I'm on a roll cfopenchat (version 1.1) now uses jQuery instead of ajax.cfc Maybe it'll be more reliable. Of course, it's still a chat room that uses ajax, so it still is an insanely bad idea :) http://www.opensourcecf.com/cfopenchat demo: http://www.opensourcecf.com/cfopenchat/demo -- Rick Root CFFM - Open Source Coldfusion File Manager http://www.opensourcecf.com/cffm ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325922 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Throttling CFMail
It's much more than just sending that many at once. Most recipient email servers will kick you out for sending too many, too fast, as well. ie. yahoo will ban you for 48 hours if you try to delivery too many emails in a short period of time. To delivery effectively you also need domain-specific throttling. Dan On Tue, Aug 25, 2009 at 8:54 AM, Cameron Childress camer...@gmail.comwrote: On Mon, Aug 24, 2009 at 4:58 PM, Pete Ruckelshauspruckelsh...@gmail.com wrote: I got dinged by my ISP for sending 2,000 email newsletters at once. Any ideas on how to throttle these emails so that they are sent in small batches, i.e. 100 per minute? Is there a simple way to accomplish this, or do I just need to write my own code that loops through and sends emails incrementally? You may have better luck just paying for SMTP services from a company who doesn't mind you sending that many emails at once. You might even open that conversation with your ISP and ask them if they would be willing to allow you to pay a little extra for the privilege of using their outbound SMTP a little more. Some ISPs have a business account or some other type of email accoutnt hat would allow you to do this. -Camer ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325696 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: ColdFusion 8 Installation Problems.
Haven't seen that before either. I'd make sure that coldfusion is working properly by setting it to run stand alone, then try running IIS in iis5 compat mode to see if that helps. On Sun, Aug 23, 2009 at 7:36 PM, Mark Kolaric mark.kola...@abcb.gov.auwrote: Thanks for the replies, I've dug into the IIS and HTTP Error logs and found the following: #Software: Microsoft HTTP API 1.0 #Version: 1.0 #Date: 2009-08-21 05:57:15 #Fields: date time c-ip c-port s-ip s-port cs-version cs-method cs-uri sc-status s-siteid s-reason s-queuename 2009-08-21 05:57:15 127.0.0.1 1248 127.0.0.1 80 HTTP/1.1 GET /CFIDE/administrator/index.cfm - 1 Connection_Dropped DefaultAppPool 2009-08-21 06:08:15 127.0.0.1 1299 127.0.0.1 80 HTTP/1.1 GET /CFIDE/administrator/index.cfm - 1 Connection_Dropped DefaultAppPool 2009-08-21 06:08:45 127.0.0.1 1302 127.0.0.1 80 HTTP/1.1 GET /CFIDE/administrator/index.cfm - 1 Connection_Dropped DefaultAppPool 2009-08-21 06:09:15 127.0.0.1 1307 127.0.0.1 80 HTTP/1.1 GET /CFIDE/administrator/index.cfm - 1 Connection_Dropped DefaultAppPool 2009-08-21 06:26:15 127.0.0.1 1383 127.0.0.1 80 HTTP/1.1 GET /CFIDE/administrator/index.cfm - 1 Connection_Dropped DefaultAppPool 2009-08-23 23:46:46 127.0.0.1 2825 127.0.0.1 80 HTTP/1.1 GET /CFIDE/administrator/ - 1 Connection_Dropped DefaultAppPool 2009-08-23 23:46:46 127.0.0.1 2829 127.0.0.1 80 HTTP/1.1 GET /CFIDE/administrator/ - 1 Connection_Dropped DefaultAppPool 2009-08-23 23:47:16 127.0.0.1 2831 127.0.0.1 80 HTTP/1.1 GET /CFIDE/administrator/index.cfm - 1 Connection_Dropped DefaultAppPool 2009-08-23 23:47:16 127.0.0.1 2834 127.0.0.1 80 HTTP/1.1 GET /CFIDE/administrator/index.cfm - 1 Connection_Dropped DefaultAppPool 2009-08-23 23:49:16 127.0.0.1 2842 127.0.0.1 80 HTTP/1.1 GET /CFIDE/administrator/index.cfm - 1 Connection_Dropped DefaultAppPool 2009-08-23 23:49:16 127.0.0.1 2846 127.0.0.1 80 HTTP/1.1 GET /CFIDE/administrator/index.cfm - 1 Connection_Dropped DefaultAppPool 2009-08-23 23:57:17 127.0.0.1 2881 127.0.0.1 80 HTTP/1.1 GET /CFIDE/administrator/index.cfm - 1 Connection_Dropped DefaultAppPool 2009-08-23 23:57:47 127.0.0.1 2892 127.0.0.1 80 HTTP/1.1 GET /CFIDE/administrator/index.cfm - 1 Connection_Dropped DefaultAppPool 2009-08-23 23:58:47 127.0.0.1 2911 127.0.0.1 80 HTTP/1.1 GET /CFIDE/administrator/index.cfm - 1 Connection_Dropped DefaultAppPool 2009-08-24 00:04:47 127.0.0.1 2942 127.0.0.1 80 HTTP/1.1 GET /CFIDE/administrator/index.cfm - 1 Connection_Dropped DefaultAppPool 2009-08-24 00:05:17 10.100.201.10 2947 10.100.201.10 80 HTTP/1.1 GET /CFIDE/administrator/index.cfm - 1 Connection_Dropped DefaultAppPool 2009-08-24 00:05:47 10.100.201.10 2956 10.100.201.10 80 HTTP/1.1 GET /CFIDE/administrator/index.cfm - 1 Connection_Dropped DefaultAppPool #Software: Microsoft Internet Information Services 6.0 #Version: 1.0 #Date: 2009-08-24 01:32:50 #Fields: date time s-sitename s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status 2009-08-24 01:32:50 W3SVC1972422732 127.0.0.1 GET /CFIDE/administrator - 80 - 127.0.0.1 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+5.2;+Trident/4.0;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727;+.NET+CLR+3.0.4506.2152;+.NET+CLR+3.5.30729) 301 0 0 Haven't come across this before, but I will contunue to investigate. Hopefully someone here knows what's going on :) Thanks, Mark. First thing to try: Use a browser that will actually show you the error message so we can actually help you figure out what the problem is. Nothing against IE here, but when the server returns an error code IE just throws up it's garbage error page instead of showing you the message the server returned. Next you may consider changing coldfusion to stand alone mode, where it listens on port 8500 without having to interface with IIS. Let me know what the error is and I'll let you know what I think is up. Dan On Fri, Aug 21, 2009 at 6:02 AM, Kevin Roche ke...@objectiveinternet.com wrote: Try a reboot after the fail, then go back to the page that failed. Worked for me on Monday. Kevin ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325625 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: ColdFusion 8 Installation Problems
First thing to try: Use a browser that will actually show you the error message so we can actually help you figure out what the problem is. Nothing against IE here, but when the server returns an error code IE just throws up it's garbage error page instead of showing you the message the server returned. Next you may consider changing coldfusion to stand alone mode, where it listens on port 8500 without having to interface with IIS. Let me know what the error is and I'll let you know what I think is up. Dan On Fri, Aug 21, 2009 at 6:02 AM, Kevin Roche ke...@objectiveinternet.comwrote: Try a reboot after the fail, then go back to the page that failed. Worked for me on Monday. Kevin ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325582 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Excel File Parser for ColdFusion
The end goal is to convert the file into a query-like struct that you can loop through taking action on the contents of each line? On Fri, Aug 7, 2009 at 10:41 AM, Donnie Carvajal donnie.carva...@transformyx.com wrote: We have an application that excepts a CSV file for data imports, but as I am sure you know, editing CSV files in notepad is a pain and since Excel loves to change your data the process can be very cumbersome and painful. So, I was thinking, if there was an Excel file parser that I could run in ColdFusion, we could avoid all of the data issues that Excel creates. Does anyone know of anything out there that would allow my users to upload an Excel file and the data could be parsed as if it were uploaded as a flat file? You know, 1st column has fields names, every other column is data. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325271 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Excel File Parser for ColdFusion
I have a function that will do just that, its only like 22 lines of code. You have to be careful because if you don't close the resource and the connection you have to restart your coldfusion services... so you may want to throw in a try/catch that does that. With this code you don't have to install any additional software or anything... its all built-in coldfusion. I would copy/paste the code but it would likely mangle some characters so just copy/paste from the blog site. http://baughmansoft.com/index.cfm/2009/5/19/Pulling-an-Excel-file-into-a-query-struct-in-21-lines-of-code On Fri, Aug 7, 2009 at 10:59 AM, Donnie Carvajal donnie.carva...@transformyx.com wrote: Hi Dan, Yes. Currently I am reading the uploaded CSV file with CFHTTP which returns the data in a query. Thanks, Donnie The end goal is to convert the file into a query-like struct that you can loop through taking action on the contents of each line? On Fri, Aug 7, 2009 at 10:41 AM, Donnie Carvajal donnie.carva...@transformyx.com wrote: ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325276 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Excel File Parser for ColdFusion
It appears that approach wants to work with a CSV file, not an xls? On Fri, Aug 7, 2009 at 11:17 AM, Mark Kruger mkru...@cfwebtools.com wrote: Well here's one approach. Keep in mind that CF9 will have some good features for this sort of thing. http://www.coldfusionmuse.com/index.cfm/2007/2/5/csv -Mark Mark A. Kruger, CFG, MCSE (402) 408-3733 ext 105 www.cfwebtools.com www.coldfusionmuse.com www.necfug.com -Original Message- From: Donnie Carvajal [mailto:donnie.carva...@transformyx.com] Sent: Friday, August 07, 2009 10:59 AM To: cf-talk Subject: Re: Excel File Parser for ColdFusion Hi Dan, Yes. Currently I am reading the uploaded CSV file with CFHTTP which returns the data in a query. Thanks, Donnie The end goal is to convert the file into a query-like struct that you can loop through taking action on the contents of each line? On Fri, Aug 7, 2009 at 10:41 AM, Donnie Carvajal donnie.carva...@transformyx.com wrote: ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325278 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Excel File Parser for ColdFusion
Interesting I hadn't considered a windows ODBC. It seems there are about 200 ways to skin this cat. I prefer the ad-hoc java driver for creating an ODBC datasource, but I guess it might not work for the new-fangled XLSX stuff. On Fri, Aug 7, 2009 at 11:30 AM, Mark Kruger mkru...@cfwebtools.com wrote: Dan, Yes I thought you had mentioned a CSV file. The same approach will work with excel - you would just need a different driver. Check out Ryan's post: http://www.stillnetstudios.com/garbled-truncated-reading-xls-files/ Mark A. Kruger, CFG, MCSE (402) 408-3733 ext 105 www.cfwebtools.com www.coldfusionmuse.com www.necfug.com -Original Message- From: Dan Baughman [mailto:dan.baugh...@gmail.com] Sent: Friday, August 07, 2009 11:22 AM To: cf-talk Subject: Re: Excel File Parser for ColdFusion It appears that approach wants to work with a CSV file, not an xls? On Fri, Aug 7, 2009 at 11:17 AM, Mark Kruger mkru...@cfwebtools.com wrote: Well here's one approach. Keep in mind that CF9 will have some good features for this sort of thing. http://www.coldfusionmuse.com/index.cfm/2007/2/5/csv -Mark Mark A. Kruger, CFG, MCSE (402) 408-3733 ext 105 www.cfwebtools.com www.coldfusionmuse.com www.necfug.com -Original Message- From: Donnie Carvajal [mailto:donnie.carva...@transformyx.com] Sent: Friday, August 07, 2009 10:59 AM To: cf-talk Subject: Re: Excel File Parser for ColdFusion Hi Dan, Yes. Currently I am reading the uploaded CSV file with CFHTTP which returns the data in a query. Thanks, Donnie The end goal is to convert the file into a query-like struct that you can loop through taking action on the contents of each line? On Fri, Aug 7, 2009 at 10:41 AM, Donnie Carvajal donnie.carva...@transformyx.com wrote: ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325281 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: ADA Captcha
Nice, I think I've decided to go with recaptcha, just because this captcha isn't really part of a form. This implemntation is being used to restrict access to certain areas of the site. On Tue, Aug 4, 2009 at 4:30 PM, Phillip Vector vec...@mostdeadlygame.comwrote: I found CFFormProtect to be very hard to configure and set up (in fusebox). reCapatcha, I set up in about 4 mins. (just did it) and it works perfectly. On Tue, Aug 4, 2009 at 3:28 PM, Sebastiaan GMC van Dijkseb...@hotmail.com wrote: Captcha's are SOOO passe! Toss out the Captcha and make use of CFFormProtect, available from RIAForge.com ;-) No extra user input, coupled to Akismet and Project Honeypot, and all CFC ;-) Sebastiaan = So long and thanx 4 all the fish == Onlinebase.nl Date: Tue, 4 Aug 2009 14:51:58 -0700 Subject: Re: ADA Captcha From: h...@ilsweb.com To: cf-talk@houseoffusion.com Dave Watts wrote: While I do think you're right about reCAPTCHA being ADA-compliant, I would still recommend avoiding the use of CAPTCHAs at all. ADA compliant doesn't necessarily equate with easy to use. While I don't disagree that there are costs and cons to weigh when using a captcha. I find the Carnegie-Mellon one to be less annoying then most. They don't do *really* funky things with the words like toss the letters like salad or use horrid backgrounds. They actually use the creative idea of taking a fairly human readable word that has already failed computer recognition when it was scanned and OCR'ed from a digitalization project, currently the NY Times. And combines this with a word that has already been solved by humans. Thus you get a pair of fairly straight forward words that have always been simple for me to understand at least. That has not always been true with other, more homegrown captcha systems. Plus you get the community benefit of helping digitalize pre-computer printed works. I feel that offsets quite a bit of the cons of captcha's in general. As well as that Carnegie-Mellon has also included the ADA compliance portion. But, as always, your (general) millage may vary and only you (general) can make the decision on what is best for your (general) given project of the day. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325224 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
ADA Captcha
So I finally actually had an opportunity to use ColdFusion's new captch image generator.. easy enough. However, it doesn't fit the order for this site. I need something ADA compliant. I was looking at RE-captcha or something like that? anyone have anything free and easy for ADA captcha? Dan ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325197 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Excel2Query
Here is how I did it, using an ad hoc odbc data source (no need for the tag) cffunction name=getExcelSheet access=public output=false returntype=query cfargument name=filename required=true type=string / cfargument name=sheetName required=true type=string / cfscript var c = ; var stmnt = ; var rs = ; var sql = Select * from [#sheetName#$]; var myQuery = ; arguments.filename = expandPath(arguments.filename); if(len(trim(arguments.filename)) and fileExists(arguments.filename)){ CreateObject(java,java.lang.Class).forName(sun.jdbc.odbc.JdbcOdbcDriver); c = CreateObject(java,java.sql.DriverManager).getConnection(jdbc:odbc:Driver={Microsoft Excel Driver (*.xls)};DBQ= arguments.filename ); stmnt = c.createStatement(); rs = stmnt.executeQuery(sql); myQuery = CreateObject('java','coldfusion.sql.QueryTable').init(rs); rs.close(); c.close(); } return myQuery; /cfscript /cffunction On Fri, Jul 17, 2009 at 12:27 PM, John M Bliss bliss.j...@gmail.com wrote: Not exactly an answer to your question...but: http://cflib.org/udf/parseExcel On Fri, Jul 17, 2009 at 1:18 PM, John McSwishton jmcswish...@gmail.com wrote: I purchased a CFX from http://www.emerle.net/programming/, CFX_Excel2Query but I keep getting this error: java.lang.ClassNotFoundException: cfx_excel2query.jar, tags folder=classes/ Is this a problem with the CFX or my installation? TIA ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324759 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Another excel file reading question
Excellent observation. I've altered the code to close the connection as well as the resultset and will respond back to confirm that change does allow another dynamic odbc connection to be opened without restarting coldfusion. I do not use dynamic odbc excel connections much. But one thing that jumps out at me is you are closing the resultset, but not the connection object. Always close both, and use error handling to make sure the objects are properly closed in the event of an error. But you might also consider using a fixed datasource instead. IIRC, you can read excel files dynamically using a single MS Access or Excel/odbc datasource. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323644 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Another excel file reading question
I'm using the following code to read an excel file. But it only runs once and I have to restart coldfusion before it will be successful again, its clock word. the error message indicates system resource exceeded. Anyone figured this out? var c = ; var stmnt = ; var rs = ; var sql = Select * from [#sheetName#$]; var myQuery = ; arguments.filename = expandPath(arguments.filename); if(len(trim(arguments.filename)) and fileExists(arguments.filename)){ CreateObject(java,java.lang.Class).forName(sun.jdbc.odbc.JdbcOdbcDriver); c = CreateObject(java,java.sql.DriverManager).getConnection(jdbc:odbc:Driver={Microsoft Excel Driver (*.xls)};DBQ= arguments.filename ); stmnt = c.createStatement(); rs = stmnt.executeQuery(sql); myQuery = CreateObject('java','coldfusion.sql.QueryTable').init(rs); rs.close(); } return myQuery; ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323574 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Coldfusion Date format question
I believe the issue may be with your cfqueryparam tag. You are using cf_sql_date, which to me implies only a date, not a time. According to livedocs the CF_SQL_TIMESTAMP cfqueryparam is what maps to the Microsoft SQL datetime type. Dan On Mon, May 11, 2009 at 1:37 PM, fun and learning funandlrnn...@gmail.comwrote: Hello All, I have an issue inserting date and time together into a database table from coldfusion. Right now, I am using cfquery to get records from a particular table, in which one of the field is date, and its value in the database is something like 2/14/2007 9:10:12 AM. I am performing insert operation into another table which has to insert this date field into the column of new table. I am doing currently as follow: cfquery name=getDate datasource= maxrows=1 select date_field from table /cfquery cfif getDate.recordcount is not 0 cfquery name=insertDate datasource= insert into table2 (date_field1) values (cfqueryparam cfsqltype=cf_sql_date value=#getDate.date_field#) /cfquery /cfif The problem with this is only the date is getting inserted but not the time. How to format this. It would be great if somebody can reply, I am not sure if my messages are getting posted, as I posted couple of issues I had some time back, but never got any reply back. Thanks. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322380 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFC Wrapper for ImageMagick?
I know it was done once as a custom tag, with nested parameters and all that. Was called cf_magicktag... really old but it is what I used prior to image support in cf8. On Thu, May 7, 2009 at 12:26 PM, Michael Muller ad...@montaguema.netwrote: I've just started using it too, and would love a CFC interface to it rather than using CFEXECUTE. Have to say, their docs are horrible though. Very little in the way of actual command line syntax, and some of the examples are just plain wrong. Mik That would be cool! If noone has one...I'd be willing to try a crack at a cfc...I have been slammed though, so I can't make any promises on a timeline. --Josh --- Exciteworks -- expert hosting for less! http://exciteworks.com specializing in reseller accounts Burns, John wrote: I seem to remember hearing about a CFC written to interface with ImageMagick. All I can seem to find is the MagickTag custom tag for doing that. Does anyone know of a CFC? Thanks. John Burns ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322298 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
SQL Server Locks
Hi All, SQL Server locks seem to cause problems that result in processes remaining blocked until something intervenes in two cases: circular dependencies between processes and application or when a query is cancelled but the lock isn't released. My question pertains to the latter. Has anyone really looked at situations that ColdFusion, through the default JDBC driver to SQL Server 2000 will obtain a table or row level lock and then not release it? Or is this possiblya function of some fault SQL. Or is there some user behaviour that causes the latter to occur? Regards, Dan Baughman ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321623 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: AJAX Solution to Read database and load new Image
There are just a ton of ways to do exactly this, its a bit of general question. It sounds like maybe you are looking for some example code? Are you using any Javascript frameworks? The general flow to the update is going to be this: 1. A function is called via a page onload or something. 2. This function creates an XMLHTTP request and sets the callback function that will get passed the data returned from the http request. 3. The call back function receives this data, and does the javascript to set the image attributes appropriately, it then does a setTimeout back to the original function. (goto step 1) Creating the functionality involves the server side programming. When I was first learning Javascript and using the XMLHTTP request i was using a serverside script that returned raw html or delimited strings that was parsed as appropriate by the callback function. In this case the server side script could simply return the relative path to the image which the callback function could then document.getElementById('imageid').src = returnedText. If you have time and are actually trying to learn JS, a better approach would be to have the server side script generate a JSON object which would make it easier to add more than one value to the data it returned to the clientside JS, say the next step in improving this would be to return a string that would serve as a caption below the image. JSON is a cake to parse client side and is lighter weight that XML. I have a ghetto xmlhttprequest object i use but I'd recommend you go get jQuery and read 3 or 4 pages of documentation on their ajax object. It would allow you very simply return the full img tag from the server side script, and then periodically populate some arbitray div with the results. HTH Dan On Sun, Mar 29, 2009 at 9:36 AM, Tom LaBatt tlab...@daybreakengineering.com wrote: I am starting out with AJAX and would like to create a simple app to use on my site. I have a database table setup (images) with image information in it of fields named: imageid, imagename, imageactive, and I want to have a client go to a url that displays the image using the img src= tag of the image in the database that is marked as imageactive. Then using AJAX to continuously check that database table from the clients page and when a new image it tagged as imageactive then I want the clients page to refresh, load and display the new image that is tagged in the database as imageactive without them having to click on anything. The client just sits there and watching the screen while I am talking to them over the phone. As the presenter on the phone talking to them I am controling from my computer what image in the database table that is being tagged as imageactive, toggling that image and the clients machine reads that database, loads the new image and refreshes the screen if it was different from the one that is currently displayed on their screen. Is there a simple AJAX solution that can accomplish this for me? Please let me know if I am unclear as to what I am trying to accomplish. V/R, Tom ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321079 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF8 Enterprise worth the cost? Any experience with it in a virtual environment?
Durn hand-helds! I did mean to say better. I know that the JVM heap size only goes to 1.5 gigs, and you may end up fighting with other apps that don't run well on the 32 bit emulation a 64 bit version of windows server offers, but I have a couple of 64bit servers running 2k3 r2 and I don't even have to restart coldfusion at all on them. Dan On 3/26/09, Greg Luce luce...@gmail.com wrote: Dan, noticeably what? I think you missed a word that defines your post. Greg On Thu, Mar 26, 2009 at 12:32 AM, Dan Baughman dan.baugh...@gmail.com wrote: Enterprise doesn't offer perf increase, cf8 runs noticeably on 64 bit than cf7. Enterprise only offers cluster management. On 3/25/09, Ben Mueller bmuel...@gmail.com wrote: Apologies if this has been asked and answered countless times, but... We're about to upgrade our infrastructure from CF7 to 8, and are trying to determine if the Enterprise edition is worth the cost. We've heard (mostly from our hosting company) that CF8 Enterprise running on a 64-bit server offers a serious performance boost over CF8 standard, but I haven't really been able to find any other sources that line up cost vs. performance in any meaningful way. We'd of course like to run Enterprise, but our business guys are likely to balk at the cost unless we have some good ammunition. Our current production environment is 2 web boxes running Windows2003, IIS and CF7 Standard. Glancing at the features of Enterprise over Standard, it's probably the case that we only really care about server monitoring and maybe high-volume email--aside from speed improvements. Another wrinkle is that we're going to move to a virtual server environment (specifically, Hosting.com's Cloud 9 service, which runs on top of VMWare, and just sounds really cool). If anybody has any words of wisdom about that kind of environment (e.g. it's production-ready or run screaming now), it would be appreciated. Thanks in advance, Ben ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320992 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CF8 Enterprise worth the cost? Any experience with it in a virtual environment?
and 99% of sites don't need any of that. some of those are just nice to have, and certainly don't merit spending five thousand. Even larger sites, that have enough traffic to need two servers don't need that stuff. If you are serious about email delivery you usually don't use cfmail, am i right? there are too many controls left out in cfmail that make it a bad choice for mass marketing campaigns to hundreds of thousands or millions of users. But... I digress.. Anyways, all I meant to say (which was in response to the query here), performance is NOT going to improve simply because you have purchased enterprise. Your much better off to take that five thousand bucks and beef up your hardware if you are trying to improve performance. UNLESS you are going to start clustering servers. 3 clustered servers do typically outperform one server. Dan On Thu, Mar 26, 2009 at 9:21 AM, James Holmes james.hol...@gmail.comwrote: 2009/3/26 Dan Baughman dan.baugh...@gmail.com: Enterprise only offers cluster management. And Oracle drivers, non-throttled cfdocument/threading/mail and other features that are performance limited in Standard, monitoring, more VM deployement flexibility, J2EE deployment, JSP integration, sandboxing, strong crypto... 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;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320994 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Delivery Report
have all the check boxes be named the same thing. input type=checkbox name=items value=1 input type=checkbox name=items value=2 input type=checkbox name=items value=3 if all three boxes are check you will get a comma separated list in the form variable. e.g. with all 3 checked you'd get form.items = '1,2,3' then you just alter your query with an in statement ... where item_id in (cfloop from=1 to =#listlen(items)# index=icfqueryparam value=#listgetat(items, i)# cfsqltype=cf_sql_integercfif i neq listlen(items),/cfif/cfloop) ... On Wed, Mar 25, 2009 at 5:11 AM, Azadi Saryev az...@sabai-dee.com wrote: maybe i am not fully understanding your requirements, but... if you give order item checkboxes names like cb_#this_order_id#_#this_item_id#, then when your form submits it will post only checked boxes, so you will have form fields like cb_1_1, cb_1_2, cb_3_4, ... - you can then loop over form.fieldnames, and if current fieldname starts with cb_, extract the order_id and item_id from the filedname and... do whatever you need with them! (i.e. add them to a list/array you can then use to query your db to get necessary data for your report...) Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ Jason Congerton wrote: Hi I am trying to create a delivery report for my website, the report is generated from the following tables ca_customers, ca_order_summary and ca_orderitems (please see query below) ca_customer holds the customer information (one record) ca_order_summary holds the order summary information (one record) ca_order_items contains the order items (multiple records) cfquery name=get_orders datasource=#application.dsn# SELECT c.*, os.*, oi.* FROM (ca_customers c INNER JOIN ca_order_summary os ON c.ca_cust_id = os.ca_ordersum_cust_id) INNER JOIN ca_order_items oi ON os.ca_ordersum_id = oi.ca_orderitems_sum_id WHERE 0=0 AND os.ca_ordersum_archived = cfqueryparam cfsqltype=cf_sql_bit value=no AND os.ca_ordersum_invoiced = cfqueryparam cfsqltype=cf_sql_bit value=yes AND os.ca_ordersum_delivered = cfqueryparam cfsqltype=cf_sql_bit value=no cfif Isdefined('form.webID')AND c.ca_cust_web_id = cfqueryparam cfsqltype=cf_sql_integer value=#form.webID#/cfif ORDER BY ca_ordersum_id DESC /cfquery (please note .* used for example) I would like to produce a dynamic form which displays the orders one by one and also list the order items individually and have a check box next to the order items, so the user can decide which items from the order are included in a delivery report. Order #1: Contains 5 items P1,P2,P3,P4,P5 The user would only like P3 to be included within the report. I have handled dynamic forms before and have used the following format for my check boxes, and order summary id input type=hidden name=ca_ordersum_id#currentrow# value=#ca_ordersum_id# input type=hidden name=resCount value=cfoutput#get_orders.recordCount#/cfoutput input name=output#currentrow# type=checkbox class=boxes id=output#currentrow# value=yes / And use this type of code to create a list of id's to pass to a query, however this obviously just gets the ordersum id which will still include items I do not want. I can't be very far from what I need, just need a little help tweaking it. Would I be better to build a 2d array i.e. order ID, product id if so could someone point me in the right direction with creating the array and accessing the array in the subsequent query to be produced. cfset myList = cfloop index=i from=1 to=#val(form.resCount)# cfif StructKeyExists(Form,'ca_ordersum_id#i#') cfset variables.ca_ordersum_id = form['ca_ordersum_id#i#']/ cfif StructKeyExists(Form,'output#i#') cfset Variables.output = form['output#i#']/ cfset myList = listappend(mylist, variables.ca_ordersum_id) /cfif!---//end of variables output--- /cfif!---//end of variables ca_ordersum_id--- I hope this explains what I am trying to do, it does in my head anyway:-) Kind Regards Jason ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320923 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Delivery Report
The number in the item checkbox would the primary key of the item in the items table, if you always have this of items then that is the simplest solution, your both over complicating, not the arbitrary order they appear on the page. You would join to the items table based on the order number, but your where cause would select based on the item's primary keys, not the order numbers. thus the order number would be contained in the result query as it is now. Your trying to have coldfusion do too much work that SQL could more simply do. Also ANSI style outter joins are deprecated and would be better be avoided. I stand by my original suggestion. On Wed, Mar 25, 2009 at 10:40 AM, Azadi Saryev az...@sabai-dee.com wrote: use cfoutput with GROUP attribute. details are in the cfml reference - check it out as it is very particular syntax requiring nested cfoutput tags: cfoutput query=myquery group=column-name #columns_you_do_NOT_want_repeated# cfoutput #columns_you_need_repeated_for_each_column-name# /cfoutput #maybe_other_columns_you_do_NOT_want_repeated_below_repeated_output# /cfoutput you can also nest multiple cfoutput tags with different GROUP attributes, too. Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ Jason Congerton wrote: Hi Thank you for your replies, you are correct Azadi, I can not just have check boxes with the same name. I have resolved my issue in the following way, I removed the group attribute from my initial form output which returned one row for each order item I added an orderitem_id#currentrow# hidden field, created two lists, one for orderid and one for the orderitems id, and used the IN operator on my query. Which now returns the desired results! I have one slight problem with the initial display, its a little messy. Lets say the customer has ordered three items, now that I have removed the grouping(so I can get at individual items) the customer name is returned 3 times as well, can I use some conditions to stop this, or be able to group color the rows for the particular customer. Jason ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320961 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF8 Enterprise worth the cost? Any experience with it in a virtual environment?
Enterprise doesn't offer perf increase, cf8 runs noticeably on 64 bit than cf7. Enterprise only offers cluster management. On 3/25/09, Ben Mueller bmuel...@gmail.com wrote: Apologies if this has been asked and answered countless times, but... We're about to upgrade our infrastructure from CF7 to 8, and are trying to determine if the Enterprise edition is worth the cost. We've heard (mostly from our hosting company) that CF8 Enterprise running on a 64-bit server offers a serious performance boost over CF8 standard, but I haven't really been able to find any other sources that line up cost vs. performance in any meaningful way. We'd of course like to run Enterprise, but our business guys are likely to balk at the cost unless we have some good ammunition. Our current production environment is 2 web boxes running Windows2003, IIS and CF7 Standard. Glancing at the features of Enterprise over Standard, it's probably the case that we only really care about server monitoring and maybe high-volume email--aside from speed improvements. Another wrinkle is that we're going to move to a virtual server environment (specifically, Hosting.com's Cloud 9 service, which runs on top of VMWare, and just sounds really cool). If anybody has any words of wisdom about that kind of environment (e.g. it's production-ready or run screaming now), it would be appreciated. Thanks in advance, Ben ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320980 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: dynamic variable
Use a struxt with Somestruct[variable] Variable will be evaluated before being accessed as a member od somestrict. On 3/24/09, Mike Little m...@nzsolutions.co.nz wrote: hey guys, doing some very wrong here... for (i=1; i LTE listLen(currencies); i=i+1) { product_price_#i# = evaluate('getProduct.product_price_' i); product_price_sale_#i# = evaluate('getProduct.product_price_sale_' i); } basically i want to assign a database field to the following vars... product_price_eur product_price_sale_eur product_price_usd product_price_sale_usd my list.. currencies = eur,usd any help would be appreciated. mike ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320892 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: How is this done without evaluate()?
and its sloppy, newbie code On Thu, Mar 19, 2009 at 9:40 PM, Dan Baughman dan.baugh...@gmail.comwrote: Dudes... stfu evaluate can be avoided. (notice the period). . thanks dan On Thu, Mar 19, 2009 at 9:28 PM, Gerald Guido gerald.gu...@gmail.comwrote: Opps. I posted an old version of the cfc. The new(er) one is in cfscript damn... my bad... but the offer still holds to not use evaluate. G! Note to self must sleep. Sleep good. On Thu, Mar 19, 2009 at 10:56 PM, Gerald Guido gerald.gu...@gmail.com wrote: In general, evaluating strings as expressions is computationally expensive. I can't think of any cases where I've had to use it in quite a while, but I suspect there are some rare cases where you can't get what you need any other way. Personally I think that the anti-evaluate slant is a bit of orthodoxy that was picked up on years ago (when it was much more computationally expensive) and enforced as such by members of the CF community. Some times it cannot be avoided with out a boat load of thinking and trial and error. Case in point, and I will gladly change this bit of code to not use evaluate if someone can figure out how to do this in CFscript sans the evaluate function: http://mgt.pastebin.com/f428de8f4 BTW I did some testing on the above code and the diff between using evaluate and the code rendered to be evaluated and was a matter of couple of milliseconds. G! On Thu, Mar 19, 2009 at 10:10 PM, Dave Watts dwa...@figleaf.com wrote: I must have been thinking about setVariable(). Why Should not be used if not necessary? What would be an example where it's necessary? In general, evaluating strings as expressions is computationally expensive. I can't think of any cases where I've had to use it in quite a while, but I suspect there are some rare cases where you can't get what you need any other way. That said, I wouldn't worry too much about it either way. 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 informatio ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320742 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: How is this done without evaluate()?
Dudes... stfu evaluate can be avoided. (notice the period). . thanks dan On Thu, Mar 19, 2009 at 9:28 PM, Gerald Guido gerald.gu...@gmail.comwrote: Opps. I posted an old version of the cfc. The new(er) one is in cfscript damn... my bad... but the offer still holds to not use evaluate. G! Note to self must sleep. Sleep good. On Thu, Mar 19, 2009 at 10:56 PM, Gerald Guido gerald.gu...@gmail.com wrote: In general, evaluating strings as expressions is computationally expensive. I can't think of any cases where I've had to use it in quite a while, but I suspect there are some rare cases where you can't get what you need any other way. Personally I think that the anti-evaluate slant is a bit of orthodoxy that was picked up on years ago (when it was much more computationally expensive) and enforced as such by members of the CF community. Some times it cannot be avoided with out a boat load of thinking and trial and error. Case in point, and I will gladly change this bit of code to not use evaluate if someone can figure out how to do this in CFscript sans the evaluate function: http://mgt.pastebin.com/f428de8f4 BTW I did some testing on the above code and the diff between using evaluate and the code rendered to be evaluated and was a matter of couple of milliseconds. G! On Thu, Mar 19, 2009 at 10:10 PM, Dave Watts dwa...@figleaf.com wrote: I must have been thinking about setVariable(). Why Should not be used if not necessary? What would be an example where it's necessary? In general, evaluating strings as expressions is computationally expensive. I can't think of any cases where I've had to use it in quite a while, but I suspect there are some rare cases where you can't get what you need any other way. That said, I wouldn't worry too much about it either way. 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 informatio ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320743 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Verity collections/vspider in a shared environment
So to use a verity search that searches a site through coldfusion I have always periodically updated the collection use a vspider -cmdfile comands file command line script that runs against localhost. In a shared environment I can get them to run the script periodically but the useless vspider is licensed to only hit localhost.. which obviously wont work on a shared server. Anyone have any good approaches for that? Dan ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320420 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4