Hi Jeroen,
I tried the Book Catalog JSF example on Glassfish 3.0.1-Liferay 6.0.5 bundle but I'm able to see it working correctly. I didn't modify anything and simply copied the WAR file to 'deploy' directory and added the portlet to a portal page.
[#|2011-01-18T15:19:15.047+0000|INFO|glassfish3.0.1|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_ThreadID=30;_ThreadName=Thread-1;|2011-01-18 15:19:15,047 INFO [chapter14.code.listing.beans.BookCatalogBean] - Validating book ISBN Number
|#]
[#|2011-01-18T15:19:15.047+0000|INFO|glassfish3.0.1|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_ThreadID=30;_ThreadName=Thread-1;|2011-01-18 15:19:15,047 INFO [chapter14.code.listing.beans.BookCatalogBean] - Book ISBN field value : 123123131
|#]
[#|2011-01-18T15:19:56.642+0000|INFO|glassfish3.0.1|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_ThreadID=29;_ThreadName=Thread-1;|2011-01-18 15:19:56,640 INFO [chapter14.code.listing.beans.BookCatalogBean] - removing book with isbnNumber: 1933988053
I do see couple of ClassCastException, but those exceptions are related to Liferay. I'm using the code that checked into Google Code SVN here:
http://code.google.com/p/portletsinaction/source/checkout ..... I haven't tried with the code in ZIP file, so can you please try once by checking out the code from SVN for the project ? I don't expect there will be any difference in the code in SVN and the one available in ZIP file format.
regards
ashish