<cfset DatasourceCreate("enlist"
, {
drivername: "org.h2.Driver"
, hoststring: "jdbc:h2:" & ExpandPath('./') & "/WEB-INF/bluedragon/h2databases/enlist;AUTO_SERVER=TRUE;IGNORECASE=false;MODE=MySQL"
, initstring: "RUNSCRIPT FROM '#ExpandPath("../docs/sql")#/mysql_createDB.sql'\\;"
, databasename: "enlist"
, username: "enlist"
, password: "enlist"
}) />
My cf.Objective() 2012 presentation is now available including my speaker notes on my presentations page.
http://blog.maestropublishing.com/pages/presentations
Check it now out. Also, please don't just give my presentation without permission. I spent a lot of time working out all the details.
I'm blogging this because I get this error occationally when I restart Tomcat with ACF8 deployed as a WAR:
The Cron service is not available.
This happens because the neo-cron.xml file in /WEB-INF/cfusion/lib has been corrupted. You can replace it with the neo-cron.bk file however in my case that file is always corrupted as well.
Here is a basic cron file if you have an empty backup file as well:
Matt, Kurt and Peter are leading a Mach-II Work Session in March via Google Hang-Out. If you're interested in helping out on the project - coding, documentation or even have a question drop on by.
When: Saturday March 3rd, 2012 from Noon - 6pm CT (10am - 4pm PT)
Where: Google Plus Hang-Out using SVN / Trac
Just follow our Google+ Mach-II page and join our public hang-out that day. If you're coming, we'd love to hear from you now in our comments and we'll send you a reminder just a few days before!
No experience with Open Source? Don't worry; we're here to help and guide you through the process. This is a great way to expand your horizons and share what you know -- new people means new ideas!
Just wanted to quickly blog that the Logitech USB Headset H530 works on Mint 11 without any additional drivers to install. Since it's a Debian style OS, I think would on Ubuntu as well. I'm blogging wheneve I find hardware that isn't noted for Linux but works anyways.
First let me start off that I am not a Mac owner and therefore please keep this in mind.
One of the issues with ACF9 on Mac OSX Lion is the use of the java.awt package to get items like the list of available printers. The AWT package is just a wrapper for a packages that are native on the target operating system. In this case, there are bugs in the apple.awt.CToolkit class that is the problem on MAC.
We were having an issue with Mach-II 1.9 hanging on MAC Lion recently and we narrowed it done to our use of java.awt.Toolkit. You can indicate to the JVM that you want to use the sun.awt.* package instead which appears to have fixed the issue for Mach-II 1.9 for Mac OSX Lion users. The positive side effect is that it fixed the hung "Info" page in the CFIDE as well.
You probably already have headless=true in your jvm.config file, however you need another directive to use a different awt toolkit otherwise the JVM will default the buggy apple.awt toolkit.
Let me know if this fixes other ACF9 issues on Mac OSX Lion like cfdocument.
-Djava.awt.headless=true -Dawt.toolkit=sun.awt.HToolkit
Update 1: This appears to have fixed generating PDFs using cfdocument as well.
Update 2: I'd like to thank Sumit Verma at Ten24Web for spending 4 hours nailing down that AWT was causing an issue in Mach-II 1.9. This is what led me down the right path to this JVM config argument change.
Update 3: Typically it is "CF9/runtime/bin/jvm.config" where CF9 is the location you installed CF. Be sure to make a back up copy of the jvm.config in case you foo bar something.
I recently got a Samsung SyncMaster TA350 for my office. I was really excited about have a nice 23" monitor for laptop and have a nice dual-head display.
The Samsung have VGA and two HDMI ports. My laptop has DVI and HDMI so I opted to use the HDMI connection. I was extremely disappointed to the quality of the image. Text was blurry / fuzzy and I got it slightly better by changing the subpixel settings in my OS and messing with the options in the OSD on the Samsung. I confirmed that the output was 1920 x 1080 however things just didn't look the best.
There are two tricks to getting great output to your Samsung.
Voila! You should have crisp text / fonts on your Samsung. I wish that Samsung had this in their manual.
The amazing schedule for OpenCF Summit 2012 is now available! As with last year we had to make some difficult decisions and we still have a couple of surprises up our sleeves we can't announce just yet, but it's a fantastic lineup including:
- Training on Day 1 from OpenBD, Railo, and Mach-II
- Fantastic sessions on CFML topics (of course!) in the main conference track from CFML experts and the creators of both the open source engines
- An unconference track organized on site and starring YOU!
- Deploying CFML apps to the cloud using Jelastic
- The fabulous OpenCF Summit Hackfest where you can hack for a good cause
- The famous (infamous?) "Future of CFML" BOF
- And much, much more
All that amazing training and content for a mere $72. How is that possible? It's because of our fantastic partners (and we have more of those to announce soon), but instead of pondering life's great mysteries why not go register right now!
Now it the time to register!
I was playing around in Compiz and I enabled "Desktop Cube". This broke a myriad of things in such as missing title bars and the inability to move windows in Mint 11. I reverted the Desktop Cube, but Compriz did not return the setting before I enabled this plugin. Those were easily fixed:
I'm blogging this in case I need to remind myself how to fix this issue.