Friday, December 14, 2007
Using FCKEditor file upload in ColdFusion 8
Read about it here.
Wednesday, November 21, 2007
Flex Camp Boston
What I need to do is figure out if speakers are eligible for the XBox 360 Halo edition that is being given away, along with a ton of other stuff like: two tickets to 360Flex in Atlanta, a ticket to CFUnited in Washington, D.C., copies of Flex Builder, Adobe backpacks, and Ipod Shuffle and books from O'Reilly. I keep asking Santa (my wife) for an XBox for Christmas, but all I get back from her is dirty looks. :-)
64 bit Support on ColdFusion 8 (Windows, Linux and Leopard)
The ColdFusion team is working to get ColdFusion 8 fully supported on 64 bit platforms (Windows, Linux and Mac OS X Leopard). If you are interested and want to participate in the testing of early releases of 64 Bit support on ColdFusion 8 on these platforms, please enroll yourself for prerelease program here.
Friday, November 09, 2007
JRun updater 7 now available
For those running multi-instance or standalone ColdFusion 8, there is no need to update using this updater. For users deploying on an EAR/WAR configuration on JRun, updater 7 is goodness.
New XMPP library for CF 7 & 8
This fixed jar adds the following:
- Adds compatibility with Ignite Openfire XMPP server
- Fix for missing realm in SASL/Digest-MD5 challenge response
- XMPP/Jabber 1.0 specification compliance
- Increased connection timeout from 5 to 15 seconds (helps reduce connection failures for very busy XMPP servers)
- Includes SASL/Plain support for servers requesting SASL/PLAIN such as Google Talk
- Added SASL/Digest-MD5 support
Read the technote here.
Monday, November 05, 2007
Speaking at Flex Camp Boston
Registration is only $10. That is ten dollars and includes all speakers, free parking and lunch. This is an externally organized event, however Adobe is sponsoring the shindig and there will be some giveaways.
Space is limited so register now!
Friday, October 12, 2007
MAX 2007 - Using ColdFusion with LCDS session materials
To find this info without going to it directly, you log in to the MAX 2007 web site (http://adobemax2007.com/) and on the screen with your registration details click on the "Presentation Library" link on the left hand navigation panel.
If you unzip the demo files in to your ColdFusion web root, you will get two directories, 'messaging' and 'samples', each with a README.txt file that explains how to set up CF for each application (create gateways, data sources, etc).
Included are:
- A simple chat messaging application along with a CFML template that can publish a message through the Messaging event gateway.
- The classic "Contact" Data Management application - MXML and Assembler CFCs
- Some templates that demonstrate the new CF8 ability to notify LCDS through an event gateway when managed data has changed outside of the Flex/LCDS world.
- The more complex CRM Data Management application, include a better conflict resolution handler
You will need to have ColdFusion 8 installed (Developer Edition is free!) with the integrated LCDS installation option. The database used for the Data Management applications is MS Access. Sorry to Mac and Unix users , but these are my Windows laptop demo files.
Monday, October 08, 2007
MAX 2007 is over
My session on ColdFusion and Live Cycle Data Services integration went well, with a good crowd for both showings. As usual I had too much to talk about (40 slides!), but I managed to keep both times on track and finish in 60 minutes. I hope I inspired at least a few people to try the integrated installation and write a simple MXML file, drop it in their CF web root and see what happens. The trial edition of Flex Builder 2 (or the beta edition of FB 3 on labs) is a good place to start.
All-in-all I think this MAX was a success. The food was good (and plentiful - every time I turned around, there was some sugary snack or dessert starring me in the face) but the conference center was huge and I felt like I walked for miles to make up for all the food. I got to play some Halo 3 in the after hours lounge, even though the lounge in the conference center was kinda lame. And I got to talk to a whole bunch of customers about their problems and successes, which is really why we hold these events.
See you in SF next year!
Tuesday, September 25, 2007
ColdFusion 8 Getting Started code available
But for those of you who want to look through the example code and/or run on your local machine not connected to the internet, we have made the entire set of files available on Adobe.com. Just go to the ColdFusion Developer Center and click on the "Downloads" tab on that page.
Or if you want a direct download link, you can use this.
Friday, September 21, 2007
Missing syndication URL
I guess I am impressed that you all have been able to subscribe to my blog at all. :-)
Anyway, I added the link to the left panel list of links, and pointed it to my FeedBurner "SmartFeed", which just figures out which format (RSS or Atom) you need somehow. I am impressed with how nicely FeedBurner works and how much you get for free!
I am impressed with the number of tweaks that Blogger has added since the last time I looked to seriously change something on my Blog page. The interface used to be pretty primitive, with the raw HTML being the best way to get something on the page. Now they have lots of UI that makes it trivial to add content and format the page - and they still give you access to the HTML!
Tuesday, September 11, 2007
ColdFusion 8.0 Cumulative Hot Fix 1
Fixes include:
- Debugger steeping issue when Break On Exception is turned on
- A fix to ensure that user included CSS style sheets come after the CF files so you can override the default styles in Ajax controls
- A bug with cfzipparam that broke it when using it in a loop
- A tweak for the cfpdf tag so it preserves the "Enable Usage Rights" flag in the PDF. This is something you can turn on in Acrobat.
- A bug in CreateObject for components that manifested itself under heavy load
- A fix for certain cfdocument table rendering
- A fix for datasources defined in JRun not working in ColdFusion
Also, for those who haven't upgraded to ColdFusion 8 (why not?) we have posted ColdFusion 7.0.2 Cumulative Hot Fix 3 which fixes another dozen issues with CFMX 7.0.2.
Both of these have some good stuff in them and I recommend that (after proper testing with your applications) they get deployed on all of your servers.
Friday, September 07, 2007
More JRun Updater 7 info
JRun 4 Updater 7 is aimed to enable running JRun4 on newer platforms which include the following
- Apache 2.2 support
- 64 bit support for Solaris / SPARC
- Mac-Intel support
- Microsoft Vista & IIS7 support
- Sun Java System Web Server 7.0 support on Windows, Solaris and Linux;
- Mac OS X 10.4.9
- Data Direct 3.6
- JDK 1.6.0_01 & JDK 1.6.0_02
Thursday, September 06, 2007
JRun Updater 7 Beta signup
This updater will roll up all the hotfixes released since U6 as well as synchronizing with any and all changes we made in JRun for the ColdFusion 8 release. This is mostly updates to wsconfig to support new platforms (i.e. 64-bit Solaris) and new OS releases.
Enjoy.
Monday, July 23, 2007
MySQL and ColdFusion 8
First ColdFusion 8 will contain the "commercial" version of the JDBC driver for MySQL 4 & 5. This driver integrates in to CF just like all the other databases we support and you no longer need to manually download and configure a driver if you are using a recent version of MySQL. This commercial driver has been run through our regression suite and verified on all of the ColdFusion 8 supported platforms. This is very much goodness for our customers using MySQL.
Second, ColdFusion 8 contains a workaround that prevents it from calling the isCaseSensitive API when using MySQL. It does this by examining the result set meta-data Java class and if that class is "com.mysql.jdbc.ResultSetMetaData" we avoid calling the isCaseSensitive() API on it, we just hard code the value for each column to false (the column is not case sensitive). Why do we call this api at all? Because ColdFusion keeps its own local copy of the meta-data attached to the Query object. This is one of the APIs on the JDBC meta-data object, so we collected it. As far as I know MySQL is the only database to perform a server round trip for each column to collect this information. So what is done with this information? It is returned by the GetMetaData() CFML function, which can be called on a Query long after the JDBC result set has been released. In general, ColdFusion does not use this information internally at all. The one exception to this is for Query-of-Queries, where this meta-data can affect the processing of the column data. But this is extremely unlikely.
You can turn this workaround off by setting the Java System property coldfusion.mysql.enableiscasesensitive=true. You would only need to do this if your application made some use of the GetMetaData() function, you were using MySQL and you had case sensitive columns in your table. I can't foresee anyone needing to so this, but we gave you an escape hatch just in case.
Friday, July 20, 2007
Faster MySQL JDBC driver for ColdFusion
Find it here: http://dev.mysql.com/downloads/connector/j/5.0.html
If you are using this driver with CFMX7, upgrading should give you a nice performance boost. Make sure you test your applications in a non-production setting first of course, as Adobe doesn't test with this driver.Setting "useDynamicCharsetInfo" to "false" now causes driver to use static lookups for collations as well (makes ResultSetMetadata.isCaseSensitive() much more efficient, which leads to performance increase for ColdFusion, which calls this method for every column on every table it sees, it appears).
Driver detects when it is running in a ColdFusion MX server (tested with version 7), and uses the configuration bundle coldFusion, which sets "useDynamicCharsetInfo" to "false" (see previous entry), and sets useLocalSessionState and autoReconnect to true.
Note: ColdFusion 8 ships with the "commercial" MySQL 5 driver (and we did test with this) and has a workaround in place to avoid calling isCaseSensitive() for MySQL. Configuring the built-in driver with the settings the MySQL team has done automatically (set useLocalSessionState and autoReconnect to true) might be a good idea depending on your application's use of the database. Once again, we haven't done any testing with these settings, your mileage may vary.
Sam Farmer on Flex features in ColdFusion 8
Be careful with the mxml JSP tag - it can really slow down your server!
Monday, July 02, 2007
CFUnited wrap up
I was really impressed with Rakshith's AJAX session - I think it hit just the right level of detail and Rakshith did a tremendous job presenting for his first time(!!).
Another highlight for me was Ray Camden's CFImage session, which did a good job of introducing this powerful new feature without overwhelming attendees with the huge number of functions we have added.
The special event to the National Zoo was pretty much a bust however, mostly due to weather and not very much food.
All-in-all a very good conference with tons of great info about ColdFusion. See you at MAX in October!
Monday, June 25, 2007
See you at CFUnited
In any case, the conference should be a good time with lots of good discussion about how we should have done this or should not have done that. I just looooove our customers. :-)
Friday, June 01, 2007
Rakshith's blogs
We have already given him grief for not using BlogCFC for his blogging software. :-)
ColdFusion Public Beta is here!
Enjoy!
Friday, March 30, 2007
CFUnited is coming up
- I am speaking. See my weirdly scaled face here. I am giving a talk on how ColdFusion Scorpio will integrate with the latest release of Flex Data Services. It will contain some of the material that I covered at MAX last year, but I think many of those attendees will want to hear it all again now that they have had a chance to try CFMX 7.0.2 and FDS 2.01 together. You have tried it out, right?
- CFUnied is the ColdFusion conference. I don't mean to slight the others, I love them too. (In fact I am trying to wrangle my way over to cf.Objective in May because I spoke there last year and had a great time.) But CFUnited is where we (the CF Team) have decided to show up in force. While we love MAX, it isn't the Allaire DevCon any more. CFUnited comes close for me.
- Scorpio. Can't really say much about this, but I'll bet that there will be lots of stuff for us Adobe types to talk about. :-)
- Its Fun. I don't think I paid for a drink or a meal last year. That is a good thing!
- You will learn a lot. The speakers lined up are always top notch and I consider it part of my job description to attend as many sessions as possible. I always learn something new, even if it another crazy way that CF users have taken something we've done and used it in a way we didn't expect at all. Also, did I mention I am speaking?
ColdFusion MX 7.0.2 Cumulative Hot Fix 2
P.S. Scorpio is coming along nicely and the end is in sight if I squint real hard with the sun at my back. :-)
Friday, March 02, 2007
Apache Axis and Commons HTTPClient
Axis also supports the Jakarta Commons HTTPClient library, and has since 1.0. To configure Axis to use this instead of its own library you must edit the client-config.wsdd file used by Axis. It gets found on the classpath and generally you don't actually have one and the one built in to axis.jar gets used.
The interesting line is the http transport. To switch Axis to use the HTTPClient jar, you would change this:
<transport name="http" pivot="java:org.apache.axis.transport.http.HTTPSender"></transport>
To this:
<transport name="http" pivot="java:org.apache.axis.transport.http.CommonsHTTPSender"></transport>
Once you have this code configured, Axis will use the HTTPClient library for it HTTP needs. Since the HTTPClient library supports NT Authentication, you just set the username/password on the Stub object as you would normally do for (say) Basic Authentication and it will just work. If you are talking to a .NET web service, you are done.
BUT switching the line in the client-config.wsdd file alone doesn't do the trick if you are talking to a ColdFusion web service. Talking to a ColdFusion web service via Apache, you will get an "411 - length required" error back that looks like this:
The Apache JRun connector doesn't allow chunked encoding without a content length (generally true for all general pupose connectors, including mod_python) and the CommonsHTTPSender class in Axis does not provide a content-length. Go figure.
httpheaders = CreateObject("java", "java.util.Hashtable").init();
httpheaders.put("chunked", "false");
ws._setProperty("HTTP-Request-Headers", httpheaders);
result= ws.myOperation();
The Apache code wants a Hashtable, where it should just look for a Map, so you can't just use a CFML structure for the value of the HTTP-Request-Headers.
Thursday, February 15, 2007
Status Check
We just finished a beta release and while reading the release notes I was struck by how much "stuff" we have crammed in to this release! I really think that there will be something in there for almost any ColdFusion developer. From language tweaks, new tag attributes to major new pieces of functionality - we really are offering something for everyone.
I really can't wait till I can talk more about the individual features! Sorry for the tease but its always quited before the storm.