I started getting some erros when executing Client_3, on console the following was logged:
JPA-QL compliance requires select clause [FROM com.titan.domain.Cabin c WHERE c.id = 1]
JBoss 4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)
After some googling I found some notes, and according to Wolfgang Knauf
in (http://www.jboss.org/?module=bb&op=viewtopic&t=90719), after RC8 there was some changes to Hibernate wich you need to include select clause for conforming to the specs.
So, in the ex05_1 the TraveAgentBean must be edited in lines 51 and 62:
// change line 51 and line 62 from // ... createQuery("FROM Cabin c WHERE c.id = 1") ... // to createQuery("SELECT c FROM Cabin c WHERE c.id = 1")