A complete waste of a fine weblog.

Google Glass – A story of joy and sadness – Part 2

28th January 2014 | 2,520 views

After developing a Glass GDK app for several weeks, I had noticed some warnings on Glass that it needs to cool down to operate properly. At this point I would disconnect the USB cable and power down the device. On one such event everything changed. When I powered on Glass, the device failed to start […]

Posted in Google Glass | No Comments »

Google Glass – A story of joy and sadness – Part 1

23rd January 2014 | 1,869 views

In November of 2013 I received an invite to join the Google Glass Explorer program. As a long time developer and a recent Android developer I decided to drop the $1500 and get on board. After receiving Google Glass I focused on the product capabilities to truly understand what it can and cannot do. Immediately […]

Posted in Google Glass | No Comments »

OpenJPA and MySQL Timestamps

22nd October 2012 | 3,442 views

Reading in MySQL Timestamps that default to ‘0000-00-00 00:00:00’ using JPA can result in errors if your MySQL connection is not properly configured. You may run into an exception such as this: java.sql.SQLException: Cannot convert value ‘0000-00-00 00:00:00’ from column 5 to TIMESTAMP. at com.mysql.jdbc.SQLError.createSQLException( at com.mysql.jdbc.SQLError.createSQLException( at com.mysql.jdbc.SQLError.createSQLException( The solution here is easy enough, […]

Posted in Java | No Comments »

Configuring Zenss to monitor Tomcat 6 through a firewall

3rd March 2011 | 79,133 views

One of the difficulties in monitoring a java process using JMX/RMI is the random secondary port opened for the JMX RMI connection objects. This random port can change every time the process is started, and there is no way to configure a firewall to allow this dynamic port to pass through. Fortunately there are some […]

Posted in Technology, Tomcat | No Comments »

Windows 7 Review – 2nd day after install

21st December 2009 | 17,831 views

Well this is not a professional review, just some thoughts based on my recent upgrade from Windows Vista 64 on to Windows 7 Professional 64. Now for the background, I’ve been running Vista on my main workstation (Core 2 Duo / 8gb ram) since early 2009. I only had a few issues until the end […]

Posted in Windows | No Comments »

Returning a method parameter in JMock

28th July 2009 | 13,183 views

I recently ran into a problem where I needed to test a Java method that dynamically created objects inside. These objects needed to be passed to and returned by a mock service class, but I did not know how to inject this class since it was created inside the method being tested. Here is a […]

Posted in Java | No Comments »

CVS bulk conversion to binary

14th May 2009 | 5,033 views

I try not to use CVS anymore since I’ve become used to Subversion, but recently I needed to restore an old project from CVS. I made a tar of the CVS backup and uploaded to the server and placed it in the CVSROOT folder. When I checked out the project I realized the binary files […]

Posted in Technology | No Comments »

javax.el.ELException: Function ‘:empty’ not found

18th August 2008 | 37,016 views

After installing Continuum 1.1 and Archiva 1.1.1 a number of web pages failed to load throwing exceptions such as javax.el.ELException: Function ‘:empty’ not found. As it turns out, this has to do with Tomcat version 6.0.18 and the EL library that it comes with. As always, when on Linux, a script can fix things and […]

Posted in Java, Tomcat | No Comments »

Plesk 8.3 AWStats on Linux – Rebuilding Previous Month Statistics

6th January 2008 | 212,202 views

Well it’s Jan 2008 and I decided to run the Plesk 8.3 update and try out the new patch for AWStats previous month history. To my surprise, (well not really) none of the previous month statistics were available, only the current month. So I set out to find a way to generate the history of […]

Posted in Plesk, Technology | 18 Comments »

Plesk Default Settings Script for qmail and procmail

4th January 2008 | 30,485 views

As you may or may not know, Plesk likes to overwrite the .qmail file in each mail folder whenever you make changes. And as of this writing, Plesk 8.2 does not offer any .qmail template files in order for you to control it’s behavior. Here’s a handy script that will generate a .qmail and a […]

Posted in Plesk, Technology | 2 Comments »