I was experiencing issue with command
$ ant -f build.xml generate-tables
and had to create schema (createDDL.jdbc) through SQL/PLUS
The rest ran just fine. The JSF application utilizing JPA was successfully deployed to TomCat 5.5.16 on CentOS 4.2 box hosting Oracle XE database.
The manual mentioned above shows the basic steps of developing, packaging, and
deploying a Web application using the EJB 3.0 Java Persistence API (JPA).
In this application, a Java Server Faces (JSF) presentation layer will make
use of JPA for persistence outside of the EJB 3.0 container.
Screenshots may be viewed at :-