Author: Adam

WWDC Announced

In an unusual move by Apple they have announced the date and ticket sales ahead of time. This morning around 5:30 am PT I was waken to my monitoring app and greeted with this page. So now we’ll have to see how fast those tickets sell out. Last year it was around 2 hours, I’m […]

Setting up nginx on Ubuntu 12.04 LTS for a test server

This guide walks through the steps of setting up nginx on a test server for use with a WordPress site. This guide assumes you already have Ubuntu 12.04 installed. For this guide we will be setting up nginx from source.  First we need to install the pre-requisites. 1 sudo apt-get install libpcre3-dev build-essential libssl-devsudo apt-get […]

Getting JetPack Carousel working with a new Theme

I recently pushed a new theme to my site and noticed that I could no longer use JetPack’s Carousel feature. It was breaking due to a javascript error. $.browser.mozilla$.browser.mozilla I did a little research and it appears that the JetPack Carousel is not currently compatible with jQuery 1.9 which removed the browser detection code. If […]

Adventures with HTML5 and offline content on an iPad

I’ve been thrown on a project at work where we need to make an app work completely offline.  The catch, the app was written in sencha touch (HTML5) and talkes to a web service for a whole range of content.  Some of those are interactive HTML elements and while others are videos.  Due to a […]

Windows Developer Preview 8

I downloaded a copy of the developer preview for windows 8. I decided to load up VMWare and I was greeted with this error: vcpu-0:NOT_IMPLEMENTED vmcore/vmm/intr/apic.c It appears that VMWare Workstation 7 and VMWare Fusion 3 are not compatible. I downloaded a trial version of VMWare Workstation 8 on my Windows 7 PC and it’s […]

Pre-compile JSP pages for Apache Geronimo with Maven

In Apache Geronimo 2.2/w tomcat 6 they don’t appear to be using the tomcat jasper JSP compiler. So to pre-compile JSP pages you will need to modify the dependencies of the jspc maven compiler. <plugin> <groupId>org.codehaus.mojo.jspc</groupId> <artifactId>jspc-maven-plugin</artifactId> <version>2.0-alpha-3</version> <executions> <execution> <goals> <goal>compile</goal> </goals> </execution> </executions> <dependencies> <dependency> <groupId>org.codehaus.mojo.jspc</groupId> <artifactId>jspc-compiler-tomcat6</artifactId> <version>2.0-alpha-3</version> <exclusions> <exclusion> <groupId>org.apache.tomcat</groupId> <artifactId>jasper</artifactId> </exclusion> […]

Solution to DVFactoryException for wsdl2java

If you’re seeing this error when using cxf-codegen-plugin, there is an easy solution: org.apache.xerces.impl.dv.DVFactoryException: DTD factory class org.apache.xerces.impl.dv.dtd.DTDDVFactoryImpl does not extend from DTDDVFactory. <plugin> <groupId>org.apache.cxf</groupId> <artifactId>cxf-codegen-plugin</artifactId> <version>${cxf.version}</version> <dependencies> <dependency> <groupId>xerces</groupId> <artifactId>xercesImpl</artifactId> <version>2.8.1</version> </dependency> </dependencies> … </plugin><plugin> <groupId>org.apache.cxf</groupId> <artifactId>cxf-codegen-plugin</artifactId> <version>${cxf.version}</version> <dependencies> <dependency> <groupId>xerces</groupId> <artifactId>xercesImpl</artifactId> <version>2.8.1</version> </dependency> </dependencies> … </plugin> The key part is to add the […]