Re: SOT: How do I stop DreamweaverMX adding a / to the front of all my links?
On Tuesday, Oct 22, 2002, at 08:13 US/Pacific, James Smith wrote: How do I stop DreamweaverMX adding a / to the front of all my links? This is a setting in the site definition: absolute vs relative links. Hmm, I can't find it now. Well, it used to be a setting in DW4 but it seems that DWMX always creates site root-relative links based on the local folder location. It seems the assumption is that a 'site' is always a 'root' on the server. I guess you have defined a site where your local folder is not at the root? On a related subject, how do you have it open the frameset for editing? About 90% of the time when I open a frameset document Dreamweaver opens the first frame instead. DWMX will show the entire page - with frames loaded - in Design View. If you switch to Code View, you should see just the frameset itself. Personally, I don't like and don't use frames... Come back CFStudio, all is forgiven. You can still use CF Studio (or HomeSite+). PS: If anyone who matters is listening, can we have the old dreamweaver back that didn't F your code up every time you opened, saved, closed or breathed near it. If you turn off code rewriting, and take note of certain 'translator' restrictions (documented in a tech note - I don't have the info to hand but I remember blogging it a while back... to do with cfinclude getting munged) then you should be OK. Conform! Consume! Obey! -- Mr Snaffleburger : http://www.matazone.co.uk/theotherside.html ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm
Re: cfprocparam / dbvarname issue?
On Tuesday, Oct 22, 2002, at 11:06 US/Pacific, S. Isaac Dealey wrote: another it was never achieved -- but the docs have always reflected the desired functionality rather than the actual functionality. So we're agreed that it's a documentation bug then? ;) An Architect's View -- http://www.corfield.org/blog/ Macromedia DevCon 2002, October 27-30, Orlando, Florida Architecting a New Internet Experience Register today at http://www.macromedia.com/go/devcon2002 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
Re: Known CFMX issues under consideration for upcoming Updater re lease
On Tuesday, Oct 22, 2002, at 18:21 US/Pacific, Doug wrote: I hope it is because that is the database of choice for the Dept of Defense now, replacing Sybase, and MSSQL. By MM failing to support it, will be curtains for ColdFusion with the DoD (Includes the military services.) There's clearly some confusion here - Oracle Database *IS* supported! | From: Joe Eugene [mailto:Jebebox;earthlink.net] ... | Does MM have plans to support Oracle 9i AS? This is the Oracle Java Application Server. Not the database. ColdFusion MX has full support for Oracle 9i DATABASE. I myself am using 9iR2 installed locally with no problems. I use the Thin Client downloaded from Oracle's website. You can also use the native OCI drivers (there was a thread about this elsewhere here recently). The Oracle Application Server is like BEA's WebLogic, IBM's WebSphere, Sun's ONE and, of course, our own dear JRun 4. Support for that would depend on demand I expect, the same way each of the other platforms was approached. Sean A Corfield -- http://www.corfield.org/blog/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm
Re: Linux Solaris file paths
On Tuesday, Oct 22, 2002, at 19:20 US/Pacific, S. Isaac Dealey wrote: Quick question for anyone using *nix and / or Apache. Using IIS on a windows server, file paths can be specified in cffile and cfdirectory using / or \ interchangeably. I'm guessing this isn't true for *nix servers, but I wanted to verify this before I put a ton of work into a modification that may not be necessary to support *nix servers. I'm not sure about the \/ issue (I'd expect only / to be supported) but you will also need to be aware of case sensitivity - we've adopted a lowercase only filename policy (with two notable exceptions: Application.cfm and OnRequestEnd.cfm) for *all* filenames associated with the system. If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm
Re: Linux Solaris file paths
On Tuesday, Oct 22, 2002, at 20:37 US/Pacific, S. Isaac Dealey wrote: I'd imagine they avoided making file paths case insensitive because *nix allows you to have 2 or more separate files or directories named Application, APPLICATION and AppliCATioN. I've never really understood why this is considered a feature. Er, because Dawn is a person and dawn is an event? We draw a distinction between case in our language - why should the filesystem be different? I've also wondered why Windows was so brain dead in assuming FiLe and fIlE were the same. Guess it depends on your background. However, I agree that having files that differ only in case is bad practice (as it is in languages that are case sensitive, like C, C++, Java etc). Hmm, I don't know whether case sensitive languages outnumber case insensitive languages but it's also worth bearing in mind that C is case sensitive and UNIX was originally written in C so it makes sense that UNIX's creators made it case sensitive. SOAP is not so much a means of transmitting data but a mechanism for calling COM objects over the Web. -- not Microsoft (surprisingly!) ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
Re: Linux Solaris file paths
On Tuesday, Oct 22, 2002, at 21:34 US/Pacific, Mosh Teitelbaum wrote: I imagine the powers that be in Redmond figured that allowing multiple files that were all named the same thing (despite case differences) would be too confusing for the intended every day users of the OS. Remember that DR-DOS predates MS-DOS (and Windows) and was 8.3 filename format (and case insensitive). MS-DOS was 'compatible' with that and every single Windows version inherited that. An interesting comparison is Mac OS X - Mac OS has also historically been case insensitive, as is Mac OS X, but OS X is Unix Inside(tm) so there's a conflict of personalities here... resolved in favor of Mac OS: the UNIX under the hood is case INsensitive! I think though, like with Windows, the intended audience for the OS were people who would want near complete control over their environment and would likely be very comfortable differentiating between files that were spelled the same but cased differently. Yes, and when you can easily map filenames to lowercase it's not such a big deal: for f in *[A-Z]* do mv $f `echo $f | tr A-Z a-z` done :) An Architect's View -- http://www.corfield.org/blog/ Macromedia DevCon 2002, October 27-30, Orlando, Florida Architecting a New Internet Experience Register today at http://www.macromedia.com/go/devcon2002 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
Re: repost: CF MX Debug option screws up javascript
On Monday, Oct 21, 2002, at 02:31 US/Pacific, D. Delcomminette INGECOM wrote: I got it ! I am using cfsavecontent to generate parts of my pages. With debug option on in MX the variable containing the result of my savecontent are displayed at the bottom of the page. You could try using the dockable.cfm format (instead of classic.cfm; change the debugging setting in the CF Admin) for debugging to see whether that improves things... I have always wished that my computer would be as easy to use as my telephone. My wish has come true - I no longer know how to use my telephone. -- Bjarne Stroustrup ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm
cfprocparam / dbvarname issue?
This topic is very off topic for CF-Talk. If this is a technical question, please repost under a different subject. Nice to see the thread-shifter works :) On Sunday, Oct 20, 2002, at 10:50 US/Pacific, S. Isaac Dealey wrote: My only specific issue at the moment is to either have the dbvarname attribute for cfprocparam pass the parameter to the stored procedure call by name, or properly document the fact that dbvarname currently seems to be solely for the benefit of the developer reading the code as it doesn't affect the stored procedure call. Beyond that I'm pretty happy. :) I spoke to a couple of folks on the product team and they didn't seem to be aware of this as an issue. Could you create a simple, self-contained test case that shows exactly what the problem is and then submit it as a bug (either as a code bug or a doc bug) via the standard wishlist form? Of course, if you've *already* submitted that, Vern or I can follow-up to see what happened to the issue internally... Sean A Corfield -- http://www.corfield.org/blog/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting.
Re: How about Macromedia provide a more detailed configuration document for CFMX?
On Saturday, Oct 19, 2002, at 10:12 US/Pacific, Doug wrote: I am reading so much pain and suffering caused by configuration issues with the migration to ColdFusionMX. Well, since folks come to this list when they have problems, you're more likely to read of 'pain and suffering' here than 'wow! it was wonderful!'... I am seeing so many people reporting problems with the set up and configuration, and reporting bugs, that turn out to be configuration that I would like to see Macromedia go to the effort to product a comprehensive set of documentation that will address these configuration issues. I think that's a great idea, something along the lines of the CFMX app dev center but for migration / configuration issues perhaps? It should not be required for a system administrator to have to go to a $3000.00 course, purchase $200 to $300.00 in books just to install and configure the product. Hmm, well, I'm not entirely sure I'd agree with you there. My Apache admin guy has been on a bunch of courses, my Oracle DBAs have all been on extensive training (heck, even *I* have been on Oracle DBA courses, just so I can understand what my DBAs are talking about!). I'm not suggesting you should need all that just to get the product installed and running, but I don't think anyone should expect to be able to fully configure every nuance and fine tune it fully without *some* training and/or reading a lot of documentation. It should not require weeks and weeks of tweaking (read that thousands of dollars of labor costs.) to install and set up the server product. I agree... not to just get it installed and running. And it doesn't. I've installed CFMX on a ton of machines here. I've installed it and reinstalled it over and over again on my own machine - particularly during the development cycle when I was identifying suitable builds for my team: I'd go through the install, test, uninstall, reboot, install, test, uninstall... cycle up to eight times in a day. I had a production Solaris server setup in under an hour so I'll challenge the it's too hard claims made here... It seems to be a given that Macromedia does not pay much attention to its install application, which has been a bone of contention of mine from way back. Even the updater follows the old trend. Have you listed your specific concerns and submitted them to Macromedia? If not, how will they know how to improve things? I have no question about the product being stable and awesome when properly configured, but why does it require so much training and expertise just to set up a server? It doesn't. I've had no training. When a hotfix is released, there should not be the requirement that the install procedure for the patches be different than the original install, but with just the required configuration for the fix itself. People seem to have been fairly happy with the CFMX Updater. I didn't see complaints about copying individual files around. I haven't tried the Updater myself. Guess I should... *goes to mm.com - support - coldfusion ... click link to Updater ... download Linux version ... run the installer ... press enter a few times ... type /home/coldfusionmx .. confirm that ... confirm location of administrator ... start CFMX .. done!* Hmm, that was pretty easy... the CF Admin confirms that I'm now running the updated version: Server Product ColdFusion Server Version 6,0,0,52311 Edition Enterprise Operating System UNIX OS Version 10.2.1 Java Version 1.3.1 Java Vendor Apple Computer, Inc. Including downloading the 27.7Mb installer file to my desktop, it took me well under ten minutes to install including shutting down CFMX and restarting it. Instead when Macromedia releases a fix, each one has a unique installation procedure In the past perhaps. In response to users' comments, that has been addressed - it's why the Updater was created to provide a simple, standard way to apply hot fixes. It's not perfect. I gather that if you have multiple virtual sites with IIS, it doesn't update everything (at least, that's what I thought I read here). I believe it works just fine with Apache, even with multiple virtual hosts. But you can see above how easy it is to do the basic update and be back up and running again... Setting up remoting is treated so casually that way too much time is required to set that feature up and be consistent with server security. Can you be specific here? Flash Remoting works 'out of the box' and requires no setup. I haven't done anything to 'set it up' on any CFMX server and it works just fine as far as I can see. Best practices call for your database to be served on a different serer than the one that provides web services, remember? And here we have web server (Apache) - app server (CFMX) - DB server (Oracle) all on separate machines. And we can still set it all up in an hour or so. I'm not sure where the
Re: session vars and locking
On Friday, Oct 18, 2002, at 19:06 US/Pacific, Tony Weeg wrote: race condition? When two requests might get processed at the same time and both might try to read and/or update a shared scope variable... a case of whichever request wins the the race... :) A rule of thumb here is: if you don't really understand the subtleties of race conditions (or deadlock situations), then you're safer to lock every access/update (even if, in reality, you may not need to). In other words, if in doubt, be overly cautious. Conform! Consume! Obey! -- Mr Snaffleburger : http://www.matazone.co.uk/theotherside.html ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm
Re: OT: MM - the story
On Saturday, Oct 19, 2002, at 05:16 US/Pacific, cf-talk wrote: Hi list, anybody who knows how they did: http://www.macromedia.com/macromedia/story/ Well, it's 'just' a Flash movie. What would you like to know about it? We may have used FlashCom for the video, I'm not sure. I can certainly find out. I can smell your brains! -- Mittens the Kitten : http://www.matazone.co.uk/theotherside.html ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com
Re: OT: MM - the story
On Saturday, Oct 19, 2002, at 13:25 US/Pacific, cf-talk wrote: What version of Flash ? MX (of course) with Flash Player 6. BTW, there's a public beta of the new 6r60 player just started - check out the Flash Support Center: http://www.macromedia.com/support/flash/ts/documents/ flashplayer_beta.htm The transparent windowless mode is particularly cool (with full support for Mac and Linux now). How did you integrate the movie ? What video format ? Flash Video format - you convert movies to that format and Flash can play them back through the player. This works fine for 'small' video clips but for full streaming video, you need something based on FlashCom. However, what you're seeing is pure Flash, loading 'small' movie clips, with no server magic (as far as I know!). I am sure, I have seen an article somewhere: Making of But I can't remember where it was. That would be great if you can find it ! You might be thinking of this article about the making of the Executive Presentation on the value of MX: http://www.macromedia.com/desdev/mx/flashcom/articles/odopod.html You might also find this interesting: http://www.macromedia.com/desdev/mx/flash/articles/flashmx_video.html I can smell your brains! -- Mittens the Kitten : http://www.matazone.co.uk/theotherside.html ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting.
Re: OT: MM - the story
On Saturday, Oct 19, 2002, at 14:00 US/Pacific, Sean A Corfield wrote: http://www.macromedia.com/support/flash/ts/documents/ flashplayer_beta.htm Darn email wrap! http://shorterlink.com/?HGXWBF ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting.
Going off topic (PHP DWMX) (was: Anybody want to start a petition for CF Studio!
On Thursday, Oct 17, 2002, at 21:19 US/Pacific, Dave Watts wrote: In Design View ... I'm sorry, but I have an irrational mortal fear of Design View. SOT: but I like the fact that for PHP Design View handles situations where you include header and footer files and it actually renders the finished page including styles (from the included header). My page looks like: ? include('header.php'); ? pBlah blah blah. Simple formatted HTML text./p ? include('footer.php'); ? header.php has htmlhead.../headbody... footer.php has .../body/html And I can edit the simple formatted HTML text in place. ObCF: Of course, DWMX can't do this for CF since cfinclude... pulls in a file based on various server mappings etc etc. But you do have Live Data View... Sean A Corfield -- http://www.corfield.org/blog/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting.
Re: I've noticed that queries in MX are very slow.
On Friday, Oct 18, 2002, at 07:44 US/Pacific, Troy Simpson wrote: But look at the second run. The second run and other runs to the database were consisted. The jdbc:oracle:thin driver was always the fastest followed by the jdbc:oracle:oci driver. The slowest was the MXJDBC driver. This was consistant after the first run. Interesting. And surprising. I really would have expected the OCI driver to be faster. I did not test any stored procedures or anything more complex. I'm assuming that the jdbc.oracle.thin driver is going to be limited in some functionality. I believe - but have not confirmed this - that there can be problems with CLOB / BLOB data through the Thin Client. I know that one of our engineers was doing some CLOB-intensive work and had to use the OCI driver instead of the Thin Client for some reason. From what I gather from various docs, the jdbc.oracle.thin driver was designed mostly as a light weight driver for applets and may be missing some functionality. Maybe someone could verify this for me. Hmm, I'm a little surprised that Oracle don't detail the differences between the drivers and why you'd use one over the other... Maybe they do but it's just really hard to find in the sprawling plains of OTN? :) In a separate reply, I'll include the installation notes from our engineers. I can smell your brains! -- Mittens the Kitten : http://www.matazone.co.uk/theotherside.html ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
OCI Installation (was: I've noticed that queries in MX are very slow.
On Thursday, Oct 17, 2002, at 17:01 US/Pacific, Troy Simpson wrote: Inorder to utilized the jdbc-oci drivers I believe that you actually need an Oracle Client. More binaries are required then the ones supplied at: http://otn.oracle.com/software/tech/java/sqlj_jdbc/htdocs/ jdbc9201.html. But you can still use the jdbc:oracle:thin client with out the full OracleClient. Correct. Here's what I got from one of my QA engineers who did the installation here. I hope it helps others! 1. Install Oracle Client in the server where the CF/MX Server is running. 2. Ensure that you have the right version of Oracle OCI driver is installed, say in the directory /fs0/app/oracle/product/9.2/lib Note: The OCI driver files will be with the extention .so .o .jar .a .zip 3. Ensure that the CF/MX server start up file /data/www/appserver/cfusionmx/bin/coldfusion has the following shell parameters defined with the following path information Note: Modify this with the right path for oracle in your server PATH=$PATH:/bin:/sbin:/usr/bin:/usr/sbin:/fs0/app/oracle/product/9.2/ bin LD_LIBRARY_PATH=$CF_DIR/lib:$CF_DIR/lib/_solaris/bin:/fs0/app/oracle/ pr oduct/9.2/lib TNS_ADMIN=/fs0/app/oracle/product/9.2/network/admin And they are properly included in the start up script CFSTART='su $RUNTIME_USER -s /bin/sh -c export LD_ASSUME_KERNEL=2.2.9; export PATH=$PATH:$CF_DIR/runtime/bin; export LD_LIBRARY_PATH=$LD_LIBRARY_PATH; nohup $CF_DIR/bin/cfusion -autorestart -start default ' 4. Ensure that the TNS netadmin file, /fs0/app/oracle/product/9.2/network/admin/tnsnames.ora has the TNS name defined for the oracle instance you are trying to associate with the data source name you intend to create in the format TNSNAME.MACROMEDIA.COM = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP) (HOST = DBSERVER_NAME.macromedia.com)(PORT = 1521))) (CONNECT_DATA =(SERVICE_NAME = ORACLE_SID))) 5. Once all the above things are in place, create Data Source Name thru CF/MX Admin screen CF Data Source Name : Data_Source_Name JDBC URL : jdbc:oracle:oci:TNSNAME.macromedia.com Driver Class : oracle.jdbc.OracleDriver Driver Name : Oracle 9i OCI driver Usenname : Oracle User Name Password : Oracle Password Description : Description And enable the CLOB (if needed BLOB in the 'Advanced Settings' in the D.S.Name Configuration page. After completing all the above 5 steps, this Data Source Name Data_Source_Name ready to use. Conform! Consume! Obey! -- Mr Snaffleburger : http://www.matazone.co.uk/theotherside.html ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm
Re: Editing PERL in HomeSite+ or DWMX
On Friday, Oct 18, 2002, at 08:55 US/Pacific, Thomas Chiverton wrote: Does anyone know if HomeSite+ or DWMX make good PERL editors? If not, what is the best application development environment out there for PERL? vi :-) Heh... that would be my first answer too... You could also check out jEdit which has a Perl edit mode... SOAP is not so much a means of transmitting data but a mechanism for calling COM objects over the Web. -- not Microsoft (surprisingly!) ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com
OT (nothing to do with: How can you get the latest version of a page.
Hey Dick... Are you trying to sneak around the OT ruling on the thread by posting it under a different subject? LOL! On Friday, Oct 18, 2002, at 08:56 US/Pacific, Dick Applebaum wrote: I started this thread, and maybe I should end it. I posted it here, because I thought it applied to individual CF developers -- whether part of a large organizations or one-person shops. I also thought , that because of the members of the CF-Talk list, it would get better/faster response than the other HOF CF lists -- everyone is on this list, many are not on CF Community, CF-Linux, etc, My apologies to everyone, especially Michael, if this was a disservice. The original, request was to expand, slightly, the number of external IPs supported by the CFMX Trial (Enterprise) system after it reverted to the Developer system. The number of external IPs I had in mind, was 2-4, so that with localhost, the Developer version would have a total of 1-5 addresses. The propose was to allow a single developer, with a single Developer system to do: Multi-user Demonstrations/Presentations Multi-user interaction testing, debugging Limited Stress testing Use of Advanced CFMX features - Consuming/publishing web services, Flash Remoting, etc. Someone added multi-user walkthrough of an application to geographically distributed members of a team The intent was to help the individual developer to do his job, better, The intent was not to use this expanded capability to allow multiple developers to share a single system for development. Unfortunately, as the thread progressed, it morphed into a multi-user Developer system -- this would mean lost revenue to Macromedia, as it would displace sales of CFMX (pro or Enterprise) to Development shops, who stage their development on such in-house systems, before deploying on a production system (in-house or out-house). Again, that was not the intent. And, if you think about the way the additional IPs would likely be handled in the expanded system, it really wouldn't work well as multiuser developer system. Consider this, assuming 4 external IPs were allowed: -- The number of external IPs is *NOT* any 4 concurrent external users.. -- Rather, it is the first 4 external users who access the system. -- Once 4 users have accessed the system, all others are locked out. -- If any or all of the first 4, turn their machines off or go home, it doesn't change anything -- all other users are locked out -- the only way to remove the lock is to recycle the system C'Mon, how practical would it to be on a team of 5 users, sharing such a system for development. -- The person who is localhost is the only one who can do CFMX admin things -- Whenever another IP (after the first 4) wanted to access the system, it would need to be recycled (and coordinated with all the others sharing the system) -- the localhost person would get stuck with all the SA duties, and not be able to control his development activities. -- the localhost person could do lots of things (burn a DVD) and bring the others efforts to a halt -- Other than localhost users would be at the mercy (whim) of local host. -- noone could get anything done without localhost being there -- noone, including localhost could take their work with them (home, client, off site presentation). If I had deadlines/commitments to meet, I wouldn't go within miles of a Developer system, like that. Rather, I would put CFMX Developer on my laptop or desktop, along with whatever DB, files, etc. -- and, aND, AND --- Be in complete control of my own development environment (maybe IDE really means Individual Developer Environment). Could a shop of three users avoid buying a CFMX license, by sharing a Developer version? Sure they could, but if you want to beat the system there are much better ways . I maintain, these three would be much better off, if each had his own copy of CFMX developer installed on his own computer -- why share that? You lose all the advantage (independence) of the CFMX Developer system. When you need to collaborate, you plug into a real staged development system -- not some emasculated system that gets recycled all the time. Well, I guess I have beaten this to death, but I would like to try and make one final poignant. A single-Developer system that supports a limited number of external IPs will allow that developer to be more efficient -- which should result in more, and more-rapid deployment of production CFMX systems. This equates to revenue for Macromedia, and a improved relationship with the developer community. For the reasons discussed above, I don't believe that expanding the single-Developer system will have any impact on the purchase of CFMX for multi-user development purposes. I hope that Macromedia will consider this as a serious
Re: Anybody want to start a petition for CF Studio!
On Friday, Oct 18, 2002, at 11:59 US/Pacific, Rob Rohan wrote: I miss Windows3.11's stability, should we start a petition to have Microsoft start redeveloping it? Microsoft cancelled WfWG??? I'm bummed... I loved that OS... (c'mon, it's Friday!) SOAP is not so much a means of transmitting data but a mechanism for calling COM objects over the Web. -- not Microsoft (surprisingly!) ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
Re: Anybody want to start a petition for CF Studio!
On Friday, Oct 18, 2002, at 10:12 US/Pacific, Costas Piliotis wrote: Thing is though, the problem mostly is that Macromedia isn't really listening. They SHOULD care about we use as an editor. Yes, they really are listening. And they really care. Believe me. If they weren't / didn't, then there wouldn't be half as much discussion going on internally about how deal with all the concerns expressed here! This stuff takes up a bunch of our time because - shock, horror - we actually want happy customers! Look, Vern deals with this list because it's his job. He's the Community Manager. I deal with this list because it's interesting (when it's on-topic!) and I'm passionate about CF as a customer: I use it day-in, day-out. Go read my personal website and see what I say about CF. Compare it to what I wrote about BroadVision when I worked with that all day, when I was actually doing work *for* BroadVision. I got into trouble for that but my website is my honest opinion and my employer has no say in what I post there (well, assuming I don't violate confidentiality etc). I also got into trouble for being uncomplimentary - in print and on my website - about the C++ Standards Committee while I was an active member (heck, I think I might even have been J16 Secretary at the time). There's other Macromedians here on this list too for whom this is not part of their job - they're here because they care about CF and the community. But the majority of ppl in this discussion group seem to feel that cf studio is the best tool for building cf driven apps. There's certainly a lot of vocal support for it :) Personally, I don't like CF Studio. I installed it and after a few days I uninstalled it and went back to UltraDev. Before I joined Macromedia, I tried HomeSite for writing BroadVision pages... didn't really like it much, although some folks on my team back then loved it. Personal preferences! I'm on a Mac now and I use a combination of DWMX, vi and jEdit. I look around at my team today and some are diehard CF Studio users, others are diehard DWMX users and most are agnostic (although I'm not the only vi fan here). Is DWMX perfect? No, of course not. I've filed some wishlist requests and I know my team has too. Is CFS perfect? No, it's not. Have any of my team filed wishlist requests for CFS? I don't know... very probably, knowing how fussy some of them are! Heck, I think half the people would be a heck of a lot quieter if they copied the source for Homesite+, called it CF Studio MX, and then charged more for it. Betcha most people wouldn't even notice. I really wish we had done this... Selling HomeSite+ as ColdFusion Studio MX at $499 alongside Dreamweaver MX at $399... Tell me it's Friday... Please! -- me ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting.
Re: CFMX Server dies
On Friday, Oct 18, 2002, at 15:37 US/Pacific, Brook wrote: I'm running CFMX (with the updater installed) on win2k sp3. Everything was running fine, but now, at least one a day, the server freezes. Its the strangest thing. The CPU and/or Memory do not spike or accumulate. The services are still running and their are no errors in the log! What database? What drivers? Any patches / updates in that area? Conform! Consume! Obey! -- Mr Snaffleburger : http://www.matazone.co.uk/theotherside.html ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
Re: CFMX Server dies
On Friday, Oct 18, 2002, at 17:29 US/Pacific, Brook wrote: Well, it's using MSSQL and the default JDBC driver that ships with CFMX. I SQL 2k or v7 or...? didn't think this was important because I don't think it's a DB issue. Unless you think that a DB issue could manifest itself like this. The MX Updater is installed. Well, some folks have commented that driver problems have caused similar symptoms so I'm just trying to get as much info here as possible. If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com
Re: session vars and locking
On Friday, Oct 18, 2002, at 18:00 US/Pacific, Tony Weeg wrote: is it safe to assume that everywhere on a page, where i am either setting or reading from session variables, that i should have cflock's of the exclusive type (when writing to session vars) and cflocks of the readonly type (when reading from session vars) on every single occurence of one of these situations? Depends. If you're on pre-MX, then yes. If you're on MX, then it depends whether you could get a race condition and whether the race condition actually matters. SOAP is not so much a means of transmitting data but a mechanism for calling COM objects over the Web. -- not Microsoft (surprisingly!) ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm
Re: XML within CFMX
On Friday, Oct 18, 2002, at 18:03 US/Pacific, Brook wrote: Interesting, well maybe I can use a combination of the two. Store the XML data and then when needed parse section of it into arrays or what not and then work with the resulting objects in CF. And then save it back into the XML document? Insert it back in I guess? I need to brush up on the CFMX XML features and their limitations. You don't say which database you are thinking of... If you're looking at Oracle 9iR2, they have some really sweet SQL/XML stuff in there. You can mix relational and XML data and mix your queries too. I blogged this: http://www.corfield.org/blog/2002_10_01_archive.html#82676535 A lot would depend on what usage you really have inside the app. If the document doesn't change much, you could load it, parse it and cache the DOM representation in a shared scope. From the DOM it's easy to reconstruct structs and arrays. If your app changes the document frequently, you might need to take another approach. As always, so many options... I can smell your brains! -- Mittens the Kitten : http://www.matazone.co.uk/theotherside.html ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com
Re: repost: CF MX Debug option screws up javascript
On Wednesday, Oct 16, 2002, at 22:43 US/Pacific, DDE wrote: On page submit, I call a very simple JS function ( DoIT() ). Can't give a URL, but a piece of code: I tried this code and it seemed to work just fine. I tried it with both the dockable.cfm debugging template and the classic.cfm template. Both worked fine. Can you create a complete but simple version of your page that exhibits the problem (rather than just fragments)? I can smell your brains! -- Mittens the Kitten : http://www.matazone.co.uk/theotherside.html ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
Re: SOT: question about CFMX / JAI article at MM site
On Wednesday, Oct 16, 2002, at 22:53 US/Pacific, [EMAIL PROTECTED] wrote: Here's a link to the article I'm referring to: http://www.macromedia.com/desdev/mx/coldfusion/articles/jai_images.html Has anyone else tested out this Java class / CFC wrapper for manipulating images on the fly? I have it set up and working - I can read an image, manipulate it, and write a new one without problems - but the resultant file appears to be locked for about 10 seconds after it's created. I can't rename it, move it or delete it, unless I wait for a little while and then the problem seems to go away. Are you accessing the resultant image file via IIS (before trying to delete it)? If so, the lock is probably IIS holding onto the file. I have always wished that my computer would be as easy to use as my telephone. My wish has come true - I no longer know how to use my telephone. -- Bjarne Stroustrup ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com
Re: try-catch was RE: switch-case was RE: BlueDragon (was RE: How is CFMX J2EE implemented?)
On Wednesday, Oct 16, 2002, at 06:13 US/Pacific, S. Isaac Dealey wrote: [horrific factorial implemented with try/catch snipped] Yech... I pitty your server. :P My Mac laptop, you mean? :) In answer to Kola's question about try-catch in CF5: try-catch generally introduces an overhead in every single language in which it is implemented... C++, Java, CFML. It's just a fact of how it works. Which is why it should mostly be used for 'unexpected' error situations. throw-catch has to be implemented by some sort of runtime lookup compare operation that will always be slower than simply setting variables or returning an error code from a function (and testing the value in both cases). An implementation can be more or less efficient in the way it implements throw-catch but it will always be a fairly heavy operation. Conform! Consume! Obey! -- Mr Snaffleburger : http://www.matazone.co.uk/theotherside.html ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
Re: Bug in CFMX - MM JDBC Driver for Sybase
On Wednesday, Oct 16, 2002, at 05:38 US/Pacific, Dick Applebaum wrote: I want to report a bug in Macromedia's JDBC driver for Sybase Bear in mind that we didn't write any of the drivers - they are all third-party. So it's not 'our' bug per se. My problem is that I am using CFMX on Mac OS X -- an unsupported platform -- but the bug is in Macromedia's JDBC driver. If anyone using Sybase on a supported platform would like to use Dick's code to reproduce this and then file a bug through the standard web form, I'm sure we'd all be grateful! Thanx! I can smell your brains! -- Mittens the Kitten : http://www.matazone.co.uk/theotherside.html ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting.
Re: I've noticed that queries in MX are very slow.
What database driver are you using with CFMX? Have you tried installing the OCI drivers? On Wednesday, Oct 16, 2002, at 15:01 US/Pacific, Troy Simpson wrote: First the Database is Oracle9i on an independent system. I run the following query on Coldfusion 4.5x (with the latest revision/patch) on Windows2000/IIS5. The hardware is an old Dell dual pentium pro system with 512 MB. qryReport (Records=864, Time=234ms) SQL = SELECT LEVEL, id, pid, keyword, SYS_CONNECT_BY_PATH(keyword,'/') as path FROM ndx START WITH id = 1 CONNECT BY PRIOR id = pid ORDER BY path I run the same query on ColdFusionMX on Solaris 8/Apache 2.0.40. This hardware is a Sun system (450's is what I call) with at least 2 processors and over 1 gig of RAM. I'm not really sure on this. qryReport (Datasource=archives_metcalf, Time=903ms, Records=864) in /global/apachedg/apache/websites/sitename/wwwroot/archives/metcalf/ reports/reportndxoutline.cfm @ 17:00:43.043 SELECT LEVEL, id, pid, keyword, SYS_CONNECT_BY_PATH(keyword,'/') as path FROM ndx START WITH id = 1 CONNECT BY PRIOR id = pid ORDER BY path What give? The query on the system with ColdFusion MX takes at least 3 time longer. Am I missing something here? Now I know someone is going to come back and say their are too many variables. But come on, pentium Pros against this honking 450 Sun System? But for the benefit of the doubt and If I can get some time, I'm going to try MX on the Pentium Pros and see if I see anything different. But I doubt it. Are others experiencing similiar slow downs? -- - Troy Simpson Applications Analyst/Programmer, MCSE, OCPDBA North Carolina State University Libraries Campus Box 7111 | Raleigh | North Carolina ph.919.515.3855 | fax.919.513.3330 E-mail: [EMAIL PROTECTED] ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
Re: I've noticed that queries in MX are very slow.
On Wednesday, Oct 16, 2002, at 16:26 US/Pacific, Troy Simpson wrote: I'm using the supplied Oracle driver that came with ColdFusion MX Enterprise. OK, that is an Oracle 8i JDBC driver. I assume that is not the same ones you are referring too, huh? Correct. The OCI drivers are mostly native code so they are faster. Where can I find more information about installing these OCI drivers. On the Oracle website. The actual downloads are accessible on Oracle Tech Net - you have to register to access it but it's well worth it. Hope that helps? An Architect's View -- http://www.corfield.org/blog/ Macromedia DevCon 2002, October 27-30, Orlando, Florida Architecting a New Internet Experience Register today at http://www.macromedia.com/go/devcon2002 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
Pro v Enterprise? (was: The Hidden CF factor was RE: How Good is the Job Market for ColdFusion?
On Wednesday, Oct 16, 2002, at 16:28 US/Pacific, Greg Bullough wrote: In doing so, you have not only hobbled a lot of development paradigms where people develop on Pro and deploy on Enterprise Clusters Given that the Developer Edition is effectively a dual-IP Enterprise version, I'm not quite sure how common your development paradigm would be? I'm not too familiar with how CF folks work in general... My team have Developer Edition installed on every desktop and laptop and have Enterprise Edition installed on all the shared servers (yeah, I know, we don't have to pay for it - I'm just reporting how we operate is all!). I'm genuinely curious about the setup most folks use... If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
Re: I've noticed that queries in MX are very slow.
On Wednesday, Oct 16, 2002, at 22:44 US/Pacific, DDB Lists wrote: Ok, so I have those drivers, now what? Do I drop them in the cfmx directory somewhere or do they go in the java jre dir at a particualr place, and how do i use them? You can put them wherever you like - you just need to add them (the jar files) to the Java CLASSPATH in CF Admin and restart CFMX. That should make the code accessible. Then in CF Admin, select Other from the driver list when you set up your data source and specify the appropriate JDBC URLs to access the database. There are installation instructions with the OCI drivers that give example URLs. It's been a while since I set this up - and I don't have them set up right now - but I pretty much just followed the Oracle installation instructions. An Architect's View -- http://www.corfield.org/blog/ Macromedia DevCon 2002, October 27-30, Orlando, Florida Architecting a New Internet Experience Register today at http://www.macromedia.com/go/devcon2002 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
Re: cfmx jrun.exe hitting 900mb ram
On Tuesday, Oct 15, 2002, at 09:39 US/Pacific, JLH All Turbo wrote: I could tone down the amount of memory it's using but still it shouldn't be using 900mb in the first place. Why not? We're running JVMs here with 3.8Gb RAM assigned to them. I'm not sure what you think the problem is? Many Java applications will eat up a lot of memory in normal operation. The JVM then garbage collects and manages its memory internally even tho' it doesn't relinquish it back to the OS. The JVM will typically use as much memory as it is allowed and a 900Mb default doesn't surprise me. Sean A Corfield -- http://www.corfield.org/blog/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com
Re: Reality CFMX: Intranets and Content Management
On Tuesday, Oct 15, 2002, at 10:32 US/Pacific, Yves Arsenault wrote: And maybe the Flash X integration? http://www.corfield.org/blog/2002_10_01_archive.html#82572877 SOAP is not so much a means of transmitting data but a mechanism for calling COM objects over the Web. -- not Microsoft (surprisingly!) ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
try/catch (was: switch-case (was: ...
On Tuesday, Oct 15, 2002, at 01:32 US/Pacific, Kola Oyedeji wrote: Sean, have I missed something, are you saying try and catch add a significant performance overhead? try/catch is not an efficient way to solve the problem posed. try/catch is designed for unexpected error conditions and should not really be used for 'expected' results. This is both a stylistic issue and a performance issue. Example: You iterate over a list. You know you're going to hit the end of the list (because all lists have an end). Do you throw an exception when you hit the end of the list? a) If you are looking for something that should always be present - and not finding it indicates a logic error in your program - then an exception is appropriate. b) If you are looking for something that might not be present then an exception is NOT appropriate (because you 'expect' to not find it sometimes). In general, throw/catch will be 'slower' than (most) other ways of 'returning' error information. Note that try should place little or no overhead on code that does not actually throw any exceptions. If you think about how throw/catch operate, you should be able to see why this is so. When you throw an exception, CF has to walk up the stack of active invocations / try blocks to locate a catch that matches the type of the throw. Most times, it won't have to walk very far - CF programmers typically catch any exception rather than having a complex layered exception model - but it's still a slower process than simple cfreturn or just setting a variable (as in my earlier reply). I can smell your brains! -- Mittens the Kitten : http://www.matazone.co.uk/theotherside.html ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm
Re: try-catch was RE: switch-case was RE: BlueDragon (was RE: How is CFMX J2EE implemented?)
On Tuesday, Oct 15, 2002, at 07:51 US/Pacific, S. Isaac Dealey wrote: I suppose I should clarify by saying that I haven't simply disregarded the original intent of cftry all-together. I do use it mostly for error handling, although much of it is for custom error handling, such as server side form validation. Although I would maintain that you would 'expect' user input to contain errors (and therefore this is not an 'ideal' use of try/catch), I would also concede that try/catch can make this sort of validation easier and interacting with a user for error handling is much less performance critical. There have been a handful ( maybe a half dozen ) situations where I found the cftry was extremely helpful in creating an easily human read/writeable codeblock where the only alternative I could think of would have been a horrible mess of spaghetti code. Yes, that is true. There are extenuating circumstances for most abuses of a language :) I'm sure you wouldn't even consider doing this: cffunction name=factorial returntype=numeric cfargument name=n type=numeric required=true/ cfif n le 1 cfthrow type=result message=1/ cfelse cftry cfset factorial(n-1)/ cfcatch type=result cfset nfact = n * #cfcatch.message#/ cfthrow type=result message=#nfact#/ /cfcatch /cftry /cfif /cffunction cfparam name=url.n type=numeric default=5/ cftry cfset factorial(url.n)/ cfcatch type=result cfoutput factorial #url.n# is #cfcatch.message# /cfoutput /cfcatch /cftry I can smell your brains! -- Mittens the Kitten : http://www.matazone.co.uk/theotherside.html ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com
Re: try-catch was RE: switch-case was RE: BlueDragon (was RE: How is CFMX J2EE implemented?)
On Tuesday, Oct 15, 2002, at 17:26 US/Pacific, S. Isaac Dealey wrote: Isaac the Butcher of Fusion ... :) Careful, that might stick! :) [horrific factorial implemented with try/catch snipped] Of course not... For starters, there are existing UDF's on cflib.org to handle factorials. :P And I'm not certain the syntax is correct, but then it's MX and I haven't gotten to the new version yet, so I wouldn't know. :) Oh, don't worry - I tried it out first to make sure it ran :) :) lol... That's priceless -- most of that stuff is lame, but that first mittens anim. is hillarious... Incidentally, one of the answers from the Magic 8 Ball is Tell people you can smell their brains, it's a good ice breaker at parties. Yes, I was at BACFUG one evening wearing my Mittens' face T shirt (no writing on it) and a voice behind me said I can smell your brains. It's a small world. The animator is a very good friend of mine back in the UK. He is totally barking :) Conform! Consume! Obey! -- Mr Snaffleburger : http://www.matazone.co.uk/theotherside.html ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm
Re: FLASH MX and CF integration book
Ben Forta's Reality ColdFusion MX : Macromedia Flash MX Integration would probably be a good starting point. It walks you through four case studies of Flash / CF integration, showing the ActionScript and the CF and not going into UI stuff too much. On Tuesday, Oct 15, 2002, at 17:32 US/Pacific, Ciliotta, Mario wrote: Does anyone know of a good Flash MX book that has some examples of integrating with CF and also with ASP. I am not a FLASH developer so I would kind of like something that has easy to follow FLASH code so that I can get a understanding of what can be done. This message is for the named person's use only. It may contain sensitive and private proprietary or legally privileged information. No confidentiality or [fourteen more lines of disclaimer snipped] Wow, that has to be the largest .sig I have *ever* seen! Does anyone remember when folks got flamed for a .sig longer than four lines? Ah, the days of innocence... :) An Architect's View -- http://www.corfield.org/blog/ Macromedia DevCon 2002, October 27-30, Orlando, Florida Architecting a New Internet Experience Register today at http://www.macromedia.com/go/devcon2002 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting.
Re: free mail servers please - like Pegasus and Mercury
On Monday, Oct 14, 2002, at 09:12 US/Pacific, Jeffry Houser wrote: But got confused when someone said they use telnet to check there mail. ( What they must have meant was they use telnet to get into the server, and then use a server-side program to check there mail ). Nope, you can telnet to port 110 and as long as you speak POP3 you can read mail with telnet. I do it quite often. SOAP is not so much a means of transmitting data but a mechanism for calling COM objects over the Web. -- not Microsoft (surprisingly!) ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm
Re: Problem with CFSchedule Page
Which version of CF? Which OS? etc etc On Monday, Oct 14, 2002, at 09:39 US/Pacific, Clark, Aimee wrote: This is my first attempt at creating a cfschedule page. Unfortunately, it is not working. I coded it to run the test2.cfm page at 11:35AM, but it did not generate the emails I was expecting. Is there something wrong with the way I set the cfschedule up? cfschedule action=UPDATE task=send_email operation=HTTPRequest url=/test/test2.cfm startdate=10/14/2002 starttime=11:35:00 endtime=11:45:00 interval=daily resolveurl=Yes publish=No /cfschedule Thank you, Aimee Clark Web Developer Stinson Morrison Hecker LLP 816-691-3461 [EMAIL PROTECTED] ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting.
Re: CFML standardization (was RE: BlueDragon (was RE: How is CFMX J2EE implemented?))
On Monday, Oct 14, 2002, at 16:06 US/Pacific, Mosh Teitelbaum wrote: Macromedia's perceived lack of response has been a fairly popular topic on this list. While I don't completely agree with the perception, anything that allows developers greater interaction with MM (such as a JCP-like program) would be awesome. Anyone who has been involved with Sun's JCP - particularly in the early days - will have plenty to complain about. As someone who spent nearly ten years working on programming language standards - including the abortive attempts to persuade Sun to follow either the ISO or the ECMA path - I shudder to imagine ColdFusion developing in two incompatible ways! Again, this is exactly what Netscape and MS did with their browser-specific HTML variants and we've all suffered as a result. And more recently when MS tried to extend Java in ways not compatible with Sun's specification (remember the 'delegate' keyword?). It's why MS doesn't have a Java product any longer - because what they were selling under the name 'Java' was not really Java. Now, I personally think that Sun's approach (stopping MS from selling a Java-based product) was a little heavy-handed and was not, overall, good for the industry. Many C (and C++) compiler vendors have tried this in the past. Microsoft usually at the forefront of such abuse, Digital being another classic offender. It just creates ghettos in the programming world of people who can write X-variant of some language Y. It isn't good for the industry. I used to maintain a 250,000 line C / C++ code base that had to run on about 20 OS / hardware combinations. It was very hard to write portable code because of the differences in implementations! Having said that, I think it's terrific that Blue Dragon exists - it validates ColdFusion in a very important way, reducing the stigma of 'proprietary language'. I know New Atlanta have promised MX compatibility as well - again, an important validation of the direction Macromedia is taking ColdFusion. Conform! Consume! Obey! -- Mr Snaffleburger : http://www.matazone.co.uk/theotherside.html ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
Re: switch-case was RE: BlueDragon (was RE: How is CFMX J2EE implemented?)
On Monday, Oct 14, 2002, at 17:13 US/Pacific, S. Isaac Dealey wrote: There is another way to simulate variables or ranges in a case statement with a cftry and cfcatch blocks... try/catch is a pretty heavy operation - you should only use it for (unexpected) error cases, not normal operation... How about: cfset caseval = -1/ cfif myvariable gt x and myvariable lt ycfset caseval=1/cfif cfif listfindnocase(mylist,myvariable)cfset caseval=2/cfif cfif refindnocase(myregex,myvariable)cfset caseval=3/cfif ... default case stuff here ... cfswitch expression=#caseval# cfcase value=1... do stuff.../cfcase cfcase value=2... do stuff.../cfcase cfcase value=3... do stuff.../cfcase /cfswitch I've used try catch for a number of non-error handling items .. properly implemented, it works pretty well. Or at least it has for me. Have you timed it? (I won't even start on the stylistic implications of this!) And this is much shorter, however, with the try block, you can do all kinds of crazy stuff in the in-between parts... Yes, well, we won't talk about that Isaac, eh? I'll just call for those nice men in their white coats... :) I have always wished that my computer would be as easy to use as my telephone. My wish has come true - I no longer know how to use my telephone. -- Bjarne Stroustrup ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
Re: CFML standardization (was RE: BlueDragon (was RE: How is CFMX J2EE implemented?))
On Monday, Oct 14, 2002, at 18:00 US/Pacific, Dick Applebaum wrote: I should probably stay out of this--- oh, what the hell. Now look what you've started! :) BTW, Vince, I'd like typing of variables and Nulls in CFML :) Hey Vince, ya wanna see my feature wishlist? It's *really* long!! In no particular order (but these haven't been mentioned lately): 1. cffinally 2. throw in cfscript 3. access=protected 4. interfaces / abstract components 5. named constructors 6. the ability to throw typed objects (like Java and C++) 7. ... (it goes on for pages and, yes, it includes typed declarations, NULL, parallel processing constructs) *thinks* I wonder what ColdFusion would look like with C++-style templates or the forthcoming Java parameterized types? I can smell your brains! -- Mittens the Kitten : http://www.matazone.co.uk/theotherside.html ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm
Re: CFML standardization (was RE: BlueDragon (was RE: How is CFMX J2EE implemented?))
On Monday, Oct 14, 2002, at 19:00 US/Pacific, Joe Eugene wrote: Sean... there are alot of instances.. where we need strongly typed language or code... we have proven this before... No, no one has *proven* anything. In fact, other languages manage just fine without strong types - which obviously *proves* that strong typing is not needed. Sean A Corfield -- http://www.corfield.org/blog/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
Re: CFML standardization (was RE: BlueDragon (was RE: How is CFMX J2EE implemented?))
On Monday, Oct 14, 2002, at 19:30 US/Pacific, Dick Applebaum wrote: Rather than have the chaos of Babel, at some point, if there are lots of implementers of CFML, control of the (non-copyrighted) CFML language should be placed in the hands on an independent entity. Well, we told Sun that back in '97 and they said (quoting Jim Mitchell): We do not want the disaster that is C++ to befall Java. There are sometimes good reasons not to hand a language over for standardization (I happen to think Sun were wrong here but...). SOAP is not so much a means of transmitting data but a mechanism for calling COM objects over the Web. -- not Microsoft (surprisingly!) ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
Re: CFML standardization (was RE: BlueDragon (was RE: How is CFMX J2EE implemented?))
On Monday, Oct 14, 2002, at 20:04 US/Pacific, Matt Liotta wrote: What happened to cffinally anyway? It was in the beta of Neo and then later taken out. I guess there wasn't time before launch to finish and fully QA the implementation of that tag? A lot of things changed between the beta and the final release, mostly in response to beta user feedback. As was recently discussed on CFGURU, access=private is really protected and not private, so maybe you actually want private. Well, I want to be able to specify access=protected and have it do the right thing. And I'd like access=private to mean private. And I want variables.x to mean a private data member. The latter is a wish that will probably come true since it's a known bug - bugs get fixed. I can smell your brains! -- Mittens the Kitten : http://www.matazone.co.uk/theotherside.html ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm
Re: Suggestions for UML or Object Modeling books for use with ColdFus ion MX
On Thursday, Oct 10, 2002, at 12:40 US/Pacific, Smith, Don , , WHS/PSD wrote: So who has a good book to recommend? I'm looking for a book that uses broad concepts that can be implemented in CFMX, so something like Object Modeling for Visual Basic would contain a lot of info I just wouldn't need. I notice that no one has responded to this yet. The reason is probably that there are very few good OO modeling books out there that don't focus heavily on a particular language. You might look at the book reviews section on ACCU, covering modeling languages: http://www.accu.org/bookreviews/public/reviews/0sb/ modelling_languages.htm Whilst many of these are focused on C++, there are a large number that aren't and which might help you. Conform! Consume! Obey! -- Mr Snaffleburger : http://www.matazone.co.uk/theotherside.html ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com
Re: Suggestions for UML or Object Modeling books for use with ColdFus ion MX
Yes, that's a pretty solid book (almost anything by Martin Fowler is worth reading - check out his website: http://www.refactoring.com). On Sunday, Oct 13, 2002, at 16:37 US/Pacific, John Wilker wrote: I've read much of: UML Distilled: A Brief Guide to the Standard Object Modeling Language http://www.amazon.com/exec/obidos/ASIN/020165783X/ref=cm_wl_ovu-pg.2- pos 18/102-3725997-2913724?coliid=I2LGAKH96ITG8P I can smell your brains! -- Mittens the Kitten : http://www.matazone.co.uk/theotherside.html ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting.
Re: Another MX boo boo
On Friday, Oct 11, 2002, at 09:30 US/Pacific, Rob Rohan wrote: It's the Default Locale, and JRE 1.4.1 Hmm, a lot of people are running JRE 1.3.1 so this might be the culprit? Can anyone else running 1.4.1 confirm (or deny) this dateFormat problem? Can anyone who *is* seeing the bug please post their JRE version? We'll get this nailed down! Thanx, Sean I have always wished that my computer would be as easy to use as my telephone. My wish has come true - I no longer know how to use my telephone. -- Bjarne Stroustrup ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
Re: CF and jEdit
On Wednesday, Oct 9, 2002, at 20:26 US/Pacific, Joshua Miller wrote: I appreciate your posting this to the list. Let me take this opportunity to extend an invitation to anyone using JEdit with ColdFusion to contribute their findings, advice, screenshots, macros, etc. to the FAQ. I blogged the jEdit/CF information and then downloaded it all to try myself. So far, I'm pretty impressed. I like the SQL plug-in - very useful - but haven't tried the FTP plug-in yet. I like the automatic inserts for closing tags but haven't figured out how to activate tag insight or attribute hints... which sounded possible from the docs? I'll probably spend some time next week looking more deeply into customizing jEdit... Juandres is translating the site into Spanish and we're discussing moving it to Wiki so everyone can contribute as they wish. If we do go with Wiki, I'll make the current FAQ redirect to the new location. Ugh! No, not a wiki! (Sorry, I don't like wiki systems at all :) Conform! Consume! Obey! -- Mr Snaffleburger : http://www.matazone.co.uk/theotherside.html ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com
Re: Another MX boo boo
On Thursday, Oct 10, 2002, at 10:00 US/Pacific, Rob Rohan wrote: Yeah we still are. If you'd like I'll send you a link to our dev server (off list) with a page that shows whats going on. Mail me off list if you want to see. Sean has the link too. I can confirm that Rob is definitely experiencing this error - having tried his link - but I am at a loss to explain why. The code works fine on every system I've tested here (all without the Updater, admittedly) and other people are reporting it works fine on systems *with* the Updater. Weird. Another thought: are you using anything other than the default locale? I have always wished that my computer would be as easy to use as my telephone. My wish has come true - I no longer know how to use my telephone. -- Bjarne Stroustrup ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
Re: BigIP
On Thursday, Oct 10, 2002, at 05:58 US/Pacific, Everett, Al wrote: Anybody using the BigIP load balancer from F5? Have you had any problems with sticky sessions? We have run F5's Big IP in the following setup with no problems: F5 Big IP / \ Web1Web2 | | CFMX1 CFMX2 \ / Oracle 9i This was an experimental setup with the JRun connector configured as a 'hard link' between each web server (Apache 2.0.39) / CF server pair. (The above config has six physical boxes including the Big IP) Do you know a bit more about how the network / web servers / CF servers are configured in your environment? An Architect's View -- http://www.corfield.org/blog/ Macromedia DevCon 2002, October 27-30, Orlando, Florida Architecting a New Internet Experience Register today at http://www.macromedia.com/go/devcon2002 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting.
OT: arguing (was: Not Another MX boo boo?
On Wednesday, Oct 9, 2002, at 04:34 US/Pacific, Greg Luce wrote: You're not impressing me with your defensive attitude. I spent about 12 hours responding to people who were screaming that MM sux - I don't think it's very surprising that by 8pm at night I'm just a little less politic than some people might like... And, hey, I *did* put a smiley on my comment! Is all this arguing really part of your job? Actually, yes. I'm well known for it! As it says in the bio at the bottom of my DesDev articles: He relishes a technical challenge both inside and outside of work and healthy technical debates. :) I came here for an argument. No you didn't Yes I did! -- Monty Python OK, now I'll respond more seriously (and I haven't even had a coffee yet!): Rob posted a code fragment under the banner of Another MX boo boo. It's good that he posted the code but he didn't say what was wrong or what result he got. I tested the code fragment and posted the result - which seemed to be exactly what I would have expected the code to produce. I asked Rob for more details. That seems pretty fair to me. As for the comment about the Subject line - something like Possible dateFormat error in MX? would have been more descriptive (and more tactful). -Original Message- From: Sean A Corfield [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 08, 2002 8:03 PM To: CF-Talk Subject: Not Another MX boo boo? On Tuesday, Oct 8, 2002, at 14:07 US/Pacific, Rob Rohan wrote: dateFormat(now(), dd/mm/yy (ddd)) No longer works in MX. looks like only certain characters work in date format. I get: date is 08/10/02 (Tue) using this code: cfoutput cfset str = dateFormat(now(), dd/mm/yy (ddd))/ date is #str# /cfoutput Can you be a bit more precise about what No longer works about this please? (And perhaps use a less confrontational subject line? :) An Architect's View -- http://www.corfield.org/blog/ Macromedia DevCon 2002, October 27-30, Orlando, Florida Architecting a New Internet Experience Register today at http://www.macromedia.com/go/devcon2002 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
Re: The Myth of Bugs (Was Huge Ungainly thread of Doom)
On Wednesday, Oct 9, 2002, at 08:41 US/Pacific, Jesse Noller wrote: So, say you use something like, (lets pick on something easy) fusebox. Fusebox Let me jump in before people start flaming Jesse for picking on Fusebox... is a methodology for programming your CF application. Now, say you have a huge application written in it, a lot of customization... Is it reasonable to expect every single function, line of code, etc to be fully functional when an entire REWRITE of the language is done? No. It's not. You will run into problems, this is part of the problem with allowing any type of coding to be utilized. ..a concrete example in this context is the use of 'url' as a variable name. In CFMX, 'url' is a struct because it represents a scope (just like session, request etc). CF5 let you have free (unqualified) variables with these names - CFMX does not. It's a small change that tightens up the language. What it breaks is code that relies on *unqualified* variables called url, session, scope etc. I was told (and I have not been able to verify this) that an earlier version of FB used 'url' as an unqualified variable name. That's the sort of thing Jesse means: - good practice: scope your variables and give them descriptive names - bad practice: reusing an existing name (a scope name) for a different purpose An Architect's View -- http://www.corfield.org/blog/ Macromedia DevCon 2002, October 27-30, Orlando, Florida Architecting a New Internet Experience Register today at http://www.macromedia.com/go/devcon2002 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
Possible dateFormat bug in MX? (was: Not Another MX boo boo?
On Wednesday, Oct 9, 2002, at 09:14 US/Pacific, Rob Rohan wrote: Error Occurred While Processing Request {ts '2002-10-09 09:12:48'} is an invalid date format. The Error Occurred in D:\http\test\datetest.cfm: line 8 6 : /FORM --- 7 : 8 : CFSET str = dateformat(now(),mm/dd/yy (ddd)) 9 : CFOUTPUT#str#/CFOUTPUTBR 10 : CFOUTPUT#dateformat(now(),mm/dd/yy (ddd))#/CFOUTPUT That's pretty strange. I tried the exact same code and it worked just fine (I'm running CFMX without the Updater). I tried setting my system clock to different values and it ran just fine every time. The timestamp certainly *looks* valid. Is the rest of your file commented out above this? Can someone who has the Updater installed try this code please? (Jesse, Mike, Vern?) An Architect's View -- http://www.corfield.org/blog/ Macromedia DevCon 2002, October 27-30, Orlando, Florida Architecting a New Internet Experience Register today at http://www.macromedia.com/go/devcon2002 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com
Re: The Myth of Bugs (Was Huge Ungainly thread of Doom)
On Wednesday, Oct 9, 2002, at 09:28 US/Pacific, Rick Faircloth wrote: I've just been monitoring the thread, but from what I've read earlier, this and maybe other CF-lists and other software lists might be worth assigning someone to, to monitor and respond to as their day job. Like a Community Manager, you mean? Hey, Vern... size of MM, that there would be funds to hire a Mailing List / Forum Troubleshooter who is an expert in the software AND its use in production who could provide a first response technical support to users, free of charge...public relations people who are not experts For a company that charges for technical support, it makes little sense to then provide *free* technical support through a mailing list of forum on a formal basis. As it is, several of us at MM provide free support here because it helps. It isn't Macromedia's policy to provide free support. An Architect's View -- http://www.corfield.org/blog/ Macromedia DevCon 2002, October 27-30, Orlando, Florida Architecting a New Internet Experience Register today at http://www.macromedia.com/go/devcon2002 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com
Re: Debugging java errors in CFMX
On Monday, Oct 7, 2002, at 11:34 US/Pacific, Yexley Robert D Contr Det 1 AFRL/WSI wrote: Line 90 is nothing more than the line with my /cfstoredproc on it. So it appears obvious to me that somewhere within my stored proc call that I have something wrong or missing or whatever. But I have no idea what to do with that, how can I debug this to find out what it's looking for that's null? I would add cfdump var=#session.newPkg# above this code, just to double-check that all the values you are expecting to pass in are actually defined correctly. The top of the Java stack trace might also be helpful - in exception.log you should see a (long) stack trace after the exception. That will help identify what ColdFusion was actually trying to do when it hit the null pointer. Here's the code that I have for my stored proc call: cftry cfstoredproc procedure = consultation_engine.main dataSource = #dataSource# returnCode = Yes debug = Yes !--- Set procedure parameters with values from the newPkg Struct --- cfprocparam type=IN cfSQLType=CF_SQL_VARCHAR value=#SESSION.username# cfprocparam type=IN cfSQLType=CF_SQL_VARCHAR value=#SESSION.projectUsername# cfprocparam type=IN cfSQLType=CF_SQL_VARCHAR value=#SESSION.projectFolder# cfprocparam type=IN cfSQLType=CF_SQL_VARCHAR value=#SESSION.projectFile# cfprocparam type=IN cfSQLType=CF_SQL_VARCHAR value=#SESSION.newPkg.progMgrFName# cfprocparam type=IN cfSQLType=CF_SQL_VARCHAR value=#SESSION.newPkg.progMgrMI# cfprocparam type=IN cfSQLType=CF_SQL_VARCHAR value=#SESSION.newPkg.progMgrLName# cfprocparam type=IN cfSQLType=CF_SQL_VARCHAR value=#SESSION.newPkg.progMgrOrg# cfprocparam type=IN cfSQLType=CF_SQL_VARCHAR value=#SESSION.newPkg.progMgrOffSym# cfprocparam type=IN cfSQLType=CF_SQL_VARCHAR value=#SESSION.newPkg.progMgrPhoneNumber# cfprocparam type=IN cfSQLType=CF_SQL_VARCHAR value=#SESSION.newPkg.progMgrPhoneExt# cfprocparam type=IN cfSQLType=CF_SQL_VARCHAR value=#SESSION.newPkg.programTitle# cfprocparam type=IN cfSQLType=CF_SQL_VARCHAR value=#SESSION.newPkg.buyerFName# cfprocparam type=IN cfSQLType=CF_SQL_VARCHAR value=#SESSION.newPkg.buyerMI# cfprocparam type=IN cfSQLType=CF_SQL_VARCHAR value=#SESSION.newPkg.buyerLName# cfprocparam type=IN cfSQLType=CF_SQL_VARCHAR value=#SESSION.newPkg.buyerOrg# cfprocparam type=IN cfSQLType=CF_SQL_VARCHAR value=#SESSION.newPkg.buyerOffSym# cfprocparam type=IN cfSQLType=CF_SQL_VARCHAR value=#SESSION.newPkg.buyerPhoneNumber# cfprocparam type=IN cfSQLType=CF_SQL_VARCHAR value=#SESSION.newPkg.buyerPhoneExt# cfprocparam type=IN cfSQLType=CF_SQL_VARCHAR value=#SESSION.newPkg.buyerEmail# cfprocparam type=IN cfSQLType=CF_SQL_INTEGER value=#SESSION.newPkg.months# cfprocparam type=IN cfSQLType=CF_SQL_INTEGER value=#SESSION.newPkg.dollarAmount# cfprocparam type=IN cfSQLType=CF_SQL_VARCHAR value=#SESSION.newPkg.basicResearch# cfprocparam type=IN cfSQLType=CF_SQL_VARCHAR value=#SESSION.newPkg.expDev# cfprocparam type=IN cfSQLType=CF_SQL_VARCHAR value=#SESSION.newPkg.advDev# cfprocparam type=IN cfSQLType=CF_SQL_VARCHAR value=#SESSION.newPkg.engDev# cfprocparam type=IN cfSQLType=CF_SQL_VARCHAR value=#SESSION.newPkg.mfgTech# cfprocparam type=IN cfSQLType=CF_SQL_VARCHAR value=#SESSION.newPkg.costContract# cfprocparam type=IN cfSQLType=CF_SQL_VARCHAR value=#SESSION.newPkg.universityInvolved# cfprocparam type=IN cfSQLType=CF_SQL_VARCHAR value=#SESSION.newPkg.sbirPhase2# cfprocparam type=IN cfSQLType=CF_SQL_VARCHAR value=#SESSION.newPkg.phasedDev# cfprocparam type=IN cfSQLType=CF_SQL_VARCHAR value=#SESSION.newPkg.formalReviews# cfprocparam type=IN cfSQLType=CF_SQL_VARCHAR value=#SESSION.newPkg.studyProgram# cfprocparam type=IN cfSQLType=CF_SQL_VARCHAR value=#SESSION.newPkg.sensitiveData# cfprocparam type=IN cfSQLType=CF_SQL_VARCHAR value=#SESSION.newPkg.usingCOTS# cfprocparam type=IN cfSQLType=CF_SQL_VARCHAR value=#SESSION.newPkg.modifyingCOTS# cfprocparam type=IN cfSQLType=CF_SQL_VARCHAR value=#SESSION.newPkg.acceptingItems# cfprocparam type=IN cfSQLType=CF_SQL_VARCHAR value=#SESSION.newPkg.testingInvolved# cfprocparam type=IN cfSQLType=CF_SQL_VARCHAR value=#SESSION.newPkg.potentialHazards# cfprocparam type=IN cfSQLType=CF_SQL_VARCHAR value=#SESSION.newPkg.drawingsNeeded# cfprocparam type=IN cfSQLType=CF_SQL_VARCHAR value=#SESSION.newPkg.modifyingAircraft# cfprocparam type=IN cfSQLType=CF_SQL_VARCHAR value=#SESSION.newPkg.developingHardware# cfprocparam type=IN cfSQLType=CF_SQL_VARCHAR value=#SESSION.newPkg.developingBasicMaterials# cfprocparam type=IN
Re: DevCon MX class
Edwin Smith's session should be just what you need: http://www.macromedia.com/v1/conference/ ConferenceProgramDetails.cfm#SS320W CFMX: Under the Hood (Level: Expert, Format: Workshop) ColdFusion MX is based on J2EE architecture. In addition to leveraging the Servlet API up-front, JDBC drivers in back, and API-alphabet soup in the middle, come find out how the two CFML languages were updated to blend smoothly into the Java environment, combining simplicity and power into a thing of beauty. Times: Tuesday 1:30 p.m., Wednesday 4:00 p.m. Presenter: Edwin Smith, Architect, Macromedia. Read bio. OTOH, it may be more advanced than you're looking for... but it is a very interesting talk! On Wednesday, Oct 9, 2002, at 12:05 US/Pacific, Mark W. Breneman wrote: I am interested in what happens inside CFMX when you request a file. .cfm = class. Anyone know of a session/class at devcon that looks at CFMX under the hood? And maybe a little bit about the wsconfig.jar file too. An Architect's View -- http://www.corfield.org/blog/ Macromedia DevCon 2002, October 27-30, Orlando, Florida Architecting a New Internet Experience Register today at http://www.macromedia.com/go/devcon2002 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
Re: OT: Browser Usage
On Wednesday, Oct 9, 2002, at 16:50 US/Pacific, Srimanta wrote: Does any one know what percentage of users use/ prefer Netscape 4.5 or 6 over IE. It really seems to depend on who you ask. The stats from my blog show: IE 6.x 65.31% IE 5.x 26.53% IE 4.x 2.04% Netscape 5.X 5.1% Netscape 3.X 1.02% That's about 94% IE. From my personal site overall: IE 6.X 44% IE 5.X 34% IE 4.x 1% Konqueror 3.X 1% Konqueror 2.X 2% Konqueror 0.X 1% Netscape 6.X 1% Netscape 5.X 5% Netscape 4.X 5% Netscape 3.X 6% That's about 78% IE. Hope that helps. Sean A Corfield -- http://www.corfield.org/blog/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
Re: Update for ColdFusion Studio 5
On Wednesday, Oct 9, 2002, at 11:39 US/Pacific, Troy Simpson wrote: Anyone know what product is the upgrade to ColdFusion Studio 5? I can not find a ColdFusion Studio MX product on Macromedia's website. If a ColdFusion Studio MX product does exist, is it worth upgrading from ColdFusion Studio 5? ColdFusion Studio 5 has effectively been replaced by HomeSite+ which is bundled with Dreamweaver MX (and Dreamweaver MX costs less than ColdFusion Studio 5 used to cost!). Read the ColdFusion Studio 5 FAQ here: http://www.macromedia.com/software/coldfusionstudio/productinfo/faq/ An Architect's View -- http://www.corfield.org/blog/ Macromedia DevCon 2002, October 27-30, Orlando, Florida Architecting a New Internet Experience Register today at http://www.macromedia.com/go/devcon2002 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
Flash Remoting (was: LONG time CF Supporter - About ready to dump CF!
On Tuesday, Oct 8, 2002, at 07:25 US/Pacific, Matt Liotta wrote: I also expect a response when I ask questions like Why does Flash Remoting in CFMX Enterprise not work with Java? You've had a response to that - you just didn't like what you heard! The response is Flash Remoting as supplied with CFMX Enterprise is designed to enable Flash / ColdFusion communication. It is not intended to enable Flash / Java communication. Now, you may not like that answer and you may not agree with the rationale behind it, but *did* get a response to that question! An Architect's View -- http://www.corfield.org/blog/ Macromedia DevCon 2002, October 27-30, Orlando, Florida Architecting a New Internet Experience Register today at http://www.macromedia.com/go/devcon2002 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com
Re: 2nd question - Run MX as nobody?
Cathy Taylor wrote: I'm trying to evaluate our CF MX upgrade on Solaris before I turn our masses loose on it. I can't run it as root and our security regulations forbid me from creating a new user to run it as (that wouldn't work anyway since our web server runs as nobody). I've read the docs and modified the user to nobody, but it won't start. The error log just says 'su no shell'. Of course nobody has no shell, but I'm sure it must be able to run that way. Am I missing something? I just checked one of our QA servers and we are indeed running it as nobody: nobody 24650 24648 0 Sep 30 ? 306:11 /data/www/appserver/cfusionmx/bin/cfusion -start default nobody 24648 1 0 Sep 30 ?0:00 /data/www/appserver/cfusionmx/bin/cfusion -autorestart -start default scorfiel 28370 28362 0 13:38:39 pts/10:00 fgrep cf Then I checked another one: scorfiel 23763 23758 0 13:40:03 pts/20:00 fgrep cf nobody 27009 27007 0 Sep 04 ? 1435:01 /data/www/appserver/neo/bin/cfusion -start default nobody 27007 1 0 Sep 04 ?0:00 /data/www/appserver/neo/bin/cfusion -autorestart -start default Also running as nobody (that one's a production server, BTW). As far as I know, our guys just followed the installation instructions but I'll ask them if there were any issues around the 'nobody' user. An Architect's View -- http://www.corfield.org/blog/ Macromedia DevCon 2002, October 27-30, Orlando, Florida Architecting a New Internet Experience Register today at http://www.macromedia.com/go/devcon2002 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com
CFMX in production (was: 2nd question - Run MX as nobody?
On Tuesday, Oct 8, 2002, at 13:47 US/Pacific, Sean A Corfield wrote: scorfiel 23763 23758 0 13:40:03 pts/20:00 fgrep cf nobody 27009 27007 0 Sep 04 ? 1435:01 /data/www/appserver/neo/bin/cfusion -start default nobody 27007 1 0 Sep 04 ?0:00 /data/www/appserver/neo/bin/cfusion -autorestart -start default Also running as nobody (that one's a production server, BTW). Just purely for information - this server is not part of our primary www cluster but it is public-facing... Since 7/25, this server has processed - on average: - 31,000 Flash Remoting requests per day - 7,700 direct .cfm / .cfc requests per day The web server shows an average of 52,000 requests per day for just *one* of the applications it hosts (yes, the majority of those are images and swf files - it's just to give an idea of traffic). Sean A Corfield -- Director, Architecture Web Technology Group -- Macromedia, Inc. tel: (415) 252-2287 -- cell: (415) 717-8473 fax: (415) 865-3113 -- http://www.macromedia.com An Architect's View -- http://www.corfield.org/blog/ Macromedia DevCon 2002, October 27-30, Orlando, Florida Architecting a New Internet Experience Register today at http://www.macromedia.com/go/devcon2002 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm
Buying CF5 (was: LONG time CF Supporter - About ready to dump CF!
On Tuesday, Oct 8, 2002, at 11:27 US/Pacific, Jillian Carroll wrote: I can tell you what the haste is... I am looking to install CF on a new server... and I can no longer purchase CF 5. Not true: http://www.corfield.org/blog/2002_10_01_archive.html#82381859 It was even discussed on this list recently. Sean A Corfield -- Director, Architecture Web Technology Group -- Macromedia, Inc. tel: (415) 252-2287 -- cell: (415) 717-8473 fax: (415) 865-3113 -- http://www.macromedia.com An Architect's View -- http://www.corfield.org/blog/ Macromedia DevCon 2002, October 27-30, Orlando, Florida Architecting a New Internet Experience Register today at http://www.macromedia.com/go/devcon2002 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com
Re: LONG time CF Supporter - About ready to dump CF!
On Tuesday, Oct 8, 2002, at 08:32 US/Pacific, Mark A. Kruger - CFG wrote: Pardon me for asking but... how does MM handle a situation where something worked correctly on CF 5, but now is failing on CFMX? Is that CFMX? Or do It could be user code, configuration or CFMX. There have definitely been examples of code that worked-by-accident on CF5 that doesn't work on CFMX - is that a bug? Not really... if the old code was never supposed to work, that was a bug in *CF5* and perhaps the rewrite fixed it. Now, if you built your application on that bug, thinking it was 'valid', then you'll be hurting with CFMX. Examples of configuration (to some degree): - The multiple SQL statements issue is a data source setup issue (use ODBC Socket instead of Microsoft SQL Driver or whatever it's called). It just happened to work with a particular CF5 driver but it wasn't intentional (despite Ben's 'hints tips'). Change configuration and it solves the problem. Bear in mind also that the JDBC drivers are *third-party*, not Macromedia-developed. - Virtual site setup on IIS. It doesn't work out of the box, you need to run specific configuration to make it work. When you run the Updater, this also seems to be not covered by the standard install and you have to do additional stuff. Is this a bug? I'd say no but some folks will disagree. Are there real CFMX bugs? Of course. Were there real CF5 bugs? Yes. And 4.52 bugs and 4.01 bugs and so on and so on. This is why it's so critical to isolate a repeatable test that exhibits the questionable behavior. I know that's not always easy but it's a fact of life. As Jesse says, if we can't reproduce it, we can't debug it and if we can't debug it, we can't fix it! Case in point: my team has hit the Apache 1.3.26 process death problem. We couldn't reproduce it reliably, even tho' it happened regularly. We spent a lot of time trying to nail it down. No joy. Apache 2.0.39 does not suffer from this problem. Our solution: upgrade to Apache 2.0.39 and implement the two-tier Apache system (documented in my blog). Another case in point: my team hit a CLOB-related problem with the standard CFMX Oracle driver. Again, no reproducible test case. We moved to the 9i Thin Client and hit a different problem. We tried the 9i OCI driver and the problem went away. Now we have to finish rewriting the piece of code that actually relies on the base driver (it's Java, ironically). I pay to have MM tell me I need to re-write code? See above. If we documented the change and you call it as a bug then, yes, sure you'll get charged (think of it as an RTFM Tax) but if we didn't document it and you call it as a bug, it's free per Debbie's email. This connection reset by peer JDBC socket error that's been troubling us (notice I did not say bugging :) could well be the result of some server setting or SQL config option we have overlooked that ODBC/CF 5 ignores, but JDBC looks for. If that turns out to be the case, would MM charge for that? I'm with Vern on this - my feeling is that if you have to use one driver over another in order to solve this and WE DIDN'T DOCUMENT THAT, then it's a 'bug' of sorts and it should be free. I have always wished that my computer would be as easy to use as my telephone. My wish has come true - I no longer know how to use my telephone. -- Bjarne Stroustrup ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
Re: LONG time CF Supporter - About ready to dump CF!
On Tuesday, Oct 8, 2002, at 09:04 US/Pacific, Lee Fuller wrote: You see, (and this is a bit of a walk down memory lane, and maybe even borders on a fantasy dream world) when Allaire started, we had open, clear and useful discussions about what was happening with the product. I think pretty much everyone agrees that when Allaire was a small company and you could just email Jer or Ben directly and get a response, life was grand! But, unfortunately, MM has fallen into the same-ol' trap as M$, and others and has grown apart (to a great extent) from the core community. Hence this list. Well, Allaire actually grew to almost the same size at one point that Macromedia is today so the David Goliath comparison doesn't hold water and, more to the point, the community was complaining about this exact, same problem with Allaire once it grew 'big'. It's not a Macromedia problem per se, it's a big-company problem: in order to fairly support a large community of users, you need to put in place procedures and layers so that engineering doesn't get swamped with end user emails and calls. Besides, several people have commented that Macromedia's involvement today is greater than Allaire's was before the merger. I have always wished that my computer would be as easy to use as my telephone. My wish has come true - I no longer know how to use my telephone. -- Bjarne Stroustrup ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
Re: LONG time CF Supporter - About ready to dump CF!
On Tuesday, Oct 8, 2002, at 11:03 US/Pacific, Mark A. Kruger - CFG wrote: Dev workstation with XP, IIS 5 (maybe 6?), connecting to an SQL 7 box (SP ) - SQL server was remote from the CFMX server Production server with Win2k (sp2 and hotfixes) with IIS 5 connecting to an SQL 7 box (sp 3) - SQL server remote from CFMX server Production server with Win2k (sp2 and hotfixes) with IIS 5 connecting to an SQL 2000 box (sp 2) - SQL server was local to the CFMX server (on the same LAN). All with the Microsoft SQL Driver? Have you tried the ODBC Socket approach to see if that resolves the problem? An Architect's View -- http://www.corfield.org/blog/ Macromedia DevCon 2002, October 27-30, Orlando, Florida Architecting a New Internet Experience Register today at http://www.macromedia.com/go/devcon2002 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
Re: Flash Remoting (was: LONG time CF Supporter - About ready to dump CF!
On Tuesday, Oct 8, 2002, at 13:43 US/Pacific, jon hall wrote: Isn't there a Flash Remoting Java server shipped with EJB's now? There is a Flash Remoting for J2EE product, yes: http://www.macromedia.com/software/flashremoting/ Are there any code samples floating around that I could peek at to see if I want to try it out? For some reason, doing the remoting stuff in Java peaks my interest more than with CF. See above. Also see: http://www.macromedia.com/support/flash_remoting/tutorial_index.html An Architect's View -- http://www.corfield.org/blog/ Macromedia DevCon 2002, October 27-30, Orlando, Florida Architecting a New Internet Experience Register today at http://www.macromedia.com/go/devcon2002 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting.
Re: 2nd question - Run MX as nobody?
On Tuesday, Oct 8, 2002, at 13:47 US/Pacific, Sean A Corfield wrote: As far as I know, our guys just followed the installation instructions but I'll ask them if there were any issues around the 'nobody' user. I asked the engineers who did the installs: they just followed the instructions. They've all done multiple installations, following the instructions, with no issues at all due to CFMX running as nobody. Sorry if that is unhelpful. Can you provide more details about the problems you are seeing and any variations from the instructions during install? An Architect's View -- http://www.corfield.org/blog/ Macromedia DevCon 2002, October 27-30, Orlando, Florida Architecting a New Internet Experience Register today at http://www.macromedia.com/go/devcon2002 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
Re: Can we help? (was RE: LONG time CF Supporter - About ready to dump CF!)
On Tuesday, Oct 8, 2002, at 10:55 US/Pacific, [EMAIL PROTECTED] wrote: I personally believe that this is the root of nearly every problem at Macromedia right now. Internally and externally. Internally, probably mostly due to the fragmented communities of employees in the east/west coast You'd probably be amazed at how much communication goes on here. In fact, folks from both coasts have been discussing these threads internally most of the day. Externally, the MM.com website is disorganized, hard to navigate, and riddled with inconsistencies. It's no secret that we're redesigning the site to make it more user-focused and task-focused in order to address these problems. Again, we talk to users, we take notes, we figure out how to improve things. Your feedback is good. As has also been brought up, a definite wall is up between developers and staff if you try to go through normal channels for support. Well, you can't really expect a few dozen developers to directly support a few hundred thousand CF programmers! :) As I've said on other lists, the wishlist is not an effective bug submission channel. But it is the only *official* channel right now. I really love ColdFusion, I want to help fix things. I think that, deep down, almost everyone here feels the same - no matter what the tone of the 'flames' here might suggest... I know people at Macromedia are listening because they are here on this (and other) lists, but are they the right people? Are they the people who can make real changes? Er, yes, I think so. We're certainly trying to resolve the issues that are coming up so that the community's perception of Macromedia will improve. Vernon, Sean, Jesse, Mike - What else can we developers do to fix things? Vern will probably cringe but... Y'all could stop bashing MM and focus on helping us help you resolve problems. Let's stop the whole CF sux! Macromedia sux! I'm going to .NET if you don't solve my problems *immediately*! thing. I know it makes people feel better to vent a bit but... really... these recent threads are a bit much! Yes, there are clearly issues that need attention and some of the ones we're hearing about through the forums (but not through the official channels, I would note!) are hard to track down, hard to reproduce and hard to debug. People seem to have accepted as fact - and best practice - that you have to zealously lock all shared scope variable access in CF5 and earlier even though that was really to work around bugs in the server itself. Hopefully, people will find a similar acceptance for the new best practices we may all have to adopt for this new release of ColdFusion. And remember that best practices often change with each language / product version - try to think back to some of the earlier CF upgrades! I have always wished that my computer would be as easy to use as my telephone. My wish has come true - I no longer know how to use my telephone. -- Bjarne Stroustrup ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com
Re: Share Settings w/Eachother?
On Tuesday, Oct 8, 2002, at 14:15 US/Pacific, Lee Fuller wrote: Sorry.. Let me clarify.. I was specifically talking about the Server Settings section of the summary. I know that you probably don't want your datasources, etc., all strewn about the net. :) And also make sure y'all don't accidentally post serial numbers (which CF helpfully shows in the Settings Summary page!) An Architect's View -- http://www.corfield.org/blog/ Macromedia DevCon 2002, October 27-30, Orlando, Florida Architecting a New Internet Experience Register today at http://www.macromedia.com/go/devcon2002 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm
Re: sql server connectivity error
On Tuesday, Oct 8, 2002, at 14:24 US/Pacific, JLH All Turbo wrote: I'm getting that error when verifying a connetion through the CFMX dsn creator. I also get it when I try to run any CFMX cfm pages that use that dsn. YET when I try connecting and verifying through Win2k's ODBC set up.. it works FINE. No problems... any idea what might cause that error? You probably need to specify the username/password in the Advanced Settings in the CF data source setup. That seems to be the most common omission that causes this problem. I have always wished that my computer would be as easy to use as my telephone. My wish has come true - I no longer know how to use my telephone. -- Bjarne Stroustrup ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
Not Another MX boo boo?
On Tuesday, Oct 8, 2002, at 14:07 US/Pacific, Rob Rohan wrote: dateFormat(now(), dd/mm/yy (ddd)) No longer works in MX. looks like only certain characters work in date format. I get: date is 08/10/02 (Tue) using this code: cfoutput cfset str = dateFormat(now(), dd/mm/yy (ddd))/ date is #str# /cfoutput Can you be a bit more precise about what No longer works about this please? (And perhaps use a less confrontational subject line? :) An Architect's View -- http://www.corfield.org/blog/ Macromedia DevCon 2002, October 27-30, Orlando, Florida Architecting a New Internet Experience Register today at http://www.macromedia.com/go/devcon2002 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting.
Re: 3rd Party JDBC Drivers was Re: LONG time CF Supporter - About ready to dump CF!
On Tuesday, Oct 8, 2002, at 18:05 US/Pacific, S. Isaac Dealey wrote: I thought all the db drivers were 3rd party ... Has Allaire / MM actually developed db drivers? Er, no, I just meant that the JDBC drivers about which people are complaining were not written by us... which means that we are reliant on 3rd party vendors fixing them or making other drivers available. S ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com
Re: Flash Remoting (was: LONG time CF Supporter - About ready to dump CF!
On Tuesday, Oct 8, 2002, at 15:09 US/Pacific, Matt Liotta wrote: And as I responded in IM, that isn't answer. Why? It *is* an answer. Saying wibble would be an answer. I never claimed it was a helpful answer! 1. If that was true I could buy Flash Remoting for J2EE and use it with CFMX 2. If that was true then it would work with CFMX for J2EE sitting on top of JRun 4 3. If that was true then the license and the documentation would explicitly say it Hang on, you ask about CFMX *ENTERPRISE* and then start making comments about different products! Let's stick to the original question and my answer is absolutely correct. As for your assumptions above, I have no idea about (1) and I don't know why you think a Java product would necessarily provide CFMX functionality (how would it know about CF code?). I know how to make (2) work but I don't think you can do it without violating the license. As for (3), the license and documentation could itemize a lot of things the product doesn't do but it would never be a complete list so it would be pointless! It wasn't a response; it was a copout since you don't even know the rational behind it yourself. Again, it *was* a response - you just don't like that response. As for the rationale, yes, I know exactly why you can't access Java code through the CFMX Enterprise built-in Flash Remoting gateway. Unfortunately (for you), I am not at liberty to divulge why that is. An Architect's View -- http://www.corfield.org/blog/ Macromedia DevCon 2002, October 27-30, Orlando, Florida Architecting a New Internet Experience Register today at http://www.macromedia.com/go/devcon2002 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm
Re: OT: What's the diff?
On Tuesday, Oct 8, 2002, at 17:21 US/Pacific, Drew Harris wrote: So, what is the difference between Flash Communication Server and Flash Remoting Server? Flash Communication Server is a server (like a web server or an application server) that allows multiple Flash clients to shared objects and exchange text, images, video - for example you could write a multi-user video-conferencing application with it. Flash Remoting is technology that allows a Flash client to communicate 1-to-1 with either a ColdFusion server (built-in to CFMX), a JRun 4 server (built-in to JRun 4), other J2EE servers (Flash Remoting for J2EE) or a .NET server (Flash Remoting for .NET). I have a project for a client coming up where the front end/UI needs to be done in Flash... and a desktop version of the app (data itself) needs to sych with the core web system upon request when it comes back online. Sounds like Flash MX, Flash Remoting (of some kind) and a server technology (CFMX gives you Flash Remoting for CFMX). But, in the same breath the client is interested in future modules that allow utilize online communications, such as chat, streaming media, audio conferencing and even application remote control or the multi-user cursors that come as components of Flash Communication Server. Yes, that additional functionality would require the Flash Communication Server (as well as CFMX w/Flash Remoting). I suggest you read Ben Forta's book Reality ColdFusion MX : Macromedia Flash MX Integration. An Architect's View -- http://www.corfield.org/blog/ Macromedia DevCon 2002, October 27-30, Orlando, Florida Architecting a New Internet Experience Register today at http://www.macromedia.com/go/devcon2002 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
Re: Flash Remoting (was: LONG time CF Supporter - About ready to dump CF!
On Tuesday, Oct 8, 2002, at 20:45 US/Pacific, Matt Liotta wrote: According to Sean, there is no way to use Flash Remoting with CF and Java from the same application server. That is not what I said. You're just twisting people's words. I have always wished that my computer would be as easy to use as my telephone. My wish has come true - I no longer know how to use my telephone. -- Bjarne Stroustrup ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
Re: Flash Remoting (was: LONG time CF Supporter - About ready to dump CF!
On Tuesday, Oct 8, 2002, at 20:44 US/Pacific, Matt Liotta wrote: In my book, an answer is supposed to be a solution to a problem; not wibble. Yeah? Well, not everyone reads your book... * Flash Remoting doesn't work... Blah, blah, blah. OK, now you're really just being annoying. I've defended you against a lot of people but I've had enough now. Yet it is impossible for one to build an application that using Flash Remoting with both CF and Java. Actually, you're wrong. I'm surprised you haven't figured out how to do it since you seem to be able to figure out all sorts of 'clever' hacks with our products! Yes, you *can* make this work but, yes, you do have to violate the license agreement to make it happen. As Vern said, submit a feature request (thanx Stacy!). If enough people want it... Sean (who has had quite enough of all the anti-MM flames today and is exercising his leeway to be less than politic in response). ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
Re: Variable locking
On Monday, Oct 7, 2002, at 01:38 US/Pacific, Kola Oyedeji wrote: I'm joining this thread late. Can I just confirm what you guys are saying: In CFMX named locks should be used in place of scoped locks and locks are only needed When a possible race condition could occur? The last part is relatively easy to answer: yes, you only need locks when a race condition could occur. The first part is slightly harder to answer: in general, named locks allow finer grained control over locking and therefore will cause fewer lock contentions between requests. Consider a couple of variables in server scope: in CF5 (and earlier) you had to use scope=server to protect access to such variables so any code accessing one of those variables would block any code accessing the other variable. In CFMX, it is safe to use a named lock instead, with a different lock name for each variable: !--- page1.cfm : CF5 scoped lock --- cflock scope=server type=exclusive cfset server.a = 42 /cflock !--- page2.cfm : CF5 scoped lock --- cflock scope=server type=exclusive cfset server.b = 77 /cflock While page1.cfm is executing, page2.cfm would block. In CFMX you can do this: !--- page1.cfm : CFMX named lock --- cflock scope=server_a type=exclusive cfset server.a = 42 /cflock !--- page2.cfm : CFMX named lock --- cflock scope=server_b type=exclusive cfset server.b = 77 /cflock Now the pages won't block each other (obviously multiple requests to page1.cfm will block each other but page2.cfm wouldn't be affected). That's easy enough for application and server scope because the name is easy to figure out. For session scope, you need a name that is unique to your session which may be harder to invent (you could perhaps use a user ID if it exists or a per-session UUID). OTOH, race conditions within session scope are probably going to be rarer because they can only occur if you have multiple windows or frames open with the same session data (frames are evil, in my opinion, so I'm not very sympathetic to people who get into a session integrity mess when they use frames! :) If it's too hard to come up with a unique name for your lock, using scope= may be the easiest solution for you. Since the shared scope corruption problem is no longer an issue in CFMX, there are many cases where you safely omit the lock altogether (for example, if the assignment is 'atomic' and all request would store the same value - or it doesn't matter which request actually stores the value, e.g., the application just needs *a* value in the shared scope variable). Hope that helps clarify? An Architect's View -- http://www.corfield.org/blog/ Macromedia DevCon 2002, October 27-30, Orlando, Florida Architecting a New Internet Experience Register today at http://www.macromedia.com/go/devcon2002 An Architect's View -- http://www.corfield.org/blog/ Macromedia DevCon 2002, October 27-30, Orlando, Florida Architecting a New Internet Experience Register today at http://www.macromedia.com/go/devcon2002 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
Re: CFMX - I've never seen anything so unstable in my life
On Monday, Oct 7, 2002, at 10:30 US/Pacific, Dave Wilson wrote: Is it just me, or is CFMX proving totally unstable for everyone else too? It isn't *just* you but it is certainly a minority. Unfortunately, mailing lists like this (and the webforums) are typically where people come when they have problems so things seem worse than they are - we don't see legions of people piping up and saying It works just fine for me!... I've been trialling CFMX now for 18 days using our existing development applications, which ran on CF4.5. I have yet to experience a single day without (several instances of) either the CFMX services hanging or the JDBC drivers dropping connections and ceasing to function, or simply being unable to access any sites being served by CFMX. This is totally unacceptable for a production environment. That sounds unusually unstable. Perhaps applying the Updater will resolve some of your problems but it sounds to me like something else is wrong in your environment. Hopefully folks here can help you resolve it. Can someone please tell me these problems are rare and only I am experiencing them as opposed to being the general rule of thumb for CFMX installs. We have CFMX running on Solaris backed by Oracle for some applications in production (ColdFusion Examples app, various Flash / Flash Remoting / CFMX examples, PetMarket) and these have been running just fine for months without needing any attention (except when we upgraded to Apache 2.x and broke some connector mappings - but that was our bad!). We have been running CFMX internally for many, many months and have experienced very few stability problems (we had a badly-behaved Java tag library that occasionally hung JRun but not much apart from that). An Architect's View -- http://www.corfield.org/blog/ Macromedia DevCon 2002, October 27-30, Orlando, Florida Architecting a New Internet Experience Register today at http://www.macromedia.com/go/devcon2002 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
Re: CFMX - I've never seen anything so unstable in my life
On Monday, Oct 7, 2002, at 10:56 US/Pacific, Rob Rohan wrote: We are porting cf5 to MX and had several sloppy coding errors, as well as some full fledged product errors. All in all, when the code is optimized for MX - which almost no currently existing cf code is - it runs like a champ. Glad to hear it (that it runs like a champ)! It's always good to hear from a (fairly) satisfied customer :) It is *very* obvious that the project was pushed out the door without being tested well, or at least tested in some sort of large production environment - probably do to the dropping stock. Hmm, that's a very unfair criticism. No products are error-free and CFMX was *extensively* tested for many months. The QA team accrued a vast pool of ColdFusion source code to test against and my team was developing heavy applications in CFMX and working with the product team on resolving issues. CFMX was probably tested more than any previous version of CF. However, you must bear in mind that CFMX is a complete rewrite on a new platform - that means there are bound to be *some* issues that will crop up. Some of these are a natural fall-out of the transition from C++ to Java and the use of different libraries (for example, the database access via JDBC). We are having issues with the JDBC Drivers as well. We have several messages into smack-romedia, and we will post when we hear. Has the Updater helped? Several database issues were addressed in that, I believe. Please let either Vern or myself know if there are specific issues we can follow up on for you! An Architect's View -- http://www.corfield.org/blog/ Macromedia DevCon 2002, October 27-30, Orlando, Florida Architecting a New Internet Experience Register today at http://www.macromedia.com/go/devcon2002 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm
Re: auto tag completion
On Monday, Oct 7, 2002, at 11:02 US/Pacific, Joe Zanter wrote: Perhaps this has been covered (but I couldn't find it in the archive).. I used to use the auto completion feature in CF pre-DWMX. Does that feature exist in DWMX. Yes. DWMX will offer a drop-down context menu of tags as you type and it will auto-complete attributes as well. Very handy, especially with the more complex tags where it's hard to remember all the attributes! An Architect's View -- http://www.corfield.org/blog/ Macromedia DevCon 2002, October 27-30, Orlando, Florida Architecting a New Internet Experience Register today at http://www.macromedia.com/go/devcon2002 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
Re: CFMX - I've never seen anything so unstable in my life
On Monday, Oct 7, 2002, at 11:21 US/Pacific, Ben Densmore wrote: I have posted this a couple of times on MM's forums and in here but no real solution. I get this error that says Error Executing Database Query.[Macromedia][SQLServer JDBC Driver]Connection reset by peer: JVM_recv in socket input stream read Sounds like the database is dropping the connection. What's your: - OS / patch level - Database / patch level - Is the DB on a separate machine? - Which driver are you using specifically? - How often do you see this? - Does it seem to be connected to any other network issues? - Are there other errors in the CF logs? Sean A Corfield -- Director, Architecture Web Technology Group -- Macromedia, Inc. tel: (415) 252-2287 -- cell: (415) 717-8473 fax: (415) 865-3113 -- http://www.macromedia.com An Architect's View -- http://www.corfield.org/blog/ Macromedia DevCon 2002, October 27-30, Orlando, Florida Architecting a New Internet Experience Register today at http://www.macromedia.com/go/devcon2002 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting.
Re: FORTA: CFMX - I've never seen anything so unstable in my life (backup please)
On Monday, Oct 7, 2002, at 11:37 US/Pacific, Rob Rohan wrote: We actually are talking with you right now - and I mean specifically YOU. :) - refer to Mark J's e-mail. I'll reiterate what our issue is with the JDBC Driver. Ah, I didn't connect Rob Rohan with [EMAIL PROTECTED] in Mark's Cc: list! :) Using SQL Server 7 there is a way to trick the database into doing several sql statements - this was suggested by Ben Forta in one of his books. Hmm, I wonder what Ben will have to say about that? Mr Forta, where are you? Actually, I believe he's 'en route' at the moment since he'll be in SF this week. I'm meeting up with him tomorrow morning so we'll chat about this interesting practice. That maybe true I apologize for my quick assumption, but we were to be a beta tester and the paper work took so long to implement that it never happened, which means many of the errors we have could have been caught long ago. Well, yes, but to be fair, you were not part of the beta program through the normal channels and I'm very sorry that we were not able to get you added to the program 'manually' after the fact. However, this is probably not a discussion for cf-talk :) An Architect's View -- http://www.corfield.org/blog/ Macromedia DevCon 2002, October 27-30, Orlando, Florida Architecting a New Internet Experience Register today at http://www.macromedia.com/go/devcon2002 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting.
Is Updater installed? (was: CFMX - I've never seen anything so unstable in my life
On Monday, Oct 7, 2002, at 12:13 US/Pacific, [EMAIL PROTECTED] wrote: Sorry for the interruption. I don't wish to take away from this thread but how do you tell if the CFUpdater has already been installed or not? I have a client who doesn't remember if he installed the updater or not. Go to CF Admin, click Version Information. The Updater version is something like 53211, the original release was 48097 (from memory... I may be a little off on both!) An Architect's View -- http://www.corfield.org/blog/ Macromedia DevCon 2002, October 27-30, Orlando, Florida Architecting a New Internet Experience Register today at http://www.macromedia.com/go/devcon2002 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
Re: CFMX - I've never seen anything so unstable in my life
On Monday, Oct 7, 2002, at 12:21 US/Pacific, Ben Densmore wrote: Here are the answers to your questions. - OS / patch level - Win2k SP3 - Database / patch level - SQL Server 7 SP4 - Is the DB on a separate machine? - Yes - Which driver are you using specifically? -macromedia.jdbc.MacromediaDriver - How often do you see this? - Happens daily about every 2-5 minutes - Does it seem to be connected to any other network issues? - We've never had any problems with CF 4.5 - Are there other errors in the CF logs? - No Hmm, doesn't sound like an unusual setup. That's a very frequent error rate tho'... What is the full data source configuration, including Advanced Settings? Sean A Corfield -- http://www.corfield.org/blog/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm
Re: CFMX - I've never seen anything so unstable in my life
One of my team said they saw this behavior when they were working with a PC (app server) that was not part of the same domain as the database server. Are both your web/app server and db server registered into the same Windows networking domain? On Monday, Oct 7, 2002, at 13:06 US/Pacific, Ben Densmore wrote: Here are the settings for one Datasource, I put in some dummy data for datasource name etc.. All my datasources have these same settings. Data Source Name - Datasource Name Database - Database Name Server - 0.0.0.0 Port - 1433 Username Password Description Select Method - Direct Limit Connections - Not Checked Restrict connections to - Blank Maintain Connections - Checked String Format- Not Checked Timeout (min) - 20 Interval (min) - 7 Disable Connections - Not Checked Login Timeout (sec) - 30 CLOB - Not Checked BLOB - Not Checked Long Text Buffer (chr) - 64000 Blob Buffer(bytes) - 64000 Allowed SQL SELECT Create GRANT INSERT DROP REVOKE UPDATE ALTERStored Procedures DELETE Ben -Original Message- From: Sean A Corfield [mailto:[EMAIL PROTECTED]] Sent: Monday, October 07, 2002 3:43 PM To: CF-Talk Subject: Re: CFMX - I've never seen anything so unstable in my life On Monday, Oct 7, 2002, at 12:21 US/Pacific, Ben Densmore wrote: Here are the answers to your questions. - OS / patch level - Win2k SP3 - Database / patch level - SQL Server 7 SP4 - Is the DB on a separate machine? - Yes - Which driver are you using specifically? -macromedia.jdbc.MacromediaDriver - How often do you see this? - Happens daily about every 2-5 minutes - Does it seem to be connected to any other network issues? - We've never had any problems with CF 4.5 - Are there other errors in the CF logs? - No Hmm, doesn't sound like an unusual setup. That's a very frequent error rate tho'... What is the full data source configuration, including Advanced Settings? Sean A Corfield -- http://www.corfield.org/blog/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting.
Re: XML vs. SQL with large amounts of text
Resurrecting an old thread... On Thursday, Aug 15, 2002, at 21:41 US/Pacific, Matt Liotta wrote: http://www.devx.com/xml/articles/ml062502/ml062502-1.asp. The article Interesting article. I've just started looking at Oracle's native XML support in 9i (release 9.2). It looks very promising... a way to get the best of both worlds. You can return XML from a standard SQL query on a relational table, you can mix relational and XML data in a record, you can aggregate records into a single XML document etc. You can see some syntax examples here: http://otn.oracle.com/tech/xml/xmldb/htdocs/sql_xml_codeexamples.html e.g., select xmlelement(emp, xmlattributes(e.job || ' ' || e.ename as name), xmlelement(department, e.deptno), xmlelement(depts, (SELECT COUNT(*) FROM scott.dept d where d.deptno = e.deptno))) as result from scott.emp e; You will need to register with Oracle TechNet to view this - worth doing, it's free and there's a lot of useful information there (including online docs with full SQL specs). I'll be installing 9.2 shortly and having a play around with this - I'll report back what I think. An Architect's View -- http://www.corfield.org/blog/ Macromedia DevCon 2002, October 27-30, Orlando, Florida Architecting a New Internet Experience Register today at http://www.macromedia.com/go/devcon2002 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com
Re: Variable locking
On Friday, Oct 4, 2002, at 11:37 US/Pacific, Paul Giesenhagen wrote: Yup (on CF5, good practice on CFMX but not required) cflock timeout=20 throwontimeout=No type=READONLY scope=SESSION cfoutput#session.fullname#/cfoutput /cflock Better practice: cflock timeout=20 throwontimeout=No type=READONLY name=session_fullname cfoutput#session.fullname#/cfoutput /cflock Using a named lock instead of a scoped lock. An Architect's View -- http://www.corfield.org/blog/ Macromedia DevCon 2002, October 27-30, Orlando, Florida Architecting a New Internet Experience Register today at http://www.macromedia.com/go/devcon2002 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com
Re: Variable locking
On Friday, Oct 4, 2002, at 14:27 US/Pacific, Dave Watts wrote: This is true for versions prior to CF MX. For those versions, you should use the SCOPE attribute. Sean's point is only applicable to CF MX, in which you only lock to prevent logical errors - in that case, you want your lock to be as small as possible in its scope, and using the NAME attribute allows you to do that. Yes, I should have been clearer. My comment was for MX only. The CF product team recommend using named locks in CFMX instead of scoped locks. I no longer have the email to hand that explains all the reasons but, apart from narrowing the zone of the lock, CF has some built in machinery for detecting named lock conflicts that does not apply to scoped locks. An Architect's View -- http://www.corfield.org/blog/ Macromedia DevCon 2002, October 27-30, Orlando, Florida Architecting a New Internet Experience Register today at http://www.macromedia.com/go/devcon2002 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
Re: Variable locking
On Friday, Oct 4, 2002, at 12:07 US/Pacific, Gaulin, Mark wrote: Actually, that using NAME is not a better practice... the SCOPE attribute is safer and is also what MM support advised us to use (when applicable). Pre-MX. Sure, the scope of a NAME-based lock will be tighter than using SCOPE, but SCOPE will be safer and, as a bonus, you can use CF 5's (and prior) auto-checking for missing locks... Which is no longer available in MX because it is no longer needed. Basically, NAME is older than SCOPE, and SCOPE was added to address issues that NAME cannot handle. SCOPE was added to resolve bugs in earlier releases of CF around the shared scope memory corruption problems. That is no longer an issue in CFMX. An Architect's View -- http://www.corfield.org/blog/ Macromedia DevCon 2002, October 27-30, Orlando, Florida Architecting a New Internet Experience Register today at http://www.macromedia.com/go/devcon2002 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
Re: Need help with using a counter variable within a page that send e mail to users
On Friday, Oct 4, 2002, at 14:05 US/Pacific, Clark, Aimee wrote: 1. I have a cfset counter = 0 in the application.cfm. This will set counter to zero on every single page request which is probably not what you want. I think you want something like: cflock name=email_counter type=exclusive cfif not isDefined(application.counter) cfset application.counter = 0 /cfif /cflock (If you're on pre-MX, use scope=application instead of name=email_counter in all the code I show here) Plus the changes below: 2. Then in the page where the tech clicks to close the ticket, before they click on the submit button to go to the page that processes the sending of email, I have: cfset counter = counter + 1 Change to: cflock name=email_counter type=exclusive cfif not isDefined(application.counter) cfset application.counter = application.counter + 1 /cfif /cflock 3. Then this is what I have on my page for sending out the email: cfif counter LESS THAN 2 If you're using CFMX, change this to: cfif application.counter lt 2 If you're on an earlier version, change it to: cflock name=email_counter type=readonly cfset variables.counter = application.counter /cflock cfif variables.counter lt 2 I have always wished that my computer would be as easy to use as my telephone. My wish has come true - I no longer know how to use my telephone. -- Bjarne Stroustrup ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
Re: Any Christian ColdFusion developers out there?
On Thursday, Oct 3, 2002, at 15:55 US/Pacific, Lewis Sellers wrote: Well, some of us just don't care to subscribe to the cf-community because it's mostly all irrelevant, endless, juvenile chatter. :) So many folks will never see such posts. That sounds like an even better reason for such posts to go to cf-community instead of here. Not to go against the list master, but in some cases such as this post, I don't mind if they post here I do. Very strongly. I find such exclusionary posts extremely offensive. In my view, it's akin to posting a request for white CF developers. I'm sure we'd all be pretty offended by such a post? *extremely annoyed by this thread* Sean ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
Re: Cross posting: CF5 eval???
On Tuesday, Oct 1, 2002, at 06:49 US/Pacific, Christine Lawson wrote: Great, for future reference here is the direct link to the Developer/Trial version of CF 5 for Windows: http://download.macromedia.com/pub/coldfusion/esd/coldfusion-50-win- us_devrel.exe With permission from the product team management, I have blogged this link (yeah, I bet several of you went off and blogged it already anyway!). I also blogged (yesterday) the URL into the CF FAQ that talks about how to buy CF5 for those folks that need it. Sean A Corfield -- http://www.corfield.org/blog/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
Re: Cross posting: CF5 eval???
On Wednesday, Oct 2, 2002, at 08:29 US/Pacific, Charlie Griefer wrote: Very cool...and not to push it...how about Studio 5? We get quite a few people coming into our #cf channel asking how they can get a (legitimate) copy of Studio 5. Hmm, I don't know. I'll defer to Christine L and Vern V (both cc'd). I have always wished that my computer would be as easy to use as my telephone. My wish has come true - I no longer know how to use my telephone. -- Bjarne Stroustrup ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com
Re: Has anyone seen this before? - documented bug?
Perhaps you have a variable called premium elsewhere in your code that has a non-simple value? On Wednesday, Oct 2, 2002, at 04:53 US/Pacific, Dave Wilson wrote: Hi all, I've just been checking through our applications after upgrading from CF4.5 to CFMX and came across the following strange error. Basically I have a template which carries out various calculations to determine insurance premiums for a vehicle. So my final output variable is simply called premium - Straightforward enough. When I run the template using CFMX, I get the following error message: Complex object types cannot be converted to simple values. The expression has requested a variable or an intermediate expression result as a simple value, however, the result cannot be converted to a simple value. Simple values are strings, numbers, boolean values, and date/time values. Queries, arrays, and COM objects are examples of complex values. The most likely cause of the error is that you are trying to use a complex value as a simple one. For example, you might be trying to use a query variable in a CFIF tag. This was possible in ColdFusion 2.0 but creates an error in later versions. Now, when I went through my calculation steps, I found that by changing the variable name to ins_premium, everything worked fine. So, basically my question is: Is premium a reserved word? If so, is it in fact a complex object as suggested by the error message? Is this documented or should I be submitting it as a bug report? TIA, Dave ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
Re: Switching to CFMX
On Monday, Sep 30, 2002, at 17:55 US/Pacific, Nat Papovich wrote: Unfortunately though, Rob's really long index doesn't appear to use Fusebox 3's core file, which I assume, is the complex machinery you mention, Sean. In pre-FB3, there is very little to no machinery used, so long cfswitch statements are the result of the poor design of whoever wrote unfortunate Rob's code, not some implied Fusebox architectural path. Thanx for clarifying. I need to go back and read that FB3 book again! :) I was thinking more along the lines of the impact all the included files had on the code size - the core files *are* machinery. However, if you're reassuring me that with FB3, the 64k limit is unlikely to be hit then that is even better to know - after all, it would not be very encouraging if large Fusebox applications (whatever they may be - we've had discussions before about 'what is a large application?') simply failed on CFMX due to code size. I have encountered this same limitation in CFMX/Java in a really long custom tag written by (surprise) someone else. Sean, do you know if this (64k) limitation is something that can be addressed by Macromedia? Or is it inherent to Java? Or... ? It is inherent in Java's virtual machine - the offset on a jump is 16 bits and that causes a 64k limit. The CFMX compiler tries to work around this in some cases by figuring out that it can rearrange code, but not all files are amenable to this. An Architect's View -- http://www.corfield.org/blog/ Macromedia DevCon 2002, October 27-30, Orlando, Florida Architecting a New Internet Experience Register today at http://www.macromedia.com/go/devcon2002 __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Switching to CFMX
On Tuesday, Oct 1, 2002, at 06:49 US/Pacific, Benjamin S. Rogers wrote: This is the exact same argument that gets made against ColdFusion. Not by me. I'm sure those early Word Perfect assembly programmers said the same thing about programmers writing word processing programs in languages like C and *gasp* VisualBasic. Not in my experience. I wrote my first word processing program (a template-driven automobile insurance letter editor) in assembly language in '81 and it was a pain. I wrote my second word processing program (a dual-language, English-Cyrillic, general WP) in C in '84. I, like many other assembly programmers, were quite glad of the additional expressive power in C - and of course we reassured ourselves that it often generated code that was close to what we could do by hand (not always of course, but compiler optimizations improved rapidly in the 80's). Of course, this isn't really FB's fault: Of course this isn't really (C's|C++'s|Java's|VisualBasic's|ColdFusion's) fault. :) Well, actually this hidden complexity *is* ColdFusion's fault. Or at least, pre-MX ColdFusion's fault. Like C, it was not designed to support OO-style frameworks (see the mess that is early X-Windows source code). Now we're seeing a problem that *is* Java's fault - it was designed with inherent limitations. An Architect's View -- http://www.corfield.org/blog/ Macromedia DevCon 2002, October 27-30, Orlando, Florida Architecting a New Internet Experience Register today at http://www.macromedia.com/go/devcon2002 __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Ben's J2EE Book
On Monday, Sep 30, 2002, at 01:32 US/Pacific, Robertson-Ravo, Neil (REC) wrote: I totally disagree.. getting it 'connected' is the easy part. The actual movement and animation (for which Flash is designed) is the difficult part. Flash MX is designed to allow complex client-server applications to be built. Yes, in the early days, Flash was mostly an animation tool but that, IMO, is the 2% of Flash functionality that has actually bogged the product down in terms of market perception, viz Skip Intro. Flash is one of those progs which you need to be [a] a good designer [b] a good animator. If you are neither then stay clear of Flash or you will just be producing the same old crap. I think the new Flash UI Components change that equation quite a bit. I think a proper 'Spectrum of Participants' :-) is required for these Rich Client movies as one single CF developer aint gonna blow things out of the water with poor Flash skills and a little DB connectivity. I agree that building a Rich Internet Application requires a broad range of skills and I agree that - at present - it's hard to find all those skills in one person. Flash is an animation/loose design tool Flash MX is a *lot* more than that! Though I would love to see someones reaction to this course who is a complete novice to Flash scripting etc.. Like me? Up until Flash MX came out, I couldn't get Flash to do *anything*... I thought it was a dreadful complex product and I was very frustrated that I couldn't even create a simple button that did interesting things when you clicked it. Now, with the UI components and the improved scripting, I can actually build useful applications with it. As a complete novice, I find the course to be paced 'just right'... An Architect's View -- http://www.corfield.org/blog/ Macromedia DevCon 2002, October 27-30, Orlando, Florida Architecting a New Internet Experience Register today at http://www.macromedia.com/go/devcon2002 __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Ben's J2EE Book, now new course to be offered by MACR
On Monday, Sep 30, 2002, at 06:29 US/Pacific, Robertson-Ravo, Neil (REC) wrote: anti Flash Remoting - far from it, I just dont see the business benefit (development time = cost) of using say Flash for things which could be developed in normal HTML. The benefit is in the end result: a web-based application that behaves like a desktop application. Better productivity, better user experience, happier users, more revenue. Also, a well-designed Flash (read: well-engineered) application should be modular enough to allow substantial reuse of libraries and components, enabling future apps to be built quicker. Yes, there's an initial learning and development curve but the result is far superior to anything you can produce in HTML (or even DHTML - and it is far easier to maintain in Flash!). An Architect's View -- http://www.corfield.org/blog/ Macromedia DevCon 2002, October 27-30, Orlando, Florida Architecting a New Internet Experience Register today at http://www.macromedia.com/go/devcon2002 __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists