Re: CF_SQL_INTEGER vs CF_SQL_NUMERIC in Oracle Database.
On 10/9/06, Varun Dixit [EMAIL PROTECTED] wrote: I have been trying to figure out how does oracles translates those 20 odd data types supported in CFQUERYPARAM tag. But I have not had much luck finding anything, any help or pointers in this regard would be appreciated. My main concern is which one is less forgiving and how does oracle translates these data types. There used to be a page up to outline this, but it looks like it has been taken down. Anyway, cf_sql_integer will translate to a NUMBER datatype with no precision (so no decimals). The cf_sql_numeric datatype will actually be a one-digit decimal on Oracle's side (i.e., NUMBER(3,1)). You use the scale attribute of the cfqueryparam tag to change the number of decimals to use. So cfqueryparam value=#myDollarValue# cfsqltype=cf_sql_numeric scale=2 null=false / Will insert a two-digit decimal value. Regards, Dave. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256007 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: application servers
On 10/6/06, Peter Boughton [EMAIL PROTECTED] wrote: TomCat is free. However, unless there's a specific reason for using an app server, I'd just recommend sitting it atop Apache. I've not personally been lucky enough to experience 500 concurrent requests, but Apache should certainly be able to handle that many, and a well-written CF application shouldn't have any problems either. It should be noted that you can't run ColdFusion on Tomcat. This is because Tomcat is simply a servlet container and not a full-blown J2EE server, and ColdFusion needs some of J2EE server-specific features to run. If you want a free server, simply use the bundled JRun server that comes with ColdFusion. It'd be nice to see Adobe get CF certified on JBoss, but in the meantime, JRun is perfectly adequate. Regards, Dave. Regards, Dave. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255799 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF 8 Upgrade Cycle: What's yours?
On 10/4/06, Ben Forta [EMAIL PROTECTED] wrote: We have publicly said that Scorpio is slated for a mid-2007 release, but we have not been any more specific. And mid is very open ended, I guess any time between Jan 2nd and Dec 30th would qualify. ;-) Mid-2007 would actually be June 30th, not Dec 30th, but I think most people figured that out. If you really want to speculate about the release date, just wait until the CFUNITED dates are officially announced for next year. Hmmm, a ColdFusion-centric worldwide conference at the end of June (read: mid-2007) where lots of Adobe employees come to lead sessions and promote the product... Regards, Dave. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255467 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Flex 2 demo on demand?
On 10/2/06, Denny Valliant [EMAIL PROTECTED] wrote: What about the flex in 10 minutes, etc., demos? (which did, in fact, get me going in 10! =) Have you checked them out? I can't seem to find them now, but I could look through my old sent mail, as I sent a co-worker the link (I was sure I'd remember it ;). Maybe from C.Cantrell's site? Dern, ah cahnna rememba. I thought all those video walk-throughs were a pretty good idea... Surely you've seen some of them on the Adobe site, so I may be off my rocker and thinking about something else. :DeN Christophe Coenraets at Adobe posted a 30 minute Flex Test-Drive for Java developers on his site: http://coenraets.org/testdrive/flex4j/index.htm Further, Adobe had their Developer Week back in June (I believe), and the links to each presentation given are at: http://www.adobe.com/communities/developerweek/ On-demand, just as you're looking for. ;) Regards, Dave. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255110 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Structures in Java?
On 10/1/06, D F [EMAIL PROTECTED] wrote: Is there anything in Java similar to Coldfusions Structures? Remember that ColdFusion is compiled to Java, so there's always going to be a related data type between the two languages. In this case, you want a HashMap, which is what a CF structure is under the hood: http://java.sun.com/j2se/1.4.2/docs/api/java/util/HashMap.html Regards, Dave. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:254929 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Structures in Java?
On 10/1/06, D F [EMAIL PROTECTED] wrote: Thanks Dave, so presumably this HashMap object can be passed around through various methods etc? If I'm understanding what you're trying to to do, then yes, you can pass Java objects just like you can pass CF objects around. The big difference is that, if you pass it as an argument to a cffunction call, then the cfargument tag should expect a type of any to use the Java object correctly. Regards, Dave. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:254931 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: General questions about Adobe (not really off topic)
On 9/29/06, DURETTE, STEVEN J (ASI-AIT) [EMAIL PROTECTED] wrote: Hi all, I have a couple of questions that have just been bugging me lately... 1) Is Adobe going to release newer versions of the Flash Player for Linux? You would think that after the debacle with Linux/FireFox and Government websites during Katrina, that more things would be made/adjusted to work on Linux also. In general, Linux can only get Flash Player 7 as the most recent version. That sort of precludes me from using FLEX2 on pages where my primary group may be Linux users! Yes. Follow this blog to see it's progess: http://blogs.adobe.com/penguin.swf/ 2) Are they planning on making the Flex plug-in for Eclipse work on Linux? Since it was built on Eclipse, I would think that it could be used on most operating systems, but I was told it is only for Windows development machines. Mac OS X is their next target (I'm guessing a beta launch at MAX in October...not that that's some sort of high risk bet!) 3) Are they planning to update the Flex plug-in to run on Eclipse 3.2? Well the Mac OS X version will *only* run on Eclipse 3.2 from what I've read, so I'd bet that you'll see a refresh at some point to update the Windows platform as well. Maybe a beta at MAX? Don't know. 4) Has the whole CFMX7 not working with JVM1.5 been resolved? I was wondering because there is a great article on JVM Tuning by John Mason in the July CFDJ, but the GC Viewer needs to have JVM1.5 installed to work. I'm afraid if I do the install it might break CF. Nope, and it won't be until CF 8 comes out. I posted a wish list to my blog and Damon Cooper from the CF team noted that Scorpio (CF 8) is that target for this support. Here's the link for your reference: http://www.cbetta.com/blog/index.cfm/2006/7/31/a-new-week-a-new-coldfusion-8-wishlist As you can tell, for my personal development/computer I'm moving to Linux. I've had fewer headaches and older equipment is running Linux faster than my newer equipment can run XP. Enjoy! Regards, Dave. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:254753 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CF vs. .NET presentations?
On 9/29/06, Johnny Le [EMAIL PROTECTED] wrote: Hi, Have any of you done a presentation to justify using CF over .NET? A friend of mine just got a big contract, but the owner wants it to be done in .NET. My friend is trying to convince him to let him do it in CF. If you have done a similar presentation, would you please give us some pointers? Thanks. Tim Buntel at Adobe has been working hard on a Top 5 Reasons to use ColdFusion on your next Internet Application Project document. Have a look at that and see if it helps...it's very comprehensive: http://www.buntel.com/docs/top5reasonstousecf_081506.pdf or http://www.buntel.com/docs/top5reasonstousecf_081506.ppt Regards, Dave. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:254758 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: General questions about Adobe (not really off topic)
On 9/29/06, Steve Brownlee [EMAIL PROTECTED] wrote: 4) Has the whole CFMX7 not working with JVM1.5 been resolved? Using the 1.5 JVM does break ColdFusion. There are a (very) few problems that people have discussed previously on this list. We've been running a major web app on 1.5 for over a year now with a single problem. I'd do a search on this list to find those problems people have discovered, see if they apply to you, and then decide after that. In my work, breaking the web services engine bundled with CF is a big deal. cfdocument, cfreport, and I think Flash Forms also break from the past threads on this subject. If you're doing a very basic CF app (cfquery, cfif, cfoutput, etc.), then you'll likely be alright with 1.5. Anything more (i.e., web services, etc.) and you'll likely run into some show stoppers. Regards, Dave. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:254829 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: JVM Server Memory
On 9/28/06, Richard Kroll [EMAIL PROTECTED] wrote: Hello all, I remember a post not too long ago talking about the JVM and it's max size on a windows 32bit server having a celing of 1.3gb. We've got a server that has 3gb of ram, and about 1.8gb of that is going unused even under peak load. One of my colleagues decided to up the -XmxNx value of the JVM to 2gb to attempt to allocate more memory and increase performance. This caused CF to fail on startup, and once the setting was lowered, CF started fine again. As is understand it there are three major settings to tweak in the JVM (where N is the memory size) and please forgive me as I'm new to JVM configuration: -XmsNm - minimum GC size -XmxNm - maximum GC size -XX:MaxPermSize=Nm - the maximum permanent size For our application we have quite a large number of objects stored in the application scope and would like to increase the amount of ram allocated to jrun / JVM. Am I correct in that increasing the MaxPermSize from its default of 128m to a larger amount (say 512m) will increase the available memory of the JVM for objects being stored for a much longer period of time (like those in application scope)? Our current settings for our JVM are: -Xms512m -Xmx1024m -XX:MaxPermSize=128m We are not getting a ton of GC that is degrading performance, but we seem to be having the system slow down dramatically when JRun / JVM hits the 1gb mark. So our thought was to raise the amount of memory in the JVM available to JRun. Am I right in my understanding of the differences in the settings? Hi Rich, I think this blog entry by Robi Sen is something you might want to read through (and follow some of the reference links in it, too). It's really is a great source of information regarding JVM and JRun tuning: http://www.robisen.com/index.cfm?mode=entryentry=FD4BE2FC-55DC-F2B1-FED0717CC1C7E0AF One thing I remember somebody from Adobe saying (I think it was Sarge at CFUNITED, but I could be wrong) is that using the application scope doesn't necessarily mean that the object is placed in the Permanent Generation. So don't assume that a lot of application variables means that you need to have a larger Perm Heap size. Also, you definitely want to have your min and max Heap size set to equal values. This avoids the JVM having to incrementally allocate the appropriate memory resources as the application memory usage grows. One other thing to note. The default settings that come in the jvm.config file, according to Adobe, are settings that they have observed over thousands of hours of testing to be the optimal settings. I don't necessarily agree with that because hardware resources vary greatly as do the applications themselves, but definitely use them as a reference check to make sure you're not going of the deep end. Hope this helps? Regards, Dave. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:254627 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Faulting application error fixes not working
On 9/26/06, Gerald Weir [EMAIL PROTECTED] wrote: Hello, I'm having a problem that I've read lots of posts on but only one answer. First from Michael Dinowitz and then by James Smith. James makes a change to Michael's recommendation and I've tried both but neither one works for me. I am updated to jre1.5.0_06 and have tried both methods presented. When I try to restart ColdFusion I receive the following error: Services: Windows could not start the ColdFusion MX Application Server on Local Computer. For more information, review the , . I have tried copying both the folders as indicated by Michael and James although James' approach makes more sense to me if I want ColdFusion to use the newer jvm rather than the older so in my jvm.config file I changed java home to: java.home=C:/Program Files/Java/jre1.5.0_06 I get the services error pop-up listed above no matter which way I go. I have a Windows 2003 Server running IIS 6 and ColdFusion 6.1MX. Running 1 website but I look in the Event Viewer and see that at various times CF has shutdown and restarted. I also see the Windows OS pop-ups that say something akin to jrun.exe has quite faulted in jvm.dll. I don't see any recent posts on this problem and yet I've just started to have it within the last few months. Any solutions out there? Hi Jerry. Unfortunately, ColdFusion MX is not supported on the 1.5 JVM. You'll need to install the 1.4 JVM from http://java.sun.com/j2se/1.4.2/download.html and use that instead. While there are some people who will note that they technically got CF working on the 1.5 JVM, there are several key features of the platform that simply do not work (web services, cfdocument, etc.). Have a go with the 1.4.2 JVM and see if that sorts out your issues. Regards, Dave. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:254250 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Faulting application error fixes not working
On 9/26/06, Gerald Weir [EMAIL PROTECTED] wrote: Dave, I understand what you are saying but it appears that I'm a bit confused. When I installed CF it came with it's own JVM. This is in the folder called C:\CFusionMX\runtime\jre and the CF administrator is pointed to it. It was presumably version 1.4.2_ etc. Over time I downloaded and updated several JVM's from the Sun website but into the C:\Program Files\Java folder. So, CF was never aware of those updates and continued to use the 1.4.2_ version in C:\CFusionMX\runtime\jre. Now, my JVM on the server is at 1.5.0_06 but my CF Server (C:/CfusionMX folder) is at 1.4.2-b28. The suggestion from Dave C. earlier in the thread was to update to the latest 1.4.2 version which I believe is 1.4.2_12. But if the CF Server is not recognizing the 1.5.0_06 version I have installed on the server already then a) it won't recognize that I've changed from 1.5 to 1.4.2._12, and b) it shouldn't be having a problem with any conflicts caused by version 1.5 either. I know it's a lot of number soup but I tried to point the CF java/jvm admin page to the folder with the 1.5.0_06 version in C:/Program Files/Java/jre1.5.0_06 and then I could not restart CF. Maybe this is what you meant in the second paragraph where you noted the heap size/start up problem with JVM 1.5?? So, in the end do I need to update the JVM in the C:/CFusionMX folder instead of the one in the C:/Program Files/Java folder to the most recent 1.4.2_12 version??? Thanks so much for your input. By the way, I'm going to try to arrange to come down to D.C. and take the Advanced CF Class that you have there at figleaf. Hi Jerry. The other Dave this time! ;) Here's the story. In the /bin directory of your ColdFusion installation (I don't use the standalone version of CF as you do, but I believe it's still the same), there is a file named jvm.config. If you crack open that file, you'll likely see a line that looks like this: java.home=C:/j2sdk1.4.2_09 The jvm.config file is a bunch of configuration settings that the underlying Java engine reads when it is starting up that sets things like how much memory the JVM should use, class paths where certain libraries are located, etc. The java.home line is a specific directive that the engine reads when you start it up that says use the JVM at the location noted after the equal sign. You can have 100 different Java installations on your machine, but this is the line that matters. Do not use the CF Administrator to edit your jvm.config file. In fact, even Adobe recommends that you don't do so either. Here's why. The version first switch in the java.args line should say -server so that the JVM starts in server mode as opposed to client mode (only Java IDEs like Eclipse should really use -client mode). So, a sample line might read: java.args=-server -Xmx128M -Xms128m -Dsun.io.useCanonCaches=false See how the -server switch is first? The CF Administrator in standalone mode doesn't necessarily put that directive first when it re-writes the file under the hood, and that will definitely cause CF not to start (which is what you might have experienced). Here's a link to a TechNote that outlines this issue further. It notes that it's for the J2EE version of CFMX, but it happens in the standalone version as well: http://www.adobe.com/go/tn_19094 So the bottom line is to make sure that your java.home directive points to the corrent 1.4.2 JVM. Also, note the other Dave's comment about a recent Windows hotfix that prevents enough JVM memory from being consumed. This is why I'm glad I work in a Linux environment! Hope this helps? Regards, Dave. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:254332 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: need some help with event gateways
On 9/19/06, Michael Dinowitz [EMAIL PROTECTED] wrote: What issues are you having? I'm trying to do a basic directory watcher but I'm not having much luck. Can some one point me to a good tutorial for this? Hi Phil, Jeff Peters recently published an article in the CFDJ specifically on the directory watcher. Perhaps this might help: http://coldfusion.sys-con.com/read/264734.htm Regards, Dave. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:253531 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 question
On 9/13/06, Victor Moore [EMAIL PROTECTED] wrote: Hi, I have seen in a number of examples the following: cfset variables.myVar = arguments.someArg / any particular reason/advantage why the arguments are assigned to a local variable inside a cfc function instead of using it directly? In that example, variables.myVar is not *local*. It's *global* to the CFC such that *any* method in that CFC has access to its value. Now, if the code said: cfset var myVar = arguments.someArg / then that might just be for creating a short-hand reference to the value. In CFCs, the variables scope is global, meaning that any method of the CFC (and any sub-classes, by the way), has access to its value. If you want a truly local variable for a method, use the var setting, as noted above. Regards, Dave. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:252986 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CFDJ?
On 9/13/06, Michael Dinowitz [EMAIL PROTECTED] wrote: I was just asked if the CFDJ list was still around. I checked out their site and no dice. Anyone (Simon) have a clue about its status? Not sure what URL you're trying, but this works fine for me (including the links to each article): http://coldfusion.sys-con.com/ Regards, Dave. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:253009 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFDJ?
On 9/13/06, James Holmes [EMAIL PROTECTED] wrote: Oh sorry, the LIST. My fault for not reading properly. Woops, me too! ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:253016 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Securing your config.xml file
On 8/25/06, Will Tomlinson [EMAIL PROTECTED] wrote: Right now my config.xml file resides where it can be browsed and read easily. Ray C. helped me a while back on how to secure it. One of the options is to place outside the root and read it. This needs to work with a shared host so that's not a good option. Another was to setup a defaults.cfm file with the xml commented out. Then you read the file, taking out the comments. If someone browses to the file, they'd see nothing. I'm not sure why being on a shared host eliminates placing it outside of the web root. My personal site is on a shared host, and I have access to directories that are within my account, but outside of the web root. Further, you could set up a directory outside of your web root and ask your host to set up a mapping. If they won't let you do this, then it's time to switch to HostMySite.com, who is unbelievably accomodating when it comes to this sort of stuff. Regards, Dave. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251139 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: OT: Anyone else affected by the hostmysite outage?
On 8/16/06, Neil Middleton [EMAIL PROTECTED] wrote: One of their datacenters has been chopped from the net buy a construction accident. Anyone else affected? Feed-Squirrel's gone for the time being... Ah, so it's not just me! Yep, I'm hosed. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:249983 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFDumping a bean
-Original Message- From: Robert Everland III [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 15, 2006 11:23 AM To: CF-Talk Subject: CFDumping a bean I want to dump a bean, but a dump on a bean only gives me a list of the functions. How do you dump a bean? Do you create a function that displays the parameter with the value? Or another way? Your best bet is to create an global struct (I call mine instance) in my init() method and store the instance variables in there. Then I have a method call getInstanceData() which is just a return of variables.instance. So, for example, you'd have something like: cfset variables.instance = structNew() / cfset variables.foo = bar / cfset variables.poo = stinks / and then a method like so: cffunction name=getInstanceData returntype=struct access=public output=false hint=I return a snapshot of the instance variables. / cfreturn variables.instance / /cffunction You'll find that if you work in a clustered environment that this approach will be immensely helpful because CFCs are not sessionable (so you need to get snapshots). Regards, Dave. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:249867 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFDumping a bean
On 8/15/06, Russ [EMAIL PROTECTED] wrote: Dave, How exactly does this help in clustered environments? Where do you store the beans and how do you do snapshots? Well, lots of people use CFCs to, among other things, store information in the session scope. Let's use the classic example of a User class that's responsible for remembering information about the currently logged-in user. If you're using a single CF instance, you can simply use something like this to create the CFC in the session scope: cfset session.userObject = createObject(component, path.to.my.User).init() / However, CFCs are not serializable in CFMX (any version), which means that if you have session replication turned on (which is the machinery that passes the session data around to all CFMX instances in the cluster), you'll actually get an error when trying to use the above code and then trying to reference session.userObject in your code. (Some might chime in that you can turn on sticky sessions, which will pin you to one box, but this defeats the purpose of replication, in my opinion, as you're tying the user to one location and lose scalability.) Essentially: you can't put CFCs in the session scope if you run a clustered setup. OK, now that the problem statement is clear, how do we work around this? Well, it's important to realize that *only* CFCs have this problem. All other complex datatypes such as arrays, structs (including nested datatypes, such as struct of arrays, etc.) replicate without issue. So what I've done in my code is captured a snapshot of the instance data (sometimes referred to as the Memento design pattern) at the end of each page, and then stored the instance data in the session scope (i.e, session.userMemento = userObject.getInstanceData() ). Then, on the next page that I need this data, I simply create a local variable for the User class, but pass in the session-scoped instance data (session.userMemento), which is smart enough accept the structure and set it up as my new instance's instance variables. I gain the ability to keep users separate. I've been meaning the blog my setup for a while, and this is a good motivation to get it done. I'll post how the CFC is smart enough to use the session-scoped snapshot and, hopefully, provide a bit more clarity to this post. Stay tuned (if you're still interested!), Regards, Dave. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:249886 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: (Admin) Security bulletin - ColdFusion AdminAPI Authentication Issue
On 8/11/06, Casey Dougall [EMAIL PROTECTED] wrote: Meaning none of us got an e-mail from adobe about this issue? I know I didn't. Actually, I did. I also saw it through their RSS Notification feed, but I did receive an e-mail. Regards, Dave. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:249621 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: (Admin) Security bulletin - ColdFusion AdminAPI Authentication Issue
On 8/11/06, Everett, Al (NIH/NIGMS) [C] [EMAIL PROTECTED] wrote: their RSS Notification feed Got an URL? Sure do. They have feeds for very product here: http://www.adobe.com/support/rss/ Regards, Dave. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:249624 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Announcing SeeFusion 4 (with Flex 2)!
On 8/4/06, Dave Watts [EMAIL PROTECTED] wrote: Russ, one thing to note is that the SeeFusion pricing actually uses per server to really mean per instance. I think they've changed the license to allow two instances per license. Hmmm, I got my info from this link: http://www.seefusion.com/index.cfm?do=c_faq.licensing#1 it notes: Standard licenses are $199 per server monitored, and Enterprise licenses are $299 per server monitored. (Note: per server monitored means per instance of ColdFusion.) I'm certainly not saying that you're wrong, but it could be that they just haven't updated their FAQ to reflect that licensing change. Regards, Dave. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:248818 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Announcing SeeFusion 4 (with Flex 2)!
On 8/4/06, Dan G. Switzer, II [EMAIL PROTECTED] wrote: Russ, Russ, one thing to note is that the SeeFusion pricing actually uses per server to really mean per instance. So if you have the max of what you said your infrastructure might be (2 servers * 3 instances of CF), you would have 6 instances times $299, which is $1,794 (assuming you get the Enterprise license, which would make sense since you're monitoring multiple instances). Contrast that with FusionReactor, which is truly licensed per physical server (where you can monitor as many instances as you like), you'd have 2 servers times $599, which is $1,198 (again, assuming the Enterprise edition so that you can monitor multiple instances). That's a $596 savings. Once you're past the price point, you need to get into a feature comparison, which I don't fully have mapped out yet. I'd also say just contact the guys at Webapper to see if there's anything they can do for you. They might have some additional pricing models available upon request. Just a quick note to confirm that they do indeed have potentially discounted packages based on your infrastructure. It is definitely worth contacting them with your company's needs to see if they can help you out. Regards, Dave. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:248819 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Announcing SeeFusion 4 (with Flex 2)!
On 8/4/06, Dave Carabetta [EMAIL PROTECTED] wrote: On 8/4/06, Dave Watts [EMAIL PROTECTED] wrote: Russ, one thing to note is that the SeeFusion pricing actually uses per server to really mean per instance. I think they've changed the license to allow two instances per license. Hmmm, I got my info from this link: http://www.seefusion.com/index.cfm?do=c_faq.licensing#1 it notes: Standard licenses are $199 per server monitored, and Enterprise licenses are $299 per server monitored. (Note: per server monitored means per instance of ColdFusion.) I'm certainly not saying that you're wrong, but it could be that they just haven't updated their FAQ to reflect that licensing change. To answer my own confusion (and hopefully that of others), Dave is indeed correct that each license is for 2 instances of CF on a given server, so it looks like the FAQ is just outdated. I just received that confirmation from Patrick at Webapper, who has already been immensely helpful. Regards, Dave. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:248821 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Announcing SeeFusion 4 (with Flex 2)!
On 8/4/06, Russ [EMAIL PROTECTED] wrote: It's unlimited instances, but it's per server, right? So with 2 servers, 3 instances each, I would still need 2 licenses That's correct. Don't forget (in both products' cases, for that matter) to consider your development and staging environments as well as production when it comes to licensing. You need licenses for them as well. Regards, Dave. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:248830 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CF substring?
On 8/1/06, Tom Donovan [EMAIL PROTECTED] wrote: is there any substring function for CF? http://livedocs.macromedia.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=ColdFusion_Documentationfile=0463.htm#1104504 FindNoCase Actually, it's the mid() function. Regards, Dave. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:248424 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Site feedback
On 7/31/06, Neil Middleton [EMAIL PROTECTED] wrote: Well, it's live now. MG:U appears to be running well, and as yet, I haven't hit any big problems. More details on my blog. Look, see ma: http://www.feed-squirrel.com Congrats! Unfortunately you broke the image that I was using on my blog to your site: http://www.feed-squirrel.com/graphics/consumedByFeedSquirrel.gif Are you replacing that or should I find another image? Regards, Dave. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:248368 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Installing CFMX 7
On 7/26/06, Phill B [EMAIL PROTECTED] wrote: Well so much for disabling the McAfee. Still got the same errors. It's worth noting that Adobe provides free installation support for ColdFusion. http://www.adobe.com/support/programs/installation.html Regards, Dave. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:247797 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CSS Class Registration - New York City!
On 7/21/06, Ben Nadel [EMAIL PROTECTED] wrote: Oh man, 4 Days x 12 Students x $1,399.00 = $67,152.00 I am in the WRONG business! I wish I could make that in a year, let alone a 4 day intensive seminar. It's $1,399 for the whole course, not per day. So it's $16,788 if all seats are taken. Regards, Dave. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:247374 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: OT: Adobe labs slow to load?
On 7/20/06, Bryan Stevenson [EMAIL PROTECTED] wrote: If you're seeing problems on the site, please report them directly to the team on the little feedback widget which is still on each page. FYI I am pretty sure it's the stupid feedback widget that is causing the slow downwhen it moves my CPU spikes...I've seen it before. They should just have a static image and ditch the Flash on that one +1. Same exact repro here. Using Firefox on Windows XP SP2 with the FP 9 Debug player installed, if that helps. Regards, Dave. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:247202 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Macromedia.com RIP?
On 7/17/06, Tim Claremont [EMAIL PROTECTED] wrote: I had some shortcuts in my browser set for Macromedia.com. In the last hour they stopped working. Pinging Macromedia.com gets no response. Looks like Macromedia.com is now fully ported to Adobe.com! Not quite: http://weblogs.macromedia.com/mxna/ still works for me. As for the rest of the site, I think that was done several weeks ago, regardless of it's ping-ability. Regards, Dave. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:246816 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Java 1.5 / 5 support.
On 7/16/06, Andy Allan [EMAIL PROTECTED] wrote: I believe it's web services and cfdocument that break when you move to 1.5 - possibly Verity too. Out of interest, is CFLDAP still shaky with anything greater than 1.4.2_05??? I don't actually use it, so it's mainly out of curiosity. Adobe has certified 1.4.2_05, 1.4.2_07, and 1.4.2_09. Interestingly, _06 and _08 were skipped, so there might be some things in those releases that broke some functionality. I also know that 1.4.2_10 on Linux specifically fixed some longstanding intermittent hotspot crashes, so if you're on that platform, you may want to try that release out. The latest Sun JVM is for the 1.4.2 line is _12, and I've put it on our internal staging server and it has been fine. That being said, I don't have any apps using CFLDAP at the moment, though I'm about to start on one in the coming weeks. I'll post back my findings if you'd like. Regards, Dave. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:246691 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Invalid Sessions - Baffled
On 7/13/06, Casey C Cook [EMAIL PROTECTED] wrote: For the past 4 months we have been experiencing dozens of invalid session errors per day. (and just recently reported by users!!!??!!) Ive been doing some reading and one solution was setting a web.xml setting to number equal to some timeout, however, I was told our server setup does not use a web.xml file. Other people have posted coding solutions, but outfitting dozens of applications with a piece of code to account for this issue really isnt an option being considered at this point. Some of the posts I was reading are 5 months old of people reporting the same issue, my questions are: 1) Has a hotfix or other permanent solution been found to this problem? 2) What is the definitive cause of this issue? Environment stuff: We are currently running CF Version: 6,1,0,63958 Windows and unix environments Currently J2EE session variables is checked / are being used The error suddenly appeared in the logs on Feb 22nd of 2006 and not a day has gone by without the error since. Sample error from the application log: Error,jrpp-145,07/13/06,08:22:56,myapp,Session is invalid The specific sequence of files included or processed is: E:\inetpub\myapp\index.cfm First off, your current MX install version is out of date. The latest version of ColdFusion MX 6.1 is 6,1,0,83762, so I'd highly recommend getting that installed first to take care of lots of bug fixes (plus any subsequent hotfixes released located here:http://www.adobe.com/go/b3a939ce). Second, the response you got was just plain wrong. There is definitely a web.xml file. The ColdFusion MX engine is just a series of J2EE servlets that *must* be defined in a web.xml file, so it has to be there. For the record, it's located in your WEB-INF directory root. I've only ever used the Enterprise version of CF, but my understanding is that the standalone version follows the same path structure. In that file is where you need to set this if it's not defined: session-config session-timeoutXXX/session-timeout /session-config Note that the XXX time above is in minutes and you should set this to be greater than the CF Administrator timeout for session variables (the max timeout value, not the default timeout value). Incidentally, I think the CF Updater that you're missing is the one that actually fixes this bug. But hold on to the above instructions just in case. Hope this helps. Regards, Dave. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:246468 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: sms msg and euent gateways
On 7/12/06, B V [EMAIL PROTECTED] wrote: can anyone point me to a good tutorial on sms text messages from configuring to sending the actual messages, because i am having so many issues i don't even know where to start. thanks; Hit up Damon Cooper's blog and search for sms ... You'll find a few entries that should help you out. Regards, Dave. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:246289 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: ColdFusion and Google Checkout
On 7/11/06, Pete Ruckelshaus [EMAIL PROTECTED] wrote: Google has a Java example on their site http://code.google.com/apis/checkout/samples/Google_Checkout_Sample_Code_Java.html The problem is that it requires Java 1.5 and ColdFusion is not supported on that platform. If you *really* want to use it and you're using the J2EE edition of ColdFusion (where you can have multiple instances), I suppose you could create a new JRun instance via the JRun Admin console and set the jvm.config file to use the 1.5 JDK. (JRun with Updater 6 *does* properly support 1.5...it's ColdFusion that can't 100% handle it.) Though I'm not really sure what that's going to get you. Regards, Dave. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:246221 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Creating RSS feeds
On 7/7/06, Ben Nadel [EMAIL PROTECTED] wrote: Roger (or others), I see you say that the description should be escaped HTML. I see that some people do that CDATA thing in the xml node. Is that valid? Or is that more of a hack? I am just curious as some of my descriptions will have HTML as well as already escaped HTML (such as in code-examples / demos) and I don't want to mess it up trying to escape things. I would like to use the CDATA stuff, but wanted to run it by you guys to make sure its all good or find any red flags. Ben, Your timing is pretty good, as this very insightful blog entry was just posted by DeWitt Clinton, the lead engineer at Amazon. The first paragraph or two is just a setup, but he then goes into your situation exactly and proposes the best way to work around your problem. http://www.unto.net/unto/work/on-rss-and-atom/ Perhaps this entry will help you sort out your questions. Regards, Dave. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:245716 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Creating RSS feeds
On 7/7/06, Ben Nadel [EMAIL PROTECTED] wrote: Dave, Thanks for the post. That is some really good information. But, I have a follow up question maybe you can help me with. I am really new to this, so sorry if this makes no sense. I see his point about the Atom 1.0 standard, and I like it. But he is saying to also support RSS standards... Will the Atom feed degrade nicely for an RSS feed? Or is he saying to have two separate feeds, one RSS standard, one Atom standard and let the people choose? Because they are two different standards (lots of arguing and chest bumping between the backers on each side), you'll need to supply separate feeds if you plan to support both. If you'd like to see a ColdFusion implementation of generating RSS feeds (both RSS version 1 and 2), download Ray Camden's BlogCFC application (http://ray.camdenfamily.com/projects/blogcfc/) and look for the generateRSS() method in the monster blog.cfc template. Regards, Dave. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:245750 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: What's New In Report Builder 7.02?
On 7/5/06, Tim Claremont [EMAIL PROTECTED] wrote: I see that there is a new report builder on the Adobe site. What I failed to find, however, is a document that tells me what is new. Also, after installing 7.02, I see that the About screen from the report builder shows build 142150, but I did not make note of the previous build number, so I do not know if it has changed! Can someone point me to a list of changes implemented in Report Builder 7.02? Read the 7.0.2 release notes: http://www.adobe.com/support/documentation/en/coldfusion/mx702/cf702_releasenotes.html Scroll down to the What's New in this Release section and read the last bullet point. Then read the What's Different in this Release section. Then scroll down further and read through the Issues Fixed in this Release section for a few more report-related fixes. It's all there...just not in a section entitled Report-related changes. Regards, Dave. Regards, Dave. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:245430 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Online Preso: Ben Forta's Intro to CF-Powered Flex
On 6/22/06, dcooper @ macromedia. com dcooper @ macromedia. com [EMAIL PROTECTED] wrote: Now online is the Introduction to ColdFusion-Powered Flex preso: http://seminars.breezecentral.com/p59578003/ Just to slightly expound Damon's post, all the presentation links from last week, including the link above have been posted: http://www.cbetta.com/blog/index.cfm/2006/6/22/adobe-developer-week-breeze-presentation-links Regards, Dave. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:244538 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Coldfusion Session is invalid null error in CFMX 6.1
On 6/21/06, Andy Matthews [EMAIL PROTECTED] wrote: Looks like we already have that one installed. I posted this same answer a couple of days ago... You need to go into your web.xml file (found in the WEB-INF directory root) and make sure that the session-timeout value set in there is greater than the max time set in your CF Administrator. The value in the web.xml file (it's found towards the very bottom of the file in a session-config tree) is in minutes (with a default of 300, aka 5 hours). It looks like you have the value in your CF Administrator set to 23 hours? If so, then make sure the value is 1381 (I add 1 minute for good measure). Restart the instance and off you go... Regards, Dave. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:244392 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Breeze Presentation problem
On 6/20/06, DURETTE, STEVEN J (ASI-AIT) [EMAIL PROTECTED] wrote: So any ideas as to syncing up the video and what is displayed on the screen. I'm assuming it is something wrong with my system since I haven't seen any complaints about this problems before. Steve, I was having the same problem while watch the recording of Mike Nimer's Flex/CF presentation from last week (http://stevenerat.breezecentral.com/p97229365/). I found that if I just moved the time slider back a minute or so, it ultimately got itself sorted out. Granted, I had to do this several times throughout the presentation, but at least I didn't have to shut the window entirely and start from scratch. I know it doesn't solve your problem, but I'm just confirming that I've had your problem as well and was able to (slightly) work around it. Regards, Dave. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:244238 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Session is invalid null
On 6/16/06, Andy Matthews [EMAIL PROTECTED] wrote: We have a cluster of servers that use coldfusion 6.1. Lately (over the past 4 or 5 days) several of our clients have been getting the following error: Session is invalid null error occurred on line 7 The specific code in question appears to be caused by the Application.cfm page which has as it's first code block the following, line 7 being the last line in the block. cfapplication name=website clientmanagement=Yes sessionmanagement=Yes sessiontimeout=#CreateTimeSpan(0,1,30,0)# applicationtimeout=#CreateTimeSpan(1,0,0,0)# setdomaincookies=Yes The code has run fine until the last few days. The only thing I've been able to do is to change the name of the Application, which fixes the problem, but doesn't tell me what's actually happening. Does anyone have any ideas as to what's causing this or what I can do to prevent this happening to all of our other CF sites? Restart the server maybe? But surely CF has been restarted at least once over the last few days? This might not be it, but make sure that your session-timeout value in your web.xml is equal to or greater than the session variable timeout set in the CF administrator for each instance in the cluster. This was an early bug that I know was fixed, but I don't know exactly when. Regards, Dave. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:243762 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CFMX Java server recommendation
On 6/14/06, Martin Thorpe [EMAIL PROTECTED] wrote: Ok just thought I would update this after doing some research and experimenting. I installed JRUN and started running through some struts tutorials and came up with a couple of reasons not to use JRUN as a J2EE server. It is great for multiple instances of Coldfusion but if you start doing some Java work these are the problems I found. It does not support JSP 2 It does not support JSTL 1.1 See below. In fact I have had many problems working with JST taglibs. There are not many tutorials out there, that I could find, for people beginning on J2EE application development linked with JRUN. The forums are bare. If you go to Adobe forums there are either no current topics or just one page of topics. Agreed on this. There really isn't a JRun community that I'm aware of. Everytime I've had issues, I've had to go it alone. And it sounds like Adobe is not that interested in the product. If you go through some of the forums many answers from Adobe are that this is a known bug that will not be fixed in the near future. So apparently you missed the multitude of announcements surrounding this? http://www.corfield.org/blog/index.cfm/do/blog.entry/entry/Adobe_JRun__Beta_Program That's not the only place it was announced, but it's the first that came to mind. I think you'll find that JRun 4.5 resolves your outstanding issues (outside of the community part). Regards, Dave. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:243485 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Why is there query.recordcount with non-SELECT queries?
On 4/19/06, Jochem van Dieten [EMAIL PROTECTED] wrote: Russ Michaels wrote: No, only selects return a recordcount. Although SQL does return a message about how many records are updated Maybe some implementations update the diagnostic area with that information, but returning a count of the number of records affected is not part of the SQL specification. More importantly, it is only part of JDBC 3 and CF uses JDBC 2. Time to visit http://www.macromedia.com/go/wish/ Jochem, I'm having a hard time believing that you might be incorrect ;) , but I believe CFMX's drivers uses the JDBC 3.0 spec. The latest available drivers supplied by Adobe for ColdFusion are 3.5, and, according to DataDirect's site, All of our drivers support JDBC 3.0 specification features that greatly increase developer productivity and make for more robust applications.: http://www.datadirect.com/products/jdbc/why_choose_jdbc/index.ssp Am I wrong? Regards, Dave. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:238162 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Catching bogus credit card numbers
On 4/17/06, Mosh Teitelbaum [EMAIL PROTECTED] wrote: All: Does anyone have or know of a list of bogus credit card numbers that pass the LUHN test? Specifically, I'm looking for a list of test credit card numbers that are never actually associated with a valid credit card but are often used when testing new credit card services. For example, 5105105105105100 for MasterCard. A client has been receiving online orders using the above credit card number and would like to have these bogus orders removed automatically. http://www.verisign.com/support/payflow/manager/selfHelp/testCardNum.html That being said, any credit card processor in production mode should automatically be rejecting these numbers anyway. If not, switch vendors. That's awful security. Regards, Dave. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237922 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Mach II maxing out
On 4/17/06, Michael Dinowitz [EMAIL PROTECTED] wrote: A new client is running it and if I can't get it all good they'll be moving to asp.net. If I can get it working fast enough then maybe it can be saved for CF. The problem I'm seeing is that pages are taking so long that it's building up a lng request queue. There must be a bad setting or something to cause this and someone who is more knowledgeable in mach II can probably tell me what it is. A debug setting, non-production setting, etc.I'll be an expert tonight, but today I'm not. Have you run any of their code *outside* of Mach-II yet? Is their entire site done in Mach-II? If it is isolated to Mach-II-related code, have you run a very simple event that doesn't run any sort of database calls? Maybe it's the connection to the database or just poorly written queries? Have you looked into the JVM settings to make sure that ColdFusion has enough room to breathe? Have you checked that the MACHII_CONFIG_MODE is set to -1 in production so that the framework isn't reloaded? Have you checked the CF Admin to make sure debugging is entirely turned off (note: I mean completely off, not filtered to an IP address). Have you turned on trusted cache in the Admin? Sorry, but I guess I haven't seen anything pointing to the fact that it's definitely related to the framework. It seems as if you picked one variable and ran with it. (That's not an attack on you...I'm just saying it could be lots of other things.) Sean Corfield has noted many times that about a quarter of the apps on macromedia.com are built with Mach-II apps and they withstand a pounding. Perhaps his (old) team's guide might help? http://livedocs.macromedia.com/wtg/public/machiidevguide/index.html Regards, Dave. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237942 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Upgrading JVM to 1.4.2_09
On 4/5/06, Che Vilnonis [EMAIL PROTECTED] wrote: Andy or anyone, do you have the direct link on Sun's site for the 1.4.2_9 SDK? Thanks, Che. http://java.sun.com/products/archive/j2se/1.4.2_09/ Regards, Dave. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237035 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Upgrading JVM to 1.4.2_09
On 4/5/06, Che Vilnonis [EMAIL PROTECTED] wrote: Thanks Dave. Hey... does anyone know if 1.4.2_11 is viable to use as well? Perhaps it is even better? We're testing it in our staging environment, and it works just fine (we're using web services, cfhttp, etc., so it's getting a good workout). However, a potentially big caveat is that we do not use CFLDAP, which is known to have issues with later versions of the 1.4.2 JVM (I think _05 was the last revision that is known to have worked, and I haven't tried on _09), and I don't believe Adobe will support you if you call them for support (they'll make you downgrade first I believe). Regards, Dave. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237038 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Upgrading JVM to 1.4.2_09
On 4/5/06, Douglas Knudsen [EMAIL PROTECTED] wrote: yes, AFAIK, JVM releases _05 breaks CFLDAP. Well, this is the one question that I have, seeing as Adobe has upped the supported JVM. I highly doubt that they would support _09 if they knew CFLDAP flat-out broke, no? Does this mean CFLDAP works in _09 due to some underlying JVM bug fix made? Regards, Dave. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237050 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: read CFMX bugs at Adobe?
On 3/30/06, Chris Norloff [EMAIL PROTECTED] wrote: Can we read what bugs have been submitted to Adobe about CFMX? I'd like to see if what we experienced has been reported before, and to see how the bug I submitted is treated. Our upper-level managers would like to know too :-( No, and that's pretty standard practice for non-open source companies too. However, they do periodically update a list of known issues and publish that for you. It's not necessarily comprehensive, but it still is a pretty good list: http://www.macromedia.com/support/coldfusion/issues.html Regards, Dave. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236557 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Licensing and running multiple instances of CFMX
On 3/29/06, Scott Stewart [EMAIL PROTECTED] wrote: If I'm running multiple instances of ColdFusionMX (j2ee config) on a single installation of JRun/IIS. Do I need a separate license for each instance? No. Licensing is on a per physical server basis. You can have as many instances on a given server installation as you like. Regards, Dave. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236455 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Uninstall CF Hotfix?
On 3/23/06, Dave Watts [EMAIL PROTECTED] wrote: Anyone know how to uninstall a hotfix on CF 7? Hopefully without reinstalling cf... Most hotfixes are just JAR files that get put in the appropriate place (\cfusionmx7\lib, \jrun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfusion\lib). Uninstalling the hotfix should be a simple matter of removing or deleting the new JAR file. If you're talking about a hotfix that you installed via the CF Admin, the exact location of the file will be /WEB-INF/cfusion/lib/updates for a CF 7 installation. As Dave noted, they are the same jar files with the same file names that you initially uploaded. Regards, Dave. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236052 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CF Mystic Beta 2 Now Available
On 3/21/06, dcooper @ macromedia. com dcooper @ macromedia. com [EMAIL PROTECTED] wrote: The ColdFusion/Flex Connectivity (Mystic) Beta 2 has been released (along with Flex 2 Beta 2) and is now available for download on the Adobe Labs site here: http://labs.adobe.com. The ColdFusion/Flex Connectivity Beta 2 release represents an important milestone for ColdFusion customers wanting to build Rich Internet Applications with Flex and ColdFusion. With this release, not only have we improved the previously delivered support for the Flash Remoting Update and the Flex Asynchronous Messaging Gateway, we've also added support for Flex Data Services 2.0 and included the first of a set of Flex Builder plug-ins for ColdFusion developers that can dramatically improve development productivity for some key coding tasks when you are building ColdFusion-powered Flex applications. We're excited about Beta 2, and grateful for your participation. I believe ColdFusion + Flex 2 will empower you to quickly and easily create amazing new Rich Internet Applications faster and easier than with any other technology, anywhere. And there's more to come...we're not done yet! Of course, we recommend that you install Mystic Beta 2 on development and testing servers only at this point, but I'd encourage everyone to take Flex 2 Beta 2 and CF Mystic Beta 2 for a spin. PS: Using Flex Builder 2, then adding CFEclipse and the Mystic Flex Builder plugins will make for a very productive environment, and will let you use RDS and the CF Query Builder for your FB/CFEclipse development! Please visit the Labs site for more information about this beta release, to interact directly with ColdFusion engineering and quality assurance engineers and other ColdFusion/Flex Connectivity beta 2 users, and to access the ColdFusion/Flex Connectivity Beta 2 Bug Tracker. Damon Cooper Director of Engineering, ColdFusion Adobe Systems I'm excited too. However, once again in this beta, the installer refuses to work with the multiserver configuration option (constant specified directory does not contain a valid JRun root directory error). Is it possible to post a set of instructions/files for manually installing the bits? Otherwise, I'm dead in the water. Regards, Dave. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235896 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CF Mystic Beta 2 Now Available
On 3/21/06, Ian Skinner [EMAIL PROTECTED] wrote: I'm excited too. However, once again in this beta, the installer refuses to work with the multiserver configuration option (constant specified directory does not contain a valid JRun root directory error). Is it possible to post a set of instructions/files for manually installing the bits? Otherwise, I'm dead in the water. Regards, Dave. This issue has been resolved in the discussion list and Ben Forta's blog. It basically involves copying the specified xml file to the location the install expects it. Let the installer update it, then copy it back to the location it belongs in the jrun server instance. http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=592threadid=1113467enterthread=y#3980449 When I looked up the url, it looks like you have tried this solution. It solved the issue for me. Do you know the exact error in the install log? This is not the same error. I'm aware of both the forums and Ben's blog, as I've posted to both with no success. I can't even get past the Where is ColdFusion MX 7 located? step in the multiserver option, let alone get to the end with an installer log. Eventually, I received some off-line support from an Adobe engineer during the beta 1 cycle, but that was for the beta 1 bits and I'd like to use the beta 2 bits, which I don't have access to (even by unzipping the installer, which you can do by the way). Regards, Dave. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235899 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CF Mystic Beta 2 Now Available
On 3/21/06, dcooper @ macromedia. com dcooper @ macromedia. com [EMAIL PROTECTED] wrote: The Beta 2 installer is good for Windows Option #1 and Option #2 installs - (ColdFusion Server or ColdFusion Multi-Server configurations). It will not work for J2EE (even with JRun) with a manually-deployed cfusion.war or cfusion.ear file. We'll try to have something put together for J2EE and non-Windows configs for Beta 3. Thanks Damon. So does this preclude the possibility of posting a manual install process (i.e., posting the jar files and xml edits)? I ask because I was moving along with a proof-of-concept and now I'll have to either continue using Beta 1 or stop development altogether until Beta 3, neither of which are overly appealing. Even something off-line? Regards, Dave. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235914 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: can't access cf admin page after Flex conn update
On 3/16/06, j s [EMAIL PROTECTED] wrote: After installing cf_flexconnect_b1_0123_en.exe (coldfusion connector for flex). I can nolonger access the admin page from dreamweaver or directly from a web browser. http://localhost:8500/cfide/administrator/datasources/index.cfm. The file is located in the wwwroot/cfide directory I have jre1.5.0_06. In jvm.config I tried java.home=C:\Program Files\Java\jre1.5.0_06 and java.home=D:\CFusionMX7\runtime\jre (D is the installation drive). If I access the file directly for firefox I get this error message: The selected method getAdminHash was not found. Either there are no methods with the specified method name and argument types, or the method getAdminHash is overloaded with arguments types that ColdFusion can't decipher reliably. If this is a Java object and you verified that the method exists, you may need to use the javacast function to reduce ambiguity. The error occurred in Application.cfm: line 128 -1 : Unable to display error's location in a CFML template. snip A couple of things 1) Certain key features of ColdFusion MX 7 won't work with the 1.5 JVM. In particular, the Axis engine for webservices doesn't work. Seeing as interaction between Flex and ColdFusion is likely going to happen via web services, you're best bet is to downgrade to the latest 1.4.2_11 JVM. 2) Check out the comments in this blog entry. The third one down should help you: http://www.horwith.com/index.cfm?mode=entryentry=9CD55578-E081-0478-47B1AE93DE51D620 Regards, Dave. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235574 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: can't access cf admin page after Flex conn update
On 3/16/06, j s [EMAIL PROTECTED] wrote: It didn't work with 1.4 so I installed 1.5. I will downgrade and reinstall cf7 later. + Hmmm, well I (finally) got up and running with the updater on the 1.4.2_11 JVM, so I know it works. Hopefully just a re-install of CF 7 will get you on your way. Good luck. The new Remoting stuff is cool! Regards, Dave. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235578 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: can't access cf admin page after Flex conn update
On 3/16/06, j s [EMAIL PROTECTED] wrote: I just uninstalled 1.5. Do I need to download 1.4.2 for firefox? I can't find the download and tried to verify under ff with no luck. Does verify under IE. Not sure what you're talking about. You just need to download the 1.4.2_11 J2SDK from Sun's site: http://java.sun.com/j2se/1.4.2/download.html Installing that has nothing to do with your browser. Once you install that on your system, make sure your jvm.config file points to that install directory so that it uses the 1.4.2 JRE. For example, my jvm.config file has this path in it: java.home=C:/j2sdk1.4.2_11 and then java.args=-server -Xms256m -Xmx256m -Dsun.io.useCanonCaches=false That's really all you need. Like I said, it has nothing to do with the browser. Hope this helps? Regards, Dave. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235587 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: can't access cf admin page after Flex conn update
On 3/16/06, Dave Watts [EMAIL PROTECTED] wrote: 1) Certain key features of ColdFusion MX 7 won't work with the 1.5 JVM. In particular, the Axis engine for webservices doesn't work. Seeing as interaction between Flex and ColdFusion is likely going to happen via web services, you're best bet is to downgrade to the latest 1.4.2_11 JVM. Are you getting good results with 1.4.2_11? It's been my experience that any JVM after 1.4.2_05 breaks a few things in CF, such as LDAP. I'm very interested in any feedback you can give me. We're having great results, though with the caveat that we don't use cfldap for anything. I've noted you have posted the cfldap breakage several times, and I'm careful to make sure that when we upgrade, our site gets a good workover in our staging area. I've only had 1.4.2_11 on for about a week now, but it's been as solid as previous versions for our needs. We deploy to Solaris and Linux, but I have been using Windows locally to do FES testing, so I do get to test across a variety of platforms. Specifically for us, 1.4.2_10 fixed the unbelievably annoying HotSpot compiler bug on Linux that had been around in versions previous (see http://www.talkingtree.com/blog/index.cfm?mode=entryentry=25AA65E0-45A6-2844-7CCF931D89B0133E for more info). I'll see if I can run some tests in the next few days against an LDAP server to see if this issue specifically was fixed. Also, if there's anything else that you specifically know has issues, I'll set up some test cases and run them through if you'd like. Regards, Dave. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235602 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: SMS Carrier in the U.S.
On 3/8/06, Peter Hahn [EMAIL PROTECTED] wrote: Anyone use MX 7 to receive SMS messages on the SMS event gateway (enterprise edition)? Which SMS carriers have you used? I'm having trouble finding vendors and pricing on google. Damon Cooper of Adobe posted this a bit over year ago, but it might still be helpful: http://www.dcooper.org/blog/client/index.cfm?mode=entryentry=FC5CF329-4E22-1671-58B0869C57B5ABCA Regards, Dave. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234720 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Site-wide error trapping
On 3/7/06, Andy Matthews [EMAIL PROTECTED] wrote: My company has a CF error log that we maintain for all of our sites. I went through it last night and was shocked at all of the errors that are getting reported. Other than manually trapping each individual possibility, is there a way to catch all errors and display them in a nice pretty page instead of showing the default CF error page? Up until now, error handling has not been my strong point, and in most cases hasn't thought of at all. I'm wondering if there's some code that I can write (or use from someone else) that could be put maybe in the Application file that might do what I need. Andy, your subject almost answers your question... Search the House of Fusion archives for site-wide error handler and you'll see literally hundreds of people's approaches to this problem. The Site Wide Error Handler line in the ColdFusion Administrator is where you need to define a catch-all template, but doing some research on it first will go a long way toward fine-tuning exactly what you want. Regards, Dave. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234441 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Flex 2 and Ben Forta
On 3/2/06, dave [EMAIL PROTECTED] wrote: Lets not forget that Flex is currently a $12,000 product that requires it's own server to run and can't even be run on shared servers. So they are dropping the price over 90% and making it serverless and anywhere deployable, i think thats a pretty good deal! Especially with the kinda $$ you can quickly make off of it. Actually, Flex is now $29,000 USD. They dropped the $12K offering a long time ago in favor of a package that includes Flex plus support and maintenance. At least, that's what our sales rep told us. Regards, Dave. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233976 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Jrun 4 Updater
On 3/1/06, vishnu prasad [EMAIL PROTECTED] wrote: Hi We have Jrun4 with updater as 2 , we plan to upgrate to updater 5. We have multiple instance for Jrun4. what are the stpes we have to follow to install Jrun updater in multiple instance enviornments.. Shall we just install updater or is there any specifc stpes we have to follow to install jurn updater in multiple instances. Vishnu, respectfully, the instuctions on the Macromedia.com site are more than adequate to answer your questions. I don't know why you're going to Updater 5 when Updater 6 is the latest one. Updater 5 is almost a year old. http://macromedia.com/support/jrun/updaters.html The very first link on this page will answer your above questions: http://macromedia.com/support/documentation/en/jrun/4/releasenotes_4_updater6.html Regards, Dave. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233753 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Flex 2 and Ben Forta
On 3/1/06, Rick Faircloth [EMAIL PROTECTED] wrote: Hi, Joe...thanks for the info... Now...is what you describe the current state of Flex Builder 2.0 or is that the version that's future state... And how much does (or will) it cost to play in this game of Flex 2.0 plugin and CFEclipse? What is and what will be is pretty confusing for someone on the outside looking in... Rick Rick, Hopefully this FAQ will answer all your questions: http://www.macromedia.com/software/flex/productinfo/faq/flex2_faq.html To specifically answer the pricing question: http://www.macromedia.com/software/flex/productinfo/faq/flex2_faq.html#item-2-3 Regards, Dave. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233765 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
OT: $495 Project Management Software for $5 (Offer Expires Today)
Sorry if the subject is spammy sounding, but I just wanted to put this on the mailing list because I know a lot of people don't read blogs... One topic that comes up on this list frequently is the need for free or cheap project management software. Well, axosoft software is offering a 5-User license of their OnTime 2006 Small Team Edition. It's an end-to-end solution for managing your projects. The $5 cost goes entirely to the American Red Cross, and they're at $10,275 as of this posting. I am in no way affiliated with the company and have absolutely no vested interest in their company or their campaign's success. I'm just hoping to provide a resource for those of you in smaller shops who simply can't afford the cost of commercial PM software. Here is the link to the promo page: http://www.axosoft.com/Products/ontime.aspx?cn=otm_stepromo The offer ends today, so have a look and see if it fits your needs (there are video demos, docs, etc.). I should note that it is Windows only. Again, my apologies to anybody who feels this is spamming, but, again, I have no connection with the company. Back to our regularly scheduled cf-talk. Regards, Dave. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233393 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: $495 Project Management Software for $5 (Offer Expires Today)
On 2/24/06, Troy Simpson [EMAIL PROTECTED] wrote: Is the maintenance worth getting? Would you like to add maintenance which included all version upgrades for 1 year (30 days is standard)? Personally, I didn't do it. I'm taking the offer at face value. Call it an extended evaluation, if you will. As such, I stayed away from the extras. If I do wind up using it extensively, I'll pay for the maintenance then. Regards, Dave. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233436 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Anybody here playing with Flex 2.0 Beta and CF?
On 2/17/06, Michael Dinowitz [EMAIL PROTECTED] wrote: I'm playing with it and will be renaming the HoF Flex list to CF-Flex and post what I see there. Hopefully if that list gets moving with CF people getting into flex it'll get over the bias that the flex team has towards it (lng inside MM story, but bottom line was that the HoF flex list was boycotted) Not sure what the boycotting is/was about, but the flexcoders mailing list is high volume and patrolled by a lot of Flex engineers. I'd suggest signing up for that list in the absence of traffic to the CF-Flex list. Matt Chotin, Manish Jethani, Ely Greenfield, Steven Webster, Alistair MacLeod and a few other Adobe people are extremely active on that list as far as helping out with Flex 2.0 issues. I get more e-mails from that list than I do from cf-talk lately, just to give you an idea of the volume. Further, Benoit Hediard has created an application to help the CF-ers along. Go to the flexcoders archive link below and search for Flex/Coldfusion connectivity test app: http://www.mail-archive.com/flexcoders@yahoogroups.com You will find that most people on that list of are working with pure J2EE backends, so that's where you'll get the most help. But they do help out with the CF-ers who lurk, and the CF-related traffic is picking up over there lately (since Flex 2.0 finally made it reasonable to easily work with CFCs...1.5 is/was a tremendous pain in the backside). ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232762 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Try/Catch vs. direct error handling
On 2/15/06, Michael Dinowitz [EMAIL PROTECTED] wrote: This is a question of best practices and why. When I know there's a chance of a specific error, I tend to code specifically to handle it. Others code generally using try/catch. Which is seen as best in other languages and why? I doubt there's any real performance issue between them, so it's a question of industry standard and style. For example, if I know an ID is needed on a page and it has to be a numeric I'd do: CFIF Not IsDefined('ID') An ID is needed CFELSEIF Not IsNumeric(ID) The passed ID needs to be numeric /CFIF Others do: CFTRY cfparam name=ID type=numeric CFCATCH You must pass a numeric ID /CFCATCH /CFTRY Actually, there is a performance difference between them in theory. try/catch introduces more overhead into the performance due to its need to run, evaluate, and then test the various catch conditions for a best match. With the isDefined(), it either exists or it doesn't. Very simple and brute force. Here are my two rules that I would submit as best practices: 1) In CFMX 6 and 7, every internal scope is a struct, and, as such, the struct-related functions have been heavily optimized. (I think there were some exceptions for scopes like cookie in previous versions.) Therefore, I almost never use isDefined() anymore, for reasons that have been documented both here and on various blogs. My team's standards dictate that structKeyExists() be used around checks for all variables: cfif structKeyExists(variables, id) ... /cfif cfif structKeyExists(url, id) ... /cfif The only time I can think of where I use isDefined() is in something like an error e-mail where I want to check if there was a form scope in the request that failed so that I can dump it or skip it. isDefined() will go through every possible scope it can, including the CGI scope to find the variable being checked. That puts a (comparatively) noticeable overhead on the request as opposed to targeting a specific scope or scopes. I might be forgetting another one-off example, but you'll find most of the time that isDefined() just isn't needed. 2) Put cftry/cfcatch around code snippets that rely on non-ColdFusion technologies, and around snippets of code that can gracefully handle an exception. I don't put it around each and every query because I know that if a very basic query if failing, then I have bigger problems that a try/catch isn't going to solve. However, we interface with a lot of non-CF technologies at my company (i.e., Python external methods, web services, etc.), and I don't necessarily have control over their uptime or availability (for example). Therefore, I need to be able to display a system is down message and/or send an e-mail to myself as an alert. Other examples include POP and FTP access. try/catch should be used only when necessary. As for the reply that noted he has a developer who puts try/catch around everything, education is the best remedy there. Have him research try/catch both in LiveDocs and across the web to show why his approach isn't recommended. Regards, Dave. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232350 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Try/Catch vs. direct error handling
On 2/15/06, Dave Carabetta [EMAIL PROTECTED] wrote: On 2/15/06, Michael Dinowitz [EMAIL PROTECTED] wrote: This is a question of best practices and why. When I know there's a chance of a specific error, I tend to code specifically to handle it. Others code generally using try/catch. Which is seen as best in other languages and why? I doubt there's any real performance issue between them, so it's a question of industry standard and style. For example, if I know an ID is needed on a page and it has to be a numeric I'd do: CFIF Not IsDefined('ID') An ID is needed CFELSEIF Not IsNumeric(ID) The passed ID needs to be numeric /CFIF Others do: CFTRY cfparam name=ID type=numeric CFCATCH You must pass a numeric ID /CFCATCH /CFTRY Actually, there is a performance difference between them in theory. try/catch introduces more overhead into the performance due to its need to run, evaluate, and then test the various catch conditions for a best match. With the isDefined(), it either exists or it doesn't. Very simple and brute force. Here are my two rules that I would submit as best practices: 1) In CFMX 6 and 7, every internal scope is a struct, and, as such, the struct-related functions have been heavily optimized. (I think there were some exceptions for scopes like cookie in previous versions.) Therefore, I almost never use isDefined() anymore, for reasons that have been documented both here and on various blogs. My team's standards dictate that structKeyExists() be used around checks for all variables: cfif structKeyExists(variables, id) ... /cfif cfif structKeyExists(url, id) ... /cfif The only time I can think of where I use isDefined() is in something like an error e-mail where I want to check if there was a form scope in the request that failed so that I can dump it or skip it. isDefined() will go through every possible scope it can, including the CGI scope to find the variable being checked. That puts a (comparatively) noticeable overhead on the request as opposed to targeting a specific scope or scopes. I might be forgetting another one-off example, but you'll find most of the time that isDefined() just isn't needed. 2) Put cftry/cfcatch around code snippets that rely on non-ColdFusion technologies, and around snippets of code that can gracefully handle an exception. I don't put it around each and every query because I know that if a very basic query if failing, then I have bigger problems that a try/catch isn't going to solve. However, we interface with a lot of non-CF technologies at my company (i.e., Python external methods, web services, etc.), and I don't necessarily have control over their uptime or availability (for example). Therefore, I need to be able to display a system is down message and/or send an e-mail to myself as an alert. Other examples include POP and FTP access. try/catch should be used only when necessary. As for the reply that noted he has a developer who puts try/catch around everything, education is the best remedy there. Have him research try/catch both in LiveDocs and across the web to show why his approach isn't recommended. Sorry, forgot to paste this link in regarding structKeyExists() vs. isDefined() usage. Sean very nicely summed up what I was trying to say: http://www.corfield.org/blog/index.cfm/do/blog.entry/entry/isDefined_vs_structKeyExists Note that the layout on this is wonky in Firefox, but the content still holds. Regards, Dave. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232351 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Try/Catch vs. direct error handling
On 2/15/06, John C. Bland II [EMAIL PROTECTED] wrote: So, in the case of a simple query what happens if your datasource can't connect? (db down, etc) How do you handle this error with an open cfquery? onError in App.cfc? Just curious... Well, like I said, if you can't connect to your database at all, then you have bigger problems than whether or not a particular code snippet works. This is where test probes should be written specifically to ping your database every so often. We have a test set up using Nagios that runs a probe that just hits our database every 15 seconds via a ColdFusion page. We use Oracle, so the query is literally just: SELECT sysdate FROM dual If that returns without issue, then all's fine. If our test page doesn't return with the expected string (I won't reveal ours for security reasons), then we know something's up and Nagios sends up the appropriate alerts. Remember that try/catch is at the code level for specific bits of logic that you can reasonably forecast might not execute correctly for a given reason. You need to have layers above your code base that run the appropriate system checks to make sure things are up and running. Using Nagios (which is an open source host, service and network monitoring program, by the way) should be where you do your system health checks over systems that you control. Hope this helps? Regards, Dave. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232361 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Try/Catch vs. direct error handling
On 2/15/06, Michael Dinowitz [EMAIL PROTECTED] wrote: But the performance hit only comes when an actual error occurs. When no error occurs, the CFTRY/CFCATCH has very little overhead. As for the issue of StructKeyExists() over IsDefined(), I've advocated it in my presentations for a long time as it is logically more efficient. This may be a fallacy, but I believe it to be. Agreed, but, in my humble opinion, a pragmatic programmer correctly programs for situations that s/he can reasonably predict in advance. Here's sort of the way I look at it at a broader level: try/catch should be used around snippets of business logic. Whether it be a specific algorithm, an external call, or whatever, if you can reasonably predict that a given section of code can *acceptably* fail, then you can use cfthrow and catch the exception message. Your code is so much cleaner than having to write detection logic for error variables and such. structKeyExists() should be used for the existence of a specific variable. That's what it's for. That's what the engineers at Allaire/Macromedia/Adobe had in mind for the function all along. Let it do what it does best. try/catch around the use of a variable on the off-chance that it doesn't exist is simply not what it was designed for, performance aside. Regards, Dave. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232368 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Try/Catch vs. direct error handling
On 2/15/06, John C. Bland II [EMAIL PROTECTED] wrote: Good answer. So essentially Nagios will calmly stop the processing of your cf app? By stop I mean it will set a flag somwehere (app scope, etc) which tells your site to degrade? You could if you want to, but I actually don't do that. Before you gasp in horror, I want to reiterate that sometimes you just have larger problems than anything ColdFusion can solve for you. In my case, I'll get alerted every 15 seconds by 3 different geographic locations that are pinging our site that something's up with the database or with ColdFusion. I don't use the Probes feature built in to ColdFusion (Enterprise, anyway...never used Standard) because it's a purely CF solution. Well if CF is messed up somehow, then having that probe does me no good. I would submit that you should have at least one non-CF way of checking your site for a problem. Sounds interesting but not sure if I would nix my cftry/catches. Let's look at another scenario. Definitely not advocating the abandonment of try/catches in the slightest. I use them a lot around snippets of logic. I never use it around checking for the existence of a variable though. You have a cfquery that executes a sproc (stored procedure) on your db. A change is made to the sproc that unknowingly affects this lonely cfquery tucked in a corner somewhere. How do you manage this potential error from happening? Sometimes things happen and people forget to make certain updates to necessary templates. It just happens. How does your app degrade here? You might hate this answer, but that's precisely what a staging environment and utilities like rsync and/or ANT are for. You're right, there's a human element to issues that might arise. But no amount of try/catch blocks or structKeyExists() checks can account for that. I go back to a comment I made above. ColdFusion can't solve every single issue that might arise with a web site. It would be convenient, and it would make my life a lot easier sometimes, but it can't...and it shouldn't. If you had to put in conditional checks to gracefully handle every potential change in your application, then you're fighting a losing battle, plain and simple. If you don't use utilities like rsync or ANT, then definitely do some research into them. I can't tell you how many times they've save my butt from this very problem you outlined. BTW, I guess I meant Dave but said Brad in my other post. No worries. Regards, Dave. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232375 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Try/Catch vs. direct error handling
On 2/15/06, Michael Dinowitz [EMAIL PROTECTED] wrote: That oracle ping query was rather interesting and I wonder if MSSQL has an equivalent without a lot of overhead (i.e. no overhead at all). I don't use ColdFusion with SQL Server, but we do have a SQL Server instance that I checked against and I simply did: SELECT getDate() That's it. I'm not sure if the SQL Server JDBC drivers are happy with that syntax, but the SQL Query Analyzer had no problem with it. Regards, Dave. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232376 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: OT: Oracle Select Help needed...
On 2/15/06, Charles E. Heizer [EMAIL PROTECTED] wrote: Hello, I've hit a snag and I'm not sure how to get past it. I have a table with ldap paths in it. The column is called compdn and I'm trying to find all of the records which have the phrase THE-LAB in it. The problem I' having is that it's returning 0 records found when I know there are several in there. Here is my query... cfquery datasource=myDBODBC name=q_Systems SELECT upper(COMPDN) as DN FROM ADINFO WHERE COMPDN like '%THE-LAB%' /cfquery Here is an example record... OU=Computers,OU=FOO,DC=the-lab,DC=llnl,DC=gov Can someone please explain to me why this does not work? It looks like the record is being stored as ...the-lab... and you're searching on THE-LAB. Since the search is case-sensive, you'll need to either use LCase() around the CF variable or put UPPER() around the compdn column name, like so: SELECT UPPER(compdn) AS dn FROM adinfo WHERE UPPER(compdn) LIKE '%THE-LAB%' You lose a lot by doing that (if there's and index on the compdn column, it won't get used), but the seach should at least yield the expected results. Regards, Dave. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232393 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Fusion-Reactor?
On 2/9/06, Adkins, Randy [EMAIL PROTECTED] wrote: I do agree. If the 10-day trial version did that. I would not Delay in obtaining a license copy to run and monitor any problems That could surface in the future. It should be noted that there is another product out there called SeeFusion which is in the same exact space and is a very solid product (and cheaper). I am in the process of evaluating both and hope to blog my experience with each when all is said and done. Regards, Dave. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231812 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: SQL Challenge
-Original Message- From: Robert Everland III [mailto:[EMAIL PROTECTED] Sent: Thursday, February 09, 2006 2:52 PM To: CF-Talk Subject: SQL Challenge Is there a way in MSSQL and Oracle or either that will allow you to do a select on a varchar field and be able to see if that record can be converted to a number? We have a ton of databases that used varchar to handle numbers and are getting issues now that some records have gotten data other than a number in them. I want to convert them to an integer field but can't do that until we fix the problem records. Sadly, Oracle doesn't provide a native function like isNumeric() to do this, to my knowledge. However, you don't specify which version of Oracle, so I'll give you two solution, neither of which I can claim credit for, but have lived in my code snippet archive for a while: Pre-Oracle 10g: Create a function called isNumber: CREATE OR REPLACE FUNCTION isNumber(p_val IN VARCHAR2) RETURN NUMBER IS l_val NUMBER; BEGIN l_val := TO_NUMBER(p_val); RETURN 1; EXCEPTION WHEN VALUE_ERROR THEN RETURN 0; END; Then, in your query, you'd just do something like: SELECT isNumber('2006') AS isNumeric FROM dual; That should return 1. SELECT isNumber('Dave') AS isNumeric FROM dual; should return 0. If you're using Oracle 10g, they've added great RegEx support (it was there before, but with some packages I honestly never used, so I don't know the syntax): SELECT id FROM myTable WHERE REGEXP_LIKE (myColumn, '^[0-9]+$'); That should return the *non*-numeric values from that column. These are untested, but should work. Regards, Dave. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231836 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Purging Session Variables
On 2/8/06, Charlie Griefer [EMAIL PROTECTED] wrote: quickest, easiest, down-and-dirty would be cfset structClear(session) / The one issue with that solution is that you would also be blowing away the keys that actually track your session, SESSIONID and URLTOKEN. Maybe it doesn't matter in this case, but it's also something to keep in mind, as it may have unintended consequences. Regards, Dave. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231640 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Purging Session Variables
On 2/8/06, Russ [EMAIL PROTECTED] wrote: What about purging all sessions, not just the current session or at least getting a count of sessions somehow... Is that even possible? As an intended feature? No. And that's something I know Adobe has mentioned Scorpio (CF 8) will hopefully address. However, I think it was Ray Camden who posted this code a long time ago that I've kept around for getting the number of sessions on MX 6.1. I've not tried it on MX 7 yet, so YMMV. It involves getting under the hood of ColdFusion's runtime: function getSessions(appName) { var tracker = createObject(java, coldfusion.runtime.SessionTracker); return tracker.getSessionCollection(appName); } variables.numSessions = 0; variables.sessions = getSessions(application.applicationName); variables.numSessions = structCount(variables.sessions); cfoutputTotal Number of Sessions: #variables.numSessions#/cfoutput Hope this helps? Regards, Dave. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231665 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: [work] File exists on remote server?
On 2/6/06, Andy Matthews [EMAIL PROTECTED] wrote: It might. I don't actually need the file itself, I just want to display it on the page. This is exactly what the HEAD operation of the cfhttp tag can do for you. It's equivalent to a GET (so you can check for the status code of 200 OK for example), but it doesn't return the file content. Check out: http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html (Scroll down to section 9.4). Regards, Dave. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231515 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Equivalent to Java 'import package.class;'?
On 2/3/06, Dave Watts [EMAIL PROTECTED] wrote: Is there an equivalent to Java's 'import package.class;' statement? I do not want to write cfinvoke component=... ... all the time. No, there isn't. The CFIMPORT tag allows you to import JSP tag libraries and assign them prefixes, but that's not the same thing at all, really. I just wanted to point out that you can also use the cfimport tag to import CF custom tag libraries as well. Using cfimport is technically the most efficient way of calling custom tags, as the cfimport is used compile-time to determine the library's location rather than on-the-fly, like cfmodule and cf_*. That being said, it can be a bit of a maintenance headache because you have to have this directive on each actual page that uses the page. Anyway, Dave's point still holds, of course, but cfimport can do more than just JSP tag libraries. Regards, Dave. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231356 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: SOT Best way to identify if a form was change
On 2/3/06, Victor Moore [EMAIL PROTECTED] wrote: Hi All, What is the best way to identify if a form has been changed? Currently I set up a hidden field on the form on every onChange event. Then on the onUnload I check the status of the hidden field and let the user know. Is this the best (only) way to do it? Your easiest solution (obviously, my opinion) would be to head over to Dan Switzer's site and use his amazing qForms JavaScript library. It takes all the pain out of doing JS validation and it's incredibly robust. His API literally has a changedFields() method that does all the work for you. You would simply do: objForm = new qForm(myFormName); alert( objForm.changedFields ); That's it. No need for your own hidden fields or anything. I'm telling you, Dan has done an incredible job of abstracting away the complexities of JavaScript: http://www.pengoworks.com/index.cfm?action=get:qforms Regards, Dave. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231250 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CFC for entire box
On 1/30/06, Robert Everland III [EMAIL PROTECTED] wrote: I know there is a place I can put a cfc or a function and the entire box will be able to reference it. Can someone refresh my memory where it is and if it can be a cfc or just a function? WEB-INF.cftags.component. All components implicitly inherit this object. However, that being said, putting anything in that CFC has been discouraged by many across the various mailing lists. What I've noted some people are doing (Hal Helms comes to mind) is creating their own BaseComponent CFC that is inherited rather than using the WEB-INF.cftags.component CFC. I guess the bigger question is why you feel you need to use the WEB-INF.cftags.component CFC for your code to begin with? Maybe there's an alternative approach to what you're trying to solve? Then again, maybe not! You can search the CFCDev archive for this discussion, as it has come up a couple times. Regards, Dave. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:230734 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: SOT: Google sitemaps
On 1/27/06, Roger Benningfield [EMAIL PROTECTED] wrote: Has anyone used these? Ray: All JournURL-powered blogs produce sitemaps in three different flavors: RSS, text, and OPML. I haven't noticed Ray Camden's problem with the .cfm extension, but that could be because the sitemap format is controlled by a query-string parameter. I've noticed some improvement in Google traffic since registering sitemaps for a couple of my personal blogs. I can't give the sitemaps all the credit, though, 'cause you never know what other, concurrent changes might have ad an impact as well. Pete Freitag had this blog entry a few month back, which is something to keep in mind: http://www.petefreitag.com/item/415.cfm Regards, Dave. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:230603 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Coldfuion Life Spam
-Original Message- From: Andy Jarrett [mailto:[EMAIL PROTECTED] Sent: 26 January 2006 10:54 To: CF-Talk Subject: Coldfuion Life Spam I was talking to someone today who has said that now adobe has taken over macromedia that they will consentrate on flash and the life of coldfusion will becoming to an end. I am about to build a major system using coldfusion but the company now has doubts over the future of coldfusion. I know its not going anywhere but is there anything I can provide to this company to stop there fears. Andy, Take a look at this entry and realize that any statements made about any Macromedia/Adobe product before next Tuesday is completely and entirely base-less: http://www.cbetta.com/blog/index.cfm/2006/1/25/Adobe-To-Webcast-Key-Analyst-Meeting Regards, Dave. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:230488 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: cfdocumentitem type=pagebreak
On 1/26/06, Ryan Guill [EMAIL PROTECTED] wrote: Does anyone have any experience with cfdocumentitem type=pagebreak ? It just flat out isn't working for me. Is there a trick to it? Is this hotfix related to what you're experiencing? http://www.macromedia.com/go/ea53f6ec Regards, Dave. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:230506 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: apache 2.2 with CF7
On 1/25/06, Russ [EMAIL PROTECTED] wrote: Just wondering if anybody has had luck setting up Apache 2.2 to work with CF7? Has Macrodobe released the updated connector yet? They said they were working on it over a month ago, and I haven't seen anything more recent fro them. Steven Erat posted that there are issues with Apache 2.2 and CFMX, so it's not supported at the moment. I'm not aware of any patches being worked on to support it, so I'll leave it to the Adobe folks to update us. Regards, Dave. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:230429 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Getting CFHTTP to REALLY act like a form submission
On 1/19/06, Pete Ruckelshaus [EMAIL PROTECTED] wrote: I was using cflocation to redirect to another page to display a list of items. CFLOCATION works except when there are too many items in the #dclist# variable (this is a list of document ID's and is in a few cases very long). Here is how I was doing things, but it failed when the URL was too long: cflocation url=/admin/datacards/?dclist=#dclist#status=0 addtoken=No So, I figured I'd try CFHTTP to get it to act more or less like a form submission, which would allow me to skirt the URL length issue. Problem is, it doesn't redirect to /admin/datacards/ like it should. Is there something wrong with my code, or is my understanding of how CFHTTP works when using this method flawed? cfhttp method=POST url=/admin/datacards/ redirect=Yes cfhttpparam type=FORMFIELD name=status value=0 cfhttpparam type=FORMFIELD name=dclist value=#dclist# /cfhttp The url attribute is the page that the cfhttp call is going to post to (effectively, the action attribute in a standard form tag), not the page to redirect to. If you want to redirect after processing the form submission, put a cflocation at the bottom of the action page. When you specify redirect=yes, cfhttp will honor the redirect at the bottom of the action page. Regards, Dave. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:229975 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Coldfusion CFMX 6.1 on Red Hat
On 1/18/06, Cutter (CF-Talk) [EMAIL PROTECTED] wrote: There was something in the CFPodcasts about this (can't remember which, but I know it was somewhere between 1 and three). Apparently there was a new Security Engine layer built into the latest version of RedHat as part of an initiative from NSA to create a more secure computing environment. Support is built into CF7, but not into 6.1, although they may have said in the podcast that there were workarounds (I don't remember). You can check Adobe's technotes, as well as the summaries of the podcasts on coldfusionpodcast.com (I think it's Episode 2 in the section on Stephen Collins guide, but I could be wrong. It could just be part of the podcast where they mention one of the updater releases, which they talked about in Episodes 1 2). Steven Erat (as usual) of Adobe is an authoritative source on these sorts of issues. A quick search of his blog shows steps for getting MX 7.01 installed on RH 4, but nothing about 6.1. RH 4 ships with SELinux active by default (the NSA reference from above), which can throw you fits if you're not aware. I don't know if the web connector in MX 6.1 is able to handle the upgraded version. Steven's blog (for further reference) can be found at http://www.talkingtree.com/blog/index.cfm Regards, Dave. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:229864 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: cflocation/ie 6 bug - possible workaround
On 1/18/06, Larry Lyons [EMAIL PROTECTED] wrote: A number of our client sites have had problems where a page will display HTTP headers and/or simply hang if the page is referred to via a cflocation. This most often happens if the cflocation is inside other ColdFusion tags, and seems to only be a problem in IE 6. The page itself would run but the results would never appear, or would appear with HTTP headers at the top of the page. (example: user submits a form, form is processed, but cflocation to confirmation page results in the above) As an alternative why not try getpageContext(whatever.cfm)? It performs a server side redirect instead of a client side which is what cflocation does. First off, I believe the syntax should be getPageContext.forward(whatever.cfm). That being said, the thing you need to be careful with when using the server-side re-direct is that if you attempt to reload a page that was the result of one of these re-directs, the data from the previous page will be re-submitted. For example, say I have a form and want to display a thank you page. If I use getPageContext.forward() to get to the thank you page and the user hits reload, the form will be re-submitted. I've actually stopped using getPageContext for that reason. Regards, Dave. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:229916 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Upgrading to MX FINALLY
On 1/11/06, Adam Haskell [EMAIL PROTECTED] wrote: Ok so we're finally begining the process of upgrading to MX 7, from 5. I did this at my last company (4.5 - MX6 - MX6.1) with very very few problems. One problem we always had was when the server came back up the page load was incredibly long for the first 10 minutes while CF compiled all the template. Was there something I was missing back in the day that could have mitigated that [problem some and has MX 7 improved on this at all? This is a major concern here, my old job was ecommerce we only had 1 site to complie, here we run about 100+ small projects on the server and at one time 10-15 of them could be being accessed I have some major concerns about the compile time. There are a few things you can do. First off, back when MX was first released, the CF code was first compile to java source code and then to byte code. This caused the delays you were seeing. There were some shell scripts floating around to pre-compile your code. With the release of MX 6.1, the hotspot compiler was optimized such that CF code was compiled directly to byte code, so the resulting pause was substantially smaller. With MX 7, the compiler was optimized that much more to the point where now you don't really notice the hit on the first request of the template. The history lesson aside, here are some options if you still find it unacceptable: 1) You can uncheck the Save Class Files option in the Administrator. This prevents a write to disk of the resulting byte code. *However*, the downside to this is that if you need to restart the instance, all the code will need to be re-compiled, as it only resides in memory. 2) Deploy your code using MX 7's EAR/WAR deployment options. There are several articles out that explain this process (including one I wrote for CFDJ). The upside is that the code is pre-compiled to byte code, so that initial hit is no longer needed. The downside is that you have a little more maintenance overhead of having to re-compile your source code changes into the EAR/WAR file and then re-deploying it to your production instance. 3) Just don't worry about it. Really, the performance hit is so negligible now (on decent hardware) that it's not worth the headache of trying to get around it. The initial sluggishness you see when you first start your instance is likely more related to the underlying JRun/ColdFusion processes caching themselves along with the JVM heap getting itself sorted out. Regards, Dave. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:229178 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CFFILE Upload weirdness
On 1/10/06, Bud [EMAIL PROTECTED] wrote: Hi. One of the strangest things I've seen yet. This happens on one CF server running 7,0,1,116466 (a client's) but not mine, running the same code and the same version. Simple custom tag. Here is the cffile. cffile action=upload filefield=#filefield# destination=#Attributes.directory##attributes.id# nameconflict=overwrite accept=#accept# When uploading a jpg, named test1.jpg (the name on my computer) to a file named test2.jpg, CF creates a directory named test2.jpg and uploads. If I place the following code right after the cffile. CFOUTPUT#Attributes.directory##attributes.id#/CFOUTPUTcfexit It correctly shows this: C:websites\atip\ezcart\products_tn\test2.jpg Yet the file it places on the server is this: C:websites\atip\ezcart\products_tn\test2.jpg\test1.jpg test2.jpg being a directory created during the process. #file.serverfile# also shows the name as test1.jpg so it's not happening sometime after the initial upload. I've also tried upload a file named as it will be on the server, but then I just get test2.jpg/test2.jpg. I don't get it. Anyone seen this? While it looks like you're experiencing the issue in this TechNote, http://www.macromedia.com/go/f97044e, you should make sure that you have the cumulative updater to Merrimack installed, found here: http://www.macromedia.com/go/aae43964. I think that should resolve things. One thing that has changed in MX 7 is that you can't just use the serial number to determine what patch level you're at. You need to check the Update Level line as well on the System Information page. Regards, Dave. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:229029 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: SOT: Aqua Studio / Oracle
On 1/10/06, Stuart Kidd [EMAIL PROTECTED] wrote: Thanks for that Hatton. I managed to get the query window open and put a query inside but seem to get some errors. CREATE SEQUENCE PATCHID MINVALUE 1 MAXVALUE 999 START WITH 1 INCREMENT BY 1 CACHE 20; If you don't want a max value, use the NOMAXVALUE attribute instead of the MAXVALUE with that number. Do you know whether my sequence should have a semi-colan at the end? Also, the actual field name is called PATCHID, should i call this sequence something else? In AquaData, no, you don't want the semi-colon at the end. If i take off the semi-colan and give the seq a random name it seems to come up with no errors but is there a way i can see whether it actually did anything? SELECT patchid.nextval FROM dual Thanks for your time, Your welcome. Regards, Dave. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:229055 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Verity vs. sql indexing
On 1/6/06, James Holmes [EMAIL PROTECTED] wrote: Oracle Text can produce these search results, (imo) as good as Verity, with any other constraints you need ( e.g. conditions on the security column and any other clauses you want) all in one query. James, Does Oracle Text have limits as to the field size it can/will index? We were looking to do some indexing with it, but our DBA said we had to limit our fields to something like varchar2(30), which was unacceptable. I did my own search into Oracle's online docs, but I didn't see anything explicit. Regards, Dave. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228639 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: ColdFusion Cookbook
On 1/5/06, Jennifer Gavin-Wear [EMAIL PROTECTED] wrote: em do I even want to know what tater tots are? Is it a form of grits I've not come across? You definitely need to run to your nearest video store and rent Napoleon Dynamite. I know American humor isn't quite British humor, but tots are in it and it's just a hysterical movie otherwise. Regards, Dave. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228556 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: ColdFusion Cookbook
On 1/5/06, Munson, Jacob [EMAIL PROTECTED] wrote: You definitely need to run to your nearest video store and rent Napoleon Dynamite. I know American humor isn't quite British humor, but tots are in it and it's just a hysterical movie otherwise. This conversion has turned way OT, but I'll add my 2 cents. Are you sure they even have Napoleon Dynamite in the UK? I know it's a huge hit over here, but they might not even know what it is. It has a lot of our culture in it, after all... ;) Yeah, sorry. This is it for this thread for me too. But I do have some friends that live over in Manchester, so it's over there somewhere! Regards, Dave. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228562 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Flash Forms - Why Not?
On 12/21/05, Steve Milburn [EMAIL PROTECTED] wrote: I was thinking that the speed issue might be the response I got most often. For the project that I am thinking about implementing with flash forms, the forms themselves will not be too complex. And from my experimenting, the speed might not be too much of an issue. On a side note, if ActionScript and Flash Remoting were used, all db transactions could be done without a page refresh. Assuming that users will spend a fair amount of time manipulating db information, wouldn't the fact that the page does not need to be refreshed/reloaded make up for any speed delays in loading the flash form initially? Are there any other types of bug/bizarre behavior that any has experienced? For all the speed-challenged people, have you followed the best practices as outlined here? (That's a genuine question, as I've not delved into the advanced Flash Forms features just yet.) http://livedocs.macromedia.com/coldfusion/7/htmldocs/1408.htm There are some pretty important pointers that are subtle, but could have a big impact on performance. I'm not saying that link is the answer, but it's definitely good information. Regards, Dave. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227420 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CF MX 6.1 and odd caching
On 12/20/05, Phill B [EMAIL PROTECTED] wrote: I'm writing an app that uses CFCs on a Win2K3 and CF MX 6.1. I have never noticed this before but today it is caching all the files I am working on. I'll upload the page, run it, make a change, upload it, page runs using the previous code instead of the current code. I can delete the file, try the page, get a missing file error, upload the file and run it and it will still think its missing. What the h3ll This is not just limited to CFCs either. It could be any type of CF file. Any ideas what would cause this and how to fix it? Check your CFMX Administrator and make sure the Use Trusted Cache option is not selected. When it's selected, the CF engine will not check the file timestamps for an updated file. Regards, Dave. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227344 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: missing Oracle data source option
On 12/19/05, Plunkett, Matthew [EMAIL PROTECTED] wrote: A colleague installed the Oracle runtime, and then installed ColdFusion. For some reason, Oracle is not available as a datasource in the drop down menu when trying to create a new datasource. Any ideas as to why that might happen? I've never seen this missing. They are likely using ColdFusion Standard, which does not support Oracle databases by default. If they wish to use Oracle with CF Standard, they will need to select Other under the driver type and configure the JDBC info using Oracle's JDBC drivers. Otherwise, they will need to upgrade to CF Enterprise edition. Regards, Dave. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227293 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: OT: UML programs?
On 12/12/05, Ryan Guill [EMAIL PROTECTED] wrote: Hey guys, sorry for the somewhat off topic post, but does anyone know of or can recommend a good free (hopefully open source) uml program? We specifically need the ability to do database uml diagrams, but also full program diagrams is needed as well. I have looked at and tried several but they all seem to be lacking. And visio is a little too pricey. I've recently become comfortable with the Poseidon for UML Community Edition at gentleware.com. There are some limitations with it, and I admittedly don't use most features of it, but it's great for mapping out class diagrams and showing the relationships between each class. Regards, Dave. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:226798 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54