Year: 2011

Problems After Upgrading to Kubuntu 11.10

I’ve upgraded a few machines to Kubuntu 11.10 recently and they have all suffered from the same problems after the upgrade. All were machines that have been upgraded from 10.10 so it may not be an issue if you start from 11.04. Likewise these issues probably don’t affect clean installs of 11.10.

GCHQ Challenge

GCHQ (roughly the UK version of the CIA) are running a sort of recruitment program at the moment looking for geeks that are good code breakers. They have put up a site with a single page which presents a challenge to crack a code. Once you’ve cracked it you type the code into the text …

GCHQ Challenge Read More »

Unable to set request character encoding to UTF-8

While developing my current application I’ve been seeing dozens of error messages like this: WARNING: PWC4011: Unable to set request character encoding to UTF-8 from context /foo, because request parameters have already been read, or ServletRequest.getReader() has already been called and after searching high and low for a solution I eventually found one.

Simple CRUD Example – Part 2

In the last article I showed you how to create a Debry database and set up a persistence unit. In this article I’ll create a very basic CRUD application. Using JSF 2, JPA 2 and EJB 3.1.

Java 7 JDBC-ODBC Bridge on Windows 7 64bit

That mouth full of a title sums up quite nicely what I’ve been trying to get working today: a JDBC-ODBC bridge connection to a 32bit Access database running on a 64bit version of Windows 7. Phew, I’m tired just thinking about it.

JPA2 Serialized Blob Never Really Null

This one got me late on a Friday (actually after work so I was doubly frustrated) and is to do with how JPA2 persists attributes of items that are not of basic Java types and which are also not entities. In order words attributes that implement Serializable and get shoved into BLOB fields.