TweetBufferI just spent quite a bit of time trying to get Buildr to work on Ruby. I started with 1.9 but that did not work. All my team was using 1.8.7, but on Mac. So I started down the 1.8.7 path, then I found the standard Gem did not work for Ruby 1.8.7 on Windows [...]
READ MORE »PHP 5 upgrade on CENTOS 5 x86_64
TweetBufferUpgrading PHP: I started down this path: http://jazzymarketing.com/main/0811/upgrade-php-51-php-52-centos but found that I kept getting dependency conflicts: I finally came across this forum posting: http://forums.famillecollet.com/viewtopic.php?id=91 but this still came up with similar dependency issues. This finally got the answer I needed: http://www.webtatic.com/blog/2009/06/php-530-on-centos-5/ But then I got this error: I know that I am running MySql 5.0.x so I determined [...]
READ MORE »Creating a mysqldump of a MySql database with on-the-fly gzip compression
TweetBufferI am always amazed at some of the small things that I think would be easy to find a solution for, seem so ellusive. Today, I needed to run a quick mysqldump of a 100MB database, and I needed to compress it on the fly to gzip so I did not end up with 2 [...]
READ MORE »WordPress upgrade to 3.0
TweetBufferI am still so happy that WordPress is still so easy to upgrade. I did mine today in 5 minutes as stated. I wish all my upgrades where this easy. Link to this post!
READ MORE »JVM and Tomcat 6 Tuning new Grails application with legacy Java webservice
TweetBufferRecently I ran into issues where a web application running on Tomcat 6.0 was crashing due to load spikes in requests. What I noticed in the diagrams below, was there was no issue with CPU or Memory, but rather issues with GC cycles and high Thread count/spike causing the Tomcat instance to become unresponsive and [...]
READ MORE »Be cautious about property names in external configuration
TweetBufferI have an External configuration file (${appName}-config.groovy) that I wanted to have a global URL declaration such as: Then what I wanted was to use these globally in this one configuration file such as: Then to display them in my index.gsp like: [DAS_SERVICE_URL]…[http://24.40.70.14:8090/DAS010WSWAR] But found they where null in the gsp. [DAS_SERVICE_URL]…[] So I had [...]
READ MORE »My road to the SCJP Sun Certified Programmer for Java 6 Exam 310-065
TweetBufferI just wanted to relay my thoughts, experiences, and lessons learned on my road to getting Sun Certified as an SCJP 6 Java Programmer. First off, I have been working with Java since 1996 and just now, have I finally undertaken this challenge. I keep seeing a repeated theme that the SCJP does not really [...]
READ MORE »ConfigSlurper with dynamic property name from ConfigurationHolder config Object
TweetBufferI spent the better part of my day trying to solve an issue where I construct a named configuration property, then I wanted to get that property from the config object. Seemed simple enough… NOT FOR ME. Maybe it was just a Friday or something but…. Here is what I found Link to this post!
READ MORE »Groovy Spring DSL Constructor Argument
TweetBufferI have been trying to create an inner class instance of a Spring constructor argument and have been looking at the Grails documentation that states Constructor arguments can be defined using parameters to each method that reside between the class of the bean and the last closure: (from http://www.grails.org/Spring+Bean+Builder) Link to this post!
READ MORE »Using WebServiceTemplate and HTTPClient to enable Webservice read timeout
TweetBufferI was tasked to implement read timeouts in my Spring webservices. I need to be able to implement this on dozens of webservices fairly easy and be maintainable. I also wanted to use Groovy Spring DSL for my bean declarations, and have my timeout configurable, and Integration testable. Link to this post!
READ MORE »


